/*
 * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
 * This devtool is neither made for production nor for readable output files.
 * It uses "eval()" calls to create a separate source file in the browser devtools.
 * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
 * or disable the default devtool with "devtool: false".
 * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
 */
(function webpackUniversalModuleDefinition(root, factory) {
	if(typeof exports === 'object' && typeof module === 'object')
		module.exports = factory();
	else if(typeof define === 'function' && define.amd)
		define([], factory);
	else if(typeof exports === 'object')
		exports["entity-designer"] = factory();
	else
		root["entity-designer"] = factory();
})(self, function() {
return /******/ (function() { // webpackBootstrap
/******/ 	var __webpack_modules__ = ({

/***/ 89843:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/array/from */ 36128);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js?");

/***/ }),

/***/ 12388:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/array/is-array */ 81324);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js?");

/***/ }),

/***/ 37152:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/bind */ 92960);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js?");

/***/ }),

/***/ 81744:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/concat */ 51188);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js?");

/***/ }),

/***/ 64136:
/*!************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/entries.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/entries */ 34963);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/entries.js?");

/***/ }),

/***/ 30479:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/every */ 91924);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js?");

/***/ }),

/***/ 1508:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/fill */ 77444);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/fill.js?");

/***/ }),

/***/ 18860:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/filter */ 28320);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js?");

/***/ }),

/***/ 29636:
/*!***************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js ***!
  \***************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/find-index */ 13352);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js?");

/***/ }),

/***/ 47332:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/find */ 70120);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js?");

/***/ }),

/***/ 7312:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/for-each */ 49372);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js?");

/***/ }),

/***/ 82600:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/includes */ 8760);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js?");

/***/ }),

/***/ 39568:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/index-of */ 35720);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js?");

/***/ }),

/***/ 75668:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/keys */ 5960);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/keys.js?");

/***/ }),

/***/ 96432:
/*!******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js ***!
  \******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/last-index-of */ 47072);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js?");

/***/ }),

/***/ 75984:
/*!********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/map */ 48776);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js?");

/***/ }),

/***/ 45076:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/reduce */ 69344);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js?");

/***/ }),

/***/ 12640:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/slice */ 27584);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js?");

/***/ }),

/***/ 65624:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/some */ 59620);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js?");

/***/ }),

/***/ 6908:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/sort */ 84644);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js?");

/***/ }),

/***/ 11872:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/splice */ 9384);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js?");

/***/ }),

/***/ 49464:
/*!****************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js ***!
  \****************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/starts-with */ 28812);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/starts-with.js?");

/***/ }),

/***/ 52360:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/trim */ 59408);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js?");

/***/ }),

/***/ 5848:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/instance/values */ 24992);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js?");

/***/ }),

/***/ 39832:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/json/stringify */ 69140);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js?");

/***/ }),

/***/ 88836:
/*!***********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/map */ 62572);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/map.js?");

/***/ }),

/***/ 98152:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/acosh.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/acosh */ 15312);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/acosh.js?");

/***/ }),

/***/ 90768:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/asinh.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/asinh */ 12896);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/asinh.js?");

/***/ }),

/***/ 32576:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/atanh.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/atanh */ 22184);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/atanh.js?");

/***/ }),

/***/ 7636:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/cbrt.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/cbrt */ 3404);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/cbrt.js?");

/***/ }),

/***/ 10844:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/cosh.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/cosh */ 41660);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/cosh.js?");

/***/ }),

/***/ 11096:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/expm1.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/expm1 */ 50604);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/expm1.js?");

/***/ }),

/***/ 81028:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/hypot.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/hypot */ 45152);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/hypot.js?");

/***/ }),

/***/ 94204:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log10.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/log10 */ 43576);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log10.js?");

/***/ }),

/***/ 25760:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log1p.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/log1p */ 74308);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log1p.js?");

/***/ }),

/***/ 18720:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log2.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/log2 */ 36216);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/log2.js?");

/***/ }),

/***/ 35604:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/sign.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/sign */ 37432);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/sign.js?");

/***/ }),

/***/ 87896:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/sinh.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/sinh */ 65496);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/sinh.js?");

/***/ }),

/***/ 15632:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/tanh.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/tanh */ 21539);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/tanh.js?");

/***/ }),

/***/ 172:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/math/trunc.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/math/trunc */ 63600);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/math/trunc.js?");

/***/ }),

/***/ 28555:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/number/is-nan */ 92496);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/number/is-nan.js?");

/***/ }),

/***/ 55648:
/*!**************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/number/parse-float.js ***!
  \**************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/number/parse-float */ 86896);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/number/parse-float.js?");

/***/ }),

/***/ 26260:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/create.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/create */ 72672);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/create.js?");

/***/ }),

/***/ 63808:
/*!********************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js ***!
  \********************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/define-properties */ 62296);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js?");

/***/ }),

/***/ 45040:
/*!******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js ***!
  \******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/define-property */ 68792);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js?");

/***/ }),

/***/ 31408:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/entries */ 37752);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js?");

/***/ }),

/***/ 24560:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/freeze.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/freeze */ 38736);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/freeze.js?");

/***/ }),

/***/ 55748:
/*!******************************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js ***!
  \******************************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/get-own-property-descriptor */ 35716);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js?");

/***/ }),

/***/ 54120:
/*!*******************************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js ***!
  \*******************************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/get-own-property-descriptors */ 56860);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js?");

/***/ }),

/***/ 27392:
/*!*************************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-names.js ***!
  \*************************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/get-own-property-names */ 43760);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-names.js?");

/***/ }),

/***/ 39448:
/*!***************************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js ***!
  \***************************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/get-own-property-symbols */ 9224);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js?");

/***/ }),

/***/ 57492:
/*!*******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-prototype-of.js ***!
  \*******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/get-prototype-of */ 48624);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-prototype-of.js?");

/***/ }),

/***/ 69216:
/*!************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/is-frozen.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/is-frozen */ 72504);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/is-frozen.js?");

/***/ }),

/***/ 48560:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/is.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/is */ 50396);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/is.js?");

/***/ }),

/***/ 47976:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/keys */ 10424);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js?");

/***/ }),

/***/ 66196:
/*!*******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/set-prototype-of.js ***!
  \*******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/set-prototype-of */ 42648);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/set-prototype-of.js?");

/***/ }),

/***/ 41256:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/object/values */ 77052);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js?");

/***/ }),

/***/ 7224:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/parse-float */ 52136);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js?");

/***/ }),

/***/ 97552:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/parse-int */ 11480);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js?");

/***/ }),

/***/ 2992:
/*!***************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/promise */ 19516);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js?");

/***/ }),

/***/ 11984:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/reflect/construct */ 43252);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js?");

/***/ }),

/***/ 25448:
/*!*******************************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/get-own-property-descriptor.js ***!
  \*******************************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/reflect/get-own-property-descriptor */ 94088);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/get-own-property-descriptor.js?");

/***/ }),

/***/ 55640:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/has.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/reflect/has */ 11576);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/has.js?");

/***/ }),

/***/ 62360:
/*!************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/own-keys.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/reflect/own-keys */ 77932);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/own-keys.js?");

/***/ }),

/***/ 13760:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/set-timeout */ 42592);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js?");

/***/ }),

/***/ 59312:
/*!***********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/set */ 43328);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/set.js?");

/***/ }),

/***/ 97440:
/*!**************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/symbol */ 39928);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js?");

/***/ }),

/***/ 31192:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol/for.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/symbol/for */ 35184);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol/for.js?");

/***/ }),

/***/ 72600:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol/iterator.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/stable/symbol/iterator */ 88308);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js-stable/symbol/iterator.js?");

/***/ }),

/***/ 91648:
/*!***********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/array/from.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/array/from */ 96680);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/array/from.js?");

/***/ }),

/***/ 93920:
/*!***************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/array/is-array.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/array/is-array */ 6164);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/array/is-array.js?");

/***/ }),

/***/ 64248:
/*!********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/get-iterator-method */ 64800);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js?");

/***/ }),

/***/ 9712:
/*!**************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/instance/bind.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/bind */ 17456);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/instance/bind.js?");

/***/ }),

/***/ 69268:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/for-each */ 25112);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/instance/for-each.js?");

/***/ }),

/***/ 26568:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/index-of */ 17893);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js?");

/***/ }),

/***/ 42484:
/*!*****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/instance/reverse.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/reverse */ 78772);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/instance/reverse.js?");

/***/ }),

/***/ 29656:
/*!***************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/instance/slice.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/instance/slice */ 10384);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/instance/slice.js?");

/***/ }),

/***/ 12484:
/*!**************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/assign.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/assign */ 83576);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/assign.js?");

/***/ }),

/***/ 71072:
/*!**************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/create.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/create */ 46656);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/create.js?");

/***/ }),

/***/ 57324:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/define-properties */ 24928);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/define-properties.js?");

/***/ }),

/***/ 19692:
/*!***********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/define-property.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/define-property */ 3568);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/define-property.js?");

/***/ }),

/***/ 53868:
/*!**************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/freeze.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/freeze */ 97868);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/freeze.js?");

/***/ }),

/***/ 57312:
/*!********************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js ***!
  \********************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/get-own-property-symbols */ 62952);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js?");

/***/ }),

/***/ 80075:
/*!************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/get-prototype-of */ 91864);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js?");

/***/ }),

/***/ 57328:
/*!************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/keys.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/keys */ 76008);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/keys.js?");

/***/ }),

/***/ 53140:
/*!************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/object/set-prototype-of */ 40624);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js?");

/***/ }),

/***/ 86724:
/*!********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/promise.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/promise */ 98744);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/promise.js?");

/***/ }),

/***/ 98468:
/*!*******************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/symbol.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/symbol */ 16388);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/symbol.js?");

/***/ }),

/***/ 51592:
/*!****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! core-js-pure/features/symbol/iterator */ 71792);\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js?");

/***/ }),

/***/ 72072:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/regeneratorRuntime.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _typeof = (__webpack_require__(/*! ./typeof.js */ 6144)[\"default\"]);\n\nvar _Symbol = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ 98468);\n\nvar _Object$defineProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ 19692);\n\nvar _Object$create = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/create */ 71072);\n\nvar _Object$getPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-prototype-of */ 80075);\n\nvar _forEachInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/for-each */ 69268);\n\nvar _Object$setPrototypeOf = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/set-prototype-of */ 53140);\n\nvar _Promise = __webpack_require__(/*! @babel/runtime-corejs3/core-js/promise */ 86724);\n\nvar _reverseInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/reverse */ 42484);\n\nvar _sliceInstanceProperty = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/slice */ 29656);\n\nfunction _regeneratorRuntime() {\n  \"use strict\";\n  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */\n\n  module.exports = _regeneratorRuntime = function _regeneratorRuntime() {\n    return exports;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n  var exports = {},\n      Op = Object.prototype,\n      hasOwn = Op.hasOwnProperty,\n      $Symbol = \"function\" == typeof _Symbol ? _Symbol : {},\n      iteratorSymbol = $Symbol.iterator || \"@@iterator\",\n      asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\",\n      toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  function define(obj, key, value) {\n    return _Object$defineProperty(obj, key, {\n      value: value,\n      enumerable: !0,\n      configurable: !0,\n      writable: !0\n    }), obj[key];\n  }\n\n  try {\n    define({}, \"\");\n  } catch (err) {\n    define = function define(obj, key, value) {\n      return obj[key] = value;\n    };\n  }\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,\n        generator = _Object$create(protoGenerator.prototype),\n        context = new Context(tryLocsList || []);\n\n    return generator._invoke = function (innerFn, self, context) {\n      var state = \"suspendedStart\";\n      return function (method, arg) {\n        if (\"executing\" === state) throw new Error(\"Generator is already running\");\n\n        if (\"completed\" === state) {\n          if (\"throw\" === method) throw arg;\n          return doneResult();\n        }\n\n        for (context.method = method, context.arg = arg;;) {\n          var delegate = context.delegate;\n\n          if (delegate) {\n            var delegateResult = maybeInvokeDelegate(delegate, context);\n\n            if (delegateResult) {\n              if (delegateResult === ContinueSentinel) continue;\n              return delegateResult;\n            }\n          }\n\n          if (\"next\" === context.method) context.sent = context._sent = context.arg;else if (\"throw\" === context.method) {\n            if (\"suspendedStart\" === state) throw state = \"completed\", context.arg;\n            context.dispatchException(context.arg);\n          } else \"return\" === context.method && context.abrupt(\"return\", context.arg);\n          state = \"executing\";\n          var record = tryCatch(innerFn, self, context);\n\n          if (\"normal\" === record.type) {\n            if (state = context.done ? \"completed\" : \"suspendedYield\", record.arg === ContinueSentinel) continue;\n            return {\n              value: record.arg,\n              done: context.done\n            };\n          }\n\n          \"throw\" === record.type && (state = \"completed\", context.method = \"throw\", context.arg = record.arg);\n        }\n      };\n    }(innerFn, self, context), generator;\n  }\n\n  function tryCatch(fn, obj, arg) {\n    try {\n      return {\n        type: \"normal\",\n        arg: fn.call(obj, arg)\n      };\n    } catch (err) {\n      return {\n        type: \"throw\",\n        arg: err\n      };\n    }\n  }\n\n  exports.wrap = wrap;\n  var ContinueSentinel = {};\n\n  function Generator() {}\n\n  function GeneratorFunction() {}\n\n  function GeneratorFunctionPrototype() {}\n\n  var IteratorPrototype = {};\n  define(IteratorPrototype, iteratorSymbol, function () {\n    return this;\n  });\n  var getProto = _Object$getPrototypeOf,\n      NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);\n\n  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(IteratorPrototype);\n\n  function defineIteratorMethods(prototype) {\n    var _context;\n\n    _forEachInstanceProperty(_context = [\"next\", \"throw\", \"return\"]).call(_context, function (method) {\n      define(prototype, method, function (arg) {\n        return this._invoke(method, arg);\n      });\n    });\n  }\n\n  function AsyncIterator(generator, PromiseImpl) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n\n      if (\"throw\" !== record.type) {\n        var result = record.arg,\n            value = result.value;\n        return value && \"object\" == _typeof(value) && hasOwn.call(value, \"__await\") ? PromiseImpl.resolve(value.__await).then(function (value) {\n          invoke(\"next\", value, resolve, reject);\n        }, function (err) {\n          invoke(\"throw\", err, resolve, reject);\n        }) : PromiseImpl.resolve(value).then(function (unwrapped) {\n          result.value = unwrapped, resolve(result);\n        }, function (error) {\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n\n      reject(record.arg);\n    }\n\n    var previousPromise;\n\n    this._invoke = function (method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new PromiseImpl(function (resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n    };\n  }\n\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n\n    if (undefined === method) {\n      if (context.delegate = null, \"throw\" === context.method) {\n        if (delegate.iterator[\"return\"] && (context.method = \"return\", context.arg = undefined, maybeInvokeDelegate(delegate, context), \"throw\" === context.method)) return ContinueSentinel;\n        context.method = \"throw\", context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n    if (\"throw\" === record.type) return context.method = \"throw\", context.arg = record.arg, context.delegate = null, ContinueSentinel;\n    var info = record.arg;\n    return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, \"return\" !== context.method && (context.method = \"next\", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = \"throw\", context.arg = new TypeError(\"iterator result is not an object\"), context.delegate = null, ContinueSentinel);\n  }\n\n  function pushTryEntry(locs) {\n    var entry = {\n      tryLoc: locs[0]\n    };\n    1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\", delete record.arg, entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    this.tryEntries = [{\n      tryLoc: \"root\"\n    }], _forEachInstanceProperty(tryLocsList).call(tryLocsList, pushTryEntry, this), this.reset(!0);\n  }\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) return iteratorMethod.call(iterable);\n      if (\"function\" == typeof iterable.next) return iterable;\n\n      if (!isNaN(iterable.length)) {\n        var i = -1,\n            next = function next() {\n          for (; ++i < iterable.length;) {\n            if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;\n          }\n\n          return next.value = undefined, next.done = !0, next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    return {\n      next: doneResult\n    };\n  }\n\n  function doneResult() {\n    return {\n      value: undefined,\n      done: !0\n    };\n  }\n\n  return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, \"constructor\", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\"), exports.isGeneratorFunction = function (genFun) {\n    var ctor = \"function\" == typeof genFun && genFun.constructor;\n    return !!ctor && (ctor === GeneratorFunction || \"GeneratorFunction\" === (ctor.displayName || ctor.name));\n  }, exports.mark = function (genFun) {\n    return _Object$setPrototypeOf ? _Object$setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, \"GeneratorFunction\")), genFun.prototype = _Object$create(Gp), genFun;\n  }, exports.awrap = function (arg) {\n    return {\n      __await: arg\n    };\n  }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n    return this;\n  }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n    void 0 === PromiseImpl && (PromiseImpl = _Promise);\n    var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n    return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {\n      return result.done ? result.value : iter.next();\n    });\n  }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, \"Generator\"), define(Gp, iteratorSymbol, function () {\n    return this;\n  }), define(Gp, \"toString\", function () {\n    return \"[object Generator]\";\n  }), exports.keys = function (object) {\n    var keys = [];\n\n    for (var key in object) {\n      keys.push(key);\n    }\n\n    return _reverseInstanceProperty(keys).call(keys), function next() {\n      for (; keys.length;) {\n        var key = keys.pop();\n        if (key in object) return next.value = key, next.done = !1, next;\n      }\n\n      return next.done = !0, next;\n    };\n  }, exports.values = values, Context.prototype = {\n    constructor: Context,\n    reset: function reset(skipTempReset) {\n      var _context2;\n\n      if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = \"next\", this.arg = undefined, _forEachInstanceProperty(_context2 = this.tryEntries).call(_context2, resetTryEntry), !skipTempReset) for (var name in this) {\n        \"t\" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+_sliceInstanceProperty(name).call(name, 1)) && (this[name] = undefined);\n      }\n    },\n    stop: function stop() {\n      this.done = !0;\n      var rootRecord = this.tryEntries[0].completion;\n      if (\"throw\" === rootRecord.type) throw rootRecord.arg;\n      return this.rval;\n    },\n    dispatchException: function dispatchException(exception) {\n      if (this.done) throw exception;\n      var context = this;\n\n      function handle(loc, caught) {\n        return record.type = \"throw\", record.arg = exception, context.next = loc, caught && (context.method = \"next\", context.arg = undefined), !!caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i],\n            record = entry.completion;\n        if (\"root\" === entry.tryLoc) return handle(\"end\");\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\"),\n              hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n            if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);\n          } else {\n            if (!hasFinally) throw new Error(\"try statement without catch or finally\");\n            if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);\n          }\n        }\n      }\n    },\n    abrupt: function abrupt(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n\n        if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      finallyEntry && (\"break\" === type || \"continue\" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);\n      var record = finallyEntry ? finallyEntry.completion : {};\n      return record.type = type, record.arg = arg, finallyEntry ? (this.method = \"next\", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);\n    },\n    complete: function complete(record, afterLoc) {\n      if (\"throw\" === record.type) throw record.arg;\n      return \"break\" === record.type || \"continue\" === record.type ? this.next = record.arg : \"return\" === record.type ? (this.rval = this.arg = record.arg, this.method = \"return\", this.next = \"end\") : \"normal\" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;\n    },\n    finish: function finish(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;\n      }\n    },\n    \"catch\": function _catch(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n\n          if (\"throw\" === record.type) {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n\n          return thrown;\n        }\n      }\n\n      throw new Error(\"illegal catch attempt\");\n    },\n    delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n      return this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      }, \"next\" === this.method && (this.arg = undefined), ContinueSentinel;\n    }\n  }, exports;\n}\n\nmodule.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/regeneratorRuntime.js?");

/***/ }),

/***/ 6144:
/*!*******************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/typeof.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _Symbol = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ 98468);\n\nvar _Symbol$iterator = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol/iterator */ 51592);\n\nfunction _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return (module.exports = _typeof = \"function\" == typeof _Symbol && \"symbol\" == typeof _Symbol$iterator ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof _Symbol && obj.constructor === _Symbol && obj !== _Symbol.prototype ? \"symbol\" : typeof obj;\n  }, module.exports.__esModule = true, module.exports[\"default\"] = module.exports), _typeof(obj);\n}\n\nmodule.exports = _typeof, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/typeof.js?");

/***/ }),

/***/ 85344:
/*!**********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/regenerator/index.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("// TODO(Babel 8): Remove this file.\n\nvar runtime = __webpack_require__(/*! ../helpers/regeneratorRuntime */ 72072)();\nmodule.exports = runtime;\n\n// Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=\ntry {\n  regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n  if (typeof globalThis === \"object\") {\n    globalThis.regeneratorRuntime = runtime;\n  } else {\n    Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/regenerator/index.js?");

/***/ }),

/***/ 45816:
/*!******************!*\
  !*** ./index.js ***!
  \******************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   EntityDesigner: function() { return /* reexport safe */ _src__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _src_style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/style/index.less */ 19600);\n/* harmony import */ var _src_style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_style_index_less__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _src__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src */ 90236);\n\n/* @remove-on-es-build-end */\n\n\n//# sourceURL=webpack://entity-designer/./index.js?");

/***/ }),

/***/ 99344:
/*!******************************************************!*\
  !*** ../designer-utils/components/dropdownpanel.tsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/usePopper */ 43580);\n\n\n\n\n\n\n\n\n\n\nvar _excluded = [\"content\", \"children\", \"prefixCls\"];\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\nvar DropDownPanel = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().forwardRef(function (props, ref) {\n  var content = props.content,\n    children = props.children,\n    prefixCls = props.prefixCls,\n    others = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(props, _excluded);\n  var tiplocator = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().cloneElement(react__WEBPACK_IMPORTED_MODULE_10___default().Children.count(children) === 1 && children.type ? children : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"span\", null, children), {\n    ref: ref\n  });\n  var popperProps = _objectSpread(_objectSpread({}, others), {}, {\n    prefixCls: prefixCls\n  });\n  var tipPopper = typeof content === 'function' ? content() : content;\n  return (0,_utils_usePopper__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(tiplocator, tipPopper, popperProps);\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (DropDownPanel);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/components/dropdownpanel.tsx?");

/***/ }),

/***/ 98252:
/*!**********************************************!*\
  !*** ../designer-utils/constants/keyCode.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// 键盘键值码 并不全 慢慢补充\nvar KEYS = {\n  0: 48,\n  1: 49,\n  2: 50,\n  3: 51,\n  4: 52,\n  5: 53,\n  6: 54,\n  7: 55,\n  8: 56,\n  9: 57,\n  A: 65,\n  B: 66,\n  C: 67,\n  D: 68,\n  E: 69,\n  F: 70,\n  G: 71,\n  H: 72,\n  I: 73,\n  J: 74,\n  K: 75,\n  L: 76,\n  M: 77,\n  N: 78,\n  O: 79,\n  P: 80,\n  Q: 81,\n  R: 82,\n  S: 83,\n  T: 84,\n  U: 85,\n  V: 86,\n  W: 87,\n  X: 88,\n  Y: 89,\n  Z: 90,\n  F1: 112,\n  F2: 113,\n  F3: 114,\n  F4: 115,\n  F5: 116,\n  F6: 117,\n  F7: 118,\n  F8: 119,\n  F9: 120,\n  F10: 121,\n  F11: 122,\n  F12: 123,\n  BACKSPACE: 8,\n  TAB: 9,\n  ENTER: 13,\n  SHIFT: 16,\n  CTRL: 17,\n  CONTROL: 17,\n  ALT: 18,\n  ESC: 27,\n  ESCAPE: 27,\n  SPACE: 32,\n  PAGEUP: 33,\n  PAGEDOWN: 34,\n  END: 35,\n  HOME: 36,\n  LEFT: 37,\n  ARROWLEFT: 37,\n  UP: 38,\n  ARROWUP: 38,\n  RIGHT: 39,\n  ARROWRIGHT: 39,\n  DOWN: 40,\n  ARROWDOWN: 40,\n  DELETE: 46,\n  META: 91,\n  '*': 106,\n  '+': 107,\n  ';': 186,\n  '=': 187,\n  ',': 188,\n  '-': 189,\n  '.': 190,\n  '/': 191,\n  '`': 192,\n  '[': 219,\n  ']': 221\n  // 反斜杠需和后端讨论显示问题\n  // '\\: 220\n};\n\n// 补充几种中文输入法下的status\n// KEYS.SEMICOLON = 186 // Semicolon(; ；)\n// KEYS.EQUAL = 187 // Equal(==)\n// KEYS.COMMA = 188 // Comma(.，)\n// KEYS.MINUS = 189 // Minus(--)\n// KEYS.PERIOD = 190 // Period(.。)\n// KEYS.SLASH = 191 // Slash(? /)\n// KEYS.BACKQUOTE = 192 // Backquote(`·)\n// KEYS.BRACKETLEFT = 219 // BracketLeft([【)\n// KEYS.BRACKETRIGHT = 221 // BracketRight(]】)\n// KEYS.BACKSLASH = 11 // Backslash(\\、)\n// KEYS.QUOTE = 229 // Quote(')\n\n// 小键盘相关 小键盘status为 PAD + status\n// KEYS.PAD0 = 96 // pad(0)\n// KEYS.PAD1 = 97 // pad(1)\n// KEYS.PAD2 = 98 // pad(2)\n// KEYS.PAD3 = 99 // pad(3)\n// KEYS.PAD4 = 100 // pad(4)\n// KEYS.PAD5 = 101 // pad(5)\n// KEYS.PAD6 = 102 // pad(6)\n// KEYS.PAD7 = 103 // pad(7)\n// KEYS.PAD8 = 104 // pad(8)\n// KEYS.PAD9 = 105 // pad(9)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (KEYS);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/constants/keyCode.ts?");

/***/ }),

/***/ 76103:
/*!**********************************************!*\
  !*** ../designer-utils/hooks/useDebounce.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useDebounce; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n/**\r\n * 防抖hook\r\n * @param {*} fn 传入的函数\r\n * @param {*} delay 延时时间\r\n * @param {*} dep 依赖数组\r\n * @returns\r\n */\nfunction useDebounce(fn) {\n  var delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 300;\n  var _useRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)({\n      fn: fn,\n      timer: null\n    }),\n    current = _useRef.current;\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    current.fn = fn;\n  }, [fn]);\n  return (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function () {\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    if (current.timer) {\n      clearTimeout(current.timer);\n    }\n    current.timer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0___default()(function () {\n      current.fn.apply(current, args);\n    }, delay);\n  }, [fn]);\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/hooks/useDebounce.ts?");

/***/ }),

/***/ 68408:
/*!**********************************************************!*\
  !*** ../designer-utils/hooks/useTraceElementPosition.ts ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\n\n// 获取被跟踪节点的rect, 并传给回调\nfunction getInitXYAxis(_ref) {\n  var selectedCtrlNode = _ref.selectedCtrlNode,\n    callback = _ref.callback;\n  if (!selectedCtrlNode || selectedCtrlNode.style.zIndex < 0) {\n    return;\n  }\n  var bindDomRect = selectedCtrlNode.getBoundingClientRect();\n  callback && callback(bindDomRect);\n}\nfunction useTraceElementPosition(_ref2) {\n  var _context, _context2;\n  var selectedCtrlNode = _ref2.selectedCtrlNode,\n    callback = _ref2.callback,\n    _ref2$depth = _ref2.depth,\n    depth = _ref2$depth === void 0 ? [] : _ref2$depth;\n  var requestAnimationFrameId = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var stopMonitor = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(false);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null);\n  var requestNextFrameCallback = function requestNextFrameCallback() {\n    getInitXYAxis({\n      selectedCtrlNode: selectedCtrlNode,\n      callback: callback\n    });\n    if (stopMonitor.current) return;\n    requestAnimationFrameId.current = window.requestAnimationFrame(requestNextFrameCallback);\n  };\n\n  // useEffect(() => {\n  //   requestAnimationFrameId.current = window.requestAnimationFrame(() => {\n  //     getInitXYAxis({ selectedCtrlNode, callback })\n  //   })\n  // }, [selectedCtrlNode])\n\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useLayoutEffect)(function () {\n    _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_1___default()(function () {\n      getInitXYAxis({\n        selectedCtrlNode: selectedCtrlNode,\n        callback: callback\n      });\n    }, 100);\n  }, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = [selectedCtrlNode]).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(depth)));\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    var tracePosition = function tracePosition() {\n      stopMonitor.current = false;\n      timer.current && clearTimeout(timer.current);\n      timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_1___default()(function () {\n        stopMonitor.current = true;\n      }, 500);\n      requestAnimationFrameId.current = window.requestAnimationFrame(requestNextFrameCallback);\n    };\n    document.addEventListener('scroll', tracePosition, true);\n    window.addEventListener('resize', tracePosition);\n    return function () {\n      document.removeEventListener('scroll', tracePosition, true);\n      window.removeEventListener('resize', tracePosition);\n      if (requestAnimationFrameId.current) {\n        window.cancelAnimationFrame(requestAnimationFrameId.current);\n      }\n    };\n  }, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = [selectedCtrlNode]).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(depth)));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (useTraceElementPosition);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/hooks/useTraceElementPosition.ts?");

/***/ }),

/***/ 89592:
/*!**********************************!*\
  !*** ../designer-utils/index.ts ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DefaultIcon: function() { return /* reexport safe */ _utils_defaultIcon__WEBPACK_IMPORTED_MODULE_16__.DefaultIcon; },\n/* harmony export */   DropDownPanel: function() { return /* reexport safe */ _components_dropdownpanel__WEBPACK_IMPORTED_MODULE_21__[\"default\"]; },\n/* harmony export */   LINIX: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.LINIX; },\n/* harmony export */   MAC: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.MAC; },\n/* harmony export */   OS: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.OS; },\n/* harmony export */   UNIX: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.UNIX; },\n/* harmony export */   WINDOWS: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.WINDOWS; },\n/* harmony export */   browserType: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.browserType; },\n/* harmony export */   buildTree: function() { return /* reexport safe */ _utils_buildTree__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; },\n/* harmony export */   console: function() { return /* reexport safe */ _utils_console__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   devwarning: function() { return /* reexport safe */ _utils_devwarning__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */   eventBus: function() { return /* reexport safe */ _utils_eventBus__WEBPACK_IMPORTED_MODULE_11__.eventBus; },\n/* harmony export */   exponentToFloat: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.exponentToFloat; },\n/* harmony export */   formatEditNumber: function() { return /* reexport safe */ _utils_formatUtil__WEBPACK_IMPORTED_MODULE_3__.formatEditNumber; },\n/* harmony export */   formatNumber: function() { return /* reexport safe */ _utils_formatUtil__WEBPACK_IMPORTED_MODULE_3__.formatNumber; },\n/* harmony export */   getLangMsg: function() { return /* reexport safe */ _utils_intlApi__WEBPACK_IMPORTED_MODULE_22__.getLangMsg; },\n/* harmony export */   getMaxNumberByPrecision: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.getMaxNumberByPrecision; },\n/* harmony export */   getOS: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.getOS; },\n/* harmony export */   isAltActive: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isAltActive; },\n/* harmony export */   isArrayValueRepeat: function() { return /* reexport safe */ _utils_arrayUtil__WEBPACK_IMPORTED_MODULE_0__.isArrayValueRepeat; },\n/* harmony export */   isCtrlActive: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isCtrlActive; },\n/* harmony export */   isExp: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.isExp; },\n/* harmony export */   isLinux: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isLinux; },\n/* harmony export */   isMac: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isMac; },\n/* harmony export */   isUnix: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isUnix; },\n/* harmony export */   isWin: function() { return /* reexport safe */ _utils_client__WEBPACK_IMPORTED_MODULE_10__.isWin; },\n/* harmony export */   keyCode: function() { return /* reexport safe */ _constants_keyCode__WEBPACK_IMPORTED_MODULE_12__[\"default\"]; },\n/* harmony export */   omit: function() { return /* reexport safe */ _utils_omit__WEBPACK_IMPORTED_MODULE_6__.omit; },\n/* harmony export */   serialization: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.serialization; },\n/* harmony export */   setIntlApi: function() { return /* reexport safe */ _utils_intlApi__WEBPACK_IMPORTED_MODULE_22__.setIntlApi; },\n/* harmony export */   supplementZero: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.supplementZero; },\n/* harmony export */   timerManager: function() { return /* reexport safe */ _utils_timerManager__WEBPACK_IMPORTED_MODULE_20__[\"default\"]; },\n/* harmony export */   toArray: function() { return /* reexport safe */ _utils_react_children__WEBPACK_IMPORTED_MODULE_7__.toArray; },\n/* harmony export */   toFixed: function() { return /* reexport safe */ _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__.toFixed; },\n/* harmony export */   tuple: function() { return /* reexport safe */ _utils_type__WEBPACK_IMPORTED_MODULE_8__.tuple; },\n/* harmony export */   tupleNum: function() { return /* reexport safe */ _utils_type__WEBPACK_IMPORTED_MODULE_8__.tupleNum; },\n/* harmony export */   useDataChangeForceUpdateEffect: function() { return /* reexport safe */ _utils_forceUpdateEffect__WEBPACK_IMPORTED_MODULE_19__.useDataChangeForceUpdateEffect; },\n/* harmony export */   useDebounce: function() { return /* reexport safe */ _hooks_useDebounce__WEBPACK_IMPORTED_MODULE_15__[\"default\"]; },\n/* harmony export */   useErrorChangeForceUpdateEffect: function() { return /* reexport safe */ _utils_forceUpdateEffect__WEBPACK_IMPORTED_MODULE_19__.useErrorChangeForceUpdateEffect; },\n/* harmony export */   useForceUpdate: function() { return /* reexport safe */ _utils_forceUpdate__WEBPACK_IMPORTED_MODULE_18__.useForceUpdate; },\n/* harmony export */   useMergedState: function() { return /* reexport safe */ _utils_hooks__WEBPACK_IMPORTED_MODULE_4__.useMergedState; },\n/* harmony export */   useOnClickOutside: function() { return /* reexport safe */ _utils_hooks__WEBPACK_IMPORTED_MODULE_4__.useOnClickOutside; },\n/* harmony export */   useOnClickOutsideByRootClick: function() { return /* reexport safe */ _utils_hooks__WEBPACK_IMPORTED_MODULE_4__.useOnClickOutsideByRootClick; },\n/* harmony export */   usePopper: function() { return /* reexport safe */ _utils_usePopper__WEBPACK_IMPORTED_MODULE_13__[\"default\"]; },\n/* harmony export */   usePrevious: function() { return /* reexport safe */ _utils_hooks__WEBPACK_IMPORTED_MODULE_4__.usePrevious; },\n/* harmony export */   useResizeObserver: function() { return /* reexport safe */ _utils_hooks__WEBPACK_IMPORTED_MODULE_4__.useResizeObserver; },\n/* harmony export */   useSelectionChangeForceUpdateEffect: function() { return /* reexport safe */ _utils_forceUpdateEffect__WEBPACK_IMPORTED_MODULE_19__.useSelectionChangeForceUpdateEffect; },\n/* harmony export */   useTraceElementPosition: function() { return /* reexport safe */ _hooks_useTraceElementPosition__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; },\n/* harmony export */   xssFilters: function() { return /* reexport safe */ _utils_xssFilters__WEBPACK_IMPORTED_MODULE_9__.xssFilters; }\n/* harmony export */ });\n/* harmony import */ var _utils_arrayUtil__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/arrayUtil */ 88904);\n/* harmony import */ var _utils_console__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils/console */ 35132);\n/* harmony import */ var _utils_devwarning__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/devwarning */ 42652);\n/* harmony import */ var _utils_formatUtil__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/formatUtil */ 37020);\n/* harmony import */ var _utils_hooks__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./utils/hooks */ 82892);\n/* harmony import */ var _utils_numberUtil__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./utils/numberUtil */ 69612);\n/* harmony import */ var _utils_omit__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/omit */ 62452);\n/* harmony import */ var _utils_react_children__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/react-children */ 49412);\n/* harmony import */ var _utils_type__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils/type */ 188);\n/* harmony import */ var _utils_xssFilters__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/xssFilters */ 24776);\n/* harmony import */ var _utils_client__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils/client */ 43644);\n/* harmony import */ var _utils_eventBus__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./utils/eventBus */ 92360);\n/* harmony import */ var _constants_keyCode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./constants/keyCode */ 98252);\n/* harmony import */ var _utils_usePopper__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./utils/usePopper */ 43580);\n/* harmony import */ var _hooks_useTraceElementPosition__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./hooks/useTraceElementPosition */ 68408);\n/* harmony import */ var _hooks_useDebounce__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./hooks/useDebounce */ 76103);\n/* harmony import */ var _utils_defaultIcon__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./utils/defaultIcon */ 54440);\n/* harmony import */ var _utils_buildTree__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./utils/buildTree */ 80136);\n/* harmony import */ var _utils_forceUpdate__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./utils/forceUpdate */ 84416);\n/* harmony import */ var _utils_forceUpdateEffect__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./utils/forceUpdateEffect */ 20092);\n/* harmony import */ var _utils_timerManager__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./utils/timerManager */ 82188);\n/* harmony import */ var _components_dropdownpanel__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./components/dropdownpanel */ 99344);\n/* harmony import */ var _utils_intlApi__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./utils/intlApi */ 57024);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2023-04-24 19:36:00\n * @Description: ...\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://entity-designer/../designer-utils/index.ts?");

/***/ }),

/***/ 88904:
/*!********************************************!*\
  !*** ../designer-utils/utils/arrayUtil.ts ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   isArrayValueRepeat: function() { return /* binding */ isArrayValueRepeat; }\n/* harmony export */ });\n/**\n * 检查数组value的值是否唯一\n * @param value 需要检查值是否唯一的数组\n */\nvar isArrayValueRepeat = function isArrayValueRepeat(value) {\n  var hash = {};\n  for (var i in value) {\n    if (hash[value[i]]) {\n      return true;\n    }\n    hash[value[i]] = true;\n  }\n  return false;\n};\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/arrayUtil.ts?");

/***/ }),

/***/ 80136:
/*!********************************************!*\
  !*** ../designer-utils/utils/buildTree.ts ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-09 10:55:12\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-09 10:55:12\n * @Description: ...\n */\n\n\nvar buildTree = function buildTree(list, treeConfig) {\n  var fn = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function (val) {\n    return val;\n  };\n  treeConfig = treeConfig || {};\n  var children = treeConfig.children;\n  var parent = treeConfig.parent;\n  var name = treeConfig.id;\n  var temp = {};\n  var tree = {};\n  children = children || 'children';\n  parent = parent || 'parent';\n  if (!(0,lodash__WEBPACK_IMPORTED_MODULE_1__.isObject)(list) && !(0,lodash__WEBPACK_IMPORTED_MODULE_1__.isArray)(list)) return;\n  for (var j in list) {\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_1__.has)(list, j)) {\n      temp[list[j][name]] = list[j];\n    }\n  }\n  for (var i in temp) {\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_1__.has)(temp, i)) continue;\n    if (temp[i][parent]) {\n      var p = temp[i][parent];\n      if (temp[p] && !temp[p][children]) {\n        temp[p][children] = {};\n      }\n      if (temp[p] && !temp[p][parent]) {\n        temp[p] && p !== temp[i][name] && (temp[p][children][temp[i][name]] = fn(temp[i]));\n      } else {\n        var _context;\n        temp[p] && p !== temp[i][name] && temp[p][parent] && _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default()(_context = temp[p][parent]).call(_context, temp[i][name]) === -1 && (temp[p][children][temp[i][name]] = fn(temp[i]));\n      }\n    } else {\n      tree[temp[i][name]] = temp[i];\n    }\n  }\n  return tree;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (buildTree);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/buildTree.ts?");

/***/ }),

/***/ 43644:
/*!*****************************************!*\
  !*** ../designer-utils/utils/client.ts ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   LINIX: function() { return /* binding */ LINIX; },\n/* harmony export */   MAC: function() { return /* binding */ MAC; },\n/* harmony export */   OS: function() { return /* binding */ OS; },\n/* harmony export */   UNIX: function() { return /* binding */ UNIX; },\n/* harmony export */   WINDOWS: function() { return /* binding */ WINDOWS; },\n/* harmony export */   browserType: function() { return /* binding */ browserType; },\n/* harmony export */   getOS: function() { return /* binding */ getOS; },\n/* harmony export */   isAltActive: function() { return /* binding */ isAltActive; },\n/* harmony export */   isCtrlActive: function() { return /* binding */ isCtrlActive; },\n/* harmony export */   isLinux: function() { return /* binding */ isLinux; },\n/* harmony export */   isMac: function() { return /* binding */ isMac; },\n/* harmony export */   isUnix: function() { return /* binding */ isUnix; },\n/* harmony export */   isWin: function() { return /* binding */ isWin; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\nvar _context2, _context3;\n\n\nvar MAC = 'Mac';\nvar UNIX = 'Unix';\nvar LINIX = 'Linux';\nvar WINDOWS = 'Windows';\nfunction isWin() {\n  return window.navigator.platform == 'Win32' || window.navigator.platform == 'Windows';\n}\nfunction isMac() {\n  return window.navigator.platform == 'Mac68K' || window.navigator.platform == 'MacPPC' || window.navigator.platform == 'Macintosh' || window.navigator.platform == 'MacIntel';\n}\nfunction isUnix() {\n  return window.navigator.platform == 'X11' && !isWin() && !isMac();\n}\nfunction isLinux() {\n  var _context;\n  return _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default()(_context = String(window.navigator.platform)).call(_context, 'Linux') > -1;\n}\nfunction getOS() {\n  if (isMac()) return MAC;\n  if (isUnix()) return UNIX;\n  if (isLinux()) return LINIX;\n  if (isWin()) return WINDOWS;\n  return '';\n}\nvar OS = getOS();\nfunction isCtrlActive(e) {\n  return isMac() ? e.metaKey : e.ctrlKey;\n}\nfunction isAltActive(e) {\n  return e.altKey;\n}\nvar isElectron = !!navigator.userAgent.match(/Electron\\/(\\d+)/);\nvar isIE = !!navigator.userAgent.match(/Trident\\/(\\d+)/);\nvar isFireFox = !!navigator.userAgent.match(/Firefox\\/(\\d+)/);\nvar isChrome = !!navigator.userAgent.match(/Chrome\\/(\\d+)/);\nvar isEdge = !!navigator.userAgent.match(/Edge\\/(\\d+)/);\nvar isPreview = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = window.location.hash).call(_context2, '&preview=true');\nvar noLoadYZJ = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context3 = window.location.hash).call(_context3, '&noLoadYZJ=true');\n\n// 浏览器类型, 后续考虑不用挂载 window 的方案, 所以现在导出处理\nvar browserType = {\n  isIE: isIE,\n  isFireFox: isFireFox,\n  isChrome: isChrome,\n  isEdge: isEdge,\n  isPreview: isPreview,\n  noLoadYZJ: noLoadYZJ,\n  isElectron: isElectron\n};\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/client.ts?");

/***/ }),

/***/ 35132:
/*!******************************************!*\
  !*** ../designer-utils/utils/console.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n\n\n// 在控制台输出详细信息,开发环境输出所有级别的信息,正式环境只输出error日志\nvar _window = (typeof self === \"undefined\" ? \"undefined\" : (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(self)) == 'object' && self.self === self && self || (typeof __webpack_require__.g === \"undefined\" ? \"undefined\" : (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(__webpack_require__.g)) == 'object' && __webpack_require__.g.global === __webpack_require__.g && __webpack_require__.g || undefined || {};\n_window.allowkdesignerlog = false;\n_window.trace = false;\nfunction isOutput() {\n  var _context;\n  return _window.allowkdesignerlog && (_window.__kdesigner_debug || !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context = ['production', 'prodBuild']).call(_context, \"development\"));\n}\nfunction log() {\n  if (isOutput()) {\n    var _console;\n    (_console = console).log.apply(_console, arguments);\n    _window.trace && console.trace();\n  }\n}\nfunction warn() {\n  if (isOutput()) {\n    var _console2;\n    (_console2 = console).warn.apply(_console2, arguments);\n    _window.trace && console.trace();\n  }\n}\nfunction error() {\n  var _console3;\n  // if (isOutput) {\n  (_console3 = console).error.apply(_console3, arguments);\n  _window.trace && console.trace();\n  // }\n}\nfunction time(name) {\n  if (isOutput()) {\n    var _console$time, _console4;\n    (_console$time = (_console4 = console).time) === null || _console$time === void 0 || _console$time.call(_console4, name);\n  }\n}\nfunction timeEnd(name) {\n  if (isOutput()) {\n    var _console$timeEnd, _console5;\n    (_console$timeEnd = (_console5 = console).timeEnd) === null || _console$timeEnd === void 0 || _console$timeEnd.call(_console5, name);\n  }\n}\nfunction table(messages) {\n  if (isOutput()) {\n    var _console$table, _console6;\n    (_console$table = (_console6 = console).table) === null || _console$table === void 0 || _console$table.call(_console6, messages);\n    _window.trace && console.trace();\n  }\n}\n// 条件满足,再执行log功能,提升性能\nfunction lazyLog(callback) {\n  if (isOutput()) {\n    callback(console);\n    _window.trace && console.trace();\n  }\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  log: log,\n  warn: warn,\n  error: error,\n  time: time,\n  timeEnd: timeEnd,\n  table: table,\n  lazyLog: lazyLog\n});\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/console.ts?");

/***/ }),

/***/ 54440:
/*!***********************************************!*\
  !*** ../designer-utils/utils/defaultIcon.tsx ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DefaultIcon: function() { return /* binding */ DefaultIcon; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar DefaultIcon = function DefaultIcon(_ref) {\n  var className = _ref.className;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_1___default()(className, 'icon'),\n    width: \"200\",\n    height: \"200\",\n    viewBox: \"0 0 28 28\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"title\", null, \"\\u6587\\u672C\\u5907\\u4EFD\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    id: \"\\u6587\\u672C\\u5907\\u4EFD\",\n    stroke: \"none\",\n    \"stroke-width\": \"1\",\n    fill: \"none\",\n    \"fill-rule\": \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M5.5,24 L22.5,24 L22.5,22.5 L23.999,22.5 L24,5.5 L22.5,5.5 L22.5,4 L5.5,4 L5.5,5.5 L4,5.5 L3.999,22.5 L5.5,22.5 L5.5,24 Z M4.5,23.5 L2.5,23.5 L2.5,25.5 L4.5,25.5 L4.5,23.5 Z M25.5,23.5 L23.5,23.5 L23.5,25.5 L25.5,25.5 L25.5,23.5 Z M4.5,2.5 L2.5,2.5 L2.5,4.5 L4.5,4.5 L4.5,2.5 Z M25.5,2.5 L23.5,2.5 L23.5,4.5 L25.5,4.5 L25.5,2.5 Z M5.5,26.5 L1.5,26.5 L1.5,22.5 L2.999,22.5 L3,5.5 L1.5,5.5 L1.5,1.5 L5.5,1.5 L5.5,3 L22.5,3 L22.5,1.5 L26.5,1.5 L26.5,5.5 L25,5.5 L24.999,22.5 L26.5,22.5 L26.5,26.5 L22.5,26.5 L22.5,25 L5.5,25 L5.5,26.5 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#404040\",\n    \"fill-rule\": \"nonzero\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M20.5234375,19.924 C20.7995799,19.924 21.0234375,20.1478576 21.0234375,20.424 C21.0234375,20.6694599 20.8465623,20.8736084 20.6133131,20.9159443 L20.5234375,20.924 L7.55200195,20.924 C7.27585958,20.924 7.05200195,20.7001424 7.05200195,20.424 C7.05200195,20.1785401 7.22887711,19.9743916 7.46212632,19.9320557 L7.55200195,19.924 L20.5234375,19.924 Z M20.5,17.424 C20.7761424,17.424 21,17.6478576 21,17.924 C21,18.1694599 20.8231248,18.3736084 20.5898756,18.4159443 L20.5,18.424 L15.5,18.424 C15.2238576,18.424 15,18.2001424 15,17.924 C15,17.6785401 15.1768752,17.4743916 15.4101244,17.4320557 L15.5,17.424 L20.5,17.424 Z M20.5,14.424 C20.7761424,14.424 21,14.6478576 21,14.924 C21,15.1694599 20.8231248,15.3736084 20.5898756,15.4159443 L20.5,15.424 L15.5,15.424 C15.2238576,15.424 15,15.2001424 15,14.924 C15,14.6785401 15.1768752,14.4743916 15.4101244,14.4320557 L15.5,14.424 L20.5,14.424 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#979797\",\n    \"fill-rule\": \"nonzero\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: \"M12.6,17.6699621 L12.6,8.03204346 L12.6,8.03204346 L16.1159783,8.03204346 C16.4009692,8.03204346 16.632,7.80101266 16.632,7.51602173 C16.632,7.2310308 16.4009692,7 16.1159783,7 L7.78802173,7 C7.5030308,7 7.272,7.2310308 7.272,7.51602173 C7.272,7.80101266 7.5030308,8.03204346 7.78802173,8.03204346 L11.304,8.03204346 L11.304,8.03204346 L11.304,17.7739187 C11.304,18.1053028 11.57264,18.3739428 11.9040241,18.3739428 C11.9200353,18.3739428 11.9360401,18.3733019 11.952,18.3720217 C12.3179691,18.3426661 12.6,18.0371067 12.6,17.6699621 Z\",\n    id: \"T\",\n    fill: \"#404040\",\n    \"fill-rule\": \"nonzero\"\n  })));\n};\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/defaultIcon.tsx?");

/***/ }),

/***/ 42652:
/*!*********************************************!*\
  !*** ../designer-utils/utils/devwarning.ts ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* export default binding */ __WEBPACK_DEFAULT_EXPORT__; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n\nvar warned = {};\n/* harmony default export */ function __WEBPACK_DEFAULT_EXPORT__(valid, component, message) {\n  if ( true && valid && !warned[message]) {\n    var _context;\n    warned[message] = true;\n    console.warn(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"Warning: [kd-ui]-\".concat(component, \": \")).call(_context, message));\n  }\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/devwarning.ts?");

/***/ }),

/***/ 92360:
/*!*******************************************!*\
  !*** ../designer-utils/utils/eventBus.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   eventBus: function() { return /* binding */ eventBus; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/asyncToGenerator */ 85640);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/regenerator */ 85344);\n/* harmony import */ var _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context9; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(_context9 = Object.prototype.toString.call(o)).call(_context9, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n\n/*\n * @Author: z_gong@kingdee.com\n * @Date: 2021-09-18 09:00:17\n * @LastEditors: z_gong@kingdee.com\n * @LastEditTime: 2021-09-18 14:15:48\n * @Description: eventBus\n */\n\nvar innerHasOwnProperty = function innerHasOwnProperty(obj, prop) {\n  return Object.prototype.hasOwnProperty.call(obj, prop);\n};\nvar EventEmitter = /*#__PURE__*/function () {\n  // rollup cannot support class's static property;\n  // static defaultMaxListeners = 100;\n  // static defaultMaxEvents = 100;\n\n  function EventEmitter() {\n    var isOnOfflineStack = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(this, EventEmitter);\n    this.events = {};\n    this.eventsLength = 0;\n    this._maxListeners = EventEmitter.defaultMaxListeners;\n    this._maxEvents = EventEmitter.defaultMaxEvents;\n\n    // offlineStack\n    this.isOnOfflineStack = isOnOfflineStack;\n    this.offlineStack = {};\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(EventEmitter, [{\n    key: \"addEventListener\",\n    value: function addEventListener() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n      return this.on.apply(this, args);\n    }\n  }, {\n    key: \"addEventListenerAsync\",\n    value: function () {\n      var _addEventListenerAsync = (0,_babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__[\"default\"])( /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().mark(function _callee() {\n        var _len2,\n          args,\n          _key2,\n          _args = arguments;\n        return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().wrap(function _callee$(_context) {\n          while (1) switch (_context.prev = _context.next) {\n            case 0:\n              for (_len2 = _args.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n                args[_key2] = _args[_key2];\n              }\n              _context.next = 3;\n              return this.onAsync.apply(this, args);\n            case 3:\n              return _context.abrupt(\"return\", _context.sent);\n            case 4:\n            case \"end\":\n              return _context.stop();\n          }\n        }, _callee, this);\n      }));\n      function addEventListenerAsync() {\n        return _addEventListenerAsync.apply(this, arguments);\n      }\n      return addEventListenerAsync;\n    }()\n  }, {\n    key: \"setMaxListeners\",\n    value: function setMaxListeners(n) {\n      n = n !== n ? 1 : n;\n      n = typeof n === 'number' ? n : 1;\n      this._maxListeners = n || 1;\n    }\n  }, {\n    key: \"setMaxEvents\",\n    value: function setMaxEvents(n) {\n      n = n !== n ? 1 : n;\n      n = typeof n === 'number' ? n : 1;\n      this._maxEvents = n || 1;\n    }\n  }, {\n    key: \"emit\",\n    value: function emit(event) {\n      // 这里不备份，off不了\n      var evts = this.events[event];\n      for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n        args[_key3 - 1] = arguments[_key3];\n      }\n      if (evts && evts.length > 0) {\n        evts = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(evts).call(evts, 0);\n        // 长度可能会动态改\n        // let evtLength = evts.length;\n        // for(let i = 0; i < evtLength; i++) {\n        //     if(typeof evts[i] === 'function') {\n        //         // 这里不能return\n        //         evts[i].apply(this, args);\n        //     }\n        // }\n        var _iterator = _createForOfIteratorHelper(evts),\n          _step;\n        try {\n          for (_iterator.s(); !(_step = _iterator.n()).done;) {\n            var iterator = _step.value;\n            if (typeof iterator === 'function') {\n              iterator.apply(this, args);\n            }\n          }\n        } catch (err) {\n          _iterator.e(err);\n        } finally {\n          _iterator.f();\n        }\n        evts = [];\n        return true;\n      } else {\n        // 这里的if block是否应该返回true?\n        if (this.isOnOfflineStack) {\n          this.offlineStack[event] = this.offlineStack[event] || [];\n          this.offlineStack[event].push(args);\n        }\n        return false;\n      }\n    }\n  }, {\n    key: \"emitAsync\",\n    value: function () {\n      var _emitAsync = (0,_babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__[\"default\"])( /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().mark(function _callee2(event) {\n        var evts,\n          _len4,\n          args,\n          _key4,\n          _iterator2,\n          _step2,\n          iterator,\n          _args2 = arguments;\n        return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().wrap(function _callee2$(_context2) {\n          while (1) switch (_context2.prev = _context2.next) {\n            case 0:\n              // 这里不备份，off不了\n              evts = this.events[event];\n              for (_len4 = _args2.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n                args[_key4 - 1] = _args2[_key4];\n              }\n              if (!(evts && evts.length > 0)) {\n                _context2.next = 26;\n                break;\n              }\n              evts = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(evts).call(evts, 0);\n              _iterator2 = _createForOfIteratorHelper(evts);\n              _context2.prev = 5;\n              _iterator2.s();\n            case 7:\n              if ((_step2 = _iterator2.n()).done) {\n                _context2.next = 14;\n                break;\n              }\n              iterator = _step2.value;\n              if (!(typeof iterator === 'function')) {\n                _context2.next = 12;\n                break;\n              }\n              _context2.next = 12;\n              return iterator.apply(this, args);\n            case 12:\n              _context2.next = 7;\n              break;\n            case 14:\n              _context2.next = 19;\n              break;\n            case 16:\n              _context2.prev = 16;\n              _context2.t0 = _context2[\"catch\"](5);\n              _iterator2.e(_context2.t0);\n            case 19:\n              _context2.prev = 19;\n              _iterator2.f();\n              return _context2.finish(19);\n            case 22:\n              evts = [];\n              return _context2.abrupt(\"return\", true);\n            case 26:\n              // 这里的if block是否应该返回true?\n              if (this.isOnOfflineStack) {\n                this.offlineStack[event] = this.offlineStack[event] || [];\n                this.offlineStack[event].push(args);\n              }\n              return _context2.abrupt(\"return\", false);\n            case 28:\n            case \"end\":\n              return _context2.stop();\n          }\n        }, _callee2, this, [[5, 16, 19, 22]]);\n      }));\n      function emitAsync(_x) {\n        return _emitAsync.apply(this, arguments);\n      }\n      return emitAsync;\n    }()\n  }, {\n    key: \"eventNames\",\n    value: function eventNames() {\n      var ret = [];\n      for (var _i = 0, _Object$keys = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_8___default()(this.events); _i < _Object$keys.length; _i++) {\n        var val = _Object$keys[_i];\n        ret.push(val);\n      }\n      return ret;\n    }\n  }, {\n    key: \"listenerCount\",\n    value: function listenerCount(eventName) {\n      if (innerHasOwnProperty(this.events, eventName)) {\n        return this.events[eventName].length;\n      } else {\n        return 0;\n      }\n    }\n  }, {\n    key: \"listeners\",\n    value: function listeners(eventName) {\n      if (innerHasOwnProperty(this.events, eventName)) {\n        var _context3;\n        return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(_context3 = this.events[eventName]).call(_context3, 0);\n      } else {\n        return [];\n      }\n    }\n  }, {\n    key: \"off\",\n    value: function off(event, fn) {\n      if (!innerHasOwnProperty(this.events, event)) return false;\n      if (typeof fn === 'function') {\n        var _context4;\n        var index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9___default()(_context4 = this.events[event]).call(_context4, fn);\n        if (index !== -1) {\n          var _context5;\n          _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default()(_context5 = this.events[event]).call(_context5, index, 1);\n          return true;\n        } else {\n          return false;\n        }\n      }\n      if (typeof fn === 'undefined') {\n        this.events[event] = [];\n        delete this.events[event];\n        this.eventsLength--;\n        return true;\n      }\n    }\n\n    // if event fn is a async function?\n    // how to make sure fns sync emit?\n  }, {\n    key: \"_realOn\",\n    value: function _realOn(event, fn) {\n      event = String(event);\n      if (innerHasOwnProperty(this.events, event)) {\n        if (this.events[event].length >= this._maxListeners) {\n          console.log('error', '超出监听事件数量限制');\n          return false;\n        }\n      } else {\n        if (this.eventsLength >= this._maxEvents) {\n          console.log('error', '超出监听数量限制');\n          return false;\n        }\n        this.events[event] = [];\n        this.eventsLength++;\n      }\n      if (this.events[event].length > this._maxListeners) {\n        console.log('error', '超出监听事件数量限制');\n        return false;\n      }\n      this.events[event].push(fn);\n      // when each finish, data is empty at the same time;\n\n      return true;\n    }\n  }, {\n    key: \"onAsync\",\n    value: function () {\n      var _onAsync = (0,_babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__[\"default\"])( /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().mark(function _callee3(event, fn) {\n        return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().wrap(function _callee3$(_context6) {\n          while (1) switch (_context6.prev = _context6.next) {\n            case 0:\n              this._realOn(event, fn);\n              _context6.next = 3;\n              return this.callOfflineStackEventsAsync(event, fn);\n            case 3:\n              return _context6.abrupt(\"return\", _context6.sent);\n            case 4:\n            case \"end\":\n              return _context6.stop();\n          }\n        }, _callee3, this);\n      }));\n      function onAsync(_x2, _x3) {\n        return _onAsync.apply(this, arguments);\n      }\n      return onAsync;\n    }()\n  }, {\n    key: \"on\",\n    value: function on(event, fn) {\n      var ret = this._realOn(event, fn);\n      this.callOfflineStackEvents(event, fn);\n      return ret;\n    }\n  }, {\n    key: \"callOfflineStackEvents\",\n    value: function callOfflineStackEvents(event, emitWayFn) {\n      if (this.isOnOfflineStack && this.offlineStack[event]) {\n        var _iterator3 = _createForOfIteratorHelper(this.offlineStack[event]),\n          _step3;\n        try {\n          for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n            var _args4 = _step3.value;\n            emitWayFn.apply(this, _args4);\n          }\n        } catch (err) {\n          _iterator3.e(err);\n        } finally {\n          _iterator3.f();\n        }\n        this.offlineStack[event] = [];\n      }\n    }\n  }, {\n    key: \"callOfflineStackEventsAsync\",\n    value: function () {\n      var _callOfflineStackEventsAsync = (0,_babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__[\"default\"])( /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().mark(function _callee4(event, emitWayFn) {\n        var _iterator4, _step4, _args5;\n        return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().wrap(function _callee4$(_context7) {\n          while (1) switch (_context7.prev = _context7.next) {\n            case 0:\n              if (!(this.isOnOfflineStack && this.offlineStack[event])) {\n                _context7.next = 19;\n                break;\n              }\n              _iterator4 = _createForOfIteratorHelper(this.offlineStack[event]);\n              _context7.prev = 2;\n              _iterator4.s();\n            case 4:\n              if ((_step4 = _iterator4.n()).done) {\n                _context7.next = 10;\n                break;\n              }\n              _args5 = _step4.value;\n              _context7.next = 8;\n              return emitWayFn.apply(this, _args5);\n            case 8:\n              _context7.next = 4;\n              break;\n            case 10:\n              _context7.next = 15;\n              break;\n            case 12:\n              _context7.prev = 12;\n              _context7.t0 = _context7[\"catch\"](2);\n              _iterator4.e(_context7.t0);\n            case 15:\n              _context7.prev = 15;\n              _iterator4.f();\n              return _context7.finish(15);\n            case 18:\n              this.offlineStack[event] = [];\n            case 19:\n            case \"end\":\n              return _context7.stop();\n          }\n        }, _callee4, this, [[2, 12, 15, 18]]);\n      }));\n      function callOfflineStackEventsAsync(_x4, _x5) {\n        return _callOfflineStackEventsAsync.apply(this, arguments);\n      }\n      return callOfflineStackEventsAsync;\n    }()\n  }, {\n    key: \"createOnceFn\",\n    value: function createOnceFn(event, fn) {\n      var self = this;\n      var onceFn = function onceFn() {\n        for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n          args[_key5] = arguments[_key5];\n        }\n        var ret = fn.apply(this, args);\n        // 这里应该off 该方法return的函数\n        self.off(event, onceFn);\n        console.log(fn, onceFn);\n        return ret;\n      };\n      return onceFn;\n    }\n  }, {\n    key: \"once\",\n    value: function once(event, fn) {\n      var onceFn = this.createOnceFn(event, fn);\n      this._realOn(event, onceFn);\n      // 没有意义去做onceFn，离线的\n      this.callOfflineStackEvents(event, fn);\n    }\n  }, {\n    key: \"onceAsync\",\n    value: function () {\n      var _onceAsync = (0,_babel_runtime_corejs3_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__[\"default\"])( /*#__PURE__*/_babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().mark(function _callee5(event, fn) {\n        var onceFn;\n        return _babel_runtime_corejs3_regenerator__WEBPACK_IMPORTED_MODULE_11___default().wrap(function _callee5$(_context8) {\n          while (1) switch (_context8.prev = _context8.next) {\n            case 0:\n              onceFn = this.createOnceFn(event, fn);\n              this._realOn(event, onceFn);\n              // 没有意义去做onceFn，离线的\n              _context8.next = 4;\n              return this.callOfflineStackEventsAsync(event, fn);\n            case 4:\n            case \"end\":\n              return _context8.stop();\n          }\n        }, _callee5, this);\n      }));\n      function onceAsync(_x6, _x7) {\n        return _onceAsync.apply(this, arguments);\n      }\n      return onceAsync;\n    }()\n  }, {\n    key: \"removeListener\",\n    value: function removeListener() {\n      for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n        args[_key6] = arguments[_key6];\n      }\n      return this.off.apply(this, args);\n    }\n  }, {\n    key: \"removeAllListeners\",\n    value: function removeAllListeners() {\n      return this.off.apply(this, arguments.length <= 0 ? undefined : arguments[0]);\n    }\n  }]);\n  return EventEmitter;\n}();\nvar eventBus = new EventEmitter();\nEventEmitter.defaultMaxListeners = 10000;\nEventEmitter.defaultMaxEvents = 10000;\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/eventBus.ts?");

/***/ }),

/***/ 84416:
/*!**********************************************!*\
  !*** ../designer-utils/utils/forceUpdate.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useForceUpdate: function() { return /* binding */ useForceUpdate; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-14 10:31:31\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-14 10:32:45\n * @Description: ...\n */\n\n\nvar useForceUpdate = function useForceUpdate() {\n  var forceUpdate = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0)[1];\n  return function () {\n    forceUpdate(function (n) {\n      return n + 1;\n    });\n  };\n};\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/forceUpdate.ts?");

/***/ }),

/***/ 20092:
/*!****************************************************!*\
  !*** ../designer-utils/utils/forceUpdateEffect.ts ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useDataChangeForceUpdateEffect: function() { return /* binding */ useDataChangeForceUpdateEffect; },\n/* harmony export */   useErrorChangeForceUpdateEffect: function() { return /* binding */ useErrorChangeForceUpdateEffect; },\n/* harmony export */   useSelectionChangeForceUpdateEffect: function() { return /* binding */ useSelectionChangeForceUpdateEffect; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _forceUpdate__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./forceUpdate */ 84416);\n/* harmony import */ var _timerManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./timerManager */ 82188);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-23 16:41:07\n * @Last Modified by: fjr\n * @LastEditTime: 2023-04-24 19:33:52\n * @Description: ...\n */\n\n\n\nvar useDataChangeForceUpdateEffect = function useDataChangeForceUpdateEffect(api) {\n  var forceUpdate = (0,_forceUpdate__WEBPACK_IMPORTED_MODULE_1__.useForceUpdate)();\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var subscribe = api.data.addDataChangeListener(function () {\n      subscribe && forceUpdate();\n    });\n    return function () {\n      subscribe && subscribe();\n      subscribe = null;\n    };\n  }, [api]);\n};\nvar useSelectionChangeForceUpdateEffect = function useSelectionChangeForceUpdateEffect(api, callback, timeout) {\n  var forceUpdate = (0,_forceUpdate__WEBPACK_IMPORTED_MODULE_1__.useForceUpdate)();\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var _callback = function _callback(_ref) {\n      var value = _ref.value;\n      if (callback) {\n        if (callback(value)) {\n          forceUpdate();\n        }\n      } else {\n        forceUpdate();\n      }\n    };\n    var delayCallback = (0,_timerManager__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_callback, timeout);\n    var subscribe = api.selection.addSelectChangeListener(delayCallback);\n    return function () {\n      subscribe && subscribe();\n    };\n  }, [api, callback, timeout]);\n};\nvar useErrorChangeForceUpdateEffect = function useErrorChangeForceUpdateEffect(api) {\n  var forceUpdate = (0,_forceUpdate__WEBPACK_IMPORTED_MODULE_1__.useForceUpdate)();\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var subscribe = api.error.addErrorChangeListener(function () {\n      forceUpdate();\n    });\n    return function () {\n      subscribe && subscribe();\n    };\n  }, [api]);\n};\n\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/forceUpdateEffect.ts?");

/***/ }),

/***/ 37020:
/*!*********************************************!*\
  !*** ../designer-utils/utils/formatUtil.ts ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   formatEditNumber: function() { return /* binding */ formatEditNumber; },\n/* harmony export */   formatNumber: function() { return /* binding */ formatNumber; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/parse-float */ 55648);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ 28555);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/last-index-of */ 96432);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _numberUtil__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./numberUtil */ 69612);\n\nvar _excluded = [\"mask\", \"zeroShow\", \"decimalLength\", \"showDecimalTailZero\", \"isRound\"];\n\n\n\n\n\n\n\n/**\n * [数值类型格式化]\n * @param  {[type]}  num                              [待格式化的数字]\n * @param  {String}  mask                             [数值掩码\n * 0：必须输入数字（0—9）\n * 9：可选择输入数字（0—9）或空格\n * #：可选择输入数字（0—9） 递归\n * .: 小数点\n * ,: 千位符\n * %: 对最终值除以100处理\n * %%: 对最终值不做处理\n * //A: [a-zA-Z0-9]\n * //S: [a-zA-Z]\n * //&：必须输入任一字符或空格\n * //C：可选择输入任一字符或空格\n * $: 货币\n * ]\n * @param  {Boolean} zeroShow                         [为零显示]\n * @param  {[type]}  decimalLength                    [小数精度的位数]\n * @param  {Boolean} showDecimalTailZero              [是否显示尾部零]\n * @return                                            [格式化后的数值]\n */\nfunction formatNumber(num, formatParams) {\n  var _context;\n  var _formatParams$mask = formatParams.mask,\n    mask = _formatParams$mask === void 0 ? '' : _formatParams$mask,\n    _formatParams$zeroSho = formatParams.zeroShow,\n    zeroShow = _formatParams$zeroSho === void 0 ? false : _formatParams$zeroSho,\n    decimalLength = formatParams.decimalLength,\n    _formatParams$showDec = formatParams.showDecimalTailZero,\n    showDecimalTailZero = _formatParams$showDec === void 0 ? false : _formatParams$showDec,\n    isRound = formatParams.isRound,\n    param = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(formatParams, _excluded);\n  if (decimalLength !== undefined && (decimalLength < 0 || decimalLength > 100)) return num + '';\n  if (num === undefined || num === null) num = '';\n  var numInfo = {\n    numStr: '',\n    intStr: '',\n    decimalStr: ''\n  };\n  if (typeof num === 'number') {\n    numInfo.numStr = num + '';\n  } else {\n    numInfo.numStr = num.replace(/,/g, '');\n    if ((0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.isExp)(numInfo.numStr)) {\n      numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.exponentToFloat)(numInfo.numStr);\n    }\n  }\n  var floatNum = _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(numInfo.numStr);\n  // 非纯数字不处理，直接返回''\n  // if (Number.isNaN(floatNum)) return ''\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default()(Number(num))) {\n    // throw new Error('toFixed() number argument must be a valid number')\n    return num + '';\n  }\n  // 为零不显示，且等于零,直接返回''\n  if (!zeroShow && Number(num) === 0) return '';\n  var maskInfo = analyzMask(mask);\n  if (maskInfo.errorMask) return numInfo.numStr;\n  var isIncludePercent = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context = numInfo.numStr).call(_context, '%');\n  if (maskInfo.percent) {\n    if (!isIncludePercent) {\n      var _context2, _context3;\n      var point = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = numInfo.numStr).call(_context2, '.');\n      var length = numInfo.numStr.length;\n      if (point < 0) {\n        numInfo.numStr = numInfo.numStr + '00';\n      } else if (point === length - 1) {\n        numInfo.numStr = numInfo.numStr.replace('.', '') + '00';\n      } else if (point === length - 2) {\n        numInfo.numStr = numInfo.numStr.replace('.', '') + '0';\n      } else {\n        var numStr = numInfo.numStr.replace('.', '');\n        numInfo.numStr = numStr.substring(0, point + 2) + '.' + numStr.substring(point + 2);\n      }\n      // 去掉数字前面的零\n      numInfo.numStr = numInfo.numStr.replace(/^0+/, '');\n      if (numInfo.numStr === '.') numInfo.numStr = '0';\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = numInfo.numStr).call(_context3, '-')) {\n        // 负数的情况 去掉前面的0\n        numInfo.numStr = numInfo.numStr.replace('-', '');\n        numInfo.numStr = numInfo.numStr.replace(/^0+/, '');\n        numInfo.numStr = '-' + numInfo.numStr;\n      }\n      floatNum = floatNum * 100;\n    }\n  }\n  var isNegativeNumber = floatNum < 0; // 是否是负数\n  if (isNegativeNumber) {\n    var _context4;\n    floatNum = Math.abs(floatNum);\n    numInfo.numStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = numInfo.numStr).call(_context4, 1); // 去除第一个负号\n  }\n  var numStrArr = numInfo.numStr.split('.');\n  numInfo.intStr = numStrArr[0];\n  numInfo.decimalStr = numStrArr[1] || '';\n  if (!showDecimalTailZero) {\n    numInfo = cutTailZero(numInfo);\n  }\n  // 小数部分处理。暂时不考虑其他。只校验位数和尾数补零问题,整数\n  if (decimalLength !== undefined && decimalLength >= 0) {\n    // floatNum = Number.parseFloat(numInfo.numStr) // 当整数位数大于16位时，parseFloat会丢掉末尾的值,有问题！！！\n    numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.toFixed)(numInfo.numStr, decimalLength, isRound);\n    numStrArr = numInfo.numStr.split('.');\n    // 去除整数部分多余的 0\n    var intStr = numStrArr[0].replace(/^0+/, '');\n    numInfo.intStr = intStr === '' ? '0' : intStr;\n    numInfo.decimalStr = numStrArr[1] || '';\n    if (!showDecimalTailZero) {\n      numInfo = cutTailZero(numInfo);\n    }\n  }\n  // 整数部分格式化\n  var formatValue = intFormatMask(maskInfo.intMask, numInfo.intStr);\n  var currencySign = maskInfo.currencySign ? '$' : '';\n  if (param.symbol) {\n    currencySign = param.symbol;\n  }\n  return currencySign + (isNegativeNumber ? '-' : '') + (formatValue || numInfo.intStr || '0') + (numInfo.decimalStr.length > 0 ? '.' : '') + numInfo.decimalStr + (maskInfo.percent ? '%' : '');\n}\n\n/**\n * 格式化数字字段编辑态的值\n * 不支持掩码的格式化信息\n * @param {*} num\n * @param {*} param\n */\nfunction formatEditNumber(num, _ref) {\n  var _ref$zeroShow = _ref.zeroShow,\n    zeroShow = _ref$zeroShow === void 0 ? false : _ref$zeroShow,\n    decimalLength = _ref.decimalLength,\n    _ref$showDecimalTailZ = _ref.showDecimalTailZero,\n    showDecimalTailZero = _ref$showDecimalTailZ === void 0 ? false : _ref$showDecimalTailZ,\n    _ref$roundMethod = _ref.roundMethod,\n    roundMethod = _ref$roundMethod === void 0 ? '0' : _ref$roundMethod,\n    symbol = _ref.symbol;\n  // 如果精度超过100，直接返回数值\n  if (decimalLength && (decimalLength < 0 || decimalLength > 100)) return num + '';\n  if (num === undefined || num === null) num = '';\n  var numInfo = {\n    numStr: '',\n    intStr: '',\n    decimalStr: ''\n  };\n  if (typeof num === 'number') {\n    numInfo.numStr = num + '';\n  } else {\n    var _context5;\n    numInfo.numStr = num.replace(/,/g, '');\n    if ((0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.isExp)(numInfo.numStr)) {\n      numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.exponentToFloat)(numInfo.numStr);\n    }\n    if (symbol && _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = numInfo.numStr).call(_context5, symbol) === 0) {\n      numInfo.numStr = numInfo.numStr.replace(symbol, '');\n    }\n  }\n  var floatNum = _babel_runtime_corejs3_core_js_stable_number_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(numInfo.numStr);\n  // 非纯数字不处理，直接返回''\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_2___default()(floatNum)) return '';\n  // 为零不显示，且等于零,直接返回''\n  if (!zeroShow && floatNum === 0) return '';\n  var isNegativeNumber = floatNum < 0; // 是否是负数\n  if (isNegativeNumber) {\n    var _context6;\n    floatNum = Math.abs(floatNum);\n    numInfo.numStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = numInfo.numStr).call(_context6, 1); // 去除第一个负号\n  }\n  var numStrArr = numInfo.numStr.split('.');\n  numInfo.intStr = numStrArr[0];\n  numInfo.decimalStr = numStrArr[1] || '';\n  if (!showDecimalTailZero) {\n    numInfo = cutTailZero(numInfo);\n  }\n  // 小数部分处理。暂时不考虑其他。只校验位数和尾数补零问题,整数\n  if (decimalLength != null && decimalLength >= 0) {\n    // floatNum = Number.parseFloat(numInfo.numStr) // 当整数位数大于16位时，parseFloat会丢掉末尾的值\n    var isRound = roundMethod.toString() === '1'; // 是否四舍五入\n    numInfo.numStr = (0,_numberUtil__WEBPACK_IMPORTED_MODULE_7__.toFixed)(numInfo.numStr, decimalLength, isRound);\n    numStrArr = numInfo.numStr.split('.');\n    numInfo.intStr = numStrArr[0];\n    numInfo.decimalStr = numStrArr[1] || '';\n    if (!showDecimalTailZero) {\n      numInfo = cutTailZero(numInfo);\n    }\n  }\n  return (isNegativeNumber ? '-' : '') + (numInfo.intStr || '0') + (numInfo.decimalStr.length > 0 ? '.' : '') + numInfo.decimalStr;\n}\nfunction analyzMask(mask) {\n  var maskInfo = {\n    errorMask: false,\n    currencySign: false,\n    percent: false,\n    intMask: '',\n    decimalMask: '',\n    formatMask: ''\n  };\n  mask = mask.replace(/%%/g, '');\n  maskInfo.currencySign = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default()(mask).call(mask, '$') >= 0; // 是否显示货币标识\n  maskInfo.percent = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default()(mask).call(mask, '%') >= 0; // 是否有百分号\n  mask = mask.replace(/%/g, '').replace(/\\$/g, ''); // 清楚上面的特殊字符\n  var masks = mask.split('.'); // 以小数点为界切分掩码\n  if (masks.length > 2) {\n    maskInfo.errorMask = true;\n  }\n  maskInfo.intMask = masks[0];\n  maskInfo.decimalMask = masks[1];\n  maskInfo.formatMask = mask;\n  return maskInfo;\n}\nfunction cutTailZero(numInfo) {\n  var decimalStr = numInfo.decimalStr;\n  var len = decimalStr.length;\n  if (len > 0) {\n    for (var i = len - 1; i >= 0; i--) {\n      if (decimalStr[i] === '0') {\n        decimalStr = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_5___default()(decimalStr).call(decimalStr, 0, i);\n      } else {\n        break;\n      }\n    }\n    numInfo.decimalStr = decimalStr;\n  }\n  return numInfo;\n}\nfunction intFormatMask(intMask, intValue) {\n  var numGroupFormat = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  var index = 0;\n  var firstHashIndex = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_4___default()(intMask).call(intMask, '#');\n  var lastHashIndex = _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_6___default()(intMask).call(intMask, '#');\n  var formatValue = '';\n  if (intMask.split(',').length > 1) {\n    // 如果包含多个分隔符，则认为是末尾分隔符为分组数\n    lastHashIndex = intMask.length - 1 - _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_6___default()(intMask).call(intMask, ',');\n  }\n  for (var i = intMask.length - 1; i >= 0;) {\n    var _char = intMask.charAt(i);\n    switch (_char) {\n      case '0':\n        // 数字必录\n        formatValue = (intValue.charAt(intValue.length - 1 - index) || '0') + formatValue;\n        index++;\n        i--;\n        break;\n      case '9':\n        // 数字可选\n        formatValue = intValue.charAt(intValue.length - 1 - index) + formatValue;\n        index++;\n        i--;\n        break;\n      case '#':\n        // 递归\n        formatValue = intValue.charAt(intValue.length - 1 - index) + formatValue;\n        index++;\n        i = i === firstHashIndex ? lastHashIndex : i - 1;\n        break;\n      default:\n        if (numGroupFormat) _char = numGroupFormat;\n        formatValue = _char + formatValue;\n        i--;\n        break;\n    }\n    if (index >= intValue.length) break;\n  }\n  // 如果第一个字符不是数字，去掉\n  if (formatValue && !/^[0-9]*$/.test(formatValue.charAt(0))) {\n    formatValue = formatValue.substring(1);\n  }\n  return formatValue;\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/formatUtil.ts?");

/***/ }),

/***/ 82892:
/*!*****************************************!*\
  !*** ../designer-utils/utils/hooks.tsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useMergedState: function() { return /* binding */ useMergedState; },\n/* harmony export */   useOnClickOutside: function() { return /* binding */ useOnClickOutside; },\n/* harmony export */   useOnClickOutsideByRootClick: function() { return /* binding */ useOnClickOutsideByRootClick; },\n/* harmony export */   usePrevious: function() { return /* binding */ usePrevious; },\n/* harmony export */   useResizeObserver: function() { return /* binding */ useResizeObserver; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! resize-observer-polyfill */ 82504);\n/* harmony import */ var _devwarning__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./devwarning */ 42652);\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_5___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_6___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function (_e) { function e(_x) { return _e.apply(this, arguments); } e.toString = function () { return _e.toString(); }; return e; }(function (e) { throw e; }), f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function (_e2) { function e(_x2) { return _e2.apply(this, arguments); } e.toString = function () { return _e2.toString(); }; return e; }(function (e) { didErr = true; err = e; }), f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_3___default()(_context = Object.prototype.toString.call(o)).call(_context, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_4___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n/**\n * @description 点击指定区域外执行回调\n *\n * @export\n * @param {RefObject<HTMLElement>[]} refs\n * @param {(e: Event) => void} handler\n */\nfunction useOnClickOutside(refs, handler) {\n  var isBubble = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var listener = function listener(event) {\n      var _iterator = _createForOfIteratorHelper(refs),\n        _step;\n      try {\n        for (_iterator.s(); !(_step = _iterator.n()).done;) {\n          var _ref$current;\n          var ref = _step.value;\n          if (!(ref !== null && ref !== void 0 && ref.current) || ref !== null && ref !== void 0 && (_ref$current = ref.current) !== null && _ref$current !== void 0 && _ref$current.contains(event.target)) {\n            return;\n          }\n        }\n      } catch (err) {\n        _iterator.e(err);\n      } finally {\n        _iterator.f();\n      }\n      handler(event);\n    };\n    document.addEventListener('mousedown', listener, isBubble);\n    document.addEventListener('touchstart', listener);\n    return function () {\n      document.removeEventListener('mousedown', listener, isBubble);\n      document.removeEventListener('touchstart', listener);\n    };\n  }, [refs, handler]);\n}\nfunction useOnClickOutsideByRootClick(handler) {\n  var isCapture = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n  var hidePoperTimerRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(null);\n  var onRootMouseDown = (0,react__WEBPACK_IMPORTED_MODULE_8__.useCallback)(function () {\n    hidePoperTimerRef.current && clearTimeout(hidePoperTimerRef.current);\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    var listener = function listener() {\n      hidePoperTimerRef.current && clearTimeout(hidePoperTimerRef.current);\n      hidePoperTimerRef.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n        handler();\n      });\n    };\n    document.addEventListener('click', listener, isCapture);\n    return function () {\n      document.removeEventListener('click', listener, isCapture);\n    };\n  }, [handler]);\n  return onRootMouseDown;\n}\n\n/**\n * @description 合并状态\n *\n * @export\n * @template T\n * @template R\n * @param {(T | (() => T))} defaultStateValue\n * @param {({\n *     defaultValue?: T | (() => T)\n *     value?: T\n *     onChange?: (value: T, prevValue: T) => void\n *     postState?: (value: T) => T\n *   })} [option]\n * @returns {[R, (value: T) => void]}\n */\nfunction useMergedState(defaultStateValue,\n// 初始state\noption) {\n  var _ref = option || {},\n    defaultValue = _ref.defaultValue,\n    value = _ref.value,\n    onChange = _ref.onChange,\n    postState = _ref.postState;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_8__.useState)(function () {\n      if (value !== undefined) {\n        return value;\n      }\n      if (defaultValue !== undefined) {\n        return typeof defaultValue === 'function' ? defaultValue() : defaultValue;\n      }\n      return typeof defaultStateValue === 'function' ? defaultStateValue() : defaultStateValue;\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var mergedValue = value !== undefined ? value : innerValue;\n  if (postState) {\n    mergedValue = postState(mergedValue);\n  }\n  function triggerChange(newValue) {\n    setInnerValue(newValue);\n    if (mergedValue !== newValue && onChange) {\n      onChange(newValue, mergedValue);\n    }\n  }\n  var firstRenderRef = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(true);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (firstRenderRef.current) {\n      firstRenderRef.current = false;\n      return;\n    }\n    if (value === undefined) {\n      setInnerValue(value);\n    }\n  }, [value]);\n  return [mergedValue, triggerChange];\n}\n\n/**\n * @description 获取之前的值\n *\n * @export\n * @param {P} value\n */\n\nfunction usePrevious(value) {\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_8__.useRef)(value);\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    ref.current = value;\n  }, [value]);\n  return ref.current;\n}\nfunction useResizeObserver(element, handler) {\n  (0,react__WEBPACK_IMPORTED_MODULE_8__.useEffect)(function () {\n    if (!element) {\n      (0,_devwarning__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(!element && element !== null, 'useResizeMeasure', 'useResizeMeasure指定的元素不存在');\n      return;\n    }\n    var measure = function measure(entries) {\n      if (!entries[0] || !entries[0].contentRect) {\n        return;\n      }\n      var contentRect = entries[0].contentRect;\n      var hide = contentRect.width === 0 && contentRect.height === 0; // 隐藏条件：高宽都为0\n      var rect = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n        hide: hide\n      }, contentRect);\n      handler && handler(rect);\n    };\n    var resizeObserver = new resize_observer_polyfill__WEBPACK_IMPORTED_MODULE_9__[\"default\"](measure);\n    resizeObserver && resizeObserver.observe(element);\n    return function () {\n      resizeObserver && resizeObserver.disconnect();\n    };\n  }, [element, handler]);\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/hooks.tsx?");

/***/ }),

/***/ 57024:
/*!******************************************!*\
  !*** ../designer-utils/utils/intlApi.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getLangMsg: function() { return /* binding */ getLangMsg; },\n/* harmony export */   setIntlApi: function() { return /* binding */ setIntlApi; }\n/* harmony export */ });\nvar intlApi = {\n  getLangMsg: function getLangMsg() {\n    return '';\n  }\n};\nfunction setIntlApi(key, fn) {\n  intlApi[key] = fn;\n}\nvar getLangMsg = function getLangMsg() {\n  return intlApi.getLangMsg.apply(intlApi, arguments);\n};\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/intlApi.ts?");

/***/ }),

/***/ 69612:
/*!*********************************************!*\
  !*** ../designer-utils/utils/numberUtil.ts ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   exponentToFloat: function() { return /* binding */ exponentToFloat; },\n/* harmony export */   getMaxNumberByPrecision: function() { return /* binding */ getMaxNumberByPrecision; },\n/* harmony export */   isExp: function() { return /* binding */ isExp; },\n/* harmony export */   serialization: function() { return /* binding */ serialization; },\n/* harmony export */   supplementZero: function() { return /* binding */ supplementZero; },\n/* harmony export */   toFixed: function() { return /* binding */ toFixed; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ 28555);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/fill */ 1508);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n/**\n * 使用定点表示法来格式化一个数\n * @param  {String|Number}  number     [必选，数字或者表示数字的字符串,范围为[0,20],超过范围则报错]\n * @param  {Number}  digits  [必选，小数点后数字的个数]\n * @param  {Boolean} isRound [可选，格式化时是否四舍五入，默认为false，即进行四舍五入,为false时直接截取，不满足位数的往后补0]\n * @return {String}          [结果]\n */\nfunction toFixed(number, digits) {\n  var isRound = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n  // 非数字\n  // if (!/(^-\\d+|^\\d+)\\.?\\d*$/gi.test(number)) { // Number.isFinite(number)\n  //   throw new Error('toFixed() number argument must be a valid number')\n  // }\n  if (_babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_0___default()(Number(number))) {\n    throw new Error('toFixed() number argument must be a valid number');\n  }\n  // 是否为正数\n  var isPositive = +number >= 0;\n  // 转化为字符串\n  number += '';\n  isRound = Boolean(isRound);\n  // 去掉正负号，统一按照正数来处理，最后再加上符号\n  number = number.replace(/^(?:-|\\+)/gi, '');\n\n  // 小数点过大\n  if (digits > 20 || digits < 0) {\n    throw new RangeError('toFixed() digits argument must be between 0 and 20');\n  }\n\n  // 如果是简写如.11则整数位补0，变成0.11\n  if (/^\\./gi.test(number)) {\n    number = '0' + number;\n  }\n  var numParts = number.split('.');\n  var result = '';\n\n  // 在str后面加n个0\n  var _paddingZero = function _paddingZero(str, n) {\n    for (var i = 0; i < n; i++) {\n      str += '0';\n    }\n    return str;\n  };\n\n  // 在str后面加0，直至str的长度达到n\n  // 如果超过了n，则直接截取前n个字符串\n  var _paddingZeroTo = function _paddingZeroTo(str, n) {\n    if (str.length >= n) {\n      return str.substr(0, n);\n    } else {\n      return _paddingZero(str, n - str.length);\n    }\n  };\n\n  // 直接就是整数\n  if (numParts.length < 2) {\n    result = numParts[0] + '.' + _paddingZero('', digits);\n  } else {\n    // 为浮点数\n    // 如果为截取\n    if (isRound === false) {\n      result = numParts[0] + '.' + _paddingZeroTo(numParts[1], digits);\n      // 如果为四舍五入\n    } else {\n      // 放大10的N次方倍\n      var enlarge = numParts[0] + _paddingZeroTo(numParts[1], digits) + '.' + numParts[1].substr(digits);\n      // 取整\n      enlarge = Math.round(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(enlarge)) + '';\n      // 缩小10的N次方\n      while (enlarge.length <= digits) {\n        enlarge = '0' + enlarge;\n      }\n      result = enlarge.substr(0, enlarge.length - digits) + '.' + enlarge.substr(enlarge.length - digits);\n    }\n  }\n\n  // 如果最后一位为.,则去除\n  result = result.replace(/\\.$/gi, '').replace(/^\\./gi, '0.');\n\n  // 加上正负数符号位\n  result = isPositive ? result : '-' + result;\n  return result;\n}\n\n/**\n * 将已有的数字进行前面补零的方法\n * @param {String|Number} number [需要在前面补零的数字]\n * @param {Number} lenght [补零后的数字长度]\n * 如：supplementZero(1, 4) return '0001'\n */\nfunction supplementZero(number) {\n  var _context;\n  var length = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;\n  number += '';\n  if (number.length > length) return number;\n  return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default()(_context = Array(length).join('0') + number).call(_context, -length);\n}\n\n/**\n *\n * 序列化字符串为数字，只取字符串中的数字、小数点、正负号\n * @param {String} strNumber 字符串\n */\nfunction serialization(strNumber) {\n  var numberList = strNumber.match(/\\d|^-|\\./g);\n  if (!numberList) return '';\n  // 取出正负号\n  var sign = numberList[0] === '-' ? '-' : '';\n  if (sign === '-') {\n    // 有负号, 去掉数组的负号\n    numberList.shift();\n  }\n  var numberString = numberList.join('');\n  // .replace('.', 'a').replace(/\\./g, '').replace('a', '.')\n  var res = numberString.replace(/^0{2,}/gi, '0');\n  if (/^(0[^.])/gi.test(res)) {\n    return sign + _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_2___default()(res).call(res, 1);\n  }\n  return sign + res;\n}\n\n// 根据整数精度和小数精度获取最大值\nfunction getMaxNumberByPrecision(integerPrecision, decimalPrecision) {\n  var _context2, _context3, _context4, _context5;\n  var integerString = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = Array(integerPrecision)).call(_context3, '9')).call(_context2, function (res, value) {\n    return res += value;\n  }, '');\n  return decimalPrecision <= 0 ? Number(integerString) : Number(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(_context4 = _babel_runtime_corejs3_core_js_stable_instance_fill__WEBPACK_IMPORTED_MODULE_4___default()(_context5 = Array(decimalPrecision)).call(_context5, '9')).call(_context4, function (res, value) {\n    return res += value;\n  }, integerString + '.'));\n}\n\n/**\n * 判断是否为正则表达式\n * @param {string|number} number 待判断的值\n */\nfunction isExp(number) {\n  number = Number(number);\n  if (isNaN(number) || !isFinite(number)) return false;\n  return /^(?!-0(\\.0+)?(e|$))-?(0|[1-9]\\d*)(\\.\\d+)?(e-?(0|[1-9]\\d*))?$/i.test(number.toString());\n}\n\n/**\n * 将科学计数法显示的数字格式化为正常浮点数\n * 1e-6 => 0.000006\n * @param {Number} number 待格式化的科学计数法\n * @returns num 格式化后的数值，如果不满足科学计数法的话，则原值返回\n */\nfunction exponentToFloat(number) {\n  var tempNumber = Number(number);\n  if (isNaN(tempNumber) || !isFinite(tempNumber)) return number.toString();\n  var exponentReg = /^(?!-0(\\.0+)?(e|$))-?(0|[1-9]\\d*)(\\.\\d+)?(e-?(0|[1-9]\\d*))?$/i;\n  if (exponentReg.test(tempNumber.toString())) {\n    // 获取精度， 默认 10\n    var lenArr = exponentReg.exec(tempNumber.toString());\n    var len = Number(lenArr && lenArr[6] ? lenArr[6] : 10);\n    var zeros = /^(\\d{1,}(?:,\\d{3})*\\.(?:0*[1-9]+)?)(0*)?$/.exec(tempNumber.toFixed(len));\n    if (zeros) {\n      var res = zeros[1];\n      return res[res.length - 1] === '.' ? res.substr(0, res.length - 1) : res;\n    } else {\n      return tempNumber.toFixed(len);\n    }\n  }\n  return tempNumber.toString();\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/numberUtil.ts?");

/***/ }),

/***/ 62452:
/*!***************************************!*\
  !*** ../designer-utils/utils/omit.ts ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   omit: function() { return /* binding */ omit; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n\nfunction omit(obj, fields) {\n  var shallowCopy = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, obj);\n  for (var i = 0; i < fields.length; i++) {\n    var key = fields[i];\n    delete shallowCopy[key];\n  }\n  return shallowCopy;\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/omit.ts?");

/***/ }),

/***/ 49412:
/*!*************************************************!*\
  !*** ../designer-utils/utils/react-children.ts ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   toArray: function() { return /* binding */ toArray; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction toArray(children, props) {\n  var _context;\n  var childrens = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_0___default()(_context = (react__WEBPACK_IMPORTED_MODULE_1___default().Children)).call(_context, children, function each(c) {\n    // 这列传context\n    // childrens.push(React.cloneElement(c, props))\n    childrens.push(c);\n  });\n  return childrens;\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/react-children.ts?");

/***/ }),

/***/ 82188:
/*!***********************************************!*\
  !*** ../designer-utils/utils/timerManager.ts ***!
  \***********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0__);\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-12-01 10:56:40\n * @Last Modified by: fjr\n * @LastEditTime: 2021-12-01 11:07:40\n * @Description: ...\n */\n\nvar timerManager = function timerManager(fn, timeout) {\n  var timer = null;\n  if (typeof timeout === 'number') {\n    var removeTimer = function removeTimer() {\n      timer !== null && clearTimeout(timer);\n    };\n    return function addTimer() {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n      removeTimer();\n      timer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_0___default()(function () {\n        fn && fn.apply(null, args);\n      }, timeout);\n    };\n  } else {\n    return fn;\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (timerManager);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/timerManager.ts?");

/***/ }),

/***/ 188:
/*!***************************************!*\
  !*** ../designer-utils/utils/type.ts ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   tuple: function() { return /* binding */ tuple; },\n/* harmony export */   tupleNum: function() { return /* binding */ tupleNum; }\n/* harmony export */ });\n// https://stackoverflow.com/questions/46176165/ways-to-get-string-literal-type-of-array-values-without-enum-overhead\nvar tuple = function tuple() {\n  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n    args[_key] = arguments[_key];\n  }\n  return args;\n};\nvar tupleNum = function tupleNum() {\n  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n    args[_key2] = arguments[_key2];\n  }\n  return args;\n};\n\n/**\n * https://stackoverflow.com/a/59187769\n * Extract the type of an element of an array/tuple without performing indexing\n */\n\n/**\n * https://github.com/Microsoft/TypeScript/issues/29729\n */\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/type.ts?");

/***/ }),

/***/ 43580:
/*!*********************************************!*\
  !*** ../designer-utils/utils/usePopper.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Placements: function() { return /* binding */ Placements; },\n/* harmony export */   Triggers: function() { return /* binding */ Triggers; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ 2992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./type */ 188);\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! lodash/debounce */ 94608);\n/* harmony import */ var lodash_debounce__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(lodash_debounce__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _devwarning__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./devwarning */ 42652);\n/* harmony import */ var _hooks__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./hooks */ 82892);\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Placements = (0,_type__WEBPACK_IMPORTED_MODULE_21__.tuple)('top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom');\nvar Triggers = (0,_type__WEBPACK_IMPORTED_MODULE_21__.tuple)('hover', 'focus', 'click', 'contextMenu');\nfunction getTranslate(node, param) {\n  var _document$defaultView;\n  var translates = ((_document$defaultView = document.defaultView) === null || _document$defaultView === void 0 ? void 0 : _document$defaultView.getComputedStyle(node, null).transform.substring(7)) || '';\n  var result = translates.match(/\\(([^)]*)\\)/);\n  var matrix = result ? result[1].split(',') : translates.split(',');\n  if (param === 'x' || param === undefined) {\n    return matrix.length > 6 ? _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[12]) : _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[4]);\n  } else if (param === 'y') {\n    return matrix.length > 6 ? _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[13]) : _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[5]);\n  } else if (param === 'z') {\n    return matrix.length > 6 ? _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[14]) : 0;\n  } else if (param === 'rotate') {\n    return matrix.length > 6 ? getRotate([_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[0]), _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[1]), _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[4]), _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(matrix[5])]) : getRotate(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11___default()(matrix).call(matrix, function (i) {\n      return _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_10___default()(i);\n    }));\n  }\n}\nfunction getRotate(matrix) {\n  var aa = Math.round(180 * Math.asin(matrix[0]) / Math.PI);\n  var bb = Math.round(180 * Math.acos(matrix[1]) / Math.PI);\n  var cc = Math.round(180 * Math.asin(matrix[2]) / Math.PI);\n  var dd = Math.round(180 * Math.acos(matrix[3]) / Math.PI);\n  var deg = 0;\n  if (aa === bb || -aa === bb) {\n    deg = dd;\n  } else if (-aa + bb === 180) {\n    deg = 180 + cc;\n  } else if (aa + bb === 180) {\n    deg = 360 - cc || 360 - dd;\n  }\n  return deg >= 360 ? 0 : deg;\n}\nvar getTranslatePos = function getTranslatePos(el) {\n  var elPos = {\n    top: getTranslate(el, 'y') || 0,\n    left: getTranslate(el, 'x') || 0\n  };\n  if (el.parentElement && el.parentElement !== document.body) {\n    var parentPos = getTranslatePos(el.parentElement);\n    elPos.top += parentPos.top;\n    elPos.left += parentPos.left;\n  }\n  return elPos;\n};\nvar getOffsetPos = function getOffsetPos(el) {\n  var elPos = {\n    top: el.offsetTop,\n    left: el.offsetLeft\n  };\n  if (el.offsetParent) {\n    var parentPos = getOffsetPos(el.offsetParent);\n    elPos.top += parentPos.top;\n    elPos.left += parentPos.left;\n  }\n  return elPos;\n};\nvar getScrollDist = function getScrollDist(el, container) {\n  var elScroll = {\n    top: el.scrollTop,\n    left: el.scrollLeft\n  };\n  var isFixed = getComputedStyle(el, null).getPropertyValue('position') === 'fixed';\n  if (isFixed) {\n    elScroll.top -= window.scrollY;\n    elScroll.left -= window.scrollX;\n  } else if (el.parentElement && container.contains(el.parentElement)) {\n    var parentScroll = getScrollDist(el.parentElement, container);\n    elScroll.top += parentScroll.top;\n    elScroll.left += parentScroll.left;\n  }\n  return elScroll;\n};\nfunction usePopper(locatorElement, popperElement, props) {\n  var _context, _context2;\n  var prefixCls = props.prefixCls,\n    onTrigger = props.onTrigger,\n    popperStyle = props.popperStyle,\n    _props$arrow = props.arrow,\n    arrow = _props$arrow === void 0 ? false : _props$arrow,\n    onVisibleChange = props.onVisibleChange,\n    popperClassName = props.popperClassName,\n    _props$arrowOffset = props.arrowOffset,\n    arrowOffset = _props$arrowOffset === void 0 ? 12 : _props$arrowOffset,\n    _props$arrowSize = props.arrowSize,\n    arrowSize = _props$arrowSize === void 0 ? 4.25 : _props$arrowSize,\n    _props$disabled = props.disabled,\n    disabled = _props$disabled === void 0 ? false : _props$disabled,\n    _props$trigger = props.trigger,\n    trigger = _props$trigger === void 0 ? 'click' : _props$trigger,\n    _props$placement = props.placement,\n    placement = _props$placement === void 0 ? 'top' : _props$placement,\n    _props$gap = props.gap,\n    defalutGap = _props$gap === void 0 ? 4 : _props$gap,\n    _props$scrollHidden = props.scrollHidden,\n    scrollHidden = _props$scrollHidden === void 0 ? false : _props$scrollHidden,\n    _props$mouseEnterDela = props.mouseEnterDelay,\n    mouseEnterDelay = _props$mouseEnterDela === void 0 ? 0.1 : _props$mouseEnterDela,\n    _props$mouseLeaveDela = props.mouseLeaveDelay,\n    mouseLeaveDelay = _props$mouseLeaveDela === void 0 ? 0.1 : _props$mouseLeaveDela,\n    _props$defaultVisible = props.defaultVisible,\n    defaultVisible = _props$defaultVisible === void 0 ? false : _props$defaultVisible,\n    _props$getTriggerElem = props.getTriggerElement,\n    getTriggerElement = _props$getTriggerElem === void 0 ? function (locatorNode) {\n      return locatorNode;\n    } : _props$getTriggerElem,\n    _props$getPopupContai = props.getPopupContainer,\n    getPopupContainer = _props$getPopupContai === void 0 ? function () {\n      return document.body;\n    } : _props$getPopupContai;\n  var arrowWidth = Math.sqrt(2 * Math.pow(arrowSize, 2));\n  var componentName = (prefixCls === null || prefixCls === void 0 ? void 0 : prefixCls.split('-')[1]) || '';\n  (0,_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12___default()(Placements).call(Placements, placement) === -1, componentName, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13___default()(_context = \"cannot found \".concat(componentName, \" placement '\")).call(_context, placement, \"'\"));\n  var isWrongTrigger = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(trigger) ? _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_15___default()(trigger).call(trigger, function (v) {\n    return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16___default()(Triggers).call(Triggers, v);\n  }) : _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12___default()(Triggers).call(Triggers, trigger) === -1;\n  (0,_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(isWrongTrigger, componentName, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13___default()(_context2 = \"cannot found \".concat(componentName, \" trigger '\")).call(_context2, trigger, \"'\"));\n  var locatorEl = (0,react__WEBPACK_IMPORTED_MODULE_19__.useRef)();\n  var popperEl = (0,react__WEBPACK_IMPORTED_MODULE_19__.useRef)();\n  var locatorRef = locatorElement.ref || locatorEl;\n  var popperRef = popperElement.ref || popperEl;\n  var container = getPopupContainer(locatorRef.current || document.body);\n  _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_17___default().resolve().then(function () {\n    var triggerNode = getTriggerElement(locatorRef.current);\n    var container = getPopupContainer(locatorRef.current);\n    (0,_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(!triggerNode, componentName, \"getTriggerElement() must return a HTMLElement, but now it does not return anything\");\n    (0,_devwarning__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(!container, componentName, \"getPopupContainer() must return a HTMLElement, but now it does not return anything\");\n  });\n  var initPos = {\n    top: 0,\n    left: 0,\n    right: 0,\n    bottom: 0,\n    height: 0,\n    width: 0\n  };\n  var initAlign = {\n    top: 0,\n    left: 0\n  };\n  var gap = defalutGap + (arrow ? 10 : 0);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(initPos),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState, 2),\n    mousePos = _useState2[0],\n    setMousePos = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(initAlign),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState3, 2),\n    arrowPos = _useState4[0],\n    setArrowPos = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(!!props.visible || defaultVisible),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState5, 2),\n    exist = _useState6[0],\n    setExist = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(!!props.visible || defaultVisible),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState7, 2),\n    canAlign = _useState8[0],\n    setCanAlign = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(false),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState9, 2),\n    visible = _useState10[0],\n    setVisible = _useState10[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    if (props.visible) {\n      !exist && setExist(true);\n      setCanAlign(true);\n      setVisible(true);\n    } else {\n      setVisible(false);\n    }\n  }, [exist, props.visible]);\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(''),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState11, 2),\n    evType = _useState12[0],\n    setEvType = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState13, 2),\n    align = _useState14[0],\n    setAlign = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_19__.useState)(placement),\n    _useState16 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState15, 2),\n    currentPlacement = _useState16[0],\n    setCurrentPlacement = _useState16[1];\n  var alignPopper = (0,react__WEBPACK_IMPORTED_MODULE_19__.useCallback)(function () {\n    /**\n     * locatorRef 触发器\n     * popperRef 浮层面板\n     * container 一般是body\n     */\n    if (locatorRef !== null && locatorRef !== void 0 && locatorRef.current && popperRef !== null && popperRef !== void 0 && popperRef.current) {\n      var _popperRef$current$ge = popperRef.current.getBoundingClientRect(),\n        popperWidth = _popperRef$current$ge.width;\n      var _locatorRef$current$g = locatorRef.current.getBoundingClientRect(),\n        top = _locatorRef$current$g.top,\n        bottom = _locatorRef$current$g.bottom,\n        left = _locatorRef$current$g.left,\n        right = _locatorRef$current$g.right,\n        height = _locatorRef$current$g.height,\n        width = _locatorRef$current$g.width;\n      var popperHeight = popperRef.current.clientHeight;\n      var _getOffsetPos = getOffsetPos(container),\n        containerTop = _getOffsetPos.top,\n        containerLeft = _getOffsetPos.left;\n      var _getOffsetPos2 = getOffsetPos(locatorRef.current),\n        locatorTop = _getOffsetPos2.top,\n        locatorLeft = _getOffsetPos2.left;\n      var _getScrollDist = getScrollDist(locatorRef.current.parentElement, container),\n        scrollTop = _getScrollDist.top,\n        scrollLeft = _getScrollDist.left;\n      var _getTranslatePos = getTranslatePos(locatorRef.current),\n        translateTop = _getTranslatePos.top,\n        translateLeft = _getTranslatePos.left;\n      var locatorPos = {\n        width: width,\n        height: height,\n        top: locatorTop + translateTop - containerTop - scrollTop,\n        left: locatorLeft + translateLeft - containerLeft - scrollLeft,\n        right: locatorLeft + translateLeft + width - containerLeft - scrollLeft,\n        bottom: locatorTop + translateTop + height - containerTop - scrollTop\n      };\n      var currentPos = trigger === 'contextMenu' ? mousePos : locatorPos;\n      var _currentPlacement = placement;\n\n      // 上高度不足，而下高度有余的时候，需要把定位挪到下面\n      if (top - gap - popperHeight <= 5 && bottom + gap + popperHeight < document.body.clientHeight - 5) {\n        _currentPlacement = _currentPlacement.replace('top', 'bottom');\n      }\n\n      // 下高度不足，而上高度有余的时候，需要把定位挪到上面\n      if (bottom + gap + popperHeight >= document.body.clientHeight - 5 && top - gap - popperHeight > 5) {\n        _currentPlacement = _currentPlacement.replace('bottom', 'top');\n      }\n      if (left + popperWidth >= document.body.clientWidth - 5 && right - popperWidth > 5) {\n        _currentPlacement = _currentPlacement.replace('Left', 'Right');\n      }\n      if (right - popperWidth <= 5 && left + popperWidth < document.body.clientWidth - 5) {\n        _currentPlacement = _currentPlacement.replace('Right', 'Left');\n      }\n      if (top + popperHeight >= document.body.clientHeight - 5 && bottom - popperHeight > 5) {\n        _currentPlacement = _currentPlacement.replace('Top', 'Bottom');\n      }\n      if (bottom - popperHeight <= 5 && top + popperHeight < document.body.clientHeight - 5) {\n        _currentPlacement = _currentPlacement.replace('Bottom', 'Top');\n      }\n      if (left - gap - popperWidth <= 5 && right + gap + popperWidth < document.body.clientWidth - 5) {\n        _currentPlacement = _currentPlacement.replace('left', 'right');\n      }\n      if (right + gap + popperWidth >= document.body.clientWidth - 5 && left - gap - popperWidth > 5) {\n        _currentPlacement = _currentPlacement.replace('right', 'left');\n      }\n      var leftLeft = currentPos.left - popperWidth - gap;\n      var topTop = currentPos.top - gap - popperHeight;\n      var bottomTop = currentPos.top + currentPos.height + gap;\n      var rightLeft = currentPos.left + currentPos.width - popperWidth;\n      var centerLeft = currentPos.left + (currentPos.width - popperWidth) / 2;\n      var centerTop = currentPos.top - (popperHeight - currentPos.height) / 2;\n      var topBottom = currentPos.bottom - popperHeight;\n      var leftRight = currentPos.right + gap;\n      var mapAlign = {\n        topLeft: {\n          left: currentPos.left,\n          top: topTop\n        },\n        top: {\n          left: centerLeft,\n          top: topTop\n        },\n        topRight: {\n          left: rightLeft,\n          top: topTop\n        },\n        bottomLeft: {\n          left: currentPos.left,\n          top: bottomTop\n        },\n        bottom: {\n          left: centerLeft,\n          top: bottomTop\n        },\n        bottomRight: {\n          left: rightLeft,\n          top: bottomTop\n        },\n        leftTop: {\n          left: leftLeft,\n          top: currentPos.top\n        },\n        left: {\n          left: leftLeft,\n          top: centerTop\n        },\n        leftBottom: {\n          left: leftLeft,\n          top: topBottom\n        },\n        rightTop: {\n          left: leftRight,\n          top: currentPos.top\n        },\n        right: {\n          left: leftRight,\n          top: centerTop\n        },\n        rightBottom: {\n          left: leftRight,\n          top: topBottom\n        }\n      };\n      var alignPos = mapAlign[_currentPlacement];\n      var _arrowPos = {\n        top: 0,\n        left: 0\n      };\n      if (/left/.test(_currentPlacement) || /right/.test(_currentPlacement)) {\n        if (/Top/.test(_currentPlacement)) {\n          _arrowPos.top = arrowOffset;\n        } else if (/Bottom/.test(_currentPlacement)) {\n          _arrowPos.top = popperHeight - arrowOffset - 2 * arrowSize;\n        } else {\n          _arrowPos.top = (popperHeight - arrowWidth) / 2 - 1;\n        }\n        if (top <= 0) {\n          alignPos.top = locatorPos.top;\n          _arrowPos.top = arrowOffset;\n        } else if (bottom - height / 4 >= document.body.clientHeight) {\n          alignPos.top = locatorPos.bottom - popperHeight;\n          _arrowPos.top = popperHeight - arrowOffset - 2 * arrowSize;\n        } else {\n          var _scrollTop = alignPos.top - window.pageYOffset;\n          var scrollBottom = alignPos.top + popperHeight - 5 - window.pageYOffset;\n          if (_scrollTop < 0) {\n            alignPos.top -= _scrollTop;\n            _arrowPos.top += _scrollTop;\n          }\n          if (scrollBottom > document.body.clientHeight) {\n            alignPos.top += document.body.clientHeight - scrollBottom;\n            _arrowPos.top += scrollBottom - document.body.clientHeight;\n          }\n        }\n      }\n      if (/top/.test(_currentPlacement) || /bottom/.test(_currentPlacement)) {\n        if (/Left/.test(_currentPlacement)) {\n          _arrowPos.left = arrowOffset;\n        } else if (/Right/.test(_currentPlacement)) {\n          _arrowPos.left = popperWidth - arrowOffset - 2 * arrowSize;\n        } else {\n          _arrowPos.left = (popperWidth - arrowWidth) / 2 - 1;\n        }\n      }\n      if (/bottom/.test(_currentPlacement)) {\n        // 当上下高度都不足时\n        if (bottom + gap + popperHeight >= document.body.clientHeight - 5 && top - gap - popperHeight <= 5) {\n          alignPos.top = document.body.clientHeight - 5 - popperHeight - gap;\n        }\n      }\n      setAlign(alignPos);\n      setArrowPos(_arrowPos);\n      setCurrentPlacement(_currentPlacement);\n    }\n  }, [locatorRef, popperRef, container, trigger, mousePos, placement, gap, arrowOffset, arrowSize, arrowWidth]);\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    if (canAlign) {\n      alignPopper();\n      setCanAlign(false);\n      props.visible === undefined && setVisible(true);\n      onVisibleChange && onVisibleChange(true);\n    }\n  }, [alignPopper, canAlign, onVisibleChange, props]);\n  var arrowStyle = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({}, \"--arrowSize\", arrowSize + 'px'), \"--arrowSpill\", arrowWidth / -2 + 'px');\n  if (arrowPos.top) arrowStyle[\"--arrowTop\"] = arrowPos.top + 'px';\n  if (arrowPos.left) arrowStyle[\"--arrowLeft\"] = arrowPos.left + 'px';\n  var popperContainerStyle = _objectSpread(_objectSpread(_objectSpread({\n    position: 'absolute'\n  }, popperStyle), align), arrow ? arrowStyle : {});\n  var popperProps = {\n    ref: popperRef,\n    style: popperContainerStyle,\n    className: classnames__WEBPACK_IMPORTED_MODULE_23___default()(prefixCls, popperClassName, currentPlacement, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({\n      arrow: arrow,\n      hidden: !visible\n    }, \"\".concat(currentPlacement, \"-active\"), visible))\n  };\n  var popperNode = popperRef.current;\n  var locatorNode = locatorRef.current;\n  (0,_hooks__WEBPACK_IMPORTED_MODULE_25__.useResizeObserver)(popperNode, alignPopper);\n  (0,_hooks__WEBPACK_IMPORTED_MODULE_25__.useResizeObserver)(locatorNode, alignPopper);\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    if (exist && visible) {\n      var mouseleaveTimer;\n      var handleHidePopper = function handleHidePopper(e) {\n        mouseleaveTimer && clearTimeout(mouseleaveTimer);\n        var triggerNode = getTriggerElement(locatorRef.current);\n        var triggerRect = triggerNode.getBoundingClientRect();\n        var popperRect = popperRef.current.getBoundingClientRect();\n        var left = /left/.test(currentPlacement) ? popperRect.right : triggerRect.left;\n        var right = /right/.test(currentPlacement) ? popperRect.left : triggerRect.right;\n        var top = /top/.test(currentPlacement) ? popperRect.bottom : triggerRect.top;\n        var bottom = /bottom/.test(currentPlacement) ? popperRect.top : triggerRect.bottom;\n        var X = e.clientX,\n          Y = e.clientY;\n        var inTriggerRect = X > left - 2 && X < right + 2 && Y > top - 2 && Y < bottom + 2;\n        var inPopperRect = X > popperRect.left && X < popperRect.right && Y > popperRect.top && Y < popperRect.bottom;\n        var ableArea = evType === 'click' || evType === 'contextmenu' ? inPopperRect : inTriggerRect || inPopperRect;\n        var hidePopper = function hidePopper() {\n          setEvType('');\n          props.visible === undefined && setVisible(false);\n          onVisibleChange && onVisibleChange(false);\n        };\n        if (ableArea) {\n          evType === 'focus' && triggerNode.focus();\n        } else {\n          evType === 'mouseenter' ? mouseleaveTimer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default()(hidePopper, mouseLeaveDelay * 1000) : hidePopper();\n        }\n      };\n      var debounceHidePopper = lodash_debounce__WEBPACK_IMPORTED_MODULE_22___default()(handleHidePopper, 10, {\n        leading: true\n      });\n      var mapEvent = {\n        mouseenter: 'mousemove',\n        click: 'click',\n        focus: 'click',\n        contextmenu: 'mousedown'\n      };\n      document.addEventListener(mapEvent[evType], debounceHidePopper);\n      return function () {\n        document.removeEventListener(mapEvent[evType], debounceHidePopper);\n      };\n    }\n  }, [props, exist, evType, trigger, visible, popperRef, locatorRef, mouseLeaveDelay, onVisibleChange, currentPlacement, getTriggerElement]);\n  (0,react__WEBPACK_IMPORTED_MODULE_19__.useEffect)(function () {\n    if (visible) {\n      var scrollAlign = lodash_debounce__WEBPACK_IMPORTED_MODULE_22___default()(function (e) {\n        var isPopperScroll = e.target === popperRef.current || popperRef.current.contains(e.target);\n        if (scrollHidden && !isPopperScroll) {\n          props.visible === undefined && setVisible(false);\n          onVisibleChange && onVisibleChange(false);\n        }\n        alignPopper();\n      }, 10);\n      window.addEventListener('resize', alignPopper);\n      document.addEventListener('scroll', scrollAlign, true);\n      locatorNode === null || locatorNode === void 0 || locatorNode.addEventListener('DOMSubtreeModified', alignPopper);\n      exist && (popperNode === null || popperNode === void 0 ? void 0 : popperNode.addEventListener('DOMSubtreeModified', alignPopper));\n      return function () {\n        window.removeEventListener('resize', alignPopper);\n        document.removeEventListener('scroll', scrollAlign, true);\n        locatorNode === null || locatorNode === void 0 || locatorNode.removeEventListener('DOMSubtreeModified', alignPopper);\n        exist && (popperNode === null || popperNode === void 0 ? void 0 : popperNode.removeEventListener('DOMSubtreeModified', alignPopper));\n      };\n    }\n  }, [alignPopper, exist, onVisibleChange, popperNode, props.visible, scrollHidden, locatorNode, visible, popperRef]);\n  react__WEBPACK_IMPORTED_MODULE_19___default().useEffect(function () {\n    var triggerNode = getTriggerElement(locatorRef.current);\n    if (triggerNode) {\n      var mouseenterTimer;\n      var clearMouseLeave = function clearMouseLeave() {\n        return clearTimeout(mouseenterTimer);\n      };\n      var addAction = function addAction(action) {\n        if (action === 'hover') {\n          triggerNode.addEventListener('mouseenter', debounceShowPopper);\n          triggerNode.addEventListener('mouseleave', clearMouseLeave);\n        } else {\n          triggerNode.addEventListener(action.toLowerCase(), debounceShowPopper);\n        }\n      };\n      var removeAction = function removeAction(action) {\n        if (action === 'hover') {\n          triggerNode.removeEventListener('mouseenter', debounceShowPopper);\n          triggerNode.removeEventListener('mouseleave', clearMouseLeave);\n        } else {\n          triggerNode.removeEventListener(action.toLowerCase(), debounceShowPopper);\n        }\n      };\n      var handleShowPopper = function handleShowPopper(e) {\n        e.preventDefault();\n        var evType = e.type;\n        if (evType === 'contextmenu') {\n          var currentMousePos = _objectSpread(_objectSpread({}, mousePos), {\n            left: e.pageX,\n            top: e.pageY,\n            right: e.pageX,\n            bottom: e.pageY\n          });\n          setMousePos(currentMousePos);\n        }\n        var showPopper = function showPopper(evType) {\n          if (!disabled) {\n            !exist && setExist(true);\n            setEvType(evType);\n            if (onTrigger) {\n              var mapTrigger = {\n                mouseenter: 'hover',\n                click: 'click',\n                focus: 'focus',\n                contextmenu: 'contextMenu'\n              };\n              onTrigger(mapTrigger[evType]);\n            }\n            if (!visible || evType === 'contextmenu') {\n              _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default()(function () {\n                return setCanAlign(true);\n              }, 0);\n            }\n          }\n        };\n        if (evType === 'mouseenter') {\n          mouseenterTimer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default()(function () {\n            return showPopper(evType);\n          }, mouseEnterDelay * 1000);\n        } else {\n          showPopper(evType);\n        }\n      };\n      var debounceShowPopper = lodash_debounce__WEBPACK_IMPORTED_MODULE_22___default()(handleShowPopper, 10, {\n        leading: true\n      });\n      _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(trigger) ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(trigger).call(trigger, function (action) {\n        return addAction(action);\n      }) : addAction(trigger);\n      return function () {\n        _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(trigger) ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(trigger).call(trigger, function (action) {\n          return removeAction(action);\n        }) : removeAction(trigger);\n      };\n    }\n  }, [disabled, exist, getTriggerElement, locatorRef, mouseEnterDelay, mousePos, onTrigger, trigger, visible]);\n  var Locator = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_19__.cloneElement)(locatorElement, {\n    ref: locatorRef\n  });\n  var Popper = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19___default().createElement(\"div\", {\n    style: {\n      position: 'absolute',\n      top: 0,\n      left: 0,\n      width: '100%'\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19___default().createElement(\"div\", popperProps, popperElement));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_19___default().createElement((react__WEBPACK_IMPORTED_MODULE_19___default().Fragment), null, Locator, exist && container && /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_20___default().createPortal(Popper, container));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (usePopper);\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/usePopper.tsx?");

/***/ }),

/***/ 24776:
/*!*********************************************!*\
  !*** ../designer-utils/utils/xssFilters.ts ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   xssFilters: function() { return /* binding */ xssFilters; }\n/* harmony export */ });\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dompurify */ 46595);\n/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_0__);\n\nfunction xssFilters() {\n  var dirty = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n  return dompurify__WEBPACK_IMPORTED_MODULE_0___default().sanitize(dirty);\n}\n\n//# sourceURL=webpack://entity-designer/../designer-utils/utils/xssFilters.ts?");

/***/ }),

/***/ 5272:
/*!**********************************!*\
  !*** ./src/constant/NodeType.ts ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ENTITY_HAS_CHILD_TYPE: function() { return /* binding */ ENTITY_HAS_CHILD_TYPE; },\n/* harmony export */   ENTITY_INFO: function() { return /* binding */ ENTITY_INFO; },\n/* harmony export */   ENTITY_LIST_TYPE: function() { return /* binding */ ENTITY_LIST_TYPE; },\n/* harmony export */   ENTITY_NODE_TYPE: function() { return /* binding */ ENTITY_NODE_TYPE; },\n/* harmony export */   ENTITY_TYPE_ARR: function() { return /* binding */ ENTITY_TYPE_ARR; },\n/* harmony export */   ENTITY_TYPE_NOT_ADD: function() { return /* binding */ ENTITY_TYPE_NOT_ADD; },\n/* harmony export */   FIELD_BUSI_TYPE: function() { return /* binding */ FIELD_BUSI_TYPE; },\n/* harmony export */   RADIO_TYPES: function() { return /* binding */ RADIO_TYPES; },\n/* harmony export */   ROOT_NODE_TYPE: function() { return /* binding */ ROOT_NODE_TYPE; },\n/* harmony export */   SECOND_ENTITY_LIST_TYPE: function() { return /* binding */ SECOND_ENTITY_LIST_TYPE; }\n/* harmony export */ });\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_0__);\n\nvar FIELD_BUSI_TYPE = function FIELD_BUSI_TYPE() {\n  return {\n    StandardField: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0001'),\n    SystemField: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0002'),\n    InheritedField: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0003')\n  };\n};\nvar ENTITY_LIST_TYPE = function ENTITY_LIST_TYPE() {\n  return [{\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0004'),\n    type: 'EntryEntity',\n    fieldName: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0005')\n  }, {\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0006'),\n    type: 'TreeEntryEntity',\n    fieldName: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0007')\n  }];\n};\nvar SECOND_ENTITY_LIST_TYPE = function SECOND_ENTITY_LIST_TYPE() {\n  return [{\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0011'),\n    type: 'SubEntryEntity',\n    fieldName: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0008')\n  }, {\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0012'),\n    type: 'TreeSubEntryEntity',\n    fieldName: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0013')\n  }];\n};\nvar ENTITY_INFO = function ENTITY_INFO() {\n  return {\n    BillEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0009'),\n      icon: 'danjutou',\n      color: '#5582f3'\n    },\n    BaseEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0009'),\n      icon: 'danjutou',\n      color: '#5582f3'\n    },\n    EntryEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0005'),\n      icon: 'danjuti2',\n      color: '#8EA9E7'\n    },\n    SubEntryEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0008'),\n      icon: 'zidanjuti',\n      color: '#B0BAD1'\n    },\n    TreeEntryEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0010'),\n      icon: 'shuxing',\n      color: '#8EA9E7'\n    },\n    TreeSubEntryEntity: {\n      name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.getLangMsg)('entityd.nodeType.key0008'),\n      icon: 'zidanjuti',\n      color: '#B0BAD1'\n    }\n  };\n};\n\n// 所有的单据节点类型，包含根节点\nvar ENTITY_TYPE_ARR = ['BillEntity', 'EntryEntity', 'SubEntryEntity', 'BaseEntity', 'TreeEntryEntity', 'TreeSubEntryEntity'];\n\n// 三级单据体节点类型\nvar ENTITY_TYPE_NOT_ADD = ['SubEntryEntity', 'TreeSubEntryEntity'];\n\n// 根结点类型\nvar ROOT_NODE_TYPE = ['BillEntity', 'BaseEntity'];\n\n// 所有的单据体节点类型\nvar ENTITY_NODE_TYPE = ['EntryEntity', 'SubEntryEntity', 'TreeEntryEntity', 'TreeSubEntryEntity'];\n\n// 二级单据体节点类型\nvar ENTITY_HAS_CHILD_TYPE = ['EntryEntity', 'TreeEntryEntity'];\nvar RADIO_TYPES = ['RadioField', 'RadioGroupField'];\n\n//# sourceURL=webpack://entity-designer/./src/constant/NodeType.ts?");

/***/ }),

/***/ 63968:
/*!*************************************!*\
  !*** ./src/constant/actionnames.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   SELECT_FIELD: function() { return /* binding */ SELECT_FIELD; }\n/* harmony export */ });\nvar SELECT_FIELD = 'selectField';\n\n//# sourceURL=webpack://entity-designer/./src/constant/actionnames.ts?");

/***/ }),

/***/ 83284:
/*!*******************************!*\
  !*** ./src/constant/const.ts ***!
  \*******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ENTITYNODE_HEADER_HEIGHT: function() { return /* binding */ ENTITYNODE_HEADER_HEIGHT; },\n/* harmony export */   ENTITYNODE_HEADER_WIDTH: function() { return /* binding */ ENTITYNODE_HEADER_WIDTH; },\n/* harmony export */   FIELDHEIGHT: function() { return /* binding */ FIELDHEIGHT; },\n/* harmony export */   MAXLENGTH: function() { return /* binding */ MAXLENGTH; },\n/* harmony export */   MINLENGTH: function() { return /* binding */ MINLENGTH; },\n/* harmony export */   MOREBUTTONHEIGHT: function() { return /* binding */ MOREBUTTONHEIGHT; },\n/* harmony export */   PANELMINHEIGHT: function() { return /* binding */ PANELMINHEIGHT; }\n/* harmony export */ });\nvar FIELDHEIGHT = 27;\nvar MOREBUTTONHEIGHT = 28;\nvar MINLENGTH = 5;\nvar MAXLENGTH = 10;\nvar PANELMINHEIGHT = 48;\nvar ENTITYNODE_HEADER_WIDTH = 200;\nvar ENTITYNODE_HEADER_HEIGHT = 36;\n\n//# sourceURL=webpack://entity-designer/./src/constant/const.ts?");

/***/ }),

/***/ 53684:
/*!***************************************!*\
  !*** ./src/constant/dataAttribute.ts ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   dataControlId: function() { return /* binding */ dataControlId; },\n/* harmony export */   dataMouseOver: function() { return /* binding */ dataMouseOver; },\n/* harmony export */   entitySelection: function() { return /* binding */ entitySelection; },\n/* harmony export */   fieldSelection: function() { return /* binding */ fieldSelection; }\n/* harmony export */ });\n// 控件对应的唯一ID\nvar dataControlId = 'data-control-id';\n\n// 字段选中\nvar fieldSelection = 'field-selection';\n\n// 单据节点选中\nvar entitySelection = 'entity-selection';\n\n// 鼠标划入(hover效果)\nvar dataMouseOver = 'data-mouse-over';\n\n//# sourceURL=webpack://entity-designer/./src/constant/dataAttribute.ts?");

/***/ }),

/***/ 40216:
/*!*********************************!*\
  !*** ./src/constant/keyCode.ts ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// 键盘键值码 并不全 慢慢补充\nvar KEYS = {\n  0: 48,\n  1: 49,\n  2: 50,\n  3: 51,\n  4: 52,\n  5: 53,\n  6: 54,\n  7: 55,\n  8: 56,\n  9: 57,\n  A: 65,\n  B: 66,\n  C: 67,\n  D: 68,\n  E: 69,\n  F: 70,\n  G: 71,\n  H: 72,\n  I: 73,\n  J: 74,\n  K: 75,\n  L: 76,\n  M: 77,\n  N: 78,\n  O: 79,\n  P: 80,\n  Q: 81,\n  R: 82,\n  S: 83,\n  T: 84,\n  U: 85,\n  V: 86,\n  W: 87,\n  X: 88,\n  Y: 89,\n  Z: 90,\n  F1: 112,\n  F2: 113,\n  F3: 114,\n  F4: 115,\n  F5: 116,\n  F6: 117,\n  F7: 118,\n  F8: 119,\n  F9: 120,\n  F10: 121,\n  F11: 122,\n  F12: 123,\n  TAB: 9,\n  ENTER: 13,\n  SHIFT: 16,\n  CTRL: 17,\n  CONTROL: 17,\n  ALT: 18,\n  ESC: 27,\n  ESCAPE: 27,\n  SPACE: 32,\n  PAGEUP: 33,\n  PAGEDOWN: 34,\n  END: 35,\n  HOME: 36,\n  LEFT: 37,\n  ARROWLEFT: 37,\n  UP: 38,\n  ARROWUP: 38,\n  RIGHT: 39,\n  ARROWRIGHT: 39,\n  DOWN: 40,\n  ARROWDOWN: 40,\n  DELETE: 46,\n  META: 91,\n  '*': 106,\n  '+': 107,\n  ';': 186,\n  '=': 187,\n  ',': 188,\n  '-': 189,\n  '.': 190,\n  '/': 191,\n  '`': 192,\n  '[': 219,\n  ']': 221\n  // 反斜杠需和后端讨论显示问题\n  // '\\: 220\n};\n\n// 补充几种中文输入法下的status\n// KEYS.SEMICOLON = 186 // Semicolon(; ；)\n// KEYS.EQUAL = 187 // Equal(==)\n// KEYS.COMMA = 188 // Comma(.，)\n// KEYS.MINUS = 189 // Minus(--)\n// KEYS.PERIOD = 190 // Period(.。)\n// KEYS.SLASH = 191 // Slash(? /)\n// KEYS.BACKQUOTE = 192 // Backquote(`·)\n// KEYS.BRACKETLEFT = 219 // BracketLeft([【)\n// KEYS.BRACKETRIGHT = 221 // BracketRight(]】)\n// KEYS.BACKSLASH = 11 // Backslash(\\、)\n// KEYS.QUOTE = 229 // Quote(')\n\n// 小键盘相关 小键盘status为 PAD + status\n// KEYS.PAD0 = 96 // pad(0)\n// KEYS.PAD1 = 97 // pad(1)\n// KEYS.PAD2 = 98 // pad(2)\n// KEYS.PAD3 = 99 // pad(3)\n// KEYS.PAD4 = 100 // pad(4)\n// KEYS.PAD5 = 101 // pad(5)\n// KEYS.PAD6 = 102 // pad(6)\n// KEYS.PAD7 = 103 // pad(7)\n// KEYS.PAD8 = 104 // pad(8)\n// KEYS.PAD9 = 105 // pad(9)\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (KEYS);\n\n//# sourceURL=webpack://entity-designer/./src/constant/keyCode.ts?");

/***/ }),

/***/ 75452:
/*!*************************************!*\
  !*** ./src/constant/propertyMap.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// 拓展写法: ['fieldKey', 'mapKey'] 如果是默认写法: 'fieldKey' -> ['fieldKey', 'fieldKey']\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  UndefinedControl: ['Name', 'Id', 'FieldName', 'Key', '_Type_'],\n  BillStatusField: ['Name', 'Id', 'FieldName', 'Key', '_Type_'],\n  BillNoField: ['Name', 'Id', 'FieldName', 'Key', '_Type_'],\n  CreaterField: ['Name', 'Id', 'FieldName', 'Key', '_Type_'],\n  ModifierField: ['Name', 'Id', 'FieldName', 'Key', '_Type_']\n});\n\n//# sourceURL=webpack://entity-designer/./src/constant/propertyMap.ts?");

/***/ }),

/***/ 30096:
/*!***********************************!*\
  !*** ./src/constant/propnames.ts ***!
  \***********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ACTION: function() { return /* binding */ ACTION; },\n/* harmony export */   BASETYPE: function() { return /* binding */ BASETYPE; },\n/* harmony export */   CATEGORIES: function() { return /* binding */ CATEGORIES; },\n/* harmony export */   CHILDERN: function() { return /* binding */ CHILDERN; },\n/* harmony export */   CONTROLS: function() { return /* binding */ CONTROLS; },\n/* harmony export */   DATASCOPE: function() { return /* binding */ DATASCOPE; },\n/* harmony export */   EDITOR: function() { return /* binding */ EDITOR; },\n/* harmony export */   ELEMENTTYPES: function() { return /* binding */ ELEMENTTYPES; },\n/* harmony export */   ENUM: function() { return /* binding */ ENUM; },\n/* harmony export */   FIELDNAME: function() { return /* binding */ FIELDNAME; },\n/* harmony export */   FieldType: function() { return /* binding */ FieldType; },\n/* harmony export */   ID: function() { return /* binding */ ID; },\n/* harmony export */   ISDATASOURCE: function() { return /* binding */ ISDATASOURCE; },\n/* harmony export */   ISUNIQUE: function() { return /* binding */ ISUNIQUE; },\n/* harmony export */   ITEMS: function() { return /* binding */ ITEMS; },\n/* harmony export */   KEY: function() { return /* binding */ KEY; },\n/* harmony export */   MAXLENGTH: function() { return /* binding */ MAXLENGTH; },\n/* harmony export */   NAME: function() { return /* binding */ NAME; },\n/* harmony export */   PACKAGENAME: function() { return /* binding */ PACKAGENAME; },\n/* harmony export */   PARENTID: function() { return /* binding */ PARENTID; },\n/* harmony export */   PROPERTIES: function() { return /* binding */ PROPERTIES; },\n/* harmony export */   PROPERTYNAME: function() { return /* binding */ PROPERTYNAME; },\n/* harmony export */   TYPE: function() { return /* binding */ TYPE; },\n/* harmony export */   _TYPE_: function() { return /* binding */ _TYPE_; },\n/* harmony export */   action: function() { return /* binding */ action; },\n/* harmony export */   condition: function() { return /* binding */ condition; },\n/* harmony export */   items: function() { return /* binding */ items; },\n/* harmony export */   length: function() { return /* binding */ length; },\n/* harmony export */   name: function() { return /* binding */ name; },\n/* harmony export */   scope: function() { return /* binding */ scope; },\n/* harmony export */   type: function() { return /* binding */ type; }\n/* harmony export */ });\nvar ID = 'Id';\nvar TYPE = 'Type';\nvar FieldType = 'FieldType';\nvar _TYPE_ = '_Type_';\nvar KEY = 'Key';\nvar NAME = 'Name';\nvar PARENTID = 'ParentId';\nvar ITEMS = 'Items';\nvar CHILDERN = 'children';\nvar ISDATASOURCE = 'IsDS';\nvar ISUNIQUE = 'isUnique';\nvar MAXLENGTH = 'MaxLength';\nvar DATASCOPE = 'DataScope';\nvar ENUM = 'Enum';\nvar CATEGORIES = 'Categories';\nvar ELEMENTTYPES = 'ElementTypes';\nvar BASETYPE = 'BaseType';\nvar PACKAGENAME = 'PackageName';\nvar PROPERTIES = 'Properties';\nvar ACTION = 'Action';\nvar EDITOR = 'Editor';\nvar CONTROLS = 'Controls';\nvar PROPERTYNAME = 'PropertyName';\nvar FIELDNAME = 'FieldName';\nvar type = 'type';\nvar name = 'name';\nvar length = 'length';\nvar scope = 'scope';\nvar items = 'items';\nvar condition = 'condition';\nvar action = 'action';\n\n//# sourceURL=webpack://entity-designer/./src/constant/propnames.ts?");

/***/ }),

/***/ 90115:
/*!******************************!*\
  !*** ./src/context/index.ts ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DesignerContext: function() { return /* binding */ DesignerContext; },\n/* harmony export */   MainCardViewContext: function() { return /* binding */ MainCardViewContext; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Author: gongzhe\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-23 14:21:13\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-27 16:11:22\n * @Description: ...\n */\n\n\n// 设计器context，用于顶层entity-designer向下传入数据\n\nvar DesignerContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\nDesignerContext.displayName = 'DesignerContext';\n\n// 实体设计器主视图context，用于向下传递data和meta\n// interface IMainViewContext {\n//     getData: () => {\n//       Items: [{\n//         Key: string,\n//         Name: string\n//       }]\n//     }\n// }\n// export const MainViewContext = createContext<IMainViewContext>({} as IMainViewContext)\n// MainViewContext.displayName = 'MainViewContext'\n\n// 实体设计器卡片视图context，用于向下传递位置、方向信息\n\nvar MainCardViewContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({});\nMainCardViewContext.displayName = 'MainCardViewContext';\n\n//# sourceURL=webpack://entity-designer/./src/context/index.ts?");

/***/ }),

/***/ 45780:
/*!**************************************!*\
  !*** ./src/controls/ContextMenu.tsx ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\n\n\n\nfunction ContextMenu(_ref) {\n  var config = _ref.config,\n    mousePosition = _ref.mousePosition,\n    onContextItemClick = _ref.onContextItemClick,\n    closeContextMenu = _ref.closeContextMenu;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__.DesignerContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var mainViewPrfixCls = getPrefixCls && getPrefixCls(prefixCls, 'main-view');\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    selectValue = _useState2[0],\n    setSelectValue = _useState2[1];\n  var contextRef = (0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null);\n  var contextMenu = {\n    showType: '1',\n    showKey: '2'\n  };\n  var onChange1 = function onChange1(value) {\n    var showType = false;\n    var showKey = false;\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(value).call(value, contextMenu.showType)) {\n      showType = true;\n    }\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(value).call(value, contextMenu.showKey)) {\n      showKey = true;\n    }\n    onContextItemClick(showType, showKey);\n  };\n  (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_5__.useOnClickOutside)([contextRef], function () {\n    closeContextMenu();\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    var selectVal = [];\n    var showType = config.showType,\n      showKey = config.showKey;\n    if (showType) {\n      selectVal.push(contextMenu.showType);\n    }\n    if (showKey) {\n      selectVal.push(contextMenu.showKey);\n    }\n    setSelectValue(selectVal);\n  }, [config]);\n  return /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_3__.createPortal)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: mainViewPrfixCls + '-context-menu',\n    style: {\n      left: mousePosition.x,\n      top: mousePosition.y\n    },\n    ref: contextRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Checkbox.Group, {\n    onChange: onChange1,\n    value: selectValue,\n    checkboxType: \"default\",\n    className: mainViewPrfixCls + '-context-menu-checkbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Checkbox, {\n    className: mainViewPrfixCls + '-context-menu-item',\n    value: contextMenu.showType\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_5__.getLangMsg)('entityd.contextMenu.key0001')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Checkbox, {\n    className: mainViewPrfixCls + '-context-menu-item',\n    value: contextMenu.showKey\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_5__.getLangMsg)('entityd.contextMenu.key0002')))), document.body);\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_5__.ErrorBoundaryWrap)(ContextMenu, 'ed-context-menu'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/ContextMenu.tsx?");

/***/ }),

/***/ 29488:
/*!*************************************!*\
  !*** ./src/controls/EntityNode.tsx ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-flow-renderer */ 98752);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _FieldNode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./FieldNode */ 72492);\n/* harmony import */ var _hooks_useGetControlAllProps__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../hooks/useGetControlAllProps */ 83588);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _constant_dataAttribute__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../constant/dataAttribute */ 53684);\n/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/index */ 63612);\n/* harmony import */ var _constant_actionnames__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../constant/actionnames */ 63968);\n/* harmony import */ var _constant_const__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../constant/const */ 83284);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar EntityNode = function EntityNode(_ref) {\n  var _data$size;\n  var data = _ref.data,\n    id = _ref.id;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_context__WEBPACK_IMPORTED_MODULE_11__.MainCardViewContext),\n    layoutDirection = _useContext.layoutDirection,\n    onClickShowMoreBtn = _useContext.onClickShowMoreBtn,\n    nodeContentVisibleConfig = _useContext.nodeContentVisibleConfig;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    isSelected = _useState2[0],\n    setSelected = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    showEntityTypeList = _useState4[0],\n    setShowList = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(data.showMore),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    showMore = _useState6[0],\n    setShowMore = _useState6[1];\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.GlobalConfigContext),\n    showMessage = _useContext2.showMessage;\n  var isHorizontal = layoutDirection === 'LR'; // 水平\n  var title = data.title,\n    entityName = data.entityName,\n    entityIcon = data.entityIcon,\n    items = data.items,\n    properties = data.properties,\n    entityType = data.entityType;\n  var entityNodeRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var entitylistRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var _useContext3 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_context__WEBPACK_IMPORTED_MODULE_11__.DesignerContext),\n    getKdesignerApi = _useContext3.getKdesignerApi,\n    invokeAction = _useContext3.invokeAction,\n    getPrefixCls = _useContext3.getPrefixCls,\n    prefixCls = _useContext3.prefixCls;\n  var kdesignerApi = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(function () {\n    return getKdesignerApi();\n  }, []);\n  var metaApi = kdesignerApi.meta;\n  var dataContext = kdesignerApi.data;\n  var selectionContext = kdesignerApi.selection;\n  var rootClass = getPrefixCls && getPrefixCls(prefixCls, 'controls-entity-node');\n  var uiModel = kdesignerApi.uiModel;\n  var isRoot = (0,_utils_index__WEBPACK_IMPORTED_MODULE_18__.isRootNode)(entityType);\n  var isSecondLevel = (0,_utils_index__WEBPACK_IMPORTED_MODULE_18__.isEntryEntityNode)(entityType);\n  var controlProps = (0,_hooks_useGetControlAllProps__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(properties);\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (selection) {\n    var value = selection.value;\n    var isNodeSel = value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(value).call(value, id);\n    if (!isNodeSel) {\n      var fieldSlect = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(value).call(value, function (i) {\n        var entityInfo = uiModel.getEntityFieldInfo(i) || {};\n        return entityInfo[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__.PARENTID] === id && !(0,_utils_index__WEBPACK_IMPORTED_MODULE_18__.isEntity)(entityInfo[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__._TYPE_]);\n      });\n      setSelected(fieldSlect !== undefined);\n    } else {\n      setSelected(isNodeSel);\n    }\n  }, [id]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    // 1. 选中监听放在顶层，selection无需通过props往下传\n    // 2. 如需要selection，AP层自行监听SelectionContext\n    var selectvalue = selectionContext.getSelection();\n    selectionCallBack({\n      value: selectvalue\n    });\n    var removeSelectionListener = selectionContext.addSelectChangeListener(selectionCallBack);\n    return function () {\n      removeSelectionListener();\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    if (isSelected) {\n      var _entityNodeRef$curren, _entityNodeRef$curren2;\n      (_entityNodeRef$curren = entityNodeRef.current) === null || _entityNodeRef$curren === void 0 || _entityNodeRef$curren.setAttribute(_constant_dataAttribute__WEBPACK_IMPORTED_MODULE_17__.entitySelection, 'true');\n      if (entityNodeRef !== null && entityNodeRef !== void 0 && (_entityNodeRef$curren2 = entityNodeRef.current) !== null && _entityNodeRef$curren2 !== void 0 && _entityNodeRef$curren2.parentElement) {\n        // reactflow元素节点的z-index为3，选中元素的层级设置成4才能保证 选择面板不被其他节点覆盖\n        entityNodeRef.current.parentElement.style.zIndex = '4';\n      }\n    } else {\n      var _entityNodeRef$curren3, _entityNodeRef$curren4;\n      (_entityNodeRef$curren3 = entityNodeRef.current) === null || _entityNodeRef$curren3 === void 0 || _entityNodeRef$curren3.removeAttribute(_constant_dataAttribute__WEBPACK_IMPORTED_MODULE_17__.entitySelection);\n      if (entityNodeRef !== null && entityNodeRef !== void 0 && (_entityNodeRef$curren4 = entityNodeRef.current) !== null && _entityNodeRef$curren4 !== void 0 && _entityNodeRef$curren4.parentElement) {\n        entityNodeRef.current.parentElement.style.zIndex = '3';\n      }\n    }\n  }, [isSelected]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    setShowMore(data.showMore);\n  }, [data.showMore]);\n  var addBtton = classnames__WEBPACK_IMPORTED_MODULE_15___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, rootClass + '-add-entity-button', true), rootClass + '-add-entity-button-lr', isHorizontal), rootClass + '-add-entity-button-tb', !isHorizontal));\n  var handleCloseEntityTypeListPanel = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function () {\n    if (!showEntityTypeList) return;\n    setShowList(false);\n  }, [showEntityTypeList]);\n  (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.useOnClickOutside)([entitylistRef], function () {\n    handleCloseEntityTypeListPanel();\n  });\n  var addEntityNode = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (node) {\n    var controlType = node.type,\n      fieldName = node.fieldName;\n    if (!controlType) {\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('entityd.entityNode.key0001'));\n      return;\n    }\n\n    // const { IsContainer = false } = metaApi.getControlMeta(controlType)\n    // const parentId = IsContainer ? activeSelectedId : (dataContext.getParentControlId(activeSelectedId) || rootId)\n    var parentId = id;\n    var parentControlType = dataContext.findControl(parentId)[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__._TYPE_];\n    var canAdd = metaApi.canAdd(controlType, parentControlType);\n    if (!canAdd) {\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('entityd.entityNode.key0002'));\n      return;\n    }\n    var newControl = {\n      _Type_: controlType,\n      ParentId: parentId,\n      Name: fieldName,\n      Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.createUUid)()\n    };\n    dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.createAddAction)(newControl)).then(function (actions) {\n      var realControl = actions[0].value;\n      selectionContext.setSelect(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5___default()(realControl) ? [realControl[0][_constant_propnames__WEBPACK_IMPORTED_MODULE_16__.ID]] : [realControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__.ID]]);\n    });\n  }, [id]);\n  var handleAddEntityClick = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (e) {\n    if (showEntityTypeList) return;\n    e.stopPropagation();\n    setShowList(true);\n  }, [showEntityTypeList]);\n  var handleAddButtonClick = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (isStd) {\n    invokeAction && invokeAction(_constant_actionnames__WEBPACK_IMPORTED_MODULE_19__.SELECT_FIELD, [id, isStd]);\n  }, [id, invokeAction]);\n  var handleShowMoreBtnClick = function handleShowMoreBtnClick() {\n    setShowMore(!showMore);\n    onClickShowMoreBtn(id, !showMore);\n  };\n  var listData = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(function () {\n    var listData = [];\n    if (isRoot) {\n      listData = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_LIST_TYPE)();\n    } else if (isSecondLevel) {\n      listData = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.SECOND_ENTITY_LIST_TYPE)();\n    }\n    return listData;\n  }, [isRoot, isSecondLevel]);\n\n  // 暂时通过opacity控制handle的显示隐藏，因为通过&&控制Handle组件的显示隐藏会导致新增节点没有连接线的问题\n  var targetStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    cursor: 'auto',\n    border: '0px',\n    background: 'none',\n    borderRadius: '0px',\n    opacity: data.hasParent ? 1 : 0\n  }, isHorizontal ? {\n    height: '11px',\n    width: '6px',\n    left: '-10px'\n  } : {\n    height: '6px',\n    width: '11px',\n    top: '-10px'\n  });\n  var sourceStyle = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    cursor: 'auto',\n    border: '0px',\n    background: 'none',\n    borderRadius: '0',\n    backgroundColor: '#999',\n    opacity: data.hasChildren ? 1 : 0\n  }, isHorizontal ? {\n    height: '11px',\n    width: '1px'\n  } : {\n    height: '1px',\n    width: '11px'\n  });\n  var showFullRelationship = nodeContentVisibleConfig.showFullRelationship;\n  var entityNodeHeaderIcon = classnames__WEBPACK_IMPORTED_MODULE_15___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, rootClass + '-header-icon', true), rootClass + '-header-icon-root', isRoot), rootClass + '-header-icon-entity', _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_HAS_CHILD_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_HAS_CHILD_TYPE, entityType)), rootClass + '-header-icon-subentity', _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_NOT_ADD, entityType)));\n  var entityNodeHeaderClass = classnames__WEBPACK_IMPORTED_MODULE_15___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, rootClass + '-header', true), rootClass + '-header border-bottom', !showFullRelationship));\n  var hasMore = items.length > 5;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: rootClass\n  }, controlProps, {\n    ref: entityNodeRef,\n    style: {\n      width: (_data$size = data.size) === null || _data$size === void 0 ? void 0 : _data$size.width\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Handle, {\n    type: \"target\",\n    position: isHorizontal ? react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Position.Left : react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Position.Top,\n    id: \"a\",\n    style: targetStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(TargetHandle, {\n    isHorizontal: isHorizontal,\n    rootClass: rootClass\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Handle, {\n    type: \"source\",\n    position: isHorizontal ? react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Position.Right : react_flow_renderer__WEBPACK_IMPORTED_MODULE_8__.Position.Bottom,\n    id: \"b\",\n    style: sourceStyle\n  }), isSelected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(Buttons, {\n    click: handleAddButtonClick,\n    rootClass: rootClass\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: entityNodeHeaderClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__.Icon, {\n    prefix: \"designericon\",\n    type: entityIcon,\n    className: entityNodeHeaderIcon\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-header-title',\n    title: title\n  }, title)), !showFullRelationship && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-content',\n    style: {\n      maxHeight: showMore ? _constant_const__WEBPACK_IMPORTED_MODULE_20__.FIELDHEIGHT * _constant_const__WEBPACK_IMPORTED_MODULE_20__.MAXLENGTH : _constant_const__WEBPACK_IMPORTED_MODULE_20__.FIELDHEIGHT * _constant_const__WEBPACK_IMPORTED_MODULE_20__.MINLENGTH\n    }\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(items).call(items, function (item) {\n    var id = item.id,\n      key = item.key,\n      name = item.name,\n      properties = item.properties,\n      typeName = item.typeName;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_FieldNode__WEBPACK_IMPORTED_MODULE_12__[\"default\"], {\n      key: id,\n      code: key,\n      name: name,\n      typeName: typeName,\n      id: id,\n      properties: properties,\n      kdesignerApi: kdesignerApi\n    });\n  })), !showFullRelationship && hasMore && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-foot',\n    onClick: handleShowMoreBtnClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__.Icon, {\n    prefix: \"designericon\",\n    type: showMore ? 'xialajiantoufanxiang' : 'xialajiantou'\n  })), isSelected && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_10__.ENTITY_TYPE_NOT_ADD, entityType) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__.Icon, {\n    prefix: \"designericon\",\n    type: \"tianjiakapian\",\n    className: addBtton,\n    onClick: handleAddEntityClick\n  }), showEntityTypeList && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(EntityTypeListPanel, {\n    listData: listData,\n    close: handleCloseEntityTypeListPanel,\n    isHorizontal: isHorizontal,\n    addEntityNode: addEntityNode,\n    entitylistRef: entitylistRef,\n    rootClass: rootClass\n  }));\n};\nvar TargetHandle = function TargetHandle(_ref2) {\n  var isHorizontal = _ref2.isHorizontal,\n    rootClass = _ref2.rootClass;\n  var handleClass = rootClass + (isHorizontal ? '-target-handle-horizontal' : '-target-handle-vertical');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: handleClass\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", null));\n};\nvar Buttons = function Buttons(_ref3) {\n  var click = _ref3.click,\n    rootClass = _ref3.rootClass;\n  var handleAddButtonClick = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (e, isStd) {\n    e.stopPropagation();\n    click && click(isStd);\n  }, [click]);\n  // const buttonbox = classnames({\n  //   [rootClass + '-add-field-buttonbox']: true,\n  //   addbutton: true\n  // })\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-add-field-buttonbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-add-field-buttonbox-leftitem',\n    onClick: function onClick(e) {\n      return handleAddButtonClick(e, false);\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__.Icon, {\n    prefix: \"designericon\",\n    type: \"tianjiaziji\",\n    className: rootClass + '-add-field-buttonbox-leftitem-icon'\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n    className: rootClass + '-add-field-buttonbox-leftitem-title'\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('entityd.entityNode.key0003'))));\n};\nvar EntityTypeListPanel = function EntityTypeListPanel(_ref4) {\n  var listData = _ref4.listData,\n    close = _ref4.close,\n    isHorizontal = _ref4.isHorizontal,\n    addEntityNode = _ref4.addEntityNode,\n    entitylistRef = _ref4.entitylistRef,\n    rootClass = _ref4.rootClass;\n  var entityTypeList = classnames__WEBPACK_IMPORTED_MODULE_15___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, rootClass + '-entity-type-list', true), rootClass + '-entity-type-list-lr', isHorizontal), rootClass + '-entity-type-list-tb', !isHorizontal));\n  var handleItemClick = (0,react__WEBPACK_IMPORTED_MODULE_7__.useCallback)(function (e, item) {\n    e.stopPropagation();\n    addEntityNode && addEntityNode(item);\n    close && close();\n  }, [close, addEntityNode]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: entityTypeList,\n    ref: entitylistRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-entity-type-list-header'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n    className: rootClass + '-entity-type-list-header-name'\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('entityd.entityNode.key0004')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_14__.Icon, {\n    prefix: \"designericon\",\n    type: \"guanbi\",\n    className: rootClass + '-entity-type-list-header-icon',\n    onClick: close\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: rootClass + '-entity-type-list-constent'\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(listData).call(listData, function (item, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      key: index,\n      className: rootClass + '-entity-type-list-constent-item',\n      onClick: function onClick(e) {\n        return handleItemClick(e, item);\n      }\n    }, item.name);\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_9__.ErrorBoundaryWrap)(EntityNode, 'ed-entity-node'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/EntityNode.tsx?");

/***/ }),

/***/ 72492:
/*!************************************!*\
  !*** ./src/controls/FieldNode.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _hooks_useGetControlAllProps__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../hooks/useGetControlAllProps */ 83588);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _constant_dataAttribute__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../constant/dataAttribute */ 53684);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n\nvar FieldNode = function FieldNode(_ref) {\n  var id = _ref.id,\n    code = _ref.code,\n    name = _ref.name,\n    typeName = _ref.typeName,\n    properties = _ref.properties,\n    kdesignerApi = _ref.kdesignerApi;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    isSelected = _useState2[0],\n    setSelected = _useState2[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_context__WEBPACK_IMPORTED_MODULE_8__.DesignerContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_context__WEBPACK_IMPORTED_MODULE_8__.MainCardViewContext),\n    nodeContentVisibleConfig = _useContext2.nodeContentVisibleConfig;\n  var fieldNodeRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var dataContext = kdesignerApi.data;\n  var rootClass = getPrefixCls && getPrefixCls(prefixCls, 'controls-entity-node-field');\n  var getIcon = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    var constcontrolInfo = dataContext.findControl(id) || {};\n    var inherit = constcontrolInfo.Inherit;\n    if (inherit) {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n        title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.fieldNode.key0001'),\n        className: rootClass + '-icon'\n      });\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n        className: rootClass + '-noicon'\n      });\n    }\n    // switch (fildBusiType) {\n    //   case FIELD_BUSI_TYPE.StandardField: {\n    //     return <i />\n    //   }\n    //   case FIELD_BUSI_TYPE.SystemField: {\n    //     return <i />\n    //   }\n    //   case FIELD_BUSI_TYPE.InheritedField: {\n    //     return <i />\n    //   }\n    //   default: {\n    //     return <i />\n    //   }\n    // }\n  }, [id]);\n  var selectionContext = kdesignerApi.selection;\n  // const metaApi = kdesignerApi.meta\n\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (selection) {\n    var value = selection.value;\n    var newSel = value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(value).call(value, id);\n    setSelected(newSel);\n  }, [id]);\n\n  // const typeName = metaApi.getControlMeta(type)[NAME]\n\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    // 1. 选中监听放在顶层，selection无需通过props往下传\n    // 2. 如需要selection，AP层自行监听SelectionContext\n    var selectvalue = selectionContext.getSelection();\n    var newSel = selectvalue === null || selectvalue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(selectvalue).call(selectvalue, id);\n    setSelected(newSel);\n    var removeSelectionListener = selectionContext.addSelectChangeListener(selectionCallBack);\n    return function () {\n      removeSelectionListener();\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    if (isSelected) {\n      var _fieldNodeRef$current;\n      (_fieldNodeRef$current = fieldNodeRef.current) === null || _fieldNodeRef$current === void 0 || _fieldNodeRef$current.setAttribute(_constant_dataAttribute__WEBPACK_IMPORTED_MODULE_7__.fieldSelection, 'true');\n    } else {\n      var _fieldNodeRef$current2;\n      (_fieldNodeRef$current2 = fieldNodeRef.current) === null || _fieldNodeRef$current2 === void 0 || _fieldNodeRef$current2.removeAttribute(_constant_dataAttribute__WEBPACK_IMPORTED_MODULE_7__.fieldSelection);\n    }\n  }, [isSelected]);\n  var allProps = (0,_hooks_useGetControlAllProps__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(properties);\n  var showKey = nodeContentVisibleConfig.showKey,\n    showType = nodeContentVisibleConfig.showType;\n  var fieldNameClass = classnames__WEBPACK_IMPORTED_MODULE_9___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, rootClass + '-name', true), rootClass + '-name-hidekey', !showKey));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    className: rootClass\n  }, allProps, {\n    ref: fieldNodeRef\n  }), getIcon(), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: fieldNameClass,\n    title: name\n  }, name), showKey && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: rootClass + '-code',\n    title: code\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", null, \"\\uFF08\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: rootClass + '-code-content'\n  }, code), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", null, \"\\uFF09\")), showType && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: rootClass + '-type'\n  }, typeName));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.ErrorBoundaryWrap)(FieldNode, 'ed-field-node'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/FieldNode.tsx?");

/***/ }),

/***/ 87432:
/*!************************************!*\
  !*** ./src/controls/ListTable.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _utils_entityMeta__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/entityMeta */ 78968);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _constant_actionnames__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constant/actionnames */ 63968);\n/* harmony import */ var _utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/toolbarUtil */ 51032);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_12__);\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar columns = function columns() {\n  return [{\n    code: 'Key',\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0001'),\n    width: 200,\n    features: {\n      sortable: true,\n      filterable: true\n    }\n  }, {\n    code: 'Name',\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0002'),\n    width: 220,\n    features: {\n      sortable: true,\n      filterable: true\n    }\n  }, {\n    code: '_Type_',\n    name: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0003'),\n    width: 150,\n    features: {\n      sortable: true,\n      filterable: true\n    }\n  }];\n};\nvar keys = ['Key', 'Name', '_Type_', 'Id', 'ParentId'];\nvar ListTable = function ListTable(_ref) {\n  var kdesignerApi = _ref.kdesignerApi,\n    tableData = _ref.tableData,\n    allselectedArr = _ref.allselectedArr;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.GlobalConfigContext),\n    showMessage = _useContext.showMessage,\n    controlsAddedByForntEnd = _useContext.controlsAddedByForntEnd,\n    canAddHandle = _useContext.canAddCallback;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_context__WEBPACK_IMPORTED_MODULE_7__.DesignerContext),\n    changeDesignerView = _useContext2.changeDesignerView,\n    getPrefixCls = _useContext2.getPrefixCls,\n    prefixCls = _useContext2.prefixCls,\n    invokeAction = _useContext2.invokeAction;\n  var selectionContext = kdesignerApi.selection;\n  var dataContext = kdesignerApi.data;\n  var searchInputRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var metaApi = kdesignerApi.meta;\n  var views = kdesignerApi.views;\n  var setSelect = selectionContext.setSelect,\n    getActiveSelectedId = selectionContext.getActiveSelectedId;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    dataSource = _useState2[0],\n    setData = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    searchDataSource = _useState4[0],\n    setSearchData = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState5, 2),\n    selected = _useState6[0],\n    setSelected = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(''),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState7, 2),\n    searchValue = _useState8[0],\n    setSearchValue = _useState8[1];\n  var listTablePrfixCls = getPrefixCls && getPrefixCls(prefixCls, 'list-view-table');\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var data = (0,_utils_entityMeta__WEBPACK_IMPORTED_MODULE_8__.formatListTableData)(tableData, keys, metaApi);\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_12__.isEqual)(dataSource, data)) {\n      setData(data);\n      setSearchData(data);\n      setSearchValue('');\n    }\n  }, [tableData, dataSource]);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    selectionCallBack(allselectedArr);\n  }, [allselectedArr]);\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (allselectedArr) {\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_12__.isEqual)(allselectedArr, selected)) {\n      var defaultSelArr = [];\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(tableData).call(tableData, function (item) {\n        if (allselectedArr !== null && allselectedArr !== void 0 && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(allselectedArr).call(allselectedArr, item.id)) {\n          defaultSelArr.push(item.id);\n        }\n      });\n      setSelected(defaultSelArr);\n    }\n  }, [selected, tableData]);\n  var handleViewIconClick = function handleViewIconClick() {\n    changeDesignerView(0);\n    views.setViewHideState('top')(false);\n    views.setViewHideState('left')(false);\n  };\n  var handleRowClick = function handleRowClick(next) {\n    setSelect(next);\n    setSelected(next);\n  };\n  var filter = {\n    onChangeFilters: function onChangeFilters(nextFilters) {}\n  };\n  var sort = {\n    mode: 'single',\n    highlightColumnWhenActive: true,\n    sortIconHoverShow: true,\n    onChangeSorts: function onChangeSorts(nextSorts) {}\n  };\n  var rowSelection = {\n    type: 'radio',\n    value: selected,\n    onChange: handleRowClick,\n    clickArea: 'row'\n  };\n  var handleAddButtonClick = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    var _searchDataSource$;\n    var activeId = getActiveSelectedId();\n    var parentId = ((_searchDataSource$ = searchDataSource[0]) === null || _searchDataSource$ === void 0 ? void 0 : _searchDataSource$.ParentId) || activeId;\n    invokeAction && invokeAction(_constant_actionnames__WEBPACK_IMPORTED_MODULE_10__.SELECT_FIELD, [parentId, false]);\n  }, [searchDataSource, invokeAction]);\n  var handleDeleteButtonClick = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    if (selected.length === 0) {\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0004'));\n      return;\n    }\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(selected).call(selected, function (id) {\n      (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_11__.deleteControlFn)(id, setSelect, dataContext, controlsAddedByForntEnd, invokeAction, showMessage);\n    });\n  }, [selected, invokeAction]);\n  var handleRepeatButtonClick = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    if (selected.length === 0) {\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0004'));\n      return;\n    }\n    var copyContent = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_11__.getCopyControlFn)(selected, dataContext);\n    var selectControlsCopy = [];\n    var firdtIndex = -1;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(copyContent).call(copyContent, function (control) {\n      var copyControlNewInfo = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_11__.pasteUtil)(control, dataContext, selectionContext, metaApi, canAddHandle, true);\n      if (copyControlNewInfo === false) {\n        showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0005'));\n      } else {\n        var newControl = copyControlNewInfo.newControl,\n          index = copyControlNewInfo.index;\n        selectControlsCopy.push(newControl);\n        firdtIndex = index;\n      }\n    });\n    var rest = {\n      index: firdtIndex\n    };\n    dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.createPasteAction)(selectControlsCopy, rest));\n  }, [selected, invokeAction]);\n  var searchUtil = function searchUtil(value, targetData) {\n    var result = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(targetData).call(targetData, function (item) {\n      var _context, _context2;\n      return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_context = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__.KEY]).call(_context, value) || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_context2 = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__.NAME]).call(_context2, value);\n    });\n    return result || [];\n  };\n  var handleInputEnter = function handleInputEnter(e) {\n    if (e.keyCode === 13) {\n      var value = searchValue;\n      var searchResult = [];\n      if (value === '') {\n        searchResult = dataSource;\n      } else {\n        searchResult = searchUtil(value, dataSource);\n      }\n      setSearchData(searchResult);\n      searchInputRef.current.blur();\n    }\n  };\n  var handleInputChange = function handleInputChange() {\n    var value = searchInputRef.current.value;\n    setSearchValue(value);\n  };\n  var handleClearClick = function handleClearClick() {\n    setSearchValue('');\n    setSearchData(dataSource);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls + '-topbarbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0006'),\n    className: listTablePrfixCls + '-topbarbox-changeview',\n    onClick: handleViewIconClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__.Icon, {\n    prefix: \"designericon\",\n    type: \"liebiaoshitu\",\n    className: listTablePrfixCls + '-topbarbox-changeview-icon'\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls + '-tabelbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader-searchbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__.Icon, {\n    prefix: \"designericon\",\n    type: \"sousuo\",\n    className: listTablePrfixCls + '-tabelbox-tabheader-searchbox-icon'\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"input\", {\n    type: \"text\",\n    ref: searchInputRef,\n    value: searchValue,\n    placeholder: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0007'),\n    onChange: handleInputChange,\n    onKeyDown: handleInputEnter,\n    className: listTablePrfixCls + '-tabelbox-tabheader-searchbox-input'\n  }), searchValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__.Icon, {\n    prefix: \"designericon\",\n    type: \"shurukuangquanqing\",\n    className: listTablePrfixCls + '-tabelbox-tabheader-searchbox-icon',\n    onClick: handleClearClick\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader-toolbarbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader-toolbarbox-button',\n    onClick: handleAddButtonClick\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0008')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader-toolbarbox-button',\n    onClick: handleRepeatButtonClick\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0009')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"span\", {\n    className: listTablePrfixCls + '-tabelbox-tabheader-toolbarbox-button',\n    onClick: handleDeleteButtonClick\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.getLangMsg)('entityd.listTable.key0010')))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__.Table, {\n    dataSource: searchDataSource,\n    columns: columns(),\n    filter: filter,\n    sort: sort,\n    rowSelection: rowSelection,\n    primaryKey: \"Id\",\n    style: {\n      flexShrink: 1,\n      minHeight: 0\n    }\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.ErrorBoundaryWrap)(ListTable, 'ed-list-table'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/ListTable.tsx?");

/***/ }),

/***/ 86932:
/*!***********************************!*\
  !*** ./src/controls/ListTree.tsx ***!
  \***********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _Tree_treeUtils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./Tree/treeUtils */ 6660);\n/* harmony import */ var _Tree_tree__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Tree/tree */ 66576);\n/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/index */ 63612);\n/* harmony import */ var _utils_entityUtil__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../utils/entityUtil */ 15624);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/toolbarUtil */ 51032);\n\n\n\n\n\n\n\n\n\n\n\nvar prefix = 'entity-designer';\nvar rootClass = prefix + '-entity-node';\nvar ListTree = function ListTree(_ref) {\n  var kdesignerApi = _ref.kdesignerApi,\n    listTreeData = _ref.listTreeData,\n    invokeAction = _ref.invokeAction;\n  var metaApi = kdesignerApi.meta;\n  var dataContext = kdesignerApi.data;\n  var selectionContext = kdesignerApi.selection;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.GlobalConfigContext),\n    showMessage = _useContext.showMessage,\n    controlsAddedByForntEnd = _useContext.controlsAddedByForntEnd;\n  var setSelect = selectionContext.setSelect,\n    getSelection = selectionContext.getSelection,\n    addSelectChangeListener = selectionContext.addSelectChangeListener;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    expandedKeys = _useState2[0],\n    setExpandedKeys = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    checkedKeys = _useState4[0],\n    setCheckedKeys = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)([]),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState5, 2),\n    selectedKeys = _useState6[0],\n    setSelectedKeys = _useState6[1];\n  var listTreeDataRef = (0,react__WEBPACK_IMPORTED_MODULE_3__.useRef)([]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    listTreeDataRef.current = listTreeData;\n  }, [listTreeData]);\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(function (selection) {\n    var value = selection.value;\n    var entityId = (0,_utils_index__WEBPACK_IMPORTED_MODULE_7__.findEntityIdById)(listTreeDataRef.current, value[0]);\n    setSelectedKeys([entityId]);\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    var selectvalue = getSelection();\n    var entityId = (0,_utils_index__WEBPACK_IMPORTED_MODULE_7__.findEntityIdById)(listTreeDataRef.current, selectvalue[0]);\n    setSelectedKeys([entityId]);\n    var removeSelectionListener = addSelectChangeListener(selectionCallBack);\n    return function () {\n      removeSelectionListener && removeSelectionListener();\n    };\n  }, []);\n\n  // 过滤非实体项，保留实体项和根节点\n  var newListTreeData = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {\n    return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(listTreeData).call(listTreeData, function (item) {\n      var type = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__._TYPE_];\n      return (0,_utils_index__WEBPACK_IMPORTED_MODULE_7__.isRootNode)(type) || (0,_utils_index__WEBPACK_IMPORTED_MODULE_7__.isEntity)(type);\n    });\n  }, [listTreeData]);\n  var treeData = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {\n    var transformTreeData = (0,_Tree_treeUtils__WEBPACK_IMPORTED_MODULE_5__.transformTree)(newListTreeData);\n    return (0,_Tree_treeUtils__WEBPACK_IMPORTED_MODULE_5__.buildTree)('Id', 'ParentId', transformTreeData);\n  }, [newListTreeData]);\n  var onSelect = function onSelect(selectedKeysArr) {\n    setSelect(selectedKeysArr);\n  };\n  var onCheck = function onCheck(checkedKeysArr) {\n    setCheckedKeys(checkedKeysArr);\n  };\n  var onExpand = function onExpand(expandedKeysArr) {\n    setExpandedKeys(expandedKeysArr);\n  };\n  var addEntityNode = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(function (node) {\n    (0,_utils_entityUtil__WEBPACK_IMPORTED_MODULE_8__.addEntityControl)(node, dataContext, selectionContext, showMessage, metaApi);\n  }, []);\n\n  // 删除\n  var deleteEntityNode = (0,react__WEBPACK_IMPORTED_MODULE_3__.useCallback)(function () {\n    var rootId = dataContext.getRootId();\n    var selection = getSelection();\n    if (selection.length > 0) {\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(selection).call(selection, function (id) {\n        if (rootId !== id) {\n          (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_10__.deleteControlFn)(id, setSelect, dataContext, controlsAddedByForntEnd, invokeAction, showMessage);\n        } else {\n          showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.listTree.key0001'));\n        }\n      });\n    }\n  }, [newListTreeData]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    style: {\n      width: '300px',\n      height: '100%',\n      flexShrink: 0\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_Tree_tree__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    name: \"Tree\",\n    treeData: treeData,\n    expandedKeys: expandedKeys,\n    checkedKeys: checkedKeys,\n    selectedKeys: selectedKeys,\n    virtual: false,\n    onCheck: onCheck,\n    onExpand: onExpand,\n    onSelect: onSelect,\n    defaultExpandAll: true,\n    addEntityNode: addEntityNode,\n    deleteEntityNode: deleteEntityNode\n    // scrollToKey={activeEntityId}\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.ErrorBoundaryWrap)(ListTree, 'ed-list-tree'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/ListTree.tsx?");

/***/ }),

/***/ 5660:
/*!*************************************!*\
  !*** ./src/controls/NavToolBar.tsx ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _utils_client__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../utils/client */ 77168);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _hooks_useCopyAndPaste__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../hooks/useCopyAndPaste */ 8184);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n/* harmony import */ var _utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../utils/toolbarUtil */ 51032);\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context5, _context6; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context5 = ownKeys(Object(t), !0)).call(_context5, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context6 = ownKeys(Object(t))).call(_context6, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar isMacOS = (0,_utils_client__WEBPACK_IMPORTED_MODULE_17__.isMac)();\nvar prefix = 'entity-designer';\nvar navToolPrefixCls = prefix + '-entity-node-nav-tool';\nvar NavToolBar = function NavToolBar() {\n  var _context, _context2, _context3, _context4;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(_context__WEBPACK_IMPORTED_MODULE_20__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    invokeAction = _useContext.invokeAction;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState, 2),\n    rootLock = _useState2[0],\n    setRootLock = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState3, 2),\n    entityLock = _useState4[0],\n    setEntityLock = _useState4[1];\n  var kdesignerApi = getKdesignerApi();\n  var dataContext = kdesignerApi.data;\n  var selectionContext = kdesignerApi.selection;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.GlobalConfigContext),\n    showMessage = _useContext2.showMessage,\n    controlsAddedByForntEnd = _useContext2.controlsAddedByForntEnd,\n    canAddHandle = _useContext2.canAddCallback;\n  var _useContext3 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.DataFactoryContext),\n    metaApi = _useContext3.metaApi;\n  var _useCopyAndPaste = (0,_hooks_useCopyAndPaste__WEBPACK_IMPORTED_MODULE_19__[\"default\"])(),\n    setCopyContent = _useCopyAndPaste.setCopyContent,\n    getCopyContent = _useCopyAndPaste.getCopyContent;\n  var getSelection = selectionContext.getSelection,\n    setSelect = selectionContext.setSelect;\n  var canUndo = dataContext.canUndo();\n  var canRedo = dataContext.canRedo();\n  var rootId = dataContext.getRootId();\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function (selection) {\n    var value = selection.value,\n      oldValue = selection.oldValue;\n    if (value !== oldValue && value.length === 1) {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default()(value).call(value, rootId)) {\n        setRootLock(true);\n        setEntityLock(false);\n      } else {\n        var id = value[0];\n        var type = dataContext.findControl(id)[_constant_propnames__WEBPACK_IMPORTED_MODULE_18__._TYPE_];\n        setEntityLock(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE, type));\n        setRootLock(false);\n      }\n    } else {\n      setRootLock(false);\n      setEntityLock(false);\n    }\n  }, [rootId]);\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    // 1. 选中监听放在顶层，selection无需通过props往下传\n    // 2. 如需要selection，AP层自行监听SelectionContext\n    var selectvalue = selectionContext.getSelection();\n    if (selectvalue.length === 1) {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default()(selectvalue).call(selectvalue, rootId)) {\n        setRootLock(true);\n        setEntityLock(false);\n      } else {\n        var id = selectvalue[0];\n        var type = dataContext.findControl(id)[_constant_propnames__WEBPACK_IMPORTED_MODULE_18__._TYPE_];\n        setEntityLock(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE, type));\n        setRootLock(false);\n      }\n    } else {\n      setRootLock(false);\n      setEntityLock(false);\n    }\n    var removeSelectionListener = selectionContext.addSelectChangeListener(selectionCallBack);\n    return function () {\n      removeSelectionListener();\n    };\n  }, []);\n  var getStatus = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function (type) {\n    var disable = false;\n    var command = true;\n    switch (type) {\n      case 1:\n        disable = !canUndo;\n        command = canUndo;\n        break;\n      case 2:\n        disable = !canRedo;\n        command = canRedo;\n        break;\n      case 3:\n        disable = rootLock || entityLock;\n        command = !(rootLock || entityLock);\n        break;\n      case 4:\n        disable = rootLock;\n        command = !rootLock;\n        break;\n      default:\n        disable = false;\n        command = true;\n    }\n    return {\n      disable: disable,\n      command: command\n    };\n  }, [rootLock, canRedo, canUndo, entityLock]);\n\n  // 恢复\n  var redo = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus = getStatus(2),\n      disable = _getStatus.disable;\n    if (disable) return;\n    if (canRedo) {\n      dataContext.redo();\n    }\n  }, [canRedo, getStatus]);\n  // 撤销\n  var undo = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus2 = getStatus(1),\n      disable = _getStatus2.disable;\n    if (disable) return;\n    if (canUndo) {\n      dataContext.undo();\n      var _rootId = dataContext.getRootId();\n      selectionContext.setSelect(_rootId);\n    }\n  }, [canUndo, getStatus]);\n  // 前移\n  var moveToPrev = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus3 = getStatus(3),\n      disable = _getStatus3.disable;\n    if (disable) return;\n    var selection = getSelection();\n    if (selection.length === 1) {\n      dataContext.moveControl(selection[0], 'forward');\n    } else {\n      // @TODO: 多选下的前移\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.listTree.key0002'));\n    }\n  }, [getStatus]);\n  // 后移\n  var moveToNext = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus4 = getStatus(3),\n      disable = _getStatus4.disable;\n    if (disable) return;\n    var selection = getSelection();\n    if (selection.length === 1) {\n      dataContext.moveControl(selection[0], 'back');\n    } else {\n      // @TODO: 多选下的后移\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.listTree.key0002'));\n    }\n  }, [getStatus]);\n  // 删除\n  var deleteControl = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus5 = getStatus(4),\n      disable = _getStatus5.disable;\n    if (disable) return;\n    var getSelection = selectionContext.getSelection,\n      setSelect = selectionContext.setSelect;\n    var rootId = dataContext.getRootId();\n    var selection = getSelection();\n    if (selection.length > 0) {\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(selection).call(selection, function (id) {\n        if (rootId !== id) {\n          (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__.deleteControlFn)(id, setSelect, dataContext, controlsAddedByForntEnd, invokeAction, showMessage);\n        } else {\n          showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.tips.key0001'));\n        }\n      });\n    }\n  }, [getStatus]);\n  // 复制\n  var copyControl = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus6 = getStatus(4),\n      disable = _getStatus6.disable;\n    if (disable) return;\n    var selection = getSelection() || [];\n    var copyContent = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__.getCopyControlFn)(selection, dataContext);\n    setCopyContent(copyContent);\n  }, [getStatus]);\n  // 粘贴\n  /* 粘贴场景\n  ***1，粘贴单个字段\n  ***2，粘贴多个字段\n  ***3，粘贴带着多个字段的单据体\n  */\n  var pasteControl = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function (repeat) {\n    var copyContent = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : getCopyContent();\n    var _getStatus7 = getStatus(0),\n      disable = _getStatus7.disable;\n    if (disable) return;\n    var isRepeat = repeat === true;\n    if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11___default()(copyContent)) {\n      var selectControlsCopy = [];\n      var firdtIndex = -1;\n      var containerInfo = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(copyContent).call(copyContent, function (control) {\n        var controlType = control[_constant_propnames__WEBPACK_IMPORTED_MODULE_18__._TYPE_];\n        var _metaApi$getControlMe = metaApi.getControlMeta(controlType),\n          _metaApi$getControlMe2 = _metaApi$getControlMe.IsContainer,\n          IsContainer = _metaApi$getControlMe2 === void 0 ? false : _metaApi$getControlMe2;\n        return IsContainer;\n      });\n      if (containerInfo.length > 0) {\n        var copyControlNewInfo = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__.pasteUtil)(containerInfo[0], dataContext, selectionContext, metaApi, canAddHandle, isRepeat);\n        // { newControl, index } || false\n        if (copyControlNewInfo === false) {\n          showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.listTree.key0003'));\n        } else {\n          var newControl = copyControlNewInfo.newControl,\n            index = copyControlNewInfo.index;\n          selectControlsCopy.push(newControl);\n          firdtIndex = index;\n          var containerInfoNewId = newControl.Id;\n          containerInfoNewId && _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(copyContent).call(copyContent, function (control) {\n            var targetKey = control.Key,\n              targetType = control._Type_;\n            var targetParentId = control[_constant_propnames__WEBPACK_IMPORTED_MODULE_18__.PARENTID] || rootId;\n            if (targetParentId === containerInfo[0][_constant_propnames__WEBPACK_IMPORTED_MODULE_18__.ID] && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_10___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_NODE_TYPE, targetType)) {\n              var _newControl = _objectSpread(_objectSpread({}, control), {}, {\n                ParentId: containerInfoNewId,\n                Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.createUUid)(),\n                Key: targetKey + '1',\n                FieldName: targetKey + '1',\n                Inherit: false\n              });\n              selectControlsCopy.push(_newControl);\n            }\n          });\n        }\n      } else {\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(copyContent).call(copyContent, function (control) {\n          var copyControlNewInfo = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__.pasteUtil)(control, dataContext, selectionContext, metaApi, canAddHandle, isRepeat);\n          if (copyControlNewInfo === false) {\n            showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.listTree.key0003'));\n          } else {\n            var _newControl2 = copyControlNewInfo.newControl,\n              _index = copyControlNewInfo.index;\n            selectControlsCopy.push(_newControl2);\n            firdtIndex = _index;\n          }\n        });\n      }\n      var rest = {\n        index: firdtIndex\n      };\n      dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.createPasteAction)(selectControlsCopy, rest));\n    }\n  }, [getStatus]);\n\n  // 重复\n  var copyAndPasteControl = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function () {\n    var _getStatus8 = getStatus(4),\n      disable = _getStatus8.disable;\n    if (disable) return;\n    var selection = getSelection() || [];\n    var copyContent = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_22__.getCopyControlFn)(selection, dataContext);\n    pasteControl(true, copyContent);\n  }, [copyControl, pasteControl, getStatus]);\n  var getDomClassName = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function (type) {\n    var isIcon = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n    var isLast = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n    var _getStatus9 = getStatus(type),\n      disable = _getStatus9.disable,\n      command = _getStatus9.command;\n    var cn = isIcon ? classnames__WEBPACK_IMPORTED_MODULE_16___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(navToolPrefixCls, \"-buttonbox-operation-disable-icon\"), disable), \"\".concat(navToolPrefixCls, \"-buttonbox-operation-btn-icon\"), command)) : isLast ? classnames__WEBPACK_IMPORTED_MODULE_16___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(navToolPrefixCls, \"-buttonbox-operation-disable\"), disable), \"\".concat(navToolPrefixCls, \"-buttonbox-last-operation\"), true), \"\".concat(navToolPrefixCls, \"-buttonbox-operation-btn\"), command)) : classnames__WEBPACK_IMPORTED_MODULE_16___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, \"\".concat(navToolPrefixCls, \"-buttonbox-operation-disable\"), disable), \"\".concat(navToolPrefixCls, \"-buttonbox-operation-btn\"), command));\n    return cn;\n  }, [getStatus]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: navToolPrefixCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: navToolPrefixCls + '-buttonbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context = \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.toolbarView.key0001'), \"\\n\")).call(_context, isMacOS ? '⌘+Z' : 'Ctrl+Z'),\n    className: getDomClassName(1),\n    onClick: undo\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"chexiao\",\n    className: getDomClassName(1, true)\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context2 = \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0001'), \"\\n\")).call(_context2, isMacOS ? '⌘+Y' : 'Ctrl+Y'),\n    className: getDomClassName(2, false, true),\n    onClick: redo\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"zhongzuo\",\n    className: getDomClassName(2, true)\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: navToolPrefixCls + '-buttonbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0002'),\n    onClick: moveToPrev,\n    className: getDomClassName(3)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"zuiqian\",\n    className: getDomClassName(3, true)\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0003'),\n    onClick: moveToNext,\n    className: getDomClassName(3, false, true)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"zuihou\",\n    className: getDomClassName(3, true)\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: navToolPrefixCls + '-buttonbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context3 = \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0004'), \"\\n\")).call(_context3, isMacOS ? '⌘+C' : 'Ctrl+C'),\n    onClick: copyControl,\n    className: getDomClassName(4)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"fuzhi\",\n    className: getDomClassName(4, true)\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context4 = \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0005'), \"\\n\")).call(_context4, isMacOS ? '⌘+V' : 'Ctrl+V'),\n    onClick: pasteControl,\n    className: getDomClassName(0, false, true)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"zhantie\",\n    className: getDomClassName(0, true)\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: navToolPrefixCls + '-buttonbox'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0006'),\n    onClick: copyAndPasteControl,\n    className: getDomClassName(4)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"zhongfu\",\n    className: getDomClassName(4, true)\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    title: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.navToolBar.key0007'), \"\\nDelete\"),\n    onClick: deleteControl,\n    className: getDomClassName(4, false, true)\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"shanchu\",\n    className: getDomClassName(4, true)\n  }))));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.ErrorBoundaryWrap)(NavToolBar, 'ed-nav-toolbar'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/NavToolBar.tsx?");

/***/ }),

/***/ 20792:
/*!******************************************!*\
  !*** ./src/controls/NavToolBarRight.tsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nfunction NavToolBarRight() {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_2__.DesignerContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    changeDesignerView = _useContext.changeDesignerView,\n    getKdesignerApi = _useContext.getKdesignerApi;\n  var narRightPrfixCls = getPrefixCls && getPrefixCls(prefixCls, 'top-view-right');\n  var kdesignerApi = getKdesignerApi();\n  var views = kdesignerApi.views;\n  var handleViewIconClick = function handleViewIconClick() {\n    changeDesignerView(1);\n    views.setViewHideState('top')(true);\n    views.setViewHideState('left')(true);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: narRightPrfixCls\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    title: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)('entityd.navToolBarRight.key0001'),\n    className: narRightPrfixCls + '-change-view',\n    onClick: handleViewIconClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Icon, {\n    prefix: \"designericon\",\n    type: \"guanxishitu\",\n    className: narRightPrfixCls + '-change-view-icon'\n  })));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.ErrorBoundaryWrap)(NavToolBarRight, 'ed-nav-toolbar-right'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/NavToolBarRight.tsx?");

/***/ }),

/***/ 5504:
/*!****************************************!*\
  !*** ./src/controls/OperationBtns.tsx ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react_flow_renderer__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-flow-renderer */ 98752);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\nvar OperationBtns = function OperationBtns(_ref) {\n  var style = _ref.style,\n    _ref$showZoom = _ref.showZoom,\n    showZoom = _ref$showZoom === void 0 ? true : _ref$showZoom,\n    _ref$showFitView = _ref.showFitView,\n    showFitView = _ref$showFitView === void 0 ? true : _ref$showFitView,\n    _ref$showChangeDirect = _ref.showChangeDirection,\n    showChangeDirection = _ref$showChangeDirect === void 0 ? true : _ref$showChangeDirect,\n    _ref$showDisplayMode = _ref.showDisplayMode,\n    showDisplayMode = _ref$showDisplayMode === void 0 ? true : _ref$showDisplayMode,\n    fitViewParams = _ref.fitViewParams,\n    isHorizontal = _ref.isHorizontal,\n    showFullRelationship = _ref.showFullRelationship,\n    onZoomIn = _ref.onZoomIn,\n    onZoomOut = _ref.onZoomOut,\n    onFitView = _ref.onFitView,\n    onChangeLayoutClick = _ref.onChangeLayoutClick,\n    onRelationalBtnClick = _ref.onRelationalBtnClick;\n  var _useZoomPanHelper = (0,react_flow_renderer__WEBPACK_IMPORTED_MODULE_3__.useZoomPanHelper)(),\n    zoomIn = _useZoomPanHelper.zoomIn,\n    zoomOut = _useZoomPanHelper.zoomOut,\n    fitView = _useZoomPanHelper.fitView;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var controlsPrefix = getPrefixCls && getPrefixCls(prefixCls, 'controls');\n  var onZoomInHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    zoomIn === null || zoomIn === void 0 || zoomIn();\n    onZoomIn === null || onZoomIn === void 0 || onZoomIn();\n  }, [zoomIn, onZoomIn]);\n  var onZoomOutHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    zoomOut === null || zoomOut === void 0 || zoomOut();\n    onZoomOut === null || onZoomOut === void 0 || onZoomOut();\n  }, [zoomOut, onZoomOut]);\n  var onFitViewHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    fitView === null || fitView === void 0 || fitView(fitViewParams);\n    onFitView === null || onFitView === void 0 || onFitView();\n  }, [fitView, fitViewParams, onFitView]);\n  var plusIconTitle = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0001');\n  var minusIconTitle = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0002');\n  var fitViewIconTitle = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0003');\n  var layoutIconTitle = isHorizontal ? (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0004') : (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0005');\n  var displayModeIconTitle = showFullRelationship ? (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0006') : (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.getLangMsg)('entityd.operationBtns.key0007');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: controlsPrefix + '-operation-box',\n    style: style\n  }, showZoom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    onClick: onZoomInHandler,\n    className: controlsPrefix + '-operation-box-button',\n    title: plusIconTitle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Icon, {\n    prefix: \"designericon\",\n    type: \"fangda\",\n    className: controlsPrefix + '-operation-box-button-icon'\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    onClick: onZoomOutHandler,\n    className: controlsPrefix + '-operation-box-button',\n    title: minusIconTitle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Icon, {\n    prefix: \"designericon\",\n    type: \"suoxiao\",\n    className: controlsPrefix + '-operation-box-button-icon'\n  }))), showFitView && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: controlsPrefix + '-operation-box-button',\n    onClick: onFitViewHandler,\n    title: fitViewIconTitle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Icon, {\n    prefix: \"designericon\",\n    type: \"wanzhengshitu\",\n    className: controlsPrefix + '-operation-box-button-icon'\n  })), showChangeDirection && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: controlsPrefix + '-operation-box-button',\n    onClick: onChangeLayoutClick,\n    title: layoutIconTitle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Icon, {\n    prefix: \"designericon\",\n    type: isHorizontal ? 'zongxiangzhankai' : 'hengxiangzhankai',\n    className: controlsPrefix + '-operation-box-button-icon'\n  })), showDisplayMode && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: controlsPrefix + '-operation-box-button',\n    onClick: onRelationalBtnClick,\n    title: displayModeIconTitle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Icon, {\n    prefix: \"designericon\",\n    type: showFullRelationship ? 'guanxishitu' : 'wanzhengguanxi',\n    className: controlsPrefix + '-operation-box-button-icon'\n  })));\n};\nOperationBtns.displayName = 'OperationBtns';\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.ErrorBoundaryWrap)( /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(OperationBtns), 'ed-controls'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/OperationBtns.tsx?");

/***/ }),

/***/ 14284:
/*!************************************!*\
  !*** ./src/controls/SearchBox.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ 52360);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/searchUtils */ 30296);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_13__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction SearchBox(_ref) {\n  var _ref$dataList = _ref.dataList,\n    dataList = _ref$dataList === void 0 ? [] : _ref$dataList;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    keyWord = _useState2[0],\n    setKeyWord = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)([]),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    results = _useState4[0],\n    setResults = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    showResultPanel = _useState6[0],\n    setShowResultPanel = _useState6[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_context__WEBPACK_IMPORTED_MODULE_10__.DesignerContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    getKdesignerApi = _useContext.getKdesignerApi;\n  var controlsPrefix = getPrefixCls && getPrefixCls(prefixCls, 'controls');\n  var _getKdesignerApi = getKdesignerApi(),\n    selection = _getKdesignerApi.selection;\n  var searchBoxRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    setShowResultPanel(results.length > 0 || keyWord !== '');\n  }, [results]);\n  var handleInputChange = function handleInputChange(e) {\n    var value = e.target.value;\n    setKeyWord(value);\n    var _selection$getSelecti = selection.getSelection(),\n      _selection$getSelecti2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_selection$getSelecti, 1),\n      selectedId = _selection$getSelecti2[0];\n    var trimedValue = value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_2___default()(value).call(value);\n    var results = (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__.getSearchResults)(dataList, trimedValue, selectedId);\n    setResults(results);\n  };\n  var handleInputFocus = function handleInputFocus() {\n    setShowResultPanel(results.length > 0);\n  };\n  var handleClearIconClick = function handleClearIconClick() {\n    var _inputRef$current;\n    setKeyWord('');\n    setResults([]);\n    (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: controlsPrefix + '-searchbox',\n    ref: searchBoxRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: controlsPrefix + '-searchbox-input-wrapper'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Icon, {\n    prefix: \"designericon\",\n    type: \"sousuo\",\n    className: controlsPrefix + '-searchbox-search-icon'\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"input\", {\n    ref: inputRef,\n    className: controlsPrefix + '-searchbox-input',\n    placeholder: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_13__.getLangMsg)('entityd.searchBox.key0001'),\n    value: keyWord,\n    onChange: handleInputChange,\n    onFocus: handleInputFocus\n  }), keyWord && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Icon, {\n    prefix: \"designericon\",\n    type: \"shurukuangquanqing\",\n    className: controlsPrefix + '-searchbox-clear-icon',\n    onClick: handleClearIconClick\n  })), showResultPanel && /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_8__.createPortal)( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(ResultPanel, {\n    results: results,\n    searchBoxRef: searchBoxRef,\n    setShowResultPanel: setShowResultPanel,\n    keyWord: keyWord\n  }), document.body));\n}\nfunction ResultPanel(_ref2) {\n  var _ref2$results = _ref2.results,\n    results = _ref2$results === void 0 ? [] : _ref2$results,\n    searchBoxRef = _ref2.searchBoxRef,\n    setShowResultPanel = _ref2.setShowResultPanel,\n    keyWord = _ref2.keyWord;\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)({\n      left: -9999,\n      top: -9999\n    }),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState7, 2),\n    position = _useState8[0],\n    setPosition = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(-1),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState9, 2),\n    preSelectedIndex = _useState10[0],\n    setPreSelectIndex = _useState10[1];\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useContext)(_context__WEBPACK_IMPORTED_MODULE_10__.DesignerContext),\n    getPrefixCls = _useContext2.getPrefixCls,\n    prefixCls = _useContext2.prefixCls,\n    getKdesignerApi = _useContext2.getKdesignerApi;\n  var controlsPrefix = getPrefixCls && getPrefixCls(prefixCls, 'controls');\n  var _getKdesignerApi2 = getKdesignerApi(),\n    selection = _getKdesignerApi2.selection;\n  var resultPanelRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)();\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    var searchBoxEle = searchBoxRef.current;\n    var _searchBoxEle$getBoun = searchBoxEle === null || searchBoxEle === void 0 ? void 0 : searchBoxEle.getBoundingClientRect(),\n      _searchBoxEle$getBoun2 = _searchBoxEle$getBoun.bottom,\n      bottom = _searchBoxEle$getBoun2 === void 0 ? 0 : _searchBoxEle$getBoun2,\n      _searchBoxEle$getBoun3 = _searchBoxEle$getBoun.right,\n      right = _searchBoxEle$getBoun3 === void 0 ? 0 : _searchBoxEle$getBoun3;\n    // 根据搜索框的位置，计算搜索结果面板的位置\n    setPosition({\n      left: right - 230,\n      top: bottom + 10\n    });\n    document.addEventListener('click', handleClick); // 监听点击事件，关闭弹窗\n    return function () {\n      document.removeEventListener('click', handleClick);\n    };\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    document.addEventListener('keydown', handleKeyDown);\n    return function () {\n      document.removeEventListener('keydown', handleKeyDown);\n    };\n  }, [preSelectedIndex, results]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    setPreSelectIndex(-1);\n  }, [keyWord]);\n  var handleClick = function handleClick(e) {\n    var _context;\n    if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context = e.path).call(_context, searchBoxRef.current)) {\n      setShowResultPanel(false);\n    }\n  };\n  var fieldList = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_4___default()(results).call(results, function (list, item) {\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(list).call(list, item.items);\n  }, []);\n  var handleKeyDown = function handleKeyDown(e) {\n    var _context2;\n    var keyCode = e.keyCode;\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = [40, 38, 13]).call(_context2, keyCode)) {\n      e.preventDefault();\n    }\n    switch (e.keyCode) {\n      case 40:\n        {\n          var _fieldList$index;\n          // 下移\n          var index = (preSelectedIndex + 1) % fieldList.length;\n          setPreSelectIndex(index);\n          var id = (_fieldList$index = fieldList[index]) === null || _fieldList$index === void 0 ? void 0 : _fieldList$index.id;\n          (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__.scrollIntoView)('data-id', id, resultPanelRef.current);\n          break;\n        }\n      case 38:\n        {\n          var _fieldList$_index;\n          // 上移\n          var _index = preSelectedIndex === -1 ? fieldList.length - 1 : (preSelectedIndex - 1 + fieldList.length) % fieldList.length;\n          setPreSelectIndex(_index);\n          var _id = (_fieldList$_index = fieldList[_index]) === null || _fieldList$_index === void 0 ? void 0 : _fieldList$_index.id;\n          (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__.scrollIntoView)('data-id', _id, resultPanelRef.current);\n          break;\n        }\n      case 13:\n        {\n          var _fieldList$preSelecte;\n          var _id2 = (_fieldList$preSelecte = fieldList[preSelectedIndex]) === null || _fieldList$preSelecte === void 0 ? void 0 : _fieldList$preSelecte.id;\n          selection.setSelect(_id2);\n          _id2 && setShowResultPanel(false);\n          (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__.setFieldIntoView)(_id2);\n          break;\n        }\n      default:\n        break;\n    }\n  };\n  var renderFieldList = function renderFieldList(list) {\n    var handleItemClick = function handleItemClick(id) {\n      selection.setSelect(id);\n      (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_11__.setFieldIntoView)(id);\n    };\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, function (item) {\n      var _fieldList$preSelecte2;\n      var id = item.id,\n        name = item.name,\n        key = item.key;\n      var fieldClass = classnames__WEBPACK_IMPORTED_MODULE_12___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, controlsPrefix + '-result-panel-group-field', true), controlsPrefix + '-result-panel-group-field-preselected', ((_fieldList$preSelecte2 = fieldList[preSelectedIndex]) === null || _fieldList$preSelecte2 === void 0 ? void 0 : _fieldList$preSelecte2.id) === id));\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        key: id,\n        className: fieldClass,\n        onClick: function onClick(e) {\n          return handleItemClick(id);\n        },\n        \"data-id\": id\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        className: controlsPrefix + '-result-panel-group-field-name'\n      }, name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        className: controlsPrefix + '-result-panel-group-field-key'\n      }, key));\n    });\n  };\n  var renderResultList = function renderResultList(list) {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(list).call(list, function (item) {\n      var id = item.id,\n        name = item.name,\n        items = item.items;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        key: id,\n        className: controlsPrefix + '-result-panel-group'\n      }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n        className: controlsPrefix + '-result-panel-group-title'\n      }, name), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", null, renderFieldList(items)));\n    });\n  };\n  var renderNoData = function renderNoData() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n      className: controlsPrefix + '-result-panel-nodata'\n    }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_13__.getLangMsg)('entityd.searchBox.key0002'));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: controlsPrefix + '-result-panel',\n    style: position,\n    ref: resultPanelRef\n  }, renderResultList(results), results.length === 0 && renderNoData());\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_13__.ErrorBoundaryWrap)(SearchBox, 'ed-searchbox'));\n\n//# sourceURL=webpack://entity-designer/./src/controls/SearchBox.tsx?");

/***/ }),

/***/ 66576:
/*!************************************!*\
  !*** ./src/controls/Tree/tree.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _treeUtils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./treeUtils */ 6660);\n/* harmony import */ var _treeHooks__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./treeHooks */ 13392);\n/* harmony import */ var _treeNode__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./treeNode */ 7112);\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash/isBoolean */ 45904);\n/* harmony import */ var lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n\nvar prefixCls = 'entity-designer';\nvar InternalTree = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().forwardRef(function (props, ref) {\n  var TreeProps = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getCompProps)('Tree', {}, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var treeData = TreeProps.treeData,\n    virtual = TreeProps.virtual,\n    showIcon = TreeProps.showIcon,\n    switcherIcon = TreeProps.switcherIcon,\n    icon = TreeProps.icon,\n    checkable = TreeProps.checkable,\n    checkStrictly = TreeProps.checkStrictly,\n    disabled = TreeProps.disabled,\n    draggable = TreeProps.draggable,\n    scrollToKey = TreeProps.scrollToKey,\n    expandedKeysProps = TreeProps.expandedKeys,\n    checkedKeysProps = TreeProps.checkedKeys,\n    defaultExpandRoot = TreeProps.defaultExpandRoot,\n    defaultExpandAll = TreeProps.defaultExpandAll,\n    defaultExpandParent = TreeProps.defaultExpandParent,\n    defaultExpandedKeys = TreeProps.defaultExpandedKeys,\n    defaultCheckedKeys = TreeProps.defaultCheckedKeys,\n    defaultSelectedKeys = TreeProps.defaultSelectedKeys,\n    onCheck = TreeProps.onCheck,\n    onExpand = TreeProps.onExpand,\n    onSelect = TreeProps.onSelect,\n    selectedKeysProps = TreeProps.selectedKeys,\n    _TreeProps$setTreeNod = TreeProps.setTreeNodeStyle,\n    setTreeNodeStyle = _TreeProps$setTreeNod === void 0 ? function () {\n      return {};\n    } : _TreeProps$setTreeNod,\n    _TreeProps$setTreeNod2 = TreeProps.setTreeNodeClassName,\n    setTreeNodeClassName = _TreeProps$setTreeNod2 === void 0 ? function () {\n      return '';\n    } : _TreeProps$setTreeNod2,\n    _TreeProps$estimatedI = TreeProps.estimatedItemSize,\n    innerEstimatedItemSize = _TreeProps$estimatedI === void 0 ? 28 : _TreeProps$estimatedI,\n    addEntityNode = TreeProps.addEntityNode,\n    deleteEntityNode = TreeProps.deleteEntityNode;\n  var treePrefixCls = 'entity-designer-tree';\n  // const treeNodePrefixCls = 'entity-designer-tree-node'\n  var treeNodeClassName = classnames__WEBPACK_IMPORTED_MODULE_5___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(treePrefixCls), true));\n  var treeRootClassName = \"\".concat(treePrefixCls, \"-root\");\n  var estimatedItemSize = innerEstimatedItemSize; // 节点高度\n\n  var flattenAllData = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.flattenAll)(treeData, []);\n  }, [treeData]);\n  var maxLevel = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getMaxLevel)(flattenAllData);\n  }, [flattenAllData]);\n  var _useChecked = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_7__.useChecked)(checkStrictly, checkedKeysProps, defaultCheckedKeys, flattenAllData, maxLevel, checkable),\n    _useChecked2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useChecked, 4),\n    checkedKeys = _useChecked2[0],\n    halfCheckedKeys = _useChecked2[1],\n    setCheckedKeys = _useChecked2[2],\n    setHalfCheckedKeys = _useChecked2[3];\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_4___default().useState(scrollToKey),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState, 2),\n    scrollKey = _React$useState2[0],\n    setScrollKey = _React$useState2[1];\n  // const [start, setStart] = React.useState(0)\n  var _useSelect = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_7__.useSelect)(selectedKeysProps, defaultSelectedKeys),\n    _useSelect2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useSelect, 2),\n    selectedKeys = _useSelect2[0],\n    setSelectedKeys = _useSelect2[1];\n  var listRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef(null);\n  var plantomRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef(null);\n  var rootRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef(null);\n  var scrollRef = ref || rootRef;\n  var treeNodeRef = react__WEBPACK_IMPORTED_MODULE_4___default().useRef(null);\n  // const dragNodeRef = React.useRef<any>(null)\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_4___default().useState(true),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_React$useState3, 2),\n    isInit = _React$useState4[0],\n    setIsInit = _React$useState4[1];\n  var _useExpand = (0,_treeHooks__WEBPACK_IMPORTED_MODULE_7__.useExpand)(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey, isInit),\n    _useExpand2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useExpand, 1),\n    expandedKeys = _useExpand2[0];\n  var spreadAttrData = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getSpreadAttrData)(flattenAllData, expandedKeys);\n  }, [flattenAllData, expandedKeys]);\n  var filterData = react__WEBPACK_IMPORTED_MODULE_4___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getFilterData)(spreadAttrData);\n  }, [spreadAttrData]);\n\n  // const [viewportHeight] = useViewportHeight(height, listRef)\n  // const [visibleData] = useVisibleDataMemo(virtual, filterData, viewportHeight, estimatedItemSize, start)\n\n  // const index = React.useMemo(() => {\n  //   let scrollIndex = 0\n  //   for (let i = 0; i < filterData.length; i++) {\n  //     if (filterData[i].key === scrollKey) {\n  //       scrollIndex = i\n  //       break\n  //     }\n  //   }\n  //   return scrollIndex\n  // }, [filterData, scrollKey])\n  // useScrollToKey(scrollKey, index, estimatedItemSize, scrollRef, viewportHeight, treeNodePrefixCls)\n\n  // usePlantomHeightEffect(plantomRef, filterData, estimatedItemSize)\n\n  var handleScroll = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function () {\n    if (!virtual) return;\n    // const scrollTop = scrollRef.current.scrollTop\n    // setStart(Math.floor(scrollTop / estimatedItemSize))\n\n    // const tempStartOffset = scrollTop - (scrollTop % estimatedItemSize)\n    // if (listRef.current && virtual) {\n    //   listRef.current.style.transform = `translate3d(0,${tempStartOffset}px,0)`\n    // }\n  }, [listRef, scrollRef, virtual, estimatedItemSize]);\n  var handleExpand = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (key, value, node) {\n    var newExpandedKeys = value ? (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.addKeys)(expandedKeys, [key]) : (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.delKey)(expandedKeys, [key]);\n    onExpand && onExpand(newExpandedKeys, {\n      node: node,\n      expanded: value\n    });\n    setScrollKey('');\n    setIsInit(false);\n  }, [expandedKeys, onExpand]);\n  var handleCheck = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (key, value, node, event, pos) {\n    var newCheckedKeys = value ? (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.addKeys)(checkedKeys, [key]) : (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.delKey)(checkedKeys, [key]);\n    var checkState = checkStrictly ? (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getDataCheckededStateStrictly)(newCheckedKeys) : (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getDataCheckededState)(spreadAttrData, newCheckedKeys, halfCheckedKeys, maxLevel, false, pos, value);\n    onCheck && onCheck(checkState.checkedKeys, {\n      event: event,\n      node: node,\n      checked: value,\n      halfCheckedKeys: checkState.halfCheckedKeys\n    });\n  }, [checkedKeys, spreadAttrData, halfCheckedKeys, maxLevel, onCheck, checkStrictly, setCheckedKeys, setHalfCheckedKeys]);\n  var handleSelect = react__WEBPACK_IMPORTED_MODULE_4___default().useCallback(function (event, node, key) {\n    var checked = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getChecked)(checkedKeys, key);\n    onSelect && onSelect([key], {\n      node: node,\n      event: event,\n      checked: checked\n    });\n  }, [onSelect, setSelectedKeys, checkedKeys]);\n  var getSelectable = function getSelectable(selectable) {\n    if (lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9___default()(selectable)) {\n      return selectable;\n    }\n    return true;\n  };\n  var getCheckable = function getCheckable(checkableProps, itemCheckable) {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9___default()(itemCheckable) ? itemCheckable : checkableProps;\n  };\n  var getDisabled = function getDisabled(disabledProps, itemDisabled) {\n    return lodash_isBoolean__WEBPACK_IMPORTED_MODULE_9___default()(itemDisabled) ? itemDisabled : disabledProps;\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    if (scrollToKey) {\n      setSelectedKeys([scrollToKey]);\n      setScrollKey(scrollToKey);\n    } else {\n      setSelectedKeys([]);\n    }\n  }, [scrollToKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    setHalfCheckedKeys(halfCheckedKeys);\n  }, [halfCheckedKeys]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: treeNodeClassName,\n    ref: scrollRef,\n    onScroll: handleScroll\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    ref: plantomRef,\n    className: \"\".concat(treePrefixCls, \"-plantom\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: treeRootClassName,\n    ref: listRef\n  }, filterData && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(filterData).call(filterData, function (item) {\n    // const props: any = {}\n    var checked = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getChecked)(checkedKeys, item.key);\n    var indeterminate = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getHalfChecked)(halfCheckedKeys, item.key);\n    item.nodeKey = item.key;\n    item.onExpand = handleExpand;\n    item.onCheck = handleCheck;\n    item.onSelect = handleSelect;\n    item.checked = checked;\n    item.selected = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_6__.getSelected)(selectedKeys, item.key);\n    item.indeterminate = indeterminate;\n    // item.showLine = showLine\n    item.disabled = getDisabled(disabled, item.disabled);\n    item.showIcon = showIcon || false;\n    item.checkable = getCheckable(checkable, item.checkable); // 哪个优先\n    item.selectable = getSelectable(item.selectable);\n    item.icon = item.icon || icon;\n    item.switcherIcon = item.switcherIcon || switcherIcon;\n    item.estimatedItemSize = estimatedItemSize;\n    item.draggable = draggable;\n    item.className = setTreeNodeClassName((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item));\n    item.style = setTreeNodeStyle((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item));\n    item.addEntityNode = addEntityNode;\n    item.deleteEntityNode = deleteEntityNode;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_treeNode__WEBPACK_IMPORTED_MODULE_8__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item, {\n      key: item.key,\n      ref: treeNodeRef\n    }));\n  })));\n});\nvar Tree = InternalTree;\nTree.displayName = 'Tree';\n/* harmony default export */ __webpack_exports__[\"default\"] = (Tree);\n\n//# sourceURL=webpack://entity-designer/./src/controls/Tree/tree.tsx?");

/***/ }),

/***/ 13392:
/*!*****************************************!*\
  !*** ./src/controls/Tree/treeHooks.tsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   useChecked: function() { return /* binding */ useChecked; },\n/* harmony export */   useExpand: function() { return /* binding */ useExpand; },\n/* harmony export */   usePlantomHeightEffect: function() { return /* binding */ usePlantomHeightEffect; },\n/* harmony export */   useScrollToKey: function() { return /* binding */ useScrollToKey; },\n/* harmony export */   useSelect: function() { return /* binding */ useSelect; },\n/* harmony export */   useViewportHeight: function() { return /* binding */ useViewportHeight; },\n/* harmony export */   useVisibleDataMemo: function() { return /* binding */ useVisibleDataMemo; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _treeUtils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./treeUtils */ 6660);\n\n\n\n\n\nvar useViewportHeight = function useViewportHeight(height, listRef) {\n  var _React$useState = react__WEBPACK_IMPORTED_MODULE_3___default().useState(0),\n    _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState, 2),\n    viewportHeight = _React$useState2[0],\n    setViewportHeight = _React$useState2[1];\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    height ? setViewportHeight(height) : listRef.current && setViewportHeight(listRef.current.clientHeight);\n  }, [listRef, height]);\n  return [viewportHeight];\n};\nvar useVisibleDataMemo = function useVisibleDataMemo(virtual, filterData, viewportHeight, estimatedItemSize, start) {\n  var visibledCount = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return Math.ceil(viewportHeight / estimatedItemSize);\n  }, [viewportHeight, estimatedItemSize]);\n  var viewportData = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(filterData).call(filterData, start, start + visibledCount);\n  }, [filterData, start, visibledCount]);\n  var visibleData = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return virtual ? viewportData : filterData;\n  }, [virtual, viewportData, filterData]);\n  return [visibleData];\n};\nvar usePlantomHeightEffect = function usePlantomHeightEffect(plantomRef, filterData, estimatedItemSize) {\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    var height = filterData.length * estimatedItemSize;\n    if (plantomRef.current) {\n      // plantomRef.current.style.height = height + 'px'\n    }\n  }, [plantomRef, filterData, estimatedItemSize]);\n};\nvar useChecked = function useChecked(checkStrictly, checkedKeysProps, defaultCheckedKeys, flattenAllData, maxLevel, checkable) {\n  var initialCheckedState = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    if (!checkable) return {\n      checkedKeys: [],\n      halfCheckedKeys: []\n    };\n    return checkStrictly ? (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getDataCheckededStateStrictly)(checkedKeysProps || defaultCheckedKeys) : (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getInitCheckededState)(flattenAllData, checkedKeysProps || defaultCheckedKeys, maxLevel, true);\n  }, [flattenAllData, checkedKeysProps, defaultCheckedKeys, checkStrictly, maxLevel, checkable]);\n  var _React$useState3 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialCheckedState.checkedKeys),\n    _React$useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState3, 2),\n    checkedKeys = _React$useState4[0],\n    setCheckedKeys = _React$useState4[1];\n  var _React$useState5 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialCheckedState.halfCheckedKeys),\n    _React$useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState5, 2),\n    halfCheckedKeys = _React$useState6[0],\n    setHalfCheckedKeys = _React$useState6[1];\n  var nextCheckedKeys = initialCheckedState.checkedKeys;\n  var nextHalfCheckedKeys = initialCheckedState.halfCheckedKeys;\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setCheckedKeys(nextCheckedKeys);\n  }, [nextCheckedKeys]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setHalfCheckedKeys(nextHalfCheckedKeys);\n  }, [nextHalfCheckedKeys]);\n  return [checkedKeys, halfCheckedKeys, setCheckedKeys, setHalfCheckedKeys];\n};\nvar useExpand = function useExpand(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey, isInit) {\n  var expandScrollkeys = [];\n  if (scrollKey) {\n    var pos = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getPos)(flattenAllData, scrollKey);\n    expandScrollkeys = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getAllParentKeys)(flattenAllData, pos);\n  }\n  var initialExpandedKeys = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getInitExpandedKeys)(flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, expandScrollkeys);\n  }, [flattenAllData, expandedKeysProps, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent, scrollKey]);\n  var newExpandedKeys = react__WEBPACK_IMPORTED_MODULE_3___default().useMemo(function () {\n    return (0,_treeUtils__WEBPACK_IMPORTED_MODULE_4__.getExpandedKeys)(expandedKeysProps, expandScrollkeys);\n  }, [expandedKeysProps]);\n  var _React$useState7 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(initialExpandedKeys),\n    _React$useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState7, 2),\n    expandedKeys = _React$useState8[0],\n    setExpandedKeys = _React$useState8[1];\n  react__WEBPACK_IMPORTED_MODULE_3___default().useEffect(function () {\n    var keys = isInit ? initialExpandedKeys : newExpandedKeys;\n    setExpandedKeys(keys);\n  }, [newExpandedKeys, initialExpandedKeys]);\n  return [expandedKeys, setExpandedKeys];\n};\nvar useScrollToKey = function useScrollToKey(scrollKey, index, estimatedItemSize, scrollRef, viewportHeight, treeNodePrefixCls) {\n  var _React$useState9 = react__WEBPACK_IMPORTED_MODULE_3___default().useState(false),\n    _React$useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_React$useState9, 2),\n    scroll = _React$useState10[0],\n    setScroll = _React$useState10[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setScroll(true);\n  }, [scrollKey]);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    var _context;\n    if (!scroll) return;\n    var treeRoot = scrollRef.current;\n    var treeNode = treeRoot === null || treeRoot === void 0 ? void 0 : treeRoot.getElementsByClassName(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2___default()(_context = \"\".concat(treeNodePrefixCls, \"-item-\")).call(_context, scrollKey))[0];\n    if (!scrollKey) {\n      setScroll(false);\n      return;\n    }\n    if (treeRoot && treeNode) {\n      // const treeRootScrollTop = treeRoot.scrollTop\n      var treeRootRect = treeRoot.getBoundingClientRect();\n      var treeNodeRect = treeNode.getBoundingClientRect();\n      if (treeRootRect.top <= treeNodeRect.top && treeRootRect.bottom >= treeNodeRect.bottom) {\n        setScroll(false);\n        return;\n      }\n    }\n    var _index = index;\n    var visibleDataLength = Math.ceil(viewportHeight / estimatedItemSize);\n    var halfVisibleIndex = Math.floor(visibleDataLength / 2);\n    _index = _index - halfVisibleIndex;\n    scrollRef.current.scrollTop = _index * estimatedItemSize;\n    setScroll(false);\n  }, [scroll, index, viewportHeight, estimatedItemSize]);\n};\nvar useSelect = function useSelect(selectedKeysProps, defaultSelectedKeys) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_3__.useState)(selectedKeysProps || defaultSelectedKeys),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    selectedKeys = _useState2[0],\n    setSelectedKeys = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    setSelectedKeys(selectedKeysProps);\n  }, [selectedKeysProps]);\n  return [selectedKeys, setSelectedKeys];\n};\n\n//# sourceURL=webpack://entity-designer/./src/controls/Tree/treeHooks.tsx?");

/***/ }),

/***/ 7112:
/*!****************************************!*\
  !*** ./src/controls/Tree/treeNode.tsx ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _treeUtils__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./treeUtils */ 6660);\n/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../utils/index */ 63612);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../constant/propnames */ 30096);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../constant/NodeType */ 5272);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_22__);\n\n\n\n\n\n\n\n\n\n\n\nvar _excluded = [\"nodeKey\", \"prefixCls\", \"selectable\", \"checkable\", \"className\", \"icon\", \"switcherIcon\", \"disabled\", \"draggable\", \"pos\", \"checked\", \"level\", \"getDragNode\", \"hasChildNode\", \"expand\", \"title\", \"showLine\", \"showIcon\", \"selected\", \"setDragNode\", \"style\", \"indeterminate\", \"estimatedItemSize\", \"onExpand\", \"onCheck\", \"onDragStart\", \"onDragOver\", \"onDragLeave\", \"onDragEnter\", \"onDragEnd\", \"onDrop\", \"onSelect\", \"addEntityNode\", \"deleteEntityNode\"];\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\nvar TreeNode = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().forwardRef(function (props, ref) {\n  var _context;\n  var TreeNodeProps = (0,_treeUtils__WEBPACK_IMPORTED_MODULE_18__.getCompProps)('TreeNode', {}, props); // 按钮属性需要合并一遍用户定义的默认属性\n  var nodeKey = TreeNodeProps.nodeKey,\n    customPrefixcls = TreeNodeProps.prefixCls,\n    selectable = TreeNodeProps.selectable,\n    checkable = TreeNodeProps.checkable,\n    className = TreeNodeProps.className,\n    icon = TreeNodeProps.icon,\n    switcherIcon = TreeNodeProps.switcherIcon,\n    disabled = TreeNodeProps.disabled,\n    draggable = TreeNodeProps.draggable,\n    pos = TreeNodeProps.pos,\n    checked = TreeNodeProps.checked,\n    level = TreeNodeProps.level,\n    getDragNode = TreeNodeProps.getDragNode,\n    hasChildNode = TreeNodeProps.hasChildNode,\n    expand = TreeNodeProps.expand,\n    title = TreeNodeProps.title,\n    showLine = TreeNodeProps.showLine,\n    showIcon = TreeNodeProps.showIcon,\n    selected = TreeNodeProps.selected,\n    setDragNode = TreeNodeProps.setDragNode,\n    style = TreeNodeProps.style,\n    indeterminate = TreeNodeProps.indeterminate,\n    estimatedItemSize = TreeNodeProps.estimatedItemSize,\n    onExpand = TreeNodeProps.onExpand,\n    onCheck = TreeNodeProps.onCheck,\n    onDragStart = TreeNodeProps.onDragStart,\n    onDragOver = TreeNodeProps.onDragOver,\n    onDragLeave = TreeNodeProps.onDragLeave,\n    onDragEnter = TreeNodeProps.onDragEnter,\n    onDragEnd = TreeNodeProps.onDragEnd,\n    onDrop = TreeNodeProps.onDrop,\n    onSelect = TreeNodeProps.onSelect,\n    addEntityNode = TreeNodeProps.addEntityNode,\n    deleteEntityNode = TreeNodeProps.deleteEntityNode,\n    others = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(TreeNodeProps, _excluded);\n  var nodeData = react__WEBPACK_IMPORTED_MODULE_15___default().useMemo(function () {\n    return _objectSpread({\n      selectable: selectable,\n      checkable: checkable,\n      expand: expand,\n      key: nodeKey,\n      level: level,\n      title: title,\n      disabled: disabled,\n      draggable: draggable,\n      checked: checked,\n      pos: pos,\n      hasChildNode: hasChildNode,\n      indeterminate: indeterminate,\n      icon: icon,\n      switcherIcon: switcherIcon,\n      // showLine,\n      showIcon: showIcon,\n      selected: selected\n    }, others);\n  }, [selectable, checkable, expand, nodeKey, level, title, disabled, draggable, checked, pos, hasChildNode, indeterminate, icon, switcherIcon, showIcon, selected]);\n  var entityType = TreeNodeProps[_constant_propnames__WEBPACK_IMPORTED_MODULE_20__._TYPE_];\n  var isRoot = (0,_utils_index__WEBPACK_IMPORTED_MODULE_19__.isRootNode)(entityType);\n  var isSecondLevel = (0,_utils_index__WEBPACK_IMPORTED_MODULE_19__.isEntryEntityNode)(entityType);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useState, 2),\n    showEntityTypeList = _useState2[0],\n    setShowList = _useState2[1];\n  var entitylistRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var useExpand = function useExpand(value) {\n    var _React$useState = react__WEBPACK_IMPORTED_MODULE_15___default().useState(value),\n      _React$useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_React$useState, 2),\n      expand = _React$useState2[0],\n      setExpand = _React$useState2[1];\n    var setExpandState = function setExpandState(value) {\n      return setExpand(value);\n    };\n    (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n      setExpand(value);\n    }, [value]);\n    return [expand, setExpandState];\n  };\n  var dragRef = react__WEBPACK_IMPORTED_MODULE_15___default().useRef(null);\n  var _useExpand = useExpand(expand),\n    _useExpand2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_useExpand, 2),\n    expandState = _useExpand2[0],\n    setExpandState = _useExpand2[1];\n  // const treeNodePrefixCls = getPrefixCls!(prefixCls, 'tree-node', customPrefixcls) // 按钮样式前缀\n  var treeNodePrefixCls = 'entity-designer-tree-node';\n  var renderIcon = function renderIcon(icon) {\n    if (typeof icon === 'function') {\n      var nodeProps = {\n        selectable: selectable,\n        checkable: checkable,\n        disabled: disabled,\n        title: title,\n        draggable: draggable,\n        checked: checked,\n        hasChildNode: hasChildNode,\n        expand: expand,\n        nodeKey: nodeKey,\n        icon: icon,\n        switcherIcon: switcherIcon,\n        showIcon: showIcon,\n        selected: selected,\n        indeterminate: indeterminate\n      };\n      return icon(_objectSpread({}, nodeProps));\n    }\n    return icon;\n  };\n  var indent = function indent() {\n    var indentArr = [];\n    var className = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-indent\"), true), \"\".concat(treeNodePrefixCls, \"-indent-line\"), !!showLine));\n    for (var i = 0; i < level; i++) {\n      indentArr.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n        className: className,\n        key: i,\n        style: {\n          height: \"\".concat(estimatedItemSize)\n        }\n      }, \"\\xA0\\xA0\\xA0\\xA0\"));\n    }\n    return indentArr;\n  };\n\n  // line的两种模式， 图标被替换和图标不被替换\n  var renderExpandIcon = function renderExpandIcon() {\n    if (hasChildNode) {\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_11___default()(switcherIcon) && switcherIcon.length === 2) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n          className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(treeNodePrefixCls, \"-icon\")),\n          onClick: handleIconClick\n        }, expandState ? renderIcon(switcherIcon[1]) : renderIcon(switcherIcon[0]));\n      }\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n        className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(treeNodePrefixCls, \"-icon\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-animation-expand\"), expandState), \"\".concat(treeNodePrefixCls, \"-animation-collapse\"), !expandState)),\n        onClick: handleIconClick\n      }, renderIcon(switcherIcon || /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__.Icon, {\n        type: \"arrow-right-solid\"\n      })));\n    } else {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n        className: \"\".concat(treeNodePrefixCls, \"-icon-hidden\")\n      });\n    }\n  };\n  var renderNodeIcon = function renderNodeIcon() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(treeNodePrefixCls, \"-leaf-icon\")\n    }, renderIcon(icon));\n  };\n  var rightNodeIcons = function rightNodeIcons() {\n    var addEntityIcon = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-right-addIcon\"), true));\n    var deleteEntityIcon = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-right-deleteIcon\"), true));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: \"\".concat(treeNodePrefixCls, \"-right-icon\")\n    }, !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_TYPE_NOT_ADD, TreeNodeProps[_constant_propnames__WEBPACK_IMPORTED_MODULE_20__._TYPE_]) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      title: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('entityd.treeNode.key0001')),\n      className: addEntityIcon,\n      onClick: handleAddIconClick\n    }, selected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__.Icon, {\n      prefix: \"designericon\",\n      type: \"tianjia3\"\n    })), !(0,_utils_index__WEBPACK_IMPORTED_MODULE_19__.isRootNode)(TreeNodeProps[_constant_propnames__WEBPACK_IMPORTED_MODULE_20__._TYPE_]) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      title: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('entityd.treeNode.key0002')),\n      className: deleteEntityIcon,\n      onClick: handleDeleteIconClick\n    }, selected && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__.Icon, {\n      prefix: \"designericon\",\n      type: \"shanchu\"\n    })));\n  };\n  var renderNode = function renderNode() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      draggable: draggable && !disabled,\n      className: classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-draggabled\"), true), \"\".concat(treeNodePrefixCls, \"-root\"), true)),\n      ref: dragRef\n    }, indent(), renderExpandIcon(), showIcon && renderNodeIcon(), checkable ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_16__.Checkbox, {\n      onChange: handleOnchange,\n      checked: checked,\n      indeterminate: !disabled && indeterminate,\n      disabled: disabled\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(treeNodePrefixCls, \"-title\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-title-disabled\"), disabled)),\n      title: title\n    }, title)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(treeNodePrefixCls, \"-title\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-title-disabled\"), disabled)),\n      title: title\n    }, title), selected && rightNodeIcons()));\n  };\n  var handleOnchange = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    var value = e.target.checked;\n    onCheck && onCheck(nodeKey, value, nodeData, e, pos);\n  }, [onCheck, nodeKey, nodeData, pos]);\n  var handleSelect = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    selectable && !disabled && onSelect && onSelect(e, nodeData, nodeKey);\n  }, [onSelect, selectable, disabled, nodeData, nodeKey]);\n  react__WEBPACK_IMPORTED_MODULE_15___default().useImperativeHandle(ref, function () {\n    return {\n      selectNode: handleSelect\n    };\n  });\n  var handleClick = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    e.stopPropagation();\n    // setExpandState(!expandState)\n    // onExpand && onExpand(nodeKey, !expandState, nodeData)\n    handleSelect(e);\n  }, [setExpandState, expandState, onExpand, nodeKey, nodeData, handleSelect]);\n  var handleIconClick = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    e.stopPropagation();\n    setExpandState(!expandState);\n    onExpand && onExpand(nodeKey, !expandState, nodeData);\n  }, [setExpandState, expandState, onExpand, nodeKey, nodeData]);\n  var handleAddIconClick = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    e.stopPropagation();\n    setShowList(true);\n  }, []);\n  var handleDeleteIconClick = react__WEBPACK_IMPORTED_MODULE_15___default().useCallback(function (e) {\n    e.stopPropagation();\n    deleteEntityNode([TreeNodeProps[_constant_propnames__WEBPACK_IMPORTED_MODULE_20__.ID]]);\n  }, [TreeNodeProps]);\n  var handleCloseEntityTypeListPanel = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function () {\n    if (!showEntityTypeList) return;\n    setShowList(false);\n  }, [showEntityTypeList]);\n  (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_22__.useOnClickOutside)([entitylistRef], function () {\n    handleCloseEntityTypeListPanel();\n  });\n  var listData = (0,react__WEBPACK_IMPORTED_MODULE_15__.useMemo)(function () {\n    var listData = [];\n    if (isRoot) {\n      listData = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.ENTITY_LIST_TYPE)();\n    } else if (isSecondLevel) {\n      listData = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_21__.SECOND_ENTITY_LIST_TYPE)();\n    }\n    return listData;\n  }, [isRoot, isSecondLevel]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_17___default()(\"\".concat(treeNodePrefixCls, \"-item\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-item-hover\"), !disabled && selectable), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-selected\"), selected && selectable && !disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-disabled\"), disabled), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, \"\".concat(treeNodePrefixCls, \"-opened\"), expandState), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_13___default()(_context = \"\".concat(treeNodePrefixCls, \"-item-\")).call(_context, nodeKey), className),\n    style: _objectSpread({\n      height: \"\".concat(estimatedItemSize)\n    }, style),\n    onClick: handleClick\n  }, renderNode(), showEntityTypeList && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(EntityTypeListPanel, {\n    listData: listData,\n    close: handleCloseEntityTypeListPanel,\n    addEntityNode: addEntityNode,\n    entitylistRef: entitylistRef\n  }));\n});\nTreeNode.displayName = 'TreeNode';\n/* harmony default export */ __webpack_exports__[\"default\"] = (TreeNode);\nvar EntityTypeListPanel = function EntityTypeListPanel(_ref) {\n  var listData = _ref.listData,\n    close = _ref.close,\n    addEntityNode = _ref.addEntityNode,\n    entitylistRef = _ref.entitylistRef;\n  var treeNodePrefixCls = 'entity-designer-tree-node';\n  var entityTypeList = classnames__WEBPACK_IMPORTED_MODULE_17___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, treeNodePrefixCls + '-entity-type-list', true), treeNodePrefixCls + '-entity-type-list-tb', true));\n  var handleItemClick = (0,react__WEBPACK_IMPORTED_MODULE_15__.useCallback)(function (e, item) {\n    e.stopPropagation();\n    addEntityNode && addEntityNode(item);\n    close && close();\n  }, [close, addEntityNode]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: entityTypeList,\n    ref: entitylistRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: treeNodePrefixCls + '-entity-type-list-constent'\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(listData).call(listData, function (item, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n      key: index,\n      className: treeNodePrefixCls + '-entity-type-list-constent-item',\n      onClick: function onClick(e) {\n        return handleItemClick(e, item);\n      }\n    }, item.name);\n  })));\n};\n\n//# sourceURL=webpack://entity-designer/./src/controls/Tree/treeNode.tsx?");

/***/ }),

/***/ 6660:
/*!*****************************************!*\
  !*** ./src/controls/Tree/treeUtils.tsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   addKeys: function() { return /* binding */ addKeys; },\n/* harmony export */   allChildChecked: function() { return /* binding */ allChildChecked; },\n/* harmony export */   buildTree: function() { return /* binding */ buildTree; },\n/* harmony export */   compDefaultProps: function() { return /* binding */ compDefaultProps; },\n/* harmony export */   delKey: function() { return /* binding */ delKey; },\n/* harmony export */   flatMap: function() { return /* binding */ flatMap; },\n/* harmony export */   flattenAll: function() { return /* binding */ flattenAll; },\n/* harmony export */   getAllChildKeys: function() { return /* binding */ getAllChildKeys; },\n/* harmony export */   getAllNodeKeys: function() { return /* binding */ getAllNodeKeys; },\n/* harmony export */   getAllParentKeys: function() { return /* binding */ getAllParentKeys; },\n/* harmony export */   getAllParentPos: function() { return /* binding */ getAllParentPos; },\n/* harmony export */   getChecked: function() { return /* binding */ getChecked; },\n/* harmony export */   getCompProps: function() { return /* binding */ getCompProps; },\n/* harmony export */   getDataCheckededState: function() { return /* binding */ getDataCheckededState; },\n/* harmony export */   getDataCheckededStateStrictly: function() { return /* binding */ getDataCheckededStateStrictly; },\n/* harmony export */   getExpand: function() { return /* binding */ getExpand; },\n/* harmony export */   getExpandedKeys: function() { return /* binding */ getExpandedKeys; },\n/* harmony export */   getFilterData: function() { return /* binding */ getFilterData; },\n/* harmony export */   getHalfChecked: function() { return /* binding */ getHalfChecked; },\n/* harmony export */   getInitCheckedKeys: function() { return /* binding */ getInitCheckedKeys; },\n/* harmony export */   getInitCheckededState: function() { return /* binding */ getInitCheckededState; },\n/* harmony export */   getInitExpandedKeys: function() { return /* binding */ getInitExpandedKeys; },\n/* harmony export */   getMaxLevel: function() { return /* binding */ getMaxLevel; },\n/* harmony export */   getNextSelectedId: function() { return /* binding */ getNextSelectedId; },\n/* harmony export */   getPos: function() { return /* binding */ getPos; },\n/* harmony export */   getPrefixCls: function() { return /* binding */ getPrefixCls; },\n/* harmony export */   getRootKeys: function() { return /* binding */ getRootKeys; },\n/* harmony export */   getSelected: function() { return /* binding */ getSelected; },\n/* harmony export */   getSpreadAttrData: function() { return /* binding */ getSpreadAttrData; },\n/* harmony export */   hasChildCheckState: function() { return /* binding */ hasChildCheckState; },\n/* harmony export */   hasParentChecked: function() { return /* binding */ hasParentChecked; },\n/* harmony export */   isAllParentExpand: function() { return /* binding */ isAllParentExpand; },\n/* harmony export */   isChild: function() { return /* binding */ isChild; },\n/* harmony export */   isChildNode: function() { return /* binding */ isChildNode; },\n/* harmony export */   isParentNode: function() { return /* binding */ isParentNode; },\n/* harmony export */   transformTree: function() { return /* binding */ transformTree; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/last-index-of */ 96432);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/starts-with */ 49464);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/every */ 30479);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ 88836);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ 5848);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_31___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_31__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_32__);\n\n\n\n\nvar _excluded = [\"children\", \"title\", \"key\"],\n  _excluded2 = [\"title\", \"key\", \"icon\", \"disabled\", \"checkable\", \"pos\", \"level\", \"hasChildNode\", \"selectable\"];\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_4___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_5___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context8; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_7___default()(_context8 = Object.prototype.toString.call(o)).call(_context8, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_9___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_10___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_10___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_12___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context6, _context7; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(_context6 = ownKeys(Object(t), !0)).call(_context6, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_14___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_15___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_14___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(_context7 = ownKeys(Object(t))).call(_context7, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_12___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * 打平所有数组，并添加pos位置信息，\n * 方便根据expandKeys等计算节点的expand，checkedKeys计算节点checked状态\n * @param treeData [{key:'',title:'',children:[]}]\n * @param newTreeData[{key:'',title:'',children:[], pos:'', hasChildNode, level}]\n * @param level\n * @param pos\n */\nvar flattenAll = function flattenAll(treeData) {\n  var newTreeData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var level = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n  var pos = arguments.length > 3 ? arguments[3] : undefined;\n  treeData && _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(treeData).call(treeData, function (item, index) {\n    var _context;\n    var children = item.children,\n      title = item.title,\n      key = item.key,\n      others = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(item, _excluded);\n    var _pos = pos ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context = \"\".concat(pos, \"-\")).call(_context, index) : \"\".concat(index);\n    var hasChildNode = children && children instanceof Array && children.length > 0;\n    newTreeData.push(_objectSpread({\n      title: title,\n      key: key,\n      pos: _pos,\n      hasChildNode: hasChildNode,\n      level: level\n    }, others));\n    var _level = level;\n    _level++;\n    flattenAll(children, newTreeData, _level, _pos);\n  });\n  return newTreeData;\n};\nvar getExpand = function getExpand(expandedKeys, key) {\n  return expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(expandedKeys).call(expandedKeys, key);\n};\nvar getChecked = function getChecked(checkedKeys, key) {\n  return checkedKeys === null || checkedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(checkedKeys).call(checkedKeys, key);\n};\nvar getSelected = function getSelected(selectedKeys, key) {\n  return selectedKeys === null || selectedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(selectedKeys).call(selectedKeys, key);\n};\nvar getHalfChecked = function getHalfChecked(halfCheckedKeys, key) {\n  return halfCheckedKeys === null || halfCheckedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(halfCheckedKeys).call(halfCheckedKeys, key);\n};\n\n/**\n * 获取所有层级的父节点\n * @param data\n * @param pos\n */\nvar isAllParentExpand = function isAllParentExpand(data, pos) {\n  var expand = true;\n  while (_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-') > -1 && expand) {\n    pos = pos.substring(0, _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-'));\n    var parentNode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default()(data).call(data, function (item) {\n      return item.pos === pos;\n    });\n    expand = parentNode === null || parentNode === void 0 ? void 0 : parentNode.expand;\n  }\n  return expand;\n};\nvar getFilterData = function getFilterData(data) {\n  var newData = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n    var pos = item.pos;\n    var parentExpand = isAllParentExpand(data, pos);\n    if (parentExpand) {\n      newData.push(item);\n    }\n  });\n  return newData;\n};\nvar hasParentChecked = function hasParentChecked(data, checkedKeys) {\n  var pos = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  var checked = false;\n  while (_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-') > -1 && !checked) {\n    pos = pos.substring(0, _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-'));\n    var parentNode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default()(data).call(data, function (item) {\n      return item.pos === pos;\n    });\n    checked = getChecked(checkedKeys, parentNode.key);\n  }\n  return checked;\n};\nvar isChild = function isChild(itemPos, pos, condition) {\n  var index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21___default()(itemPos).call(itemPos, pos);\n  var str = itemPos.substr(index + pos.length, 1);\n  if (_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_22___default()(itemPos).call(itemPos, pos) && str === '-' && condition) {\n    return true;\n  }\n  return false;\n};\nvar hasChildCheckState = function hasChildCheckState(data, halfCheckedKeys, checkedKeys, pos, level) {\n  var isInit = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : false;\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(data).call(data, function (item) {\n    if (isInit) {\n      return isChild(item.pos, pos, pos !== item.pos);\n    }\n    return isChild(item.pos, pos, level === item.level - 1);\n  });\n  var childNodesCheckedState = [];\n  var childNodesHalfCheckedState = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(childNodes).call(childNodes, function (item) {\n    childNodesCheckedState.push(getChecked(checkedKeys, item.key));\n    childNodesHalfCheckedState.push(getChecked(halfCheckedKeys, item.key));\n  });\n  var checked = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default()(childNodesCheckedState).call(childNodesCheckedState, function (item) {\n    return item === true;\n  });\n  var halfChecked = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default()(childNodesHalfCheckedState).call(childNodesHalfCheckedState, function (item) {\n    return item === true;\n  });\n  return {\n    checked: checked,\n    halfChecked: halfChecked\n  };\n};\nvar allChildChecked = function allChildChecked(data, checkedKeys, pos, level, init) {\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(data).call(data, function (item) {\n    if (init) {\n      return isChild(item.pos, pos, pos !== item.pos);\n    }\n    return isChild(item.pos, pos, level === item.level - 1);\n  });\n  var childNodesCheckedState = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(childNodes).call(childNodes, function (item) {\n    childNodesCheckedState.push(getChecked(checkedKeys, item.key));\n  });\n  var checked = _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_24___default()(childNodesCheckedState).call(childNodesCheckedState, function (item) {\n    return item === true;\n  });\n  return checked;\n};\nvar getMaxLevel = function getMaxLevel(data) {\n  var maxLevel = 0;\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n    maxLevel = item.level > maxLevel ? item.level : maxLevel;\n  });\n  return maxLevel;\n};\n/**\n *计算node的属性后返回新的 treedata\n * @param treeData  打平后的treeData [{key:'',title:'',children:[], pos:''}]\n * @param defaultExpandRoot\n * @param expandedKeys\n * @param defaultExpandAll\n */\nvar getSpreadAttrData = function getSpreadAttrData(treeData, expandedKeys) {\n  var newTreeData = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(treeData).call(treeData, function (item) {\n    var title = item.title,\n      key = item.key,\n      icon = item.icon,\n      disabled = item.disabled,\n      checkable = item.checkable,\n      pos = item.pos,\n      level = item.level,\n      hasChildNode = item.hasChildNode,\n      selectable = item.selectable,\n      others = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(item, _excluded2);\n    var itemExpand = getExpand(expandedKeys, key);\n    var expand = itemExpand || false;\n    newTreeData.push(_objectSpread({\n      title: title,\n      key: key,\n      level: level,\n      pos: pos,\n      hasChildNode: hasChildNode,\n      expand: expand,\n      icon: icon,\n      disabled: disabled,\n      checkable: checkable,\n      selectable: selectable\n    }, others));\n  });\n  return newTreeData;\n};\nvar addKeys = function addKeys() {\n  var _context2;\n  var prevKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var newKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(prevKeys), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(newKeys))));\n};\nvar getAllParentKeys = function getAllParentKeys(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var keys = [];\n  while (_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-') > -1) {\n    pos = pos.substring(0, _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-'));\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n      if (item.pos === pos) {\n        keys.push(item.key);\n      }\n    });\n  }\n  return keys;\n};\nvar getAllParentPos = function getAllParentPos(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var posArr = [];\n  while (_babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-') > -1) {\n    pos = pos.substring(0, _babel_runtime_corejs3_core_js_stable_instance_last_index_of__WEBPACK_IMPORTED_MODULE_19___default()(pos).call(pos, '-'));\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n      if (item.pos === pos) {\n        posArr.push(item.pos);\n      }\n    });\n  }\n  return posArr;\n};\nvar getAllChildKeys = function getAllChildKeys(data) {\n  var pos = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var keys = [];\n  var childNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(data).call(data, function (item) {\n    return isChild(item.pos, pos, pos !== item.pos);\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(childNodes).call(childNodes, function (item) {\n    keys.push(item.key);\n  });\n  return keys;\n};\nvar getPos = function getPos(data, key) {\n  var node = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default()(data).call(data, function (item) {\n    return item.key === key;\n  });\n  return node === null || node === void 0 ? void 0 : node.pos;\n};\nvar getInitCheckedKeys = function getInitCheckedKeys(data, keys) {\n  var _context3;\n  var checkedKeys = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(keys).call(keys, function (item) {\n    var pos = getPos(data, item);\n    checkedKeys.push.apply(checkedKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(getAllChildKeys(data, pos)));\n  });\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context3 = []).call(_context3, checkedKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(keys))));\n};\nvar getInitCheckededState = function getInitCheckededState(data) {\n  var checkedKeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var maxLevel = arguments.length > 2 ? arguments[2] : undefined;\n  var init = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(checkedKeys);\n  var _halfCheckedKeys = [];\n  var _loop = function _loop(i) {\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n      if (item.level === i) {\n        var selfChecked = getChecked(_checkedKeys, item.key);\n        var _hasChildCheckState = item.hasChildNode && hasChildCheckState(data, _halfCheckedKeys, _checkedKeys, item.pos, item.level, init);\n        var _allChildChecked = item.hasChildNode && allChildChecked(data, _checkedKeys, item.pos, item.level, init);\n        var _hasChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.checked;\n        var _hasHalfChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.halfChecked;\n        var _hasParentChecked = hasParentChecked(data, checkedKeys, item.pos);\n        var checked = selfChecked || _hasParentChecked || _allChildChecked;\n        if (checked) {\n          _checkedKeys.push(item.key);\n        }\n        var halfChecked = (_hasChildChecked || _hasHalfChildChecked) && !checked;\n        if (halfChecked) {\n          _halfCheckedKeys.push(item.key);\n        }\n      }\n    });\n  };\n  for (var i = maxLevel; i >= 0; i--) {\n    _loop(i);\n  }\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_checkedKeys)),\n    halfCheckedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_halfCheckedKeys))\n  };\n};\nvar getDataCheckededState = function getDataCheckededState(data, checkedKeys, halfCheckedKeys, maxLevel) {\n  var init = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n  var pos = arguments.length > 5 ? arguments[5] : undefined;\n  var value = arguments.length > 6 ? arguments[6] : undefined;\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(checkedKeys);\n  var _halfCheckedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(halfCheckedKeys);\n  var _loop2 = function _loop2(i) {\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n      var selfChecked = getChecked(_checkedKeys, item.key);\n      var selfHalfChecked = getChecked(_halfCheckedKeys, item.key);\n      var _allChildChecked = item.hasChildNode && allChildChecked(data, _checkedKeys, item.pos, item.level, false);\n      var _hasChildCheckState = item.hasChildNode && hasChildCheckState(data, _halfCheckedKeys, _checkedKeys, item.pos, item.level, init);\n      var _hasChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.checked;\n      var _hasHalfChildChecked = _hasChildCheckState === null || _hasChildCheckState === void 0 ? void 0 : _hasChildCheckState.halfChecked;\n      if (item.level === i) {\n        if (item.disabled) return; // 节点被禁用\n        if (value) {\n          if (!selfChecked) {\n            if (isParentNode(item.pos, pos)) {\n              _checkedKeys.push(item.key);\n              _halfCheckedKeys = delKey(_halfCheckedKeys, [item.key]);\n            } else if (isChildNode(item.pos, pos)) {\n              if (_allChildChecked) {\n                _checkedKeys.push(item.key);\n              } else if (_hasChildChecked || _hasHalfChildChecked) {\n                _halfCheckedKeys.push(item.key);\n              }\n            }\n          }\n        } else {\n          if (selfChecked) {\n            if (isParentNode(item.pos, pos)) {\n              _checkedKeys = delKey(_checkedKeys, [item.key]);\n            } else if (isChildNode(item.pos, pos)) {\n              if (!_allChildChecked && (_hasChildChecked || _hasHalfChildChecked)) {\n                _halfCheckedKeys.push(item.key);\n              }\n              _checkedKeys = delKey(_checkedKeys, [item.key]);\n            }\n          } else if (selfHalfChecked) {\n            if (!_hasChildChecked && !_hasHalfChildChecked) {\n              _halfCheckedKeys = delKey(_halfCheckedKeys, [item.key]);\n            }\n          }\n        }\n      }\n    });\n  };\n  for (var i = maxLevel; i >= 0; i--) {\n    _loop2(i);\n  }\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_checkedKeys)),\n    halfCheckedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_halfCheckedKeys))\n  };\n};\nvar getDataCheckededStateStrictly = function getDataCheckededStateStrictly(checkedKeys) {\n  var _checkedKeys = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(checkedKeys);\n  return {\n    checkedKeys: _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())(_checkedKeys)),\n    halfCheckedKeys: []\n  };\n};\nvar isChildNode = function isChildNode(pos, childPos) {\n  return isChild(childPos, pos, pos !== childPos);\n};\nvar isParentNode = function isParentNode(pos, childPos) {\n  return isChildNode(childPos, pos);\n};\nvar delKey = function delKey(prevKeys, delKeys) {\n  var keys = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([], prevKeys);\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(delKeys).call(delKeys, function (item) {\n    var index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21___default()(keys).call(keys, item);\n    index > -1 && _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_26___default()(keys).call(keys, index, 1);\n  });\n  return keys;\n};\nvar getAllNodeKeys = function getAllNodeKeys(data) {\n  var keys = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n    keys.push(item.key);\n  });\n  return keys;\n};\nvar getRootKeys = function getRootKeys(data) {\n  var rootKey = '';\n  var NO_ROOT = undefined;\n  var firstLevelNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(data).call(data, function (item) {\n    var _item$pos;\n    return ((_item$pos = item.pos) === null || _item$pos === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_21___default()(_item$pos).call(_item$pos, '-')) === -1;\n  });\n  if (firstLevelNodes.length > 1) return NO_ROOT;\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(data).call(data, function (item) {\n    if (item.pos === '0') {\n      rootKey = item.key;\n    }\n  });\n  return rootKey;\n};\nvar getInitExpandedKeys = function getInitExpandedKeys(data, expandedKeys, defaultExpandedKeys, defaultExpandAll, defaultExpandRoot, defaultExpandParent) {\n  var expandScrollkeys = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : [];\n  var keys = (expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(expandedKeys).call(expandedKeys, expandScrollkeys)) || (defaultExpandedKeys === null || defaultExpandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(defaultExpandedKeys).call(defaultExpandedKeys, expandScrollkeys)) || [];\n  if (defaultExpandAll) {\n    keys = getAllNodeKeys(data);\n  } else {\n    if (defaultExpandRoot) {\n      var rootKey = getRootKeys(data);\n      if (rootKey) {\n        keys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(keys).call(keys, rootKey);\n      }\n    }\n    if (defaultExpandParent) {\n      var parentKeys = [];\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(keys).call(keys, function (key) {\n        parentKeys.push.apply(parentKeys, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(getAllParentKeys(data, key)));\n      });\n      keys = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(keys).call(keys, parentKeys);\n    }\n  }\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(keys)));\n};\nvar getExpandedKeys = function getExpandedKeys(expandedKeys) {\n  var expandScrollkeys = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var keys = (expandedKeys === null || expandedKeys === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(expandedKeys).call(expandedKeys, expandScrollkeys)) || [];\n  return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_25___default())((0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(keys)));\n};\nvar compDefaultProps = {\n  Tree: {\n    defaultExpandAll: false,\n    defaultExpandRoot: false,\n    checkable: false,\n    checkStrictly: false,\n    disabled: false,\n    draggable: false,\n    virtual: true,\n    switcherIcon: function switcherIcon() {\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_32___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_31__.Icon, {\n        type: \"arrow-right-solid\"\n      });\n    }\n  },\n  TreeNode: {}\n};\nvar getCompProps = function getCompProps(compName, userDefaultProps, compProps) {\n  var defaultProps = compDefaultProps[compName];\n  var userProps = userDefaultProps && userDefaultProps[compName] || {};\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, defaultProps, userProps, compProps || {});\n};\nvar getPrefixCls = function getPrefixCls(configPrefixCls, suffixCls, customizePrefixCls) {\n  var _context4;\n  // 获取样式前缀方法\n  if (customizePrefixCls) return customizePrefixCls;\n  configPrefixCls = configPrefixCls || 'kd';\n  var t = suffixCls ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context4 = \"\".concat(configPrefixCls, \"-\")).call(_context4, suffixCls) : configPrefixCls;\n  return t;\n};\nfunction flatMap(array, callback) {\n  var result = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_13___default()(array).call(array, function (value, index) {\n    result.push.apply(result, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(callback(value, index, array)));\n  });\n  return result;\n}\n\n/**\n * 根据 idProp 与 parentIdProp 从对象数组中构建对应的树\n * 当 A[parentIdProp] === B[idProp] 时，对象A会被移动到对象B的children。\n * 当一个对象的 parentIdProp 不与其他对象的 idProp 字段相等时，该对象被作为树的顶层节点\n * @example\n * const array = [\n *   { id: 'node-1', parent: 'root' },\n *   { id: 'node-2', parent: 'root' },\n *   { id: 'node-3', parent: 'node-2' },\n *   { id: 'node-4', parent: 'node-2' },\n *   { id: 'node-5', parent: 'node-4' },\n * ]\n * const tree = buildTree('id', 'parent', array)\n * expect(tree).toEqual([\n *   { id: 'node-1', parent: 'root' },\n *   {\n *     id: 'node-2',\n *     parent: 'root',\n *     children: [\n *       { id: 'node-3', parent: 'node-2' },\n *       {\n *         id: 'node-4',\n *         parent: 'node-2',\n *         children: [{ id: 'node-5', parent: 'node-4' }],\n *       },\n *     ],\n *   },\n * ])\n */\n\nfunction buildTree(idProp, parentIdProp, items) {\n  var _context5;\n  var wrapperMap = new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_27___default())();\n  var ensure = function ensure(id) {\n    if (wrapperMap.has(id)) {\n      return wrapperMap.get(id);\n    }\n    var wrapper = {\n      id: id,\n      parent: null,\n      item: null,\n      children: []\n    };\n    wrapperMap.set(id, wrapper);\n    return wrapper;\n  };\n  var _iterator = _createForOfIteratorHelper(items),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var item = _step.value;\n      var parentWrapper = ensure(item[parentIdProp]);\n      var itemWrapper = ensure(item[idProp]);\n      itemWrapper.parent = parentWrapper;\n      parentWrapper.children.push(itemWrapper);\n      itemWrapper.item = item;\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  var topLevelWrappers = flatMap(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(_context5 = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_8___default()(_babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_28___default()(wrapperMap).call(wrapperMap))).call(_context5, function (wrapper) {\n    return wrapper.parent == null;\n  }), function (wrapper) {\n    return wrapper.children;\n  });\n  return unwrapRecursively(topLevelWrappers);\n  function unwrapRecursively(wrapperArray) {\n    var result = [];\n    var _iterator2 = _createForOfIteratorHelper(wrapperArray),\n      _step2;\n    try {\n      for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n        var wrapper = _step2.value;\n        if (wrapper.children.length === 0) {\n          result.push(wrapper.item);\n        } else {\n          result.push(_objectSpread(_objectSpread({}, wrapper.item), {}, {\n            children: unwrapRecursively(wrapper.children)\n          }));\n        }\n      }\n    } catch (err) {\n      _iterator2.e(err);\n    } finally {\n      _iterator2.f();\n    }\n    return result;\n  }\n}\nfunction transformTree(items) {\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_29___default()(items).call(items, function (item, index) {\n    return _objectSpread(_objectSpread({}, item), {}, {\n      key: item === null || item === void 0 ? void 0 : item.Id,\n      title: item === null || item === void 0 ? void 0 : item.Name\n    });\n  });\n}\nfunction getNextSelectedId(flatTreeData, id) {\n  //1.获取当前节点\n  var currentNode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default()(flatTreeData).call(flatTreeData, function (item) {\n    return (item === null || item === void 0 ? void 0 : item.Id) === id;\n  });\n  //2.获取父节点\n  var parentNode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_20___default()(flatTreeData).call(flatTreeData, function (item) {\n    return (item === null || item === void 0 ? void 0 : item.Id) === (currentNode === null || currentNode === void 0 ? void 0 : currentNode.ParentId);\n  });\n  //3.获取全部的兄弟节点\n  var allSubNode = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(flatTreeData).call(flatTreeData, function (item) {\n    return (item === null || item === void 0 ? void 0 : item.ParentId) === (parentNode === null || parentNode === void 0 ? void 0 : parentNode.Id);\n  });\n  //4.获取当前节点所在的顺序\n  var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_30___default()(allSubNode).call(allSubNode, function (item) {\n    return (item === null || item === void 0 ? void 0 : item.Id) === id;\n  });\n  //5.获取前面的节点\n  var prevNode = allSubNode[index - 1];\n  //6.获取后面的节点\n  var nextNode = allSubNode[index + 1];\n  if (prevNode) {\n    return prevNode.Id;\n  } else if (nextNode) {\n    return nextNode.Id;\n  } else if (parentNode) {\n    return parentNode.Id;\n  } else {\n    return id;\n  }\n}\n\n//# sourceURL=webpack://entity-designer/./src/controls/Tree/treeUtils.tsx?");

/***/ }),

/***/ 82684:
/*!*******************************!*\
  !*** ./src/controls/index.ts ***!
  \*******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ContextMenu: function() { return /* reexport safe */ _ContextMenu__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; },\n/* harmony export */   EntityNode: function() { return /* reexport safe */ _EntityNode__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   FieldNode: function() { return /* reexport safe */ _FieldNode__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; },\n/* harmony export */   ListTable: function() { return /* reexport safe */ _ListTable__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; },\n/* harmony export */   ListTree: function() { return /* reexport safe */ _ListTree__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */   NavToolBar: function() { return /* reexport safe */ _NavToolBar__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; },\n/* harmony export */   NavToolBarRight: function() { return /* reexport safe */ _NavToolBarRight__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */   OperationBtns: function() { return /* reexport safe */ _OperationBtns__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */   SearchBox: function() { return /* reexport safe */ _SearchBox__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; }\n/* harmony export */ });\n/* harmony import */ var _ContextMenu__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ContextMenu */ 45780);\n/* harmony import */ var _EntityNode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./EntityNode */ 29488);\n/* harmony import */ var _FieldNode__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./FieldNode */ 72492);\n/* harmony import */ var _ListTable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ListTable */ 87432);\n/* harmony import */ var _ListTree__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ListTree */ 86932);\n/* harmony import */ var _NavToolBar__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./NavToolBar */ 5660);\n/* harmony import */ var _NavToolBarRight__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./NavToolBarRight */ 20792);\n/* harmony import */ var _OperationBtns__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./OperationBtns */ 5504);\n/* harmony import */ var _SearchBox__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./SearchBox */ 14284);\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://entity-designer/./src/controls/index.ts?");

/***/ }),

/***/ 3408:
/*!***************************************!*\
  !*** ./src/editors/ecombo-editor.tsx ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__);\n/*\n * @Description: 属性关联编辑器\n */\n\n\n\nvar METATYPE = 'entitymeta';\nvar EComboEditor = function EComboEditor(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getDataRef = _useContext.getDataRef,\n    getModel = _useContext.getModel,\n    getKdesignerApi = _useContext.getKdesignerApi;\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.createEComboEditor)({\n    getDataRef: getDataRef,\n    getModel: getModel,\n    getKdesignerApi: getKdesignerApi,\n    metaType: METATYPE\n  })(props);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EComboEditor);\n\n//# sourceURL=webpack://entity-designer/./src/editors/ecombo-editor.tsx?");

/***/ }),

/***/ 58036:
/*!******************************!*\
  !*** ./src/editors/index.ts ***!
  \******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _ecombo_editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ecombo-editor */ 3408);\n/* harmony import */ var _refcombo_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./refcombo-editor */ 41328);\n/* harmony import */ var _refmcombo_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./refmcombo-editor */ 28052);\n/* harmony import */ var _input_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./input-editor */ 79324);\n/* harmony import */ var _select_editor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./select-editor */ 7276);\n/* harmony import */ var _ref_edit_btn_editor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ref-edit-btn-editor */ 77436);\n/*\n * @Description: 业务属性编辑器\n */\n\n\n\n\n\n\nvar getPropertyEditors = function getPropertyEditors() {\n  return [['ECombo', _ecombo_editor__WEBPACK_IMPORTED_MODULE_0__[\"default\"], ''], ['RefCombo', _refcombo_editor__WEBPACK_IMPORTED_MODULE_1__.RefComboEditor, ''], ['RefMCombo', _refmcombo_editor__WEBPACK_IMPORTED_MODULE_2__.RefMComboEditor, ''], ['Input', _input_editor__WEBPACK_IMPORTED_MODULE_3__[\"default\"], ''], ['Select', _select_editor__WEBPACK_IMPORTED_MODULE_4__[\"default\"], ''], ['RefEditBtn', _ref_edit_btn_editor__WEBPACK_IMPORTED_MODULE_5__[\"default\"], '']];\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (getPropertyEditors);\n\n//# sourceURL=webpack://entity-designer/./src/editors/index.ts?");

/***/ }),

/***/ 79324:
/*!**************************************!*\
  !*** ./src/editors/input-editor.tsx ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\nvar EComboEditor = function EComboEditor(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi;\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.createInputEditor)({\n    editorComponent: _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.Input,\n    getKdesignerApi: getKdesignerApi\n  })(props);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EComboEditor);\n\n//# sourceURL=webpack://entity-designer/./src/editors/input-editor.tsx?");

/***/ }),

/***/ 77436:
/*!*********************************************!*\
  !*** ./src/editors/ref-edit-btn-editor.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../kd-designer/index */ 80143);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../context */ 90115);\n\n\n\n\n\n\n/*\n * @Description:\n * @Author: yingjin_he\n * @Date: 2023-04-24 19:57:59\n * @LastEditTime: 2023-04-24 14:57:27\n * @Last Modified by: yingjin_he\n */\n\n\n\n\n\nvar RefEditBtn = function RefEditBtn(props) {\n  var handleChange = props.handleChange,\n    _onCustomInputClick = props.onCustomInputClick,\n    value = props.value,\n    className = props.className,\n    locked = props.locked,\n    Editor = props.Editor,\n    propName = props.Name,\n    field = props.field,\n    propId = props.Id,\n    tips = props.Tips,\n    readOnly = props.ReadOnly,\n    dataContext = props.dataContext,\n    id = props.id;\n  var nameHidden = Editor.NameHidden,\n    MaxLength = Editor.MaxLength,\n    Min = Editor.Min,\n    Max = Editor.Max,\n    required = Editor.Required,\n    type = Editor.Type,\n    placeholder = Editor.Placeholder,\n    autoSize = Editor.AutoSize,\n    count = Editor.Count,\n    countPosition = Editor.CountPosition,\n    canResize = Editor.CanResize,\n    Apply = Editor.Apply,\n    RefId = Editor.RefId;\n  var fieldType = field._Type_,\n    _field$Inherit = field.Inherit,\n    Inherit = _field$Inherit === void 0 ? false : _field$Inherit;\n  var _Apply$Allowinheritre = Apply.Allowinheritref,\n    Allowinheritref = _Apply$Allowinheritre === void 0 ? true : _Apply$Allowinheritre;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.GlobalConfigContext),\n    setMessage = _useContext.showMessage,\n    onCustomInputClick = _useContext.onCustomInputClick,\n    controlsAddedByForntEnd = _useContext.controlsAddedByForntEnd;\n  // 系统参数\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useContext)(_context__WEBPACK_IMPORTED_MODULE_10__.DesignerContext),\n    config = _useContext2.config;\n  var title = MaxLength ? \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)({\n    key: 'entityd.refEditBtnEditor.key0001',\n    variables: {\n      MaxLength: MaxLength\n    }\n  })) : '';\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(value || ''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    isFocused = _useState4[0],\n    setIsFocused = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    refValue = _useState6[0],\n    setRefValue = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)('entityd.refEditBtnEditor.key0002')),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState7, 2),\n    refTips = _useState8[0],\n    setRefTips = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_6__.useState)(false),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState9, 2),\n    enableQuote = _useState10[0],\n    setEnableQuote = _useState10[1];\n  // 模式1，即可以输入也可以点击右侧图标、模式2，只能点击右侧图标，不允许输入。模式3，只能输入\n  var kdesignerRefType = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)((config === null || config === void 0 ? void 0 : config.kdesignerRefType) || '1');\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_6__.useRef)(null);\n\n  // 更新设计器属性值 key为属性id，value为属性值。\n  var updateDataValue = function updateDataValue(key, value) {\n    dataContext.batchUpdateControlPropertyValues((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.createUpdateAction)([[id, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, key, value)]]));\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    // Allowinheritref 是控制是否需要判断继承字段是否生效，false是需要判断，true是不需要判断\n    // Inherit 继承字段\n    if (Allowinheritref || !Inherit) {\n      var _context;\n      // 是否生效引用类型，如果没有传appIy默认生效，传了就判断是否包含该字段\n      var isEnableQuote = Apply ? _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_context = Apply.Field).call(_context, fieldType) : true;\n      var isEnableType = kdesignerRefType.current !== '3';\n      setEnableQuote(isEnableQuote && isEnableType);\n    } else {\n      // 继承字段不生效\n      setEnableQuote(false);\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    if (!isFocused && value !== innerValue) {\n      setInnerValue(value);\n    }\n  }, [value, isFocused, innerValue]);\n\n  // 监听引用属性的变化\n  (0,react__WEBPACK_IMPORTED_MODULE_6__.useEffect)(function () {\n    var newRefValue = field[RefId];\n    if (newRefValue !== refValue) {\n      setRefValue(newRefValue);\n      if (newRefValue) {\n        var newRefField = JSON.parse(newRefValue);\n        setRefTips(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)({\n          key: 'entityd.refEditBtnEditor.key0003',\n          variables: {\n            Name: newRefField === null || newRefField === void 0 ? void 0 : newRefField.Name,\n            Key: newRefField === null || newRefField === void 0 ? void 0 : newRefField.Key\n          }\n        })));\n        // controlsAddedByForntEnd中排除已引用的字段，确保删除这个字段时，触发deleteConfirm请求\n        var delIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default()(controlsAddedByForntEnd).call(controlsAddedByForntEnd, function (controlsId) {\n          return controlsId === id;\n        });\n        _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_4___default()(controlsAddedByForntEnd).call(controlsAddedByForntEnd, delIndex, 1);\n      } else {\n        setRefTips((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)('entityd.refEditBtnEditor.key0002'));\n      }\n    }\n  }, [field[RefId]]);\n  var delayUpdateValue = function delayUpdateValue(val) {\n    if (val === value) return;\n    // 防抖\n    clearTimeout(timer.current);\n    timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default()(function () {\n      handleChange(val);\n    }, 300);\n  };\n  var onChange = function onChange(e) {\n    var _e$target;\n    var inputValue = ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) || '';\n    setInnerValue(inputValue);\n    delayUpdateValue(inputValue);\n  };\n  var onKeyDown = function onKeyDown(e) {\n    if (e.keyCode === 13) {\n      onBlur(e);\n    }\n  };\n  var onFocus = function onFocus() {\n    setIsFocused(true);\n  };\n  var onBlur = function onBlur(e) {\n    handleChange(e.target.value);\n    _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default()(function () {\n      setIsFocused(false);\n    }, 300);\n  };\n  var onClick = function onClick() {\n    if (locked && !field[RefId]) return;\n    // 实体相关应该在上层自己构造\n    if (_onCustomInputClick) {\n      _onCustomInputClick && _onCustomInputClick(propName, field, Editor);\n    } else {\n      onCustomInputClick && onCustomInputClick(propName, field, Editor);\n    }\n  };\n\n  // 解除引用，清空引用属性值\n  var handleRemoveRef = function handleRemoveRef() {\n    // 解除时给后端发起请求，告诉后端当前解除的id和引用标准字段的值\n    onCustomInputClick && onCustomInputClick(propName, field, Editor, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n      type: 'del'\n    }, RefId, field[RefId]));\n    updateDataValue(RefId, '');\n  };\n\n  // 引用图标\n  var TipIcon = function TipIcon() {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Tooltip, {\n      placement: \"top\",\n      tip: refTips\n    }, refValue ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n      className: \"\".concat(className, \"-quote\")\n    }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)('entityd.refEditBtnEditor.key0004')) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"span\", {\n      className: \"\".concat(className, \"-no-quote\")\n    }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)('entityd.refEditBtnEditor.key0005')));\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement((react__WEBPACK_IMPORTED_MODULE_6___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-flex-center\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_8__.NameTipWrapper, {\n    nameHidden: nameHidden,\n    className: className,\n    name: propName,\n    tips: tips,\n    required: required\n  }), (enableQuote || field[RefId]) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(TipIcon, null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-ref-input\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Input, {\n    ref: inputRef,\n    value: innerValue,\n    disabled: locked && !field[RefId],\n    title: title,\n    maxLength: MaxLength,\n    placeholder: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_7__.getLangMsg)('entityd.refEditBtnEditor.key0006'),\n    borderType: \"bordered\",\n    readOnly: enableQuote && kdesignerRefType.current === '2' || field[RefId] // 生效引用类型，同时模式为2或者引用字段有值时只读\n    ,\n    onKeyDown: onKeyDown,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    onChange: onChange,\n    suffix: (enableQuote || field[RefId]) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: \"\".concat(className, \"-flex-icon\")\n    }, refValue && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(\"div\", {\n      className: \"\".concat(className, \"-clear\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Icon, {\n      type: \"close\",\n      onClick: handleRemoveRef\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_6___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_9__.Icon, {\n      prefix: \"designericon\",\n      style: {\n        cursor: locked && !field[RefId] ? 'not-allowed' : 'pointer'\n      },\n      type: \"gengduo\",\n      onClick: onClick\n    }))\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RefEditBtn);\n\n//# sourceURL=webpack://entity-designer/./src/editors/ref-edit-btn-editor.tsx?");

/***/ }),

/***/ 41328:
/*!*****************************************!*\
  !*** ./src/editors/refcombo-editor.tsx ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RefComboEditor: function() { return /* binding */ RefComboEditor; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__);\n/*\n * 关联属性编辑器\n */\n\n\n\n\nvar RefComboEditor = function RefComboEditor(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.GlobalConfigContext),\n    keywordMapping = _useContext.keywordMapping;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getDataRef = _useContext2.getDataRef,\n    getModel = _useContext2.getModel,\n    getKdesignerApi = _useContext2.getKdesignerApi;\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.createRefComboEditor)({\n    getDataRef: getDataRef,\n    getModel: getModel,\n    getKdesignerApi: getKdesignerApi,\n    keywordMapping: keywordMapping,\n    metaType: 'entitymeta'\n  })(props);\n};\n\n//# sourceURL=webpack://entity-designer/./src/editors/refcombo-editor.tsx?");

/***/ }),

/***/ 28052:
/*!******************************************!*\
  !*** ./src/editors/refmcombo-editor.tsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RefMComboEditor: function() { return /* binding */ RefMComboEditor; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__);\n/*\n * 关联属性编辑器（多选下拉）\n */\n\n\n\n\nvar RefMComboEditor = function RefMComboEditor(props) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.GlobalConfigContext),\n    keywordMapping = _useContext.keywordMapping;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getDataRef = _useContext2.getDataRef,\n    getModel = _useContext2.getModel,\n    getKdesignerApi = _useContext2.getKdesignerApi;\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_2__.createRefComboEditor)({\n    getDataRef: getDataRef,\n    getModel: getModel,\n    getKdesignerApi: getKdesignerApi,\n    keywordMapping: keywordMapping,\n    multiple: true\n  })(props);\n};\n\n//# sourceURL=webpack://entity-designer/./src/editors/refmcombo-editor.tsx?");

/***/ }),

/***/ 7276:
/*!***************************************!*\
  !*** ./src/editors/select-editor.tsx ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar SelectEditor = function SelectEditor(props) {\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_0__.createSelectEditor)({\n    editorComponent: _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Select\n  })(props);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (SelectEditor);\n\n//# sourceURL=webpack://entity-designer/./src/editors/select-editor.tsx?");

/***/ }),

/***/ 8184:
/*!**************************************!*\
  !*** ./src/hooks/useCopyAndPaste.ts ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_0__);\n\nvar COPY_CONTENT_KEY = 'formdesigner.CopyContent';\nvar setCopyContent = function setCopyContent(copyContent) {\n  window.localStorage.setItem(COPY_CONTENT_KEY, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_0___default()(copyContent));\n};\nvar getCopyContent = function getCopyContent() {\n  var copyContent = window.localStorage.getItem(COPY_CONTENT_KEY);\n  if (copyContent) {\n    copyContent = JSON.parse(copyContent);\n  }\n  return copyContent;\n};\nvar useCopyAndPaste = function useCopyAndPaste() {\n  return {\n    setCopyContent: setCopyContent,\n    getCopyContent: getCopyContent\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useCopyAndPaste);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useCopyAndPaste.ts?");

/***/ }),

/***/ 32860:
/*!***************************************!*\
  !*** ./src/hooks/useDataControlId.ts ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _constant_dataAttribute__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constant/dataAttribute */ 53684);\n\n\n\n\n// 控件一旦被载入，就需要赋予该属性：为后续选中查询控件做铺垫\nvar useDataControlId = function useDataControlId(properties) {\n  return (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, _constant_dataAttribute__WEBPACK_IMPORTED_MODULE_2__.dataControlId, properties[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__.ID]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useDataControlId);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useDataControlId.ts?");

/***/ }),

/***/ 83588:
/*!********************************************!*\
  !*** ./src/hooks/useGetControlAllProps.ts ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _useDataControlId__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./useDataControlId */ 32860);\n/* harmony import */ var _useNodeClick__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./useNodeClick */ 56828);\n/* harmony import */ var _useGetProperty__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./useGetProperty */ 91295);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\nvar useGetControlAllProps = function useGetControlAllProps(properties) {\n  var dataControlId = (0,_useDataControlId__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(properties);\n  var onClick = (0,_useNodeClick__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(properties[_constant_propnames__WEBPACK_IMPORTED_MODULE_12__.ID]);\n  var property = (0,_useGetProperty__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(properties);\n  return _objectSpread(_objectSpread({}, dataControlId), {}, {\n    onClick: onClick\n  }, property);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useGetControlAllProps);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useGetControlAllProps.ts?");

/***/ }),

/***/ 91295:
/*!*************************************!*\
  !*** ./src/hooks/useGetProperty.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _constant_propertyMap__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../constant/propertyMap */ 75452);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils */ 63612);\n\n\n\n\n\n\n\nvar useGetAllProperties = function useGetAllProperties(field) {\n  var type = field[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__._TYPE_];\n  var propertyNames = (0,react__WEBPACK_IMPORTED_MODULE_3__.useMemo)(function () {\n    return (0,_utils__WEBPACK_IMPORTED_MODULE_6__.convertToArray)(_constant_propertyMap__WEBPACK_IMPORTED_MODULE_5__[\"default\"][type] || _constant_propertyMap__WEBPACK_IMPORTED_MODULE_5__[\"default\"].UndefinedControl);\n  }, [type]);\n  var properties = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_1___default()(propertyNames).call(propertyNames, function (prev, curr) {\n    var _ref = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2___default()(curr) ? curr : [curr, curr],\n      _ref2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, 2),\n      fieldKey = _ref2[0],\n      mapKey = _ref2[1];\n    if (fieldKey in field) {\n      prev[mapKey] = field[fieldKey];\n    } else {\n      // 取默认值\n      // prev[curr] =\n    }\n    return prev;\n  }, {});\n  properties.isDesigner = true;\n  return properties;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useGetAllProperties);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useGetProperty.ts?");

/***/ }),

/***/ 87060:
/*!***************************************!*\
  !*** ./src/hooks/useKeyboardEvent.ts ***!
  \***************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../constant/keyCode */ 40216);\n/* harmony import */ var _utils_client__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../utils/client */ 77168);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _useCopyAndPaste__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./useCopyAndPaste */ 8184);\n/* harmony import */ var _utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../utils/toolbarUtil */ 51032);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_1___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_2___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_4___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_6___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_7___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_6___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_8___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_4___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar useKeyboardEvent = function useKeyboardEvent(ref, isOutline) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_11__.useContext)(_context__WEBPACK_IMPORTED_MODULE_13__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    invokeAction = _useContext.invokeAction;\n  var kdesignerApi = (0,react__WEBPACK_IMPORTED_MODULE_11__.useMemo)(function () {\n    return getKdesignerApi();\n  }, []);\n  var dataContext = kdesignerApi.data;\n  var selectionContext = kdesignerApi.selection;\n  var rootId = dataContext.getRootId();\n  var getSelection = selectionContext.getSelection,\n    setSelect = selectionContext.setSelect;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_11__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.GlobalConfigContext),\n    showMessage = _useContext2.showMessage,\n    controlsAddedByForntEnd = _useContext2.controlsAddedByForntEnd,\n    canAddHandle = _useContext2.canAddCallback;\n  var _useCopyAndPaste = (0,_useCopyAndPaste__WEBPACK_IMPORTED_MODULE_17__[\"default\"])(),\n    setCopyContent = _useCopyAndPaste.setCopyContent,\n    getCopyContent = _useCopyAndPaste.getCopyContent;\n  var _useContext3 = (0,react__WEBPACK_IMPORTED_MODULE_11__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.DataFactoryContext),\n    metaApi = _useContext3.metaApi;\n  (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n    var mainViewNode = ref.current;\n    if (mainViewNode) {\n      var handleKeyBoardEvent = function handleKeyBoardEvent(event) {\n        if (event.target !== mainViewNode) return;\n        event.stopPropagation();\n        var selection = getSelection();\n        // 删除控件\n        var keyCode = event.keyCode;\n        switch (keyCode) {\n          case _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__[\"default\"].DELETE:\n            {\n              if (selection.length > 0) {\n                var _selection = getSelection();\n                if (_selection.length > 0) {\n                  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_selection).call(_selection, function (id) {\n                    if (rootId !== id) {\n                      (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_18__.deleteControlFn)(id, setSelect, dataContext, controlsAddedByForntEnd, invokeAction, showMessage);\n                    } else {\n                      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('entityd.useKeyBoardEvent.key0001'));\n                    }\n                  });\n                }\n              }\n              break;\n            }\n          case _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__[\"default\"].C:\n            {\n              // 复制\n              if ((0,_utils_client__WEBPACK_IMPORTED_MODULE_15__.isCtrlActive)(event)) {\n                event === null || event === void 0 || event.stopPropagation();\n                var _selection2 = getSelection() || [];\n                if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_selection2).call(_selection2, rootId)) {\n                  showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('entityd.useKeyBoardEvent.key0003'));\n                } else {\n                  var copyContent = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_18__.getCopyControlFn)(_selection2, dataContext);\n                  setCopyContent(copyContent);\n                }\n              }\n              break;\n            }\n          case _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__[\"default\"].V:\n            {\n              // 粘贴\n              if ((0,_utils_client__WEBPACK_IMPORTED_MODULE_15__.isCtrlActive)(event)) {\n                var isRepeat = false;\n                var _copyContent = getCopyContent();\n                if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10___default()(_copyContent)) {\n                  var selectControlsCopy = [];\n                  var firdtIndex = -1;\n                  var containerInfo = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(_copyContent).call(_copyContent, function (control) {\n                    var controlType = control[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__._TYPE_];\n                    var _metaApi$getControlMe = metaApi.getControlMeta(controlType),\n                      _metaApi$getControlMe2 = _metaApi$getControlMe.IsContainer,\n                      IsContainer = _metaApi$getControlMe2 === void 0 ? false : _metaApi$getControlMe2;\n                    return IsContainer;\n                  });\n                  if (containerInfo.length > 0) {\n                    var copyControlNewInfo = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_18__.pasteUtil)(containerInfo[0], dataContext, selectionContext, metaApi, canAddHandle, isRepeat);\n                    if (copyControlNewInfo === false) {\n                      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('entityd.useKeyBoardEvent.key0002'));\n                    } else {\n                      var newControl = copyControlNewInfo.newControl,\n                        index = copyControlNewInfo.index;\n                      selectControlsCopy.push(newControl);\n                      firdtIndex = index;\n                      var containerInfoNewId = newControl.Id;\n                      containerInfoNewId && _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_copyContent).call(_copyContent, function (control) {\n                        var targetKey = control.Key,\n                          targetType = control._Type_;\n                        var targetParentId = control[_constant_propnames__WEBPACK_IMPORTED_MODULE_16__.PARENTID] || rootId;\n                        if (targetParentId === containerInfo[0][_constant_propnames__WEBPACK_IMPORTED_MODULE_16__.ID] && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_19__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_19__.ENTITY_NODE_TYPE, targetType)) {\n                          var _newControl = _objectSpread(_objectSpread({}, control), {}, {\n                            ParentId: containerInfoNewId,\n                            Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createUUid)(),\n                            Key: targetKey + '1',\n                            FieldName: targetKey + '1',\n                            Inherit: false\n                          });\n                          selectControlsCopy.push(_newControl);\n                        }\n                      });\n                    }\n                  } else {\n                    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_copyContent).call(_copyContent, function (control) {\n                      var copyControlNewInfo = (0,_utils_toolbarUtil__WEBPACK_IMPORTED_MODULE_18__.pasteUtil)(control, dataContext, selectionContext, metaApi, canAddHandle, isRepeat);\n                      if (copyControlNewInfo === false) {\n                        showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('entityd.useKeyBoardEvent.key0002'));\n                      } else {\n                        var _newControl2 = copyControlNewInfo.newControl,\n                          _index = copyControlNewInfo.index;\n                        selectControlsCopy.push(_newControl2);\n                        firdtIndex = _index;\n                      }\n                    });\n                  }\n                  var rest = {\n                    index: firdtIndex\n                  };\n                  dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createPasteAction)(selectControlsCopy, rest));\n                }\n              }\n              break;\n            }\n          case _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__[\"default\"].Z:\n            {\n              // 撤销\n              var canUndo = dataContext.canUndo();\n              if ((0,_utils_client__WEBPACK_IMPORTED_MODULE_15__.isCtrlActive)(event) && canUndo) {\n                dataContext.undo();\n              }\n              break;\n            }\n          case _constant_keyCode__WEBPACK_IMPORTED_MODULE_14__[\"default\"].Y:\n            {\n              // 恢复\n              var canRedo = dataContext.canRedo();\n              if ((0,_utils_client__WEBPACK_IMPORTED_MODULE_15__.isCtrlActive)(event) && canRedo) {\n                dataContext.redo();\n              }\n              break;\n            }\n          default:\n            {\n              break;\n            }\n        }\n      };\n      // const debounceHandleKeyBoardEvent = debounce(handleKeyBoardEvent, 100)\n      var debounceHandleKeyBoardEvent = handleKeyBoardEvent;\n      mainViewNode.addEventListener('keydown', debounceHandleKeyBoardEvent);\n      return function () {\n        mainViewNode.removeEventListener('keydown', debounceHandleKeyBoardEvent);\n      };\n    }\n  }, []);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (useKeyboardEvent);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useKeyboardEvent.ts?");

/***/ }),

/***/ 56828:
/*!***********************************!*\
  !*** ./src/hooks/useNodeClick.ts ***!
  \***********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../context */ 90115);\n\n\n\n// 设计器中的控件点击事件\nvar nodeClick = function nodeClick(id) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_1__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi;\n  var kdesignerApi = getKdesignerApi();\n  var selectionContext = kdesignerApi.selection;\n  var setSelect = selectionContext.setSelect;\n  var onClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    event.stopPropagation();\n    setSelect([id]);\n  }, []);\n  return onClick;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (nodeClick);\n\n//# sourceURL=webpack://entity-designer/./src/hooks/useNodeClick.ts?");

/***/ }),

/***/ 90236:
/*!***********************!*\
  !*** ./src/index.tsx ***!
  \***********************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _views_main_view__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./views/main-view */ 67328);\n/* harmony import */ var _views_right_view__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./views/right-view */ 95957);\n/* harmony import */ var _views_left_view__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./views/left-view */ 79412);\n/* harmony import */ var _utils_transform__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./utils/transform */ 84532);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./context */ 90115);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var _utils_getModelProxy__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./utils/getModelProxy */ 58556);\n/* harmony import */ var _utils_filterProperty__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./utils/filterProperty */ 79148);\n/* harmony import */ var _pre_handle__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./pre-handle */ 85340);\n/* harmony import */ var _editors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./editors */ 58036);\n/* harmony import */ var _views_PropertyView__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./views/PropertyView */ 37796);\n/* harmony import */ var _utils_canAddCallback__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./utils/canAddCallback */ 43660);\n/* harmony import */ var _utils_setProperty__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./utils/setProperty */ 59416);\n/* harmony import */ var resize_observer_polyfill_dist_ResizeObserver_global__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! resize-observer-polyfill/dist/ResizeObserver.global */ 10936);\n/* harmony import */ var resize_observer_polyfill_dist_ResizeObserver_global__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(resize_observer_polyfill_dist_ResizeObserver_global__WEBPACK_IMPORTED_MODULE_32__);\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar DESIGNER_PREFIX_CLS = 'kdesigner-entity-designer';\nvar EntityDesigner = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_16__.memo)( /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_16__.forwardRef)(function (props, forwardedRef) {\n  var _props$meta = props.meta,\n    meta = _props$meta === void 0 ? {} : _props$meta,\n    _props$data = props.data,\n    data = _props$data === void 0 ? {} : _props$data,\n    onData = props.onData,\n    onApi = props.onApi,\n    _props$getPropertyAli = props.getPropertyAliasValue,\n    getPropertyAliasValue = _props$getPropertyAli === void 0 ? function () {\n      return null;\n    } : _props$getPropertyAli,\n    _props$invokeAction = props.invokeAction,\n    _invokeAction = _props$invokeAction === void 0 ? function (actionName, params) {\n      console.log('invokeAction-------', actionName, params);\n    } : _props$invokeAction,\n    _props$showMessage = props.showMessage,\n    showMessage = _props$showMessage === void 0 ? function (msg) {\n      console.log('showMessage-------', msg);\n    } : _props$showMessage,\n    _props$handleCustomIn = props.handleCustomInputEditor,\n    handleCustomInputEditor = _props$handleCustomIn === void 0 ? function () {\n      for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n        args[_key] = arguments[_key];\n      }\n      console.log('handleCustomInputEditor-------', args);\n    } : _props$handleCustomIn,\n    _props$userConfig = props.userConfig,\n    userConfig = _props$userConfig === void 0 ? {\n      showLeftView: false,\n      showKey: true,\n      showType: true,\n      showFullRelationship: false\n    } : _props$userConfig,\n    config = props.config,\n    getLangMsg = props.getLangMsg,\n    lockPropsMap = props.lockPropsMap,\n    designerConfig = props.designerConfig;\n  var kdesignerApi = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)(null);\n  var dataRef = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)(data);\n  var kdesignerRef = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)(null);\n  var userConfigRef = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)(userConfig);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(0),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(_useState, 2),\n    viewKey = _useState2[0],\n    setViewKey = _useState2[1];\n  var kuiConfig = {\n    prefixCls: 'kdesigner'\n  };\n  // const prefixCls = 'entity-designer'\n  var designerPrefixCls = DESIGNER_PREFIX_CLS;\n  var dealMeta = (0,_utils_transform__WEBPACK_IMPORTED_MODULE_22__.adaptorMeta)(meta, data.entitymeta);\n  var adaptedData = (0,_utils_transform__WEBPACK_IMPORTED_MODULE_22__.getAdaptedData)(data);\n  var getViews = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (viewName) {\n    switch (viewName) {\n      case 'main':\n        {\n          return {\n            main: _views_main_view__WEBPACK_IMPORTED_MODULE_19__[\"default\"]\n          };\n        }\n      case 'left':\n        {\n          designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.ControlView.tabName = getLangMsg('entityd.index.key0001');\n          return {\n            rootProperty: _views_left_view__WEBPACK_IMPORTED_MODULE_21__[\"default\"],\n            control: designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.ControlView\n          };\n        }\n      case 'right':\n        {\n          return {\n            rootProperty: _views_right_view__WEBPACK_IMPORTED_MODULE_20__[\"default\"],\n            property: _views_PropertyView__WEBPACK_IMPORTED_MODULE_29__[\"default\"]\n          };\n        }\n      default:\n        {\n          return {};\n        }\n    }\n  }, []);\n  var processPropertyName = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (value) {\n    return value;\n  }, []);\n  var processPropertyValue = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (propName, value, dataContext) {\n    var typeListById = ['KeyFieldId'];\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(typeListById).call(typeListById, propName)) {\n      var fieldInfo = dataContext.findControl(value);\n      return fieldInfo ? fieldInfo._Type_ : value;\n    }\n  }, []);\n  var keywordMapping = {\n    // 所有meta和data属性名大小写默认配置\n    id: 'Id',\n    type: '_Type_',\n    name: 'Name',\n    key: 'Key',\n    parentId: 'ParentId',\n    items: 'Items',\n    fieldType: 'FieldType',\n    fieldName: 'FieldName'\n  };\n  var getEditorFormatValue = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (propName, field, editor) {\n    var aliasApi = kdesignerApi.current.aliasData;\n    var controlType = field[keywordMapping.type];\n    var propVal = field[propName];\n    var defField = field;\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_24__.isUndefined)(propVal)) {\n      var propDefVal = kdesignerApi.current.meta.getControlPropertyDefaultValue(controlType, propName);\n      if (propDefVal) {\n        defField = _objectSpread(_objectSpread({}, field), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__[\"default\"])({}, propName, propDefVal));\n      }\n    }\n    // 这样就不能先get再return了，得用has\n    var timer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n      var _context;\n      // 益嘉有个alias为空的需求/bug 更改\n      var alias = editor.Alias,\n        EmptyDisplay = editor.EmptyDisplay;\n      if (alias && (EmptyDisplay || !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(_context = [undefined, '']).call(_context, defField[propName]))) {\n        getPropertyAliasValue(propName, defField, editor);\n      }\n    });\n    // 如果要让空值走，就不能用get\n    // 这个删不掉, 那就有问题\n    if (aliasApi.hasAliasDataPropValue(controlType, propName, defField[propName])) {\n      var aliasValue = aliasApi.getAliasDataPropValue(controlType, propName, defField[propName]);\n      // 空值也显示，但是得去请求，然后判断不一样就触发state更新\n      if (aliasValue) {\n        clearTimeout(timer);\n      }\n      return aliasValue;\n    }\n  }, [getPropertyAliasValue]);\n  var onCustomInputClick = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (propName, field, editor, other) {\n    var propVal = field[propName];\n    var controlType = field[keywordMapping.type];\n    var defField = field;\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_24__.isUndefined)(propVal)) {\n      var propDefVal = kdesignerApi.current.meta.getControlPropertyDefaultValue(controlType, propName);\n      if (propDefVal) {\n        defField = _objectSpread(_objectSpread({}, field), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_10__[\"default\"])({}, propName, propDefVal));\n      }\n    }\n    handleCustomInputEditor(propName, defField, editor, other);\n  }, [handleCustomInputEditor]);\n  var designerValue = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)({\n    getKdesignerApi: function getKdesignerApi() {\n      return kdesignerApi.current;\n    },\n    getDataRef: function getDataRef() {\n      return dataRef.current;\n    },\n    invokeAction: function invokeAction(actionName, params) {\n      _invokeAction(actionName, params);\n    },\n    prefixCls: 'entity-designer',\n    getPrefixCls: function getPrefixCls(configPrefixCls, suffixCls, customizePrefixCls) {\n      var _context2;\n      // 获取样式前缀方法\n      if (customizePrefixCls) return customizePrefixCls;\n      configPrefixCls = configPrefixCls || 'entity-designer';\n      return suffixCls ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default()(_context2 = \"\".concat(configPrefixCls, \"-\")).call(_context2, suffixCls) : configPrefixCls;\n    },\n    getModel: function getModel() {\n      return (0,_utils_getModelProxy__WEBPACK_IMPORTED_MODULE_25__[\"default\"])(kdesignerApi.current);\n    },\n    userConfig: userConfig,\n    showLockBtn: props.showLockBtn,\n    config: config,\n    onUserConfigChange: onUserConfigChange\n  });\n  var designerContextValue = (0,react__WEBPACK_IMPORTED_MODULE_16__.useMemo)(function () {\n    return _objectSpread({\n      viewKey: viewKey,\n      designerConfig: designerConfig,\n      lockPropsMap: lockPropsMap,\n      changeDesignerView: function changeDesignerView(viewKey) {\n        setViewKey(viewKey);\n      }\n    }, designerValue.current);\n  }, [viewKey, designerConfig, lockPropsMap]);\n  var globalConfig = (0,react__WEBPACK_IMPORTED_MODULE_16__.useMemo)(function () {\n    return {\n      getViews: getViews,\n      processPropertyName: processPropertyName,\n      processPropertyValue: processPropertyValue,\n      keywordMapping: keywordMapping,\n      getEditorFormatValue: getEditorFormatValue,\n      controlViewMode: 'horizontal',\n      showMessage: showMessage,\n      onCustomInputClick: onCustomInputClick,\n      designerContextValue: designerContextValue,\n      filterProperty: function filterProperty(field, propMeta) {\n        return (0,_utils_filterProperty__WEBPACK_IMPORTED_MODULE_26__[\"default\"])(designerContextValue.getModel, designerContextValue.getKdesignerApi)(field, propMeta);\n      },\n      preHandle: function preHandle() {\n        for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n          args[_key2] = arguments[_key2];\n        }\n        return _pre_handle__WEBPACK_IMPORTED_MODULE_27__[\"default\"].apply(void 0, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default()(args).call(args, [_objectSpread({\n          invokeAction: _invokeAction\n        }, designerContextValue)]));\n      },\n      viewCollapseState: {\n        left: !userConfig.showLeftView\n      },\n      onViewCollapseChange: function onViewCollapseChange(val) {\n        var position = val.position,\n          hide = val.hide;\n        if (position === 'left') {\n          onUserConfigChange({\n            showLeftView: !hide\n          });\n        }\n      },\n      getPropertyEditors: _editors__WEBPACK_IMPORTED_MODULE_28__[\"default\"],\n      controlViewSetting: {\n        hideHelpIcon: true,\n        hideAnchorIcon: true,\n        searchInputPlaceholder: getLangMsg('entityd.index.key0002')\n      },\n      controlsAddedByForntEnd: [],\n      viewSetting: {\n        leftView: function leftView() {\n          return false;\n        },\n        rightView: function rightView() {\n          return false;\n        }\n      },\n      getOutlineItemIcon: function getOutlineItemIcon(type) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_18__.Icon, {\n          prefix: \"designericon\",\n          type: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.getControlIconMap)(type),\n          className: \"\".concat(designerPrefixCls, \"-control-icon\")\n        });\n      },\n      canAddCallback: (0,_utils_canAddCallback__WEBPACK_IMPORTED_MODULE_30__[\"default\"])({\n        kdesignerApi: kdesignerApi,\n        keywordMapping: keywordMapping\n      }),\n      getLangMsg: getLangMsg\n    };\n  }, [getViews, processPropertyName, getEditorFormatValue, showMessage, onCustomInputClick, _editors__WEBPACK_IMPORTED_MODULE_28__[\"default\"]]);\n  var actionDelayQueueRef = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)({\n    aliasActionQueue: [],\n    dataActionQueue: [],\n    clearQueue: function clearQueue() {\n      actionDelayQueueRef.current.aliasActionQueue = [];\n      actionDelayQueueRef.current.dataActionQueue = [];\n    },\n    addAliasAction: function addAliasAction(actions) {\n      var _actionDelayQueueRef$;\n      (_actionDelayQueueRef$ = actionDelayQueueRef.current.aliasActionQueue).push.apply(_actionDelayQueueRef$, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(actions));\n    },\n    addDataAction: function addDataAction(actions) {\n      var _actionDelayQueueRef$2;\n      (_actionDelayQueueRef$2 = actionDelayQueueRef.current.dataActionQueue).push.apply(_actionDelayQueueRef$2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(actions));\n    },\n    fireActionTimer: null\n  });\n  var onApiProxy = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (api) {\n    var _kdesignerRef$current, _kdesignerRef$current2;\n    kdesignerApi.current = _objectSpread({\n      attrActions: (_kdesignerRef$current = kdesignerRef.current) === null || _kdesignerRef$current === void 0 ? void 0 : _kdesignerRef$current.attrActions,\n      resetPatches: (_kdesignerRef$current2 = kdesignerRef.current) === null || _kdesignerRef$current2 === void 0 || (_kdesignerRef$current2 = _kdesignerRef$current2.dataContext) === null || _kdesignerRef$current2 === void 0 ? void 0 : _kdesignerRef$current2.resetPatches,\n      setProperty: (0,_utils_setProperty__WEBPACK_IMPORTED_MODULE_31__[\"default\"])({\n        dataRef: dataRef,\n        kdesignerApi: kdesignerApi,\n        keywordMapping: keywordMapping\n      }),\n      addField: function addField(controlType, parentId, fieldName, fieldNumber) {\n        if (!controlType) {\n          showMessage(getLangMsg('entityd.index.key0003'));\n          return;\n        }\n        var metaApi = api.meta;\n        var dataContext = api.data;\n        var selectionContext = api.selection;\n        var parentControlType = dataContext.findControl(parentId)._Type_;\n        var canAdd = metaApi.canAdd(controlType, parentControlType);\n        if (!canAdd) {\n          showMessage(getLangMsg('entityd.index.key0004'));\n          return;\n        }\n        var newControl = {\n          _Type_: controlType,\n          ParentId: parentId,\n          Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.createUUid)(),\n          Name: fieldName,\n          Key: fieldNumber\n        };\n        var rest = {\n          isInstrucAdd: true\n        };\n        dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.createAddAction)(newControl, rest)).then(function (actions) {\n          var realControl = actions[0].value;\n          var ids = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(realControl) ? [realControl[0].Id] : [realControl.Id];\n          selectionContext.setSelect(ids);\n        });\n      },\n      deleteControl: function deleteControl(controlId) {\n        var dataContext = api.data;\n        var nextSelectedId = dataContext.getNextSelectedControlId(controlId);\n        dataContext.deleteControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.createDeleteAction)(controlId)).then(function () {\n          api.selection.setSelect([nextSelectedId]);\n        });\n      },\n      getUserConfig: function getUserConfig() {\n        var _userConfigRef$curren, _userConfigRef$curren2, _userConfigRef$curren3, _userConfigRef$curren4;\n        return {\n          showLeftView: (_userConfigRef$curren = userConfigRef.current) === null || _userConfigRef$curren === void 0 ? void 0 : _userConfigRef$curren.showLeftView,\n          showKey: (_userConfigRef$curren2 = userConfigRef.current) === null || _userConfigRef$curren2 === void 0 ? void 0 : _userConfigRef$curren2.showKey,\n          showType: (_userConfigRef$curren3 = userConfigRef.current) === null || _userConfigRef$curren3 === void 0 ? void 0 : _userConfigRef$curren3.showType,\n          showFullRelationship: (_userConfigRef$curren4 = userConfigRef.current) === null || _userConfigRef$curren4 === void 0 ? void 0 : _userConfigRef$curren4.showFullRelationship\n        };\n      },\n      uiModel: (0,_utils_getModelProxy__WEBPACK_IMPORTED_MODULE_25__[\"default\"])(api)\n    }, api);\n    onApi && onApi(kdesignerApi.current);\n  }, [onApi, globalConfig.controlsAddedByForntEnd]);\n  var onDataProxy = (0,react__WEBPACK_IMPORTED_MODULE_16__.useCallback)(function (data, event) {\n    (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(dataRef.current.entitymeta, data);\n    onData && onData(dataRef.current, event);\n  }, [onData]);\n  function onUserConfigChange() {\n    var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    userConfigRef.current = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, userConfigRef.current, data);\n    props.onUserConfigChange && props.onUserConfigChange();\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_18__.ConfigProvider, {\n    value: kuiConfig\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default().createElement(_context__WEBPACK_IMPORTED_MODULE_23__.DesignerContext.Provider, {\n    value: designerContextValue\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default().createElement(MemoDesigner, {\n    ref: kdesignerRef,\n    globalConfig: globalConfig,\n    onData: onDataProxy,\n    meta: dealMeta,\n    data: adaptedData,\n    onApi: onApiProxy\n  })));\n}));\n\n// 函数返回true, 不渲染; 函数返回false, 重新渲染\nvar MemoDesigner = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_16___default().memo((designer_base_Main__WEBPACK_IMPORTED_MODULE_17___default()), function () {\n  return true;\n});\nEntityDesigner.displayName = 'EntityDesigner';\n/* harmony default export */ __webpack_exports__[\"default\"] = (EntityDesigner);\n\n//# sourceURL=webpack://entity-designer/./src/index.tsx?");

/***/ }),

/***/ 85340:
/*!*********************************!*\
  !*** ./src/pre-handle/index.ts ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ 2992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _preAddHandle__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./preAddHandle */ 73388);\n/* harmony import */ var _prePasteHandle__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./prePasteHandle */ 78616);\n/* harmony import */ var _preDeleteHandle__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./preDeleteHandle */ 52736);\n/* harmony import */ var _preUpdateHandle__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./preUpdateHandle */ 76024);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_16__);\n\n\n\nvar _excluded = [\"type\", \"value\"];\n\n\n\n\n\n\n\n\n/*\n * @Description: 统一导出预处理函数\n */\n\n\n\n\n\n\n\nvar preHandleFnMap = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.ADD, _preAddHandle__WEBPACK_IMPORTED_MODULE_12__[\"default\"]), designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.PASTE, _prePasteHandle__WEBPACK_IMPORTED_MODULE_13__[\"default\"]), designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.UPDATE, _preUpdateHandle__WEBPACK_IMPORTED_MODULE_15__[\"default\"]), designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.DELETE, _preDeleteHandle__WEBPACK_IMPORTED_MODULE_14__[\"default\"]);\nvar CTRL_KEY_MAX_LENGTH = 25; // 限制控件key的最大长度25个字符(与手动输入保持一致)，标识或者字段名超过30位后端会报错\n\nvar preHandle = function preHandle(_ref, handleConfig) {\n  var action = _ref.action,\n    dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    globalConfig = _ref.globalConfig,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader,\n    success = _ref.success,\n    fail = _ref.fail;\n  var dataRef = globalConfig.dataRef,\n    keywordMapping = globalConfig.keywordMapping;\n  var succesProxy = function succesProxy(actions) {\n    var appendActions = [];\n    var getKdesignerApi = handleConfig.getKdesignerApi;\n    var appendData = dataContext.getData().Items;\n    var allKeySet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_3___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(appendData).call(appendData, function (data) {\n      return data[keywordMapping.key];\n    }));\n    var isv = handleConfig.getDataRef().isv;\n    _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().all(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(actions).call(actions, function (action) {\n      var type = action.type,\n        value = action.value,\n        rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(action, _excluded);\n      var kdesignerApi = getKdesignerApi();\n      // 判断是否需要预处理\n      if (type === designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.ADD || type === designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.PASTE) {\n        var values = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default()(value) ? value : [value];\n        var valuePromise = _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().all(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(values).call(values, function (item) {\n          var _context2, _context3;\n          var key = item.FieldType || item._Type_ || '';\n          item[keywordMapping.key] = item[keywordMapping.key] || key.toLowerCase();\n          if (!rest.isInstrucAdd) {\n            if (type === designer_base_Main__WEBPACK_IMPORTED_MODULE_11__.ActionType.ADD) {\n              var _context;\n              var length = kdesignerApi.data.findControlByCondition(function (dataItem) {\n                return item[keywordMapping.type] === dataItem[keywordMapping.type];\n              }).length;\n              item[keywordMapping.name] = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context = \"\".concat(item[keywordMapping.name])).call(_context, length === 0 ? '' : length);\n            }\n          } else {\n            item[keywordMapping.key] = item[keywordMapping.key].toLowerCase();\n          }\n          if (isv) {\n            var test = /^[0-9]+[\\w]*/i;\n            if (isv !== 'kingdee' && !test.test(isv) && !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.startsWith)(item[keywordMapping.key], \"\".concat(isv, \"_\"))) {\n              item[keywordMapping.key] = \"\".concat(isv, \"_\") + item[keywordMapping.key];\n            }\n          }\n\n          //新增控件时，需要自动填写字段名，而且需要唯一，这里字段名一般格式为f + isv + _Type_ + number?,这里目前先不加isv\n          var controlMeta = metaReader.getControlMeta(item[keywordMapping.type]);\n          var addControlIsContainer = controlMeta === null || controlMeta === void 0 ? void 0 : controlMeta.IsContainer;\n          var hasFieldNameProp = controlMeta === null || controlMeta === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_9___default()(_context3 = controlMeta.Properties).call(_context3, function (props, group) {\n            return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(props).call(props, group.Nodes);\n          }, [])).call(_context2, function (item) {\n            return item.Id === 'FieldName';\n          });\n          if (!addControlIsContainer && hasFieldNameProp) {\n            var _context5;\n            var idx = 0,\n              producerKey = \"f_\";\n            if (isv && isv !== 'kingdee') {\n              producerKey = \"fk_\";\n            }\n            var transferDataKey = item[keywordMapping.key];\n            var _key = transferDataKey;\n            if (!rest.isInstrucAdd) {\n              _key = transferDataKey ? transferDataKey : item[keywordMapping.type];\n            }\n            _key = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_10___default()(_key).call(_key, 0, CTRL_KEY_MAX_LENGTH);\n            var originKey = _key;\n            while (allKeySet.has(_key)) {\n              var _context4;\n              idx = idx + 1;\n              var maxLen = CTRL_KEY_MAX_LENGTH - \"\".concat(idx).length;\n              _key = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context4 = \"\".concat(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_10___default()(originKey).call(originKey, 0, maxLen))).call(_context4, idx);\n            }\n            allKeySet.add(_key);\n            item[keywordMapping.fieldName] = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(_context5 = \"\".concat(producerKey)).call(_context5, _key);\n          }\n          return item;\n        }));\n        return valuePromise.then(function (_value) {\n          action.value = _value;\n          return action;\n        });\n      } else {\n        return _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_5___default().resolve(action);\n      }\n    })).then(function (newActions) {\n      return success(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_7___default()(newActions).call(newActions, appendActions));\n    });\n  };\n  var preHandleResults = [];\n  var type = action.type;\n  var preHandleFn = preHandleFnMap[type];\n  if (preHandleFn) {\n    var allActions = preHandleFn({\n      globalConfig: globalConfig,\n      dataContext: dataContext,\n      selectionContext: selectionContext,\n      action: action,\n      dataFactory: dataFactory,\n      modelFactory: modelFactory,\n      metaReader: metaReader\n    }, succesProxy, fail);\n    if (allActions) {\n      preHandleResults.push.apply(preHandleResults, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(allActions));\n    }\n  } else {\n    preHandleResults.push(action);\n  }\n  if (preHandleResults.length) {\n    succesProxy(preHandleResults);\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (preHandle);\n\n//# sourceURL=webpack://entity-designer/./src/pre-handle/index.ts?");

/***/ }),

/***/ 73388:
/*!****************************************!*\
  !*** ./src/pre-handle/preAddHandle.ts ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../utils */ 63612);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n\n\n\n\n\n\n\n\n\nvar _excluded = [\"type\", \"value\"],\n  _excluded2 = [\"type\", \"value\"];\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default()(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n/*\n * @Description: 新增控件时，对参数预处理\n */\n\n\n\n\n\nvar preAddHandle = function preAddHandle(_ref, resolve, reject) {\n  var globalConfig = _ref.globalConfig,\n    dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    action = _ref.action,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader;\n  var type = action.type,\n    value = action.value,\n    rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(action, _excluded);\n  var otherActions = [];\n  // 具有唯一性字段，需要校验\n  var controlType = value[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__._TYPE_];\n  var controlMeta = metaReader.getControlMeta(controlType);\n  var isUnique = controlMeta.IsUnique;\n  if (isUnique) {\n    var parentId = value[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.PARENTID];\n    var canAdd = (0,_utils__WEBPACK_IMPORTED_MODULE_16__.canAddUniqueField)(controlType, parentId, dataContext);\n    if (!canAdd) {\n      var parentControl = dataContext.findControl(value[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.PARENTID]);\n      var showMessage = globalConfig.showMessage;\n      var parentControlName = parentControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.NAME];\n      var controlName = controlMeta[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.NAME];\n      reject(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.getLangMsg)({\n        key: 'entityd.preAddHandle.key0001',\n        variables: {\n          parentControlName: parentControlName,\n          controlName: controlName\n        }\n      })));\n      return showMessage(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.getLangMsg)({\n        key: 'entityd.preAddHandle.key0001',\n        variables: {\n          parentControlName: parentControlName,\n          controlName: controlName\n        }\n      })));\n    }\n  }\n  if (!value.Key) {\n    var controlsAddedByForntEnd = globalConfig.controlsAddedByForntEnd;\n    controlsAddedByForntEnd.push(value.Id);\n  }\n  var valueToArr = convertToArray(value);\n  var handledValues = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_10___default()(valueToArr).call(valueToArr, function (value) {\n    var _getDataRef$entitymet;\n    var valueAfterHandle = _objectSpread({}, value);\n    var _valueAfterHandle = valueAfterHandle,\n      ctrlId = _valueAfterHandle.Id,\n      parentId = _valueAfterHandle.ParentId,\n      ctrlType = _valueAfterHandle._Type_,\n      name = _valueAfterHandle.Name;\n    var getDataRef = globalConfig.designerContextValue.getDataRef;\n    var entityMeta = ((_getDataRef$entitymet = getDataRef().entitymeta) === null || _getDataRef$entitymet === void 0 ? void 0 : _getDataRef$entitymet[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ITEMS]) || [];\n    var tempParentControl = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default()(entityMeta).call(entityMeta, function (item) {\n      return item[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID] === parentId;\n    });\n    var getAddChildControlAction = function getAddChildControlAction(childCtrlType) {\n      var parentId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ctrlId;\n      var transferData = arguments.length > 2 ? arguments[2] : undefined;\n      return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.createAddAction)(dataFactory({\n        type: childCtrlType,\n        parentId: parentId,\n        transferData: transferData\n      }));\n    };\n    var updateControlPropAction = function updateControlPropAction() {\n      var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ctrlId;\n      var transferData = arguments.length > 1 ? arguments[1] : undefined;\n      return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_17__.createUpdateAction)(_objectSpread({\n        Id: id\n      }, transferData));\n    };\n    if (ctrlType === 'RadioField') {\n      var parent = dataContext.findControl(parentId) || tempParentControl;\n      // 找到全部的子控件，里面是否包含有单选按钮组\n      var allSubControls = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(entityMeta).call(entityMeta, function (control) {\n        return control[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.PARENTID] === parent[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID];\n      });\n      var radioGroupControl = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default()(allSubControls).call(allSubControls, function (item) {\n        return item[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__._TYPE_] === 'RadioGroupField';\n      });\n      var allRadioControl = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(entityMeta).call(entityMeta, function (item) {\n        return item[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__._TYPE_] === 'RadioField';\n      });\n      var length = allRadioControl.length;\n      if (!radioGroupControl) {\n        var _context;\n        var radioGroupItems = [{\n          Caption: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context = \"\".concat(name)).call(_context, length === 0 ? '' : length),\n          Value: \"\".concat(length + 1),\n          _Type_: 'ComboItem'\n        }];\n        var _getAddChildControlAc = getAddChildControlAction('RadioGroupField', parent[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID], {\n            Items: radioGroupItems\n          }),\n          _type = _getAddChildControlAc.type,\n          _value = _getAddChildControlAc.value,\n          _rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_getAddChildControlAc, _excluded2);\n        otherActions.push(_objectSpread({\n          type: _type,\n          value: _value\n        }, _rest));\n        valueAfterHandle = _objectSpread(_objectSpread({}, valueAfterHandle), {}, {\n          Group: _value[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID],\n          Items: \"\".concat(length + 1)\n        });\n        if (_value.Id) {\n          var _controlsAddedByForntEnd = globalConfig.controlsAddedByForntEnd;\n          _controlsAddedByForntEnd.push(_value.Id);\n        }\n      } else {\n        var _context2;\n        valueAfterHandle = _objectSpread(_objectSpread({}, valueAfterHandle), {}, {\n          Group: radioGroupControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID],\n          Items: \"\".concat(length + 1)\n        });\n        var _radioGroupItems = radioGroupControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ITEMS] || [];\n        var newItems = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_radioGroupItems).call(_radioGroupItems, []);\n        var item = {\n          Caption: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(_context2 = \"\".concat(name)).call(_context2, length === 0 ? '' : length),\n          Value: \"\".concat(length + 1),\n          _Type_: 'ComboItem'\n        };\n        newItems.push(item);\n        var _updateControlPropAct = updateControlPropAction(radioGroupControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID], {\n            Items: newItems\n          }),\n          _type2 = _updateControlPropAct.type,\n          _value2 = _updateControlPropAct.value;\n        var updateInfo = [_value2[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ID], {\n          Items: _value2[_constant_propnames__WEBPACK_IMPORTED_MODULE_15__.ITEMS]\n        }];\n        var updateaction = {\n          type: _type2,\n          value: [updateInfo]\n        };\n        otherActions.push(updateaction);\n      }\n    } else if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_13___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_18__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_18__.ENTITY_TYPE_NOT_ADD, ctrlType)) {\n      valueAfterHandle.ParentEntryId = value.ParentId;\n    } else if (ctrlType === 'PrintCountField') {\n      // 新增打印次数字段时，默认为真实打印次数\n      valueAfterHandle.RecordModel = 'print';\n    }\n    return valueAfterHandle;\n  });\n  var preHandleResults = [_objectSpread({\n    type: type,\n    value: handledValues\n  }, rest)];\n  return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12___default()(preHandleResults).call(preHandleResults, otherActions);\n};\nvar convertToArray = function convertToArray(param) {\n  if (!param) return [];\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(param)) return param;\n  return [param];\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (preAddHandle);\n\n//# sourceURL=webpack://entity-designer/./src/pre-handle/preAddHandle.ts?");

/***/ }),

/***/ 52736:
/*!*******************************************!*\
  !*** ./src/pre-handle/preDeleteHandle.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__);\n\n\n\n\n\n\n\n\nvar _excluded = [\"type\", \"value\"];\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n/*\n * @Description: 新增控件时，对参数预处理\n */\n\n\n\nvar preDeleteHandle = function preDeleteHandle(_ref, resolve, reject) {\n  var globalConfig = _ref.globalConfig,\n    dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    action = _ref.action,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader;\n  var type = action.type,\n    value = action.value,\n    rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(action, _excluded);\n  var otherActions = [];\n  var valueAfterHandle = [];\n  var valueToArr = convertToArray(value);\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(valueToArr).call(valueToArr, function (controlId) {\n    var controlInfo = dataContext.findControl(controlId);\n    var ctrlType = controlInfo[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__._TYPE_];\n\n    // 找到全部的子控件，里面是否包含有单选按钮组\n    var allSubControls = dataContext.getAllSiblings(controlId);\n    var radioControl = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(allSubControls).call(allSubControls, function (item) {\n      return item[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__._TYPE_] === 'RadioField';\n    });\n    // 得到当前卡片的单选按钮组\n    if (ctrlType === 'RadioGroupField') {\n      var hasRadioControlGroupIsOneself = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(radioControl).call(radioControl, function (item) {\n        return item.Group === controlId;\n      });\n      if (hasRadioControlGroupIsOneself) {\n        var showMessage = globalConfig.showMessage;\n        reject((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.preDeleteHandle.key0001'));\n        return showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.preDeleteHandle.key0001'));\n      } else {\n        valueAfterHandle.push(controlId);\n      }\n    } else {\n      valueAfterHandle.push(controlId);\n    }\n  });\n  var preHandleResults = [_objectSpread({\n    type: type,\n    value: valueAfterHandle\n  }, rest)];\n  return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(preHandleResults).call(preHandleResults, otherActions);\n};\nvar convertToArray = function convertToArray(param) {\n  if (!param) return [];\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_12___default()(param)) return param;\n  return [param];\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (preDeleteHandle);\n\n//# sourceURL=webpack://entity-designer/./src/pre-handle/preDeleteHandle.ts?");

/***/ }),

/***/ 78616:
/*!******************************************!*\
  !*** ./src/pre-handle/prePasteHandle.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils */ 63612);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_3__);\n\n/*\n * @Description: 新增控件时，对参数预处理\n */\n\n\n\n\nvar prePasteHandle = function prePasteHandle(_ref, resolve, reject) {\n  var globalConfig = _ref.globalConfig,\n    dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    action = _ref.action,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader;\n  var value = action.value;\n  var newValue = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(value).call(value, function (item) {\n    // 具有唯一性字段，需要校验\n    var controlType = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__._TYPE_];\n    var controlMeta = metaReader.getControlMeta(controlType);\n    var isUnique = controlMeta.IsUnique;\n    if (isUnique) {\n      var parentId = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__.PARENTID];\n      var canAdd = (0,_utils__WEBPACK_IMPORTED_MODULE_2__.canAddUniqueField)(controlType, parentId, dataContext);\n      if (!canAdd) {\n        var parentControl = dataContext.findControl(item[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__.PARENTID]);\n        var showMessage = globalConfig.showMessage;\n        var parentControlName = parentControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__.NAME];\n        var controlName = controlMeta[_constant_propnames__WEBPACK_IMPORTED_MODULE_1__.NAME];\n        reject(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)({\n          key: 'entityd.prePasteHandle.key0001',\n          variables: {\n            parentControlName: parentControlName,\n            controlName: controlName\n          }\n        })));\n        return showMessage(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)({\n          key: 'entityd.prePasteHandle.key0001',\n          variables: {\n            parentControlName: parentControlName,\n            controlName: controlName\n          }\n        })));\n      }\n    }\n    if (!item.Key) {\n      var controlsAddedByForntEnd = globalConfig.controlsAddedByForntEnd;\n      controlsAddedByForntEnd.push(item.Id);\n    }\n\n    // 复制单据体时，清空表名\n    if ((0,_utils__WEBPACK_IMPORTED_MODULE_2__.isEntity)(controlType) && item.TableName) {\n      item.TableName = '';\n    }\n    return item;\n  });\n  action.value = newValue;\n  var preHandleResults = [action];\n  return preHandleResults;\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (prePasteHandle);\n\n//# sourceURL=webpack://entity-designer/./src/pre-handle/prePasteHandle.ts?");

/***/ }),

/***/ 76024:
/*!*******************************************!*\
  !*** ./src/pre-handle/preUpdateHandle.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/is */ 48560);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_12__);\n\n\n\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_8___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_9___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_10___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context2; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = Object.prototype.toString.call(o)).call(_context2, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_7___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\nvar _hasItemValue = function _hasItemValue(groupItemsList, propName, value) {\n  var _iterator = _createForOfIteratorHelper(groupItemsList),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var item = _step.value;\n      if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(item[propName], value)) {\n        return true;\n      }\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  return false;\n};\nvar preUpdateHandle = function preUpdateHandle(_ref, resolve, reject, handleConfig) {\n  var _context;\n  var globalConfig = _ref.globalConfig,\n    dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    action = _ref.action,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader;\n  var type = action.type,\n    value = action.value;\n  var handleValue = [];\n  var showMessage = globalConfig.showMessage;\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(value).call(value, function (item) {\n    var controlId = item === null || item === void 0 ? void 0 : item[0];\n    var propInfo = (item === null || item === void 0 ? void 0 : item[1]) || {};\n    var propName = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(propInfo)[0];\n    var propVal = propInfo[propName];\n    var controlInfo = dataContext.findControl(controlId);\n    if (controlInfo) {\n      var ctrlType = controlInfo._Type_,\n        name = controlInfo.Name,\n        radioValue = controlInfo.Items;\n      if (ctrlType === 'RadioField') {\n        var groupId = controlInfo.Group;\n        var radioGroupcontrolInfo = dataContext.findControl(groupId);\n        if (radioGroupcontrolInfo) {\n          var radioGroupItems = radioGroupcontrolInfo[_constant_propnames__WEBPACK_IMPORTED_MODULE_11__.ITEMS] || [];\n          var updateInfo = [];\n          if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(propName, 'Items')) {\n            // 在group中挑出当前单选按钮的值\n            var currOption = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(radioGroupItems).call(radioGroupItems, function (option) {\n              return option.Caption === name;\n            })[0];\n            // 判断集合中是否已经存在相同的值\n            if (_hasItemValue(radioGroupItems, 'Value', propVal) && currOption.Value !== propVal) {\n              showMessage(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                key: 'entityd.preUpdateHandle.key0001',\n                variables: {\n                  propVal: propVal\n                }\n              })));\n              throw {\n                message: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                  key: 'entityd.preUpdateHandle.key0001',\n                  variables: {\n                    propVal: propVal\n                  }\n                })),\n                type: 'warning'\n              };\n            } else {\n              if (_hasItemValue(radioGroupItems, 'Caption', name)) {\n                var _ary = [];\n                _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(radioGroupItems).call(radioGroupItems, function (item) {\n                  if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(item.Caption, name)) {\n                    var newItem = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item);\n                    newItem.Value = propVal;\n                    _ary.push(newItem);\n                  } else {\n                    _ary.push(item);\n                  }\n                });\n                updateInfo = [groupId, {\n                  Items: _ary\n                }];\n              } else {\n                var newItems = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(radioGroupItems).call(radioGroupItems, []);\n                newItems.push({\n                  Caption: name,\n                  Value: propVal,\n                  _Type_: 'ComboItem'\n                });\n                updateInfo = [groupId, {\n                  Items: newItems\n                }];\n              }\n            }\n          } else if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(propName, 'Name')) {\n            // 判断集合中是否已经存在相同的值\n            if (_hasItemValue(radioGroupItems, 'Caption', propVal)) {\n              showMessage(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                key: 'entityd.preUpdateHandle.key0002',\n                variables: {\n                  propVal: propVal\n                }\n              })));\n              throw {\n                message: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                  key: 'entityd.preUpdateHandle.key0002',\n                  variables: {\n                    propVal: propVal\n                  }\n                })),\n                type: 'warning'\n              };\n            } else {\n              if (_hasItemValue(radioGroupItems, 'Value', radioValue)) {\n                var _ary2 = [];\n                _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(radioGroupItems).call(radioGroupItems, function (item) {\n                  if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(item.Value, radioValue)) {\n                    var newItem = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item);\n                    newItem.Caption = propVal;\n                    _ary2.push(newItem);\n                  } else {\n                    _ary2.push(item);\n                  }\n                });\n                updateInfo = [groupId, {\n                  Items: _ary2\n                }];\n              } else {\n                var _newItems = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(radioGroupItems).call(radioGroupItems, []);\n                _newItems.push({\n                  Caption: name,\n                  Value: propVal,\n                  _Type_: 'ComboItem'\n                });\n                updateInfo = [groupId, {\n                  Items: _newItems\n                }];\n              }\n            }\n          } else if (_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(propName, 'Group')) {\n            /**\n               * 单选按钮切换按钮组做两个事情\n               * 1. 清空前一个按钮组中相对应的下拉项\n               * 2. 清空原先的按钮值(按照旧版逻辑，先不做)\n               * 3. 把新的下拉项push到新的按钮组的下拉项\n               */\n            var controlInfoVal = controlInfo.Items;\n            var _ary3 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(radioGroupItems).call(radioGroupItems, function (item) {\n              return !_babel_runtime_corejs3_core_js_stable_object_is__WEBPACK_IMPORTED_MODULE_1___default()(item.Value, controlInfoVal);\n            });\n            var newRadioGroupInfo = dataContext.findControl(propVal);\n            if (newRadioGroupInfo) {\n              var newRadioGroupItems = newRadioGroupInfo[_constant_propnames__WEBPACK_IMPORTED_MODULE_11__.ITEMS] || [];\n              // 判断集合中是否已经存在相同的值\n              if (_hasItemValue(newRadioGroupItems, 'Value', controlInfoVal)) {\n                showMessage(\"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                  key: 'entityd.preUpdateHandle.key0001',\n                  variables: {\n                    propVal: propVal\n                  }\n                })));\n                throw {\n                  message: \"\".concat((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n                    key: 'entityd.preUpdateHandle.key0001',\n                    variables: {\n                      propVal: propVal\n                    }\n                  })),\n                  type: 'warning'\n                };\n              } else {\n                var _newItems2 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(newRadioGroupItems).call(newRadioGroupItems, []);\n                _newItems2.push({\n                  Caption: name,\n                  Value: controlInfoVal,\n                  _Type_: 'ComboItem'\n                });\n                // 把新的下拉项push到新的按钮组的下拉项\n                var updateInfoTwo = [propVal, {\n                  Items: _newItems2\n                }];\n                handleValue.push(updateInfoTwo);\n                // 删除已关联按钮组对应的下拉项\n                updateInfo = [groupId, {\n                  Items: _ary3\n                }];\n              }\n            }\n          }\n          handleValue.push(updateInfo);\n        }\n      }\n    }\n  });\n  var valueAfterHandle = value;\n  return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = [{\n    type: type,\n    value: valueAfterHandle\n  }]).call(_context, [{\n    type: type,\n    value: handleValue\n  }]);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (preUpdateHandle);\n\n//# sourceURL=webpack://entity-designer/./src/pre-handle/preUpdateHandle.ts?");

/***/ }),

/***/ 43660:
/*!*************************************!*\
  !*** ./src/utils/canAddCallback.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n\n\nvar canAddHandle = function canAddHandle(_ref) {\n  var kdesignerApi = _ref.kdesignerApi,\n    keywordMapping = _ref.keywordMapping;\n  return function (childField, parentField, childControl, parentControl) {\n    var api = kdesignerApi.current;\n    var data = api.data;\n    var rootId = data.getRootId();\n    var parentControlId = parentControl.Id,\n      isParentContainer = parentControl.IsContainer;\n    if (!isParentContainer) return false;\n    var parentType = typeof parentField === 'string' ? parentField : parentField[keywordMapping.type];\n    var childType = typeof childField === 'string' ? childField : childField[keywordMapping.type];\n    var isChildContainer = childControl.IsContainer;\n    var childParentId = childControl[keywordMapping.parentId];\n    if (childParentId === parentControlId) {\n      return true;\n    }\n    if (childParentId) {\n      var preParentControl = data.findControl(childParentId) || {};\n      var preParentType = preParentControl._Type_;\n      var isEntityChildField = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE, preParentType) && !isChildContainer;\n      var isRootChildField = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ROOT_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ROOT_NODE_TYPE, preParentType) && !isChildContainer;\n\n      // 禁止单据头  和  单据体/树形单据体/子单据体 之间互相新增字段\n      if (isEntityChildField) {\n        if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE, parentType)) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      if (isRootChildField) {\n        if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ROOT_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ROOT_NODE_TYPE, parentType)) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n    }\n\n    // 禁止在根节点新增子单据体\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD, childType)) {\n      if (parentControlId === rootId) {\n        return false;\n      }\n    }\n    // 禁止在子单据体/单据体/树形单据体 新增单据体/树形单据体\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_HAS_CHILD_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_HAS_CHILD_TYPE, childType)) {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_NODE_TYPE, parentType)) {\n        return false;\n      }\n    }\n\n    // 禁止在子单据体 新增子单据体\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD, childType)) {\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_1__.ENTITY_TYPE_NOT_ADD, parentType)) {\n        return false;\n      }\n    }\n\n    // 禁止在子单据体/单据体/树形单据体 新增 单选按钮、单选按钮组\n    // if (RADIO_TYPES.includes(childType)) {\n    //   if (ENTITY_NODE_TYPE.includes(parentType)) {\n    //     return false\n    //   }\n    // }\n\n    var checkNotAccept = function checkNotAccept(pType) {\n      var parentMeta = api.meta.getControlMeta(pType);\n      var notAccept = parentMeta.NotAccept;\n      if (notAccept) {\n        var notAcceptIds = notAccept.Ids;\n        return notAcceptIds === null || notAcceptIds === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(notAcceptIds).call(notAcceptIds, childType);\n      }\n    };\n    var ret = checkNotAccept(parentType);\n    if (ret) {\n      return false;\n    }\n    var checkAccept = function checkAccept(pType) {\n      var parentMeta = api.meta.getControlMeta(pType);\n      var accept = parentMeta.Accept;\n      if (!accept) return true;\n      if (accept) {\n        var acceptIds = accept.Ids;\n        return acceptIds === null || acceptIds === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(acceptIds).call(acceptIds, childType);\n      }\n    };\n    ret = checkAccept(parentType);\n    if (!ret) {\n      return false;\n    }\n    var checkParentAccept = function checkParentAccept(cType) {\n      var parentMeta = api.meta.getControlMeta(cType);\n      var acceptParent = parentMeta.AcceptParent;\n      if (!acceptParent) return true;\n      if (acceptParent) {\n        var acceptParentIds = acceptParent.Ids;\n        return acceptParentIds === null || acceptParentIds === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_0___default()(acceptParentIds).call(acceptParentIds, parentType);\n      }\n    };\n    ret = checkParentAccept(childType);\n    if (!ret) {\n      return false;\n    }\n    return true;\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (canAddHandle);\n\n//# sourceURL=webpack://entity-designer/./src/utils/canAddCallback.ts?");

/***/ }),

/***/ 77168:
/*!*****************************!*\
  !*** ./src/utils/client.ts ***!
  \*****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   LINIX: function() { return /* binding */ LINIX; },\n/* harmony export */   MAC: function() { return /* binding */ MAC; },\n/* harmony export */   OS: function() { return /* binding */ OS; },\n/* harmony export */   UNIX: function() { return /* binding */ UNIX; },\n/* harmony export */   WINDOWS: function() { return /* binding */ WINDOWS; },\n/* harmony export */   getOS: function() { return /* binding */ getOS; },\n/* harmony export */   isAltActive: function() { return /* binding */ isAltActive; },\n/* harmony export */   isCtrlActive: function() { return /* binding */ isCtrlActive; },\n/* harmony export */   isLinux: function() { return /* binding */ isLinux; },\n/* harmony export */   isMac: function() { return /* binding */ isMac; },\n/* harmony export */   isUnix: function() { return /* binding */ isUnix; },\n/* harmony export */   isWin: function() { return /* binding */ isWin; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0__);\n\nvar MAC = 'Mac';\nvar UNIX = 'Unix';\nvar LINIX = 'Linux';\nvar WINDOWS = 'Windows';\nfunction isWin() {\n  return window.navigator.platform == 'Win32' || window.navigator.platform == 'Windows';\n}\nfunction isMac() {\n  return window.navigator.platform == 'Mac68K' || window.navigator.platform == 'MacPPC' || window.navigator.platform == 'Macintosh' || window.navigator.platform == 'MacIntel';\n}\nfunction isUnix() {\n  return window.navigator.platform == 'X11' && !isWin() && !isMac();\n}\nfunction isLinux() {\n  var _context;\n  return _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_0___default()(_context = String(window.navigator.platform)).call(_context, 'Linux') > -1;\n}\nfunction getOS() {\n  if (isMac()) return MAC;\n  if (isUnix()) return UNIX;\n  if (isLinux()) return LINIX;\n  if (isWin()) return WINDOWS;\n  return '';\n}\nvar OS = getOS();\nfunction isCtrlActive(e) {\n  return isMac() ? e.metaKey : e.ctrlKey;\n}\nfunction isAltActive(e) {\n  return e.altKey;\n}\n\n//# sourceURL=webpack://entity-designer/./src/utils/client.ts?");

/***/ }),

/***/ 78968:
/*!*********************************!*\
  !*** ./src/utils/entityMeta.ts ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   convertEntityMetaToElements: function() { return /* binding */ convertEntityMetaToElements; },\n/* harmony export */   formatListTableData: function() { return /* binding */ formatListTableData; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/index */ 63612);\n\n\n\n\n\n\n\n\n\n// 将实体元数据转换成React-Flow能够识别的elements\n// const initialElements: Elements = [\n//   { id: '1', data: { title: '差旅报销', entityType: ENTITY_TYPE.BILL_HEAD, items: [{}],  }, position, type: 'entityNode' },\n//   { id: '2', data: { title: '费用明细', entityType: ENTITY_TYPE.BILL_BODY }, position, type: 'entityNode' },\n//   { id: '3', data: { title: '行程明细', entityType: ENTITY_TYPE.BILL_BODY }, position, type: 'entityNode' },\n//   { id: '4', data: { title: '收款计划', entityType: ENTITY_TYPE.CHILD_BILL_BODY }, position, type: 'entityNode' },\n//   { id: '5', data: { title: '收款计划', entityType: ENTITY_TYPE.CHILD_BILL_BODY }, position, type: 'entityNode' },\n//   { id: '6', data: { title: '收款计划', entityType: ENTITY_TYPE.CHILD_BILL_BODY }, position, type: 'entityNode' },\n//   { id: 'e1-2', source: '1', target: '2', type: 'step' },\n//   { id: 'e1-3', source: '1', target: '3', type: 'step' },\n//   { id: 'e2-4', source: '2', target: '4', type: 'step' },\n//   { id: 'e3-5', source: '3', target: '5', type: 'step' },\n//   { id: 'e3-6', source: '3', target: '6', type: 'step' }\n// ]\nvar convertEntityMetaToElements = function convertEntityMetaToElements(entityMeta, _ref) {\n  var _context3;\n  var getControlMeta = _ref.getControlMeta;\n  var position = {\n    x: 0,\n    y: 0\n  };\n  var nodes = [];\n  var edges = [];\n  var entityItems = entityMeta.Items;\n  var entryNodes = [];\n  var fieldNodes = [];\n  var rootNode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_0___default()(entityItems).call(entityItems, function (item) {\n    return (0,_utils_index__WEBPACK_IMPORTED_MODULE_7__.isRootNode)(item._Type_);\n  });\n  var rootId = rootNode[_constant_propnames__WEBPACK_IMPORTED_MODULE_6__.ID];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(entityItems).call(entityItems, function (item) {\n    var id = item.Id,\n      name = item.Name,\n      type = item._Type_,\n      parentId = item.ParentId,\n      showMore = item.showMore;\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ENTITY_TYPE_ARR).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ENTITY_TYPE_ARR, type)) {\n      var _ENTITY_INFO$type, _ENTITY_INFO$type2;\n      var level;\n      if (id === rootId) {\n        level = 1;\n      } else if (parentId === rootId) {\n        level = 2;\n      } else {\n        level = 3;\n      }\n      entryNodes.push(item);\n      nodes.push({\n        id: id,\n        position: position,\n        type: 'entityNode',\n        data: {\n          title: name,\n          entityName: (_ENTITY_INFO$type = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ENTITY_INFO)()[type]) === null || _ENTITY_INFO$type === void 0 ? void 0 : _ENTITY_INFO$type.name,\n          entityIcon: (_ENTITY_INFO$type2 = (0,_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ENTITY_INFO)()[type]) === null || _ENTITY_INFO$type2 === void 0 ? void 0 : _ENTITY_INFO$type2.icon,\n          entityType: type,\n          items: [],\n          properties: item,\n          hasParent: !!parentId,\n          hasChildren: false,\n          parentId: parentId,\n          level: level,\n          showMore: showMore\n        }\n      });\n    } else {\n      fieldNodes.push(item);\n    }\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(entryNodes).call(entryNodes, function (item) {\n    var id = item.Id,\n      type = item._Type_,\n      parentId = item.ParentId;\n    if (parentId) {\n      var _context;\n      edges.push({\n        id: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context = \"\".concat(parentId, \"-\")).call(_context, id),\n        source: parentId,\n        target: id,\n        type: 'step',\n        style: {\n          stroke: '#999'\n        }\n      });\n      var parentNodeIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (item) {\n        return item.id === parentId;\n      });\n      nodes[parentNodeIndex].data.hasChildren = true;\n    } else {\n      var _context2;\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ROOT_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_5__.ROOT_NODE_TYPE, type)) return;\n      edges.push({\n        id: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = \"\".concat(rootId, \"-\")).call(_context2, id),\n        source: rootId,\n        target: id,\n        type: 'step',\n        style: {\n          stroke: '#999'\n        }\n      });\n      var _parentNodeIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (item) {\n        return item.id === parentId;\n      });\n      nodes[_parentNodeIndex].data.hasChildren = true;\n    }\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(fieldNodes).call(fieldNodes, function (item) {\n    var id = item.Id,\n      key = item.Key,\n      name = item.Name,\n      parentId = item.ParentId,\n      type = item._Type_;\n    var typeName = getControlMeta(type)[_constant_propnames__WEBPACK_IMPORTED_MODULE_6__.NAME];\n    if (parentId) {\n      var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (node) {\n        return node.id === parentId;\n      });\n      if (index > -1) {\n        nodes[index].data.items.push({\n          id: id,\n          key: key,\n          name: name,\n          properties: item,\n          typeName: typeName\n        });\n      }\n    } else {\n      var _index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (node) {\n        return node.id === rootId;\n      });\n      if (_index > -1) {\n        nodes[_index].data.items.push({\n          id: id,\n          key: key,\n          name: name,\n          properties: item,\n          typeName: typeName\n        });\n      }\n    }\n  });\n  return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_3___default()(_context3 = []).call(_context3, nodes, edges);\n};\n\n// 将实体元数据转换成table能够识别的格式\n// const dataSource = [\n//   { prov: '湖北省', confirm: 54406, cure: 4793, dead: 1457, t: '2020-02-15 19:52:02' },\n//   { prov: '广东省', confirm: 1294, cure: 409, dead: 2, t: '2020-02-15 19:52:02' },\n//   { prov: '河南省', confirm: 1212, cure: 390, dead: 13, t: '2020-02-15 19:52:02' },\n//   { prov: '浙江省', confirm: 1162, cure: 428, dead: 0, t: '2020-02-15 19:52:02' },\n//   { prov: '湖南省', confirm: 1001, cure: 417, dead: 2, t: '2020-02-15 19:52:02' }\n// ]\nvar formatListTableData = function formatListTableData(data, keys, metaApi) {\n  var result = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(data).call(data, function (info) {\n    var props = info.properties;\n    var item = {};\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(keys).call(keys, function (key) {\n      if (key === '_Type_') {\n        var typename = metaApi.getControlMeta(props[key])[_constant_propnames__WEBPACK_IMPORTED_MODULE_6__.NAME];\n        item[key] = typename;\n      } else {\n        item[key] = props[key];\n      }\n    });\n    result.push(item);\n  });\n  return result;\n};\n\n//# sourceURL=webpack://entity-designer/./src/utils/entityMeta.ts?");

/***/ }),

/***/ 15624:
/*!*********************************!*\
  !*** ./src/utils/entityUtil.ts ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   addEntityControl: function() { return /* binding */ addEntityControl; },\n/* harmony export */   deleteEntityControl: function() { return /* binding */ deleteEntityControl; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./index */ 63612);\n\n\n\n\n\n\n\n/**\n * 添加实体节点\n * @param\n */\nvar addEntityControl = function addEntityControl(node, dataContext, selectionContext, showMessage, metaApi) {\n  var controlType = node.type,\n    fieldName = node.fieldName;\n  if (!controlType) {\n    showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)('entityd.entityUtil.key0001'));\n    return;\n  }\n  var activeSelectedId = selectionContext.getActiveSelectedId();\n  var parentId = activeSelectedId;\n  var parentControlType = dataContext.findControl(parentId)[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__._TYPE_];\n  var canAdd = metaApi.canAdd(controlType, parentControlType);\n  if (!canAdd) return;\n  var newControl = {\n    _Type_: controlType,\n    ParentId: parentId,\n    Name: fieldName,\n    Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.createUUid)()\n  };\n  dataContext.addControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.createAddAction)(newControl)).then(function (actions) {\n    var realControl = actions[0].value;\n    selectionContext.setSelect(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default()(realControl) ? [realControl[0][_constant_propnames__WEBPACK_IMPORTED_MODULE_4__.ID]] : [realControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__.ID]]);\n  });\n};\n\n/**\n * 删除实体节点\n * @param\n */\nvar deleteEntityControl = function deleteEntityControl(dataContext, selectionContext, showMessage, controlsAddedByForntEnd, invokeAction) {\n  var getSelection = selectionContext.getSelection,\n    setSelect = selectionContext.setSelect;\n  var rootId = dataContext.getRootId();\n  var selection = getSelection();\n  if (selection.length > 0) {\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(selection).call(selection, function (id) {\n      if (rootId !== id) {\n        if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(controlsAddedByForntEnd).call(controlsAddedByForntEnd, id)) {\n          dataContext.deleteControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.createDeleteAction)(id));\n          var nextSelectedId = dataContext.getNextSelectedControlId(id);\n          setSelect([nextSelectedId]);\n        } else {\n          var constcontrolInfo = dataContext.findControl(id);\n          var key = constcontrolInfo.Key,\n            type = constcontrolInfo._Type_;\n          var _isEntity = (0,_index__WEBPACK_IMPORTED_MODULE_5__.isEntity)(type);\n          invokeAction('deleteConfirm', [key, id, _isEntity]);\n        }\n      } else {\n        showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_3__.getLangMsg)('entityd.entityUtil.key0002'));\n      }\n    });\n  }\n};\n\n//# sourceURL=webpack://entity-designer/./src/utils/entityUtil.ts?");

/***/ }),

/***/ 79148:
/*!*************************************!*\
  !*** ./src/utils/filterProperty.ts ***!
  \*************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n\n\n\n\n\n\n// 兼容Immutable的情况\nfunction get(obj, key) {\n  return typeof obj.get === 'function' ? obj.get(key) : obj[key];\n}\n\n/**\n * @description: 构造filterProperty函数\n * @param {any} getModel\n * @param {any} getKdesignerApi\n * @return {*} filterProperty\n */\nvar filterProperty = function filterProperty(getModel, getKdesignerApi, metaType) {\n  /**\n   * @description: 过滤属性模型, true为隐藏, false为显示\n   * @param {IControlItem} field\n   * @param {IControlProperty} propMeta\n   * @return {boolean}\n   */\n  return function (field, propMeta) {\n    var uiModel = getModel();\n    // const api = getKdesignerApi()\n    var hideConfig = propMeta.Hide;\n    if (metaType === 'formmeta' && propMeta.Id === 'FieldId') {\n      return false;\n    }\n    // const parentType = field.ParentId ? api.data.findControl(item => item.Id === field.ParentId) : api.data.getRootId()\n    if (hideConfig && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(hideConfig) === 'object') {\n      var types = hideConfig.Types,\n        fieldTypes = hideConfig.FieldTypes,\n        parentTypes = hideConfig.ParentTypes,\n        hide = hideConfig.Hide;\n      if (types && fieldTypes) {\n        var _context;\n        var parentId = field.ParentId || field.Id;\n        var parentType = uiModel.getEntityFieldInfo(parentId)[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__._TYPE_];\n        var isEntryField = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context = ['EntryEntity', 'SubEntryEntity', 'TreeEntryEntity']).call(_context, parentType);\n        var type = isEntryField ? ['EntryFieldAp', 'CardEntryFieldAp'] : ['FieldAp'];\n        var fieldType = uiModel.getEntityFieldInfo(field.Id)[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__._TYPE_];\n        if (hide == null || hide === true) {\n          return _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default()(types).call(types, function (item) {\n            return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(type).call(type, item);\n          }) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(fieldTypes).call(fieldTypes, fieldType);\n        } else {\n          return !(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default()(types).call(types, function (item) {\n            return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(type).call(type, item);\n          }) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(fieldTypes).call(fieldTypes, fieldType));\n        }\n      } else if (fieldTypes) {\n        // const fieldId = field[ID]\n        var _type = field[_constant_propnames__WEBPACK_IMPORTED_MODULE_4__._TYPE_];\n        // const entityInfo = uiModel.getEntityFieldInfo(fieldId)\n        // const fieldType = entityInfo && get(entityInfo, _TYPE_)\n        if (hide == null || hide === true) {\n          return (0,lodash__WEBPACK_IMPORTED_MODULE_3__.includes)(fieldTypes, _type);\n        } else {\n          return !(0,lodash__WEBPACK_IMPORTED_MODULE_3__.includes)(fieldTypes, _type);\n        }\n        //   } else if (parentTypes) {\n        //     if (hide == null || hide === true) {\n        //       return includes(parentTypes, parentType)\n        //     } else { // hide=false,满足条件就显示\n        //       return !includes(parentTypes, parentType)\n        //     }\n      } else {\n        return hide;\n      }\n    }\n    return false;\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (filterProperty);\n\n//# sourceURL=webpack://entity-designer/./src/utils/filterProperty.ts?");

/***/ }),

/***/ 58556:
/*!************************************!*\
  !*** ./src/utils/getModelProxy.ts ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-27 10:08:23\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 11:09:36\n * @Description: ...\n */\n\n\nvar getModelProxy = function getModelProxy(api) {\n  return {\n    getEntityRootId: function getEntityRootId() {\n      return api.data.getRootId();\n    },\n    getEntityFieldInfo: function getEntityFieldInfo(fieldId) {\n      return api.data.findControl(fieldId);\n    },\n    getEntityPropertyValue: function getEntityPropertyValue(entityId, propName) {\n      var field = api.data.findControl(entityId);\n      if (!field) return;\n      var value = field[propName];\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_0__.isUndefined)(value)) {\n        return api.meta.getControlPropertyDefaultValue(field._Type_, propName);\n      }\n      return value;\n    },\n    getFormFieldInfo: function getFormFieldInfo(fieldId) {\n      return api.data.findControl(fieldId);\n    },\n    getFieldInfo: function getFieldInfo(fieldId) {\n      return api.data.findControl(fieldId);\n    },\n    getPropertyValue: function getPropertyValue(fieldId, refPropName) {\n      return api.data.getPropertyValue(fieldId, refPropName);\n    }\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (getModelProxy);\n\n//# sourceURL=webpack://entity-designer/./src/utils/getModelProxy.ts?");

/***/ }),

/***/ 63612:
/*!****************************!*\
  !*** ./src/utils/index.ts ***!
  \****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   canAddUniqueField: function() { return /* binding */ canAddUniqueField; },\n/* harmony export */   convertToArray: function() { return /* binding */ convertToArray; },\n/* harmony export */   findEntityById: function() { return /* binding */ findEntityById; },\n/* harmony export */   findEntityIdById: function() { return /* binding */ findEntityIdById; },\n/* harmony export */   getRootEntity: function() { return /* binding */ getRootEntity; },\n/* harmony export */   isEntity: function() { return /* binding */ isEntity; },\n/* harmony export */   isEntryEntityNode: function() { return /* binding */ isEntryEntityNode; },\n/* harmony export */   isRootNode: function() { return /* binding */ isRootNode; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n\n\n\n\n\n\n/**\n * 将参数转为数组\n */\nvar convertToArray = function convertToArray(param) {\n  if (!param) return [];\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default()(param)) return param;\n  return [param];\n};\n\n/**\n * 判断是否根节点\n */\nvar isRootNode = function isRootNode(type) {\n  if (!type) return false;\n  if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_4__.ROOT_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_4__.ROOT_NODE_TYPE, type)) {\n    return true;\n  }\n  return false;\n};\n\n/**\n * 判断是否是单据体节点（二级）\n */\nvar isEntryEntityNode = function isEntryEntityNode(type) {\n  if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_4__.ENTITY_HAS_CHILD_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_4__.ENTITY_HAS_CHILD_TYPE, type)) {\n    return true;\n  }\n  return false;\n};\n\n/**\n * 判断是否是实体节点\n */\nvar isEntity = function isEntity(type) {\n  var _context;\n  var _isEntity = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(_context = ['EntryEntity', 'SubEntryEntity', 'TreeEntryEntity', 'TreeSubEntryEntity']).call(_context, type);\n  return _isEntity;\n};\n\n/**\n * 获取根结点\n * @param dataList\n * @returns\n */\nvar getRootEntity = function getRootEntity(dataList) {\n  return _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(dataList).call(dataList, function (item) {\n    return isRootNode(item._Type_);\n  });\n};\n\n/**\n * 查找选中元素所在的实体对象\n * @param dataList\n * @param id 字段或者实体的id\n * @returns 返回自身或者其父实体\n */\nvar findEntityById = function findEntityById(dataList, id) {\n  if (!id) return getRootEntity(dataList);\n  var item = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(dataList).call(dataList, function (item) {\n    return item.Id === id;\n  });\n  var type = item === null || item === void 0 ? void 0 : item._Type_;\n  if (isRootNode(type) || isEntity(type)) {\n    return item;\n  } else {\n    var parentId = item.ParentId;\n    return _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(dataList).call(dataList, function (item) {\n      return item.Id === parentId;\n    });\n  }\n};\n\n/**\n * 查找选中元素所在的实体对象Id\n * @param dataList\n * @param id 字段或者实体的id\n * @returns 返回自身或者其父实体Id\n */\nvar findEntityIdById = function findEntityIdById(dataList, id) {\n  if (!id) {\n    var root = getRootEntity(dataList);\n    return root.Id;\n  }\n  var item = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(dataList).call(dataList, function (item) {\n    return item.Id === id;\n  });\n  var type = item === null || item === void 0 ? void 0 : item._Type_;\n  if (isRootNode(type) || isEntity(type)) {\n    return item.Id;\n  } else {\n    var parentId = item.ParentId;\n    return parentId;\n  }\n};\n\n/**\n * 具有唯一性字段，需要校验\n * @param controlType\n * @param parentId\n * @param dataContext\n * @returns boolean\n */\nfunction canAddUniqueField(controlType, parentId, dataContext) {\n  var subControls = dataContext.getAllSubControls(parentId);\n  var existField = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_3___default()(subControls).call(subControls, function (item) {\n    return (item === null || item === void 0 ? void 0 : item[_constant_propnames__WEBPACK_IMPORTED_MODULE_5__._TYPE_]) === controlType;\n  });\n  return !existField;\n}\n\n//# sourceURL=webpack://entity-designer/./src/utils/index.ts?");

/***/ }),

/***/ 21920:
/*!*****************************!*\
  !*** ./src/utils/layout.ts ***!
  \*****************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getAdjustedNodePosition: function() { return /* binding */ getAdjustedNodePosition; },\n/* harmony export */   getMaxSizeByLevel: function() { return /* binding */ getMaxSizeByLevel; },\n/* harmony export */   getNodeContentSize: function() { return /* binding */ getNodeContentSize; },\n/* harmony export */   getNodeSize: function() { return /* binding */ getNodeSize; },\n/* harmony export */   getNodeTitleSize: function() { return /* binding */ getNodeTitleSize; },\n/* harmony export */   getReactFlowConfig: function() { return /* binding */ getReactFlowConfig; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_flow_renderer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react-flow-renderer */ 98752);\n/* harmony import */ var _constant_const__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../constant/const */ 83284);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n/**\n * 获取指定层级的最大宽高\n * @param elements\n * @param level\n * @returns { maxHeight, maxWidth }\n */\nfunction getMaxSizeByLevel(elements, level) {\n  var filteredElements = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_0___default()(elements).call(elements, function (item) {\n    return item.data.level === level;\n  });\n  var heightArr = [];\n  var widthArr = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(filteredElements).call(filteredElements, function (item) {\n    var _item$data$size = item.data.size,\n      height = _item$data$size.height,\n      width = _item$data$size.width;\n    heightArr.push(height);\n    widthArr.push(width);\n  });\n  var maxHeight = Math.max.apply(Math, heightArr);\n  var maxWidth = Math.max.apply(Math, widthArr);\n  return {\n    maxHeight: maxHeight,\n    maxWidth: maxWidth\n  };\n}\n\n/**\n * 获取指定节点的宽高\n * @param element\n * @returns { width, height }\n */\nfunction getNodeSize(element, nodeContentVisibleConfig) {\n  var nodeTitleSize = getNodeTitleSize(element);\n  var nodecontentSize = getNodeContentSize(element, nodeContentVisibleConfig);\n  return {\n    width: Math.max(nodeTitleSize.width, nodecontentSize.width),\n    height: nodeTitleSize.height + nodecontentSize.height\n  };\n}\nfunction getNodeTitleSize(element) {\n  var _element$data$title = element.data.title,\n    title = _element$data$title === void 0 ? '' : _element$data$title;\n  var titleEle = document.getElementById('_entityNodeTitle_');\n  if (!titleEle) {\n    titleEle = document.createElement('div');\n    titleEle.setAttribute('id', '_entityNodeTitle_');\n    titleEle.setAttribute('style', 'height:36px; border: 1px solid red; padding-left:32px; padding-right:12px; min-width:200px; max-width:320px; position:absolute; left:-9999px; top:0px; display:flex;');\n    document.body.appendChild(titleEle);\n  }\n  var html = \"<div style=\\\"margin:8px; font-size:14px;\\\">\".concat(title, \"</div>\");\n  titleEle.innerHTML = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.xssFilters)(html);\n  var _titleEle$getBounding = titleEle.getBoundingClientRect(),\n    width = _titleEle$getBounding.width,\n    height = _titleEle$getBounding.height;\n  return {\n    width: width,\n    height: height\n  };\n}\nfunction getNodeContentSize(element, nodeContentVisibleConfig) {\n  var _element$data = element.data,\n    _element$data$items = _element$data.items,\n    items = _element$data$items === void 0 ? [] : _element$data$items,\n    showMore = _element$data.showMore;\n  var showKey = nodeContentVisibleConfig.showKey,\n    showType = nodeContentVisibleConfig.showType;\n  var maxWidth = 0;\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(items).call(items, function (item) {\n    var name = item.name,\n      key = item.key,\n      typeName = item.typeName;\n    var fieldNodeEle = document.getElementById('_fieldNode_');\n    if (!fieldNodeEle) {\n      fieldNodeEle = document.createElement('div');\n      fieldNodeEle.setAttribute('id', '_fieldNode_');\n      fieldNodeEle.setAttribute('style', 'height:27px; border: 1px solid red; padding-left:22px; padding-right:20px; min-width:200px; max-width:320px; position:absolute; left:-9999px; top:40px; font-size: 12px; display:flex;');\n      document.body.appendChild(fieldNodeEle);\n    }\n    var html = \"<div>\".concat(name, \"</div>\");\n    html += showType ? \"<div>\\uFF08\".concat(typeName, \"\\uFF09</div>\") : '';\n    html += showKey ? \"<div>\\uFF08\".concat(key, \"\\uFF09</div>\") : '';\n    fieldNodeEle.innerHTML = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_4__.xssFilters)(html);\n    var _fieldNodeEle$getBoun = fieldNodeEle.getBoundingClientRect(),\n      width = _fieldNodeEle$getBoun.width;\n    maxWidth = Math.max(maxWidth, width);\n  });\n  var height = 0;\n  if (items.length <= _constant_const__WEBPACK_IMPORTED_MODULE_3__.MINLENGTH) {\n    height = Math.max(_constant_const__WEBPACK_IMPORTED_MODULE_3__.FIELDHEIGHT * items.length, _constant_const__WEBPACK_IMPORTED_MODULE_3__.PANELMINHEIGHT); // 最小高度48px\n  } else if (items.length <= _constant_const__WEBPACK_IMPORTED_MODULE_3__.MAXLENGTH) {\n    height = showMore ? _constant_const__WEBPACK_IMPORTED_MODULE_3__.FIELDHEIGHT * items.length + _constant_const__WEBPACK_IMPORTED_MODULE_3__.MOREBUTTONHEIGHT : _constant_const__WEBPACK_IMPORTED_MODULE_3__.FIELDHEIGHT * _constant_const__WEBPACK_IMPORTED_MODULE_3__.MINLENGTH + _constant_const__WEBPACK_IMPORTED_MODULE_3__.MOREBUTTONHEIGHT;\n  } else {\n    height = showMore ? _constant_const__WEBPACK_IMPORTED_MODULE_3__.FIELDHEIGHT * _constant_const__WEBPACK_IMPORTED_MODULE_3__.MAXLENGTH + _constant_const__WEBPACK_IMPORTED_MODULE_3__.MOREBUTTONHEIGHT : _constant_const__WEBPACK_IMPORTED_MODULE_3__.FIELDHEIGHT * _constant_const__WEBPACK_IMPORTED_MODULE_3__.MINLENGTH + _constant_const__WEBPACK_IMPORTED_MODULE_3__.MOREBUTTONHEIGHT;\n  }\n  return {\n    width: maxWidth,\n    height: height\n  };\n}\n\n/**\n * 获取调整后元素的位置，以达到顶部对齐的效果\n * @param elements\n * @param nodeWithPosition\n * @param level\n * @param isHorizontal\n * @returns { x, y }\n */\nfunction getAdjustedNodePosition(elements, nodeWithPosition, level, isHorizontal) {\n  switch (level) {\n    case 2:\n    case 3:\n      {\n        var _getMaxSizeByLevel = getMaxSizeByLevel(elements, level),\n          maxHeight = _getMaxSizeByLevel.maxHeight,\n          maxWidth = _getMaxSizeByLevel.maxWidth;\n        var x = nodeWithPosition.x - (isHorizontal ? maxWidth : nodeWithPosition.width) / 2;\n        var y = nodeWithPosition.y - (isHorizontal ? nodeWithPosition.height : maxHeight) / 2;\n        return {\n          x: x,\n          y: y\n        };\n      }\n    case 1:\n    default:\n      {\n        var _x = nodeWithPosition.x - nodeWithPosition.width / 2;\n        var _y = nodeWithPosition.y - nodeWithPosition.height / 2;\n        return {\n          x: _x,\n          y: _y\n        };\n      }\n  }\n}\n\n/**\n * 获取 ReactFlow 的配置项\n * @returns ReactFlowProps\n */\nfunction getReactFlowConfig() {\n  return {\n    style: {\n      background: '#ECEEF2'\n    },\n    zoomOnScroll: false,\n    preventScrolling: false,\n    nodesConnectable: false,\n    nodesDraggable: false,\n    panOnScrollMode: react_flow_renderer__WEBPACK_IMPORTED_MODULE_2__.PanOnScrollMode.Free,\n    defaultZoom: 1,\n    minZoom: 1 / 1.2 / 1.2,\n    maxZoom: 1.2 * 1.2,\n    zoomOnDoubleClick: false\n  };\n}\n\n//# sourceURL=webpack://entity-designer/./src/utils/layout.ts?");

/***/ }),

/***/ 30296:
/*!**********************************!*\
  !*** ./src/utils/searchUtils.ts ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getSearchResults: function() { return /* binding */ getSearchResults; },\n/* harmony export */   scrollIntoView: function() { return /* binding */ scrollIntoView; },\n/* harmony export */   setFieldIntoView: function() { return /* binding */ setFieldIntoView; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./index */ 63612);\n/* harmony import */ var _constant_const__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../constant/const */ 83284);\n\n\n\n\n\n\n\n\n\nfunction getSearchResults() {\n  var dataList = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n  var keyWord = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  var selectedId = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n  if (keyWord === '') return [];\n  var entityList = [];\n  var filteredField = [];\n  var results = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(dataList).call(dataList, function (item) {\n    var type = item._Type_,\n      key = item.Key,\n      name = item.Name;\n    if ((0,_index__WEBPACK_IMPORTED_MODULE_7__.isRootNode)(type) || (0,_index__WEBPACK_IMPORTED_MODULE_7__.isEntity)(type)) {\n      entityList.push(item);\n    } else if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(key).call(key, keyWord) || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(name).call(name, keyWord)) {\n      filteredField.push(item);\n    }\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(filteredField).call(filteredField, function (item) {\n    var parentId = item.ParentId,\n      key = item.Key,\n      name = item.Name,\n      id = item.Id;\n    var newItem = {\n      id: id,\n      key: key,\n      name: name\n    };\n    var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default()(results).call(results, function (item) {\n      return item.id === parentId;\n    });\n    if (index > -1) {\n      results[index].items.push(newItem);\n    } else {\n      var parent = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(entityList).call(entityList, function (item) {\n        return item.Id === parentId;\n      });\n      results.push({\n        id: parentId,\n        key: parent.Key,\n        name: parent.Name,\n        items: [newItem]\n      });\n    }\n  });\n  var _findEntityById = (0,_index__WEBPACK_IMPORTED_MODULE_7__.findEntityById)(dataList, selectedId),\n    selectEntityId = _findEntityById.Id;\n  var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default()(results).call(results, function (item) {\n    return item.id === selectEntityId;\n  });\n  if (index > 0) {\n    var _context;\n    // 搜索框结果的分组排序，把选中卡片放到最上面\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = [results[index]]).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default()(results).call(results, 0, index)), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default()(results).call(results, index + 1)));\n  } else {\n    return results;\n  }\n}\nfunction scrollIntoView(attr, value) {\n  var _container$querySelec;\n  var container = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : document;\n  var dom = (_container$querySelec = container.querySelectorAll('[' + attr + '=\"' + value + '\"]')) === null || _container$querySelec === void 0 ? void 0 : _container$querySelec[0];\n  dom && dom.scrollIntoView({\n    block: 'nearest',\n    behavior: 'smooth'\n  });\n}\nfunction setFieldIntoView(id) {\n  var _document$querySelect;\n  var dom = (_document$querySelect = document.querySelectorAll('[data-control-id=\"' + id + '\"]')) === null || _document$querySelect === void 0 ? void 0 : _document$querySelect[0];\n  var panelDom = dom === null || dom === void 0 ? void 0 : dom.parentElement;\n  var children = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_6___default()(Array.prototype).call((panelDom === null || panelDom === void 0 ? void 0 : panelDom.children) || []);\n  var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_3___default()(children).call(children, function (item) {\n    return item.id === id;\n  });\n  if (panelDom && index > -1) {\n    var _panelDom$getBounding, _dom$getBoundingClien;\n    var panelHeight = ((_panelDom$getBounding = panelDom.getBoundingClientRect()) === null || _panelDom$getBounding === void 0 ? void 0 : _panelDom$getBounding.height) || 0;\n    var fieldHeight = ((_dom$getBoundingClien = dom.getBoundingClientRect()) === null || _dom$getBoundingClien === void 0 ? void 0 : _dom$getBoundingClien.height) || 0;\n    var relativeHeight = fieldHeight * index - panelDom.scrollTop;\n    var isFieldInView = relativeHeight >= panelHeight || relativeHeight < 0;\n    if (isFieldInView) {\n      panelDom.scrollTop = _constant_const__WEBPACK_IMPORTED_MODULE_8__.FIELDHEIGHT * index;\n    }\n  }\n}\n\n//# sourceURL=webpack://entity-designer/./src/utils/searchUtils.ts?");

/***/ }),

/***/ 59416:
/*!**********************************!*\
  !*** ./src/utils/setProperty.ts ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n\n\n\n\n\n\n/*\n * @Description: setProperty\n */\n\n\n\n\nvar UPDATE = 'update';\nvar ALIAS = 'alias';\nvar delayQueueUtil = new designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.DelayQueueUtil([UPDATE, ALIAS]);\nvar setProperty = function setProperty(_ref) {\n  var dataRef = _ref.dataRef,\n    kdesignerApi = _ref.kdesignerApi,\n    keywordMapping = _ref.keywordMapping;\n  return function (args) {\n    var _context;\n    if (!args || !args[0]) return;\n    var data = args[0];\n    data = (0,lodash__WEBPACK_IMPORTED_MODULE_7__.isArray)(data) ? data : [data];\n    var aliasActions = [];\n    var actions = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(data).call(data, function (prop) {\n      var _context2;\n      // 当metaType==‘entitymeta’时 itemId为实体Id\n      // 当metaType==‘formmeta’时 itemId为控件的Id\n      var itemId = prop.itemId,\n        value = prop.value,\n        metaType = prop.metaType,\n        propertyName = prop.propertyName,\n        _alias = prop.alias;\n      var alias = (0,lodash__WEBPACK_IMPORTED_MODULE_7__.isUndefined)(_alias) ? _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_3___default()(value) : _alias;\n      if (metaType === 'formmeta') {\n        console.log('setProperty formmeta', prop);\n        return;\n      }\n      var oldItem = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = dataRef.current[metaType].Items).call(_context2, function (item) {\n        return item.Id === itemId;\n      });\n      if (!oldItem) {\n        console.log('other\"s form type action: ', prop);\n        // 这里应该去找其他form? 或者是后端带上对应的form? 或者是右视图先不渲染?\n        // 或者渲染带上实例ID\n        return;\n      }\n      var oldValue = oldItem[propertyName];\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_7__.isUndefined)(oldValue)) {\n        var propDefVal = kdesignerApi.current.meta.getControlPropertyDefaultValue(oldItem[_constant_propnames__WEBPACK_IMPORTED_MODULE_8__._TYPE_], propertyName);\n        if (propDefVal) {\n          oldValue = propDefVal;\n        }\n      }\n      var isValChange = !(0,lodash__WEBPACK_IMPORTED_MODULE_7__.isEqual)(oldValue, value);\n      if (isValChange) {\n        // 这里如果是Batch还不能直接调,得在Attr里做一层转发 ?\n        return [itemId, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, propertyName, value)];\n      }\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_7__.isUndefined)(alias)) {\n        var originAliasValue = kdesignerApi.current.aliasData.getAliasDataPropValue(oldItem[keywordMapping.type], propertyName, value);\n        if (!(0,lodash__WEBPACK_IMPORTED_MODULE_7__.isEqual)(originAliasValue, alias)) {\n          // 不应该会改type\n          aliasActions.push({\n            type: oldItem[keywordMapping.type],\n            propName: propertyName,\n            value: value,\n            alias: alias\n          });\n        }\n      }\n      return;\n    })).call(_context, Boolean);\n    delayQueueUtil.addQueueData(actions, UPDATE);\n    delayQueueUtil.addQueueData(aliasActions, ALIAS);\n    delayQueueUtil.addTimer(function () {\n      var dataActionQueue = delayQueueUtil.getQueueData(UPDATE);\n      var aliasActionQueue = delayQueueUtil.getQueueData(ALIAS);\n      if (dataActionQueue.length) {\n        kdesignerApi.current.data.batchUpdateControlPropertyValues((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_6__.createUpdateAction)(dataActionQueue));\n      }\n      if (aliasActionQueue.length) {\n        _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default()(function () {\n          kdesignerApi.current.aliasData.setAliasDataPropValue(aliasActionQueue);\n        });\n      }\n      delayQueueUtil.clearQueue();\n    });\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (setProperty);\n\n//# sourceURL=webpack://entity-designer/./src/utils/setProperty.ts?");

/***/ }),

/***/ 51032:
/*!**********************************!*\
  !*** ./src/utils/toolbarUtil.ts ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   deleteControlFn: function() { return /* binding */ deleteControlFn; },\n/* harmony export */   getCopyControlFn: function() { return /* binding */ getCopyControlFn; },\n/* harmony export */   getNextSelectedControlId: function() { return /* binding */ getNextSelectedControlId; },\n/* harmony export */   pasteUtil: function() { return /* binding */ pasteUtil; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _constant_NodeType__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../constant/NodeType */ 5272);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./index */ 63612);\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n/**\n * 粘贴\n * @param\n */\nvar pasteUtil = function pasteUtil(control, dataContext, selectionContext, metaApi, canAddHandle, isRepeat) {\n  var getActiveSelectedId = selectionContext.getActiveSelectedId;\n  var rootId = dataContext.getRootId();\n  var activeSelectedId = getActiveSelectedId();\n  var activeControl = dataContext.findControl(activeSelectedId);\n  var targetControl = control;\n  var targetId = targetControl.Id,\n    targetKey = targetControl.Key,\n    targetType = targetControl._Type_;\n  var activeId = activeControl.Id,\n    activeType = activeControl._Type_;\n  var targetParentId = targetControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__.PARENTID] || rootId;\n  var activeParentId = activeControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__.PARENTID] || rootId;\n  if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE, targetType)) {\n    // 单据体/子单据体\n    var _metaApi$getControlMe = metaApi.getControlMeta(activeType),\n      _metaApi$getControlMe2 = _metaApi$getControlMe.IsContainer,\n      IsContainer = _metaApi$getControlMe2 === void 0 ? false : _metaApi$getControlMe2;\n    var _metaApi$getControlMe3 = metaApi.getControlMeta(targetType),\n      _metaApi$getControlMe4 = _metaApi$getControlMe3.IsContainer,\n      targetContainer = _metaApi$getControlMe4 === void 0 ? false : _metaApi$getControlMe4;\n    if (!IsContainer) {\n      // 焦点在字段\n      return false;\n    } else if (isRepeat) {\n      // 焦点在自身\n      var newId = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createUUid)();\n      var newControl = _objectSpread(_objectSpread({}, targetControl), {}, {\n        ParentId: activeParentId,\n        Id: newId,\n        Key: targetKey + '1',\n        Inherit: false\n      });\n      var index = dataContext.findControlIndex(activeId) + 1;\n      return {\n        newControl: newControl,\n        index: index\n      };\n    } else {\n      // 焦点在其他单据体节点或子单据体节点或父容器节点\n      var childControl = {\n        Id: targetId,\n        IsContainer: targetContainer,\n        ParentId: targetParentId\n      };\n      var parentControl = {\n        Id: activeId,\n        IsContainer: IsContainer\n      };\n      var canAdd = canAddHandle(targetType, activeType, childControl, parentControl);\n      if (!canAdd) {\n        return false;\n      } else {\n        var _newId = (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createUUid)();\n        var _newControl = _objectSpread(_objectSpread({}, targetControl), {}, {\n          ParentId: activeId,\n          Id: _newId,\n          Key: targetKey + '1',\n          Inherit: false\n        });\n        var _index = -1;\n        return {\n          newControl: _newControl,\n          index: _index\n        };\n      }\n    }\n  } else {\n    // 字段\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_TYPE_ARR).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_TYPE_ARR, activeType)) {\n      // 焦点在容器上粘贴\n      var _metaApi$getControlMe5 = metaApi.getControlMeta(activeType),\n        _metaApi$getControlMe6 = _metaApi$getControlMe5.IsContainer,\n        _IsContainer = _metaApi$getControlMe6 === void 0 ? false : _metaApi$getControlMe6;\n      var _metaApi$getControlMe7 = metaApi.getControlMeta(targetType),\n        _metaApi$getControlMe8 = _metaApi$getControlMe7.IsContainer,\n        _targetContainer = _metaApi$getControlMe8 === void 0 ? false : _metaApi$getControlMe8;\n      var _childControl = {\n        Id: targetId,\n        IsContainer: _targetContainer,\n        ParentId: targetParentId\n      };\n      var _parentControl = {\n        Id: activeId,\n        IsContainer: _IsContainer\n      };\n      var _canAdd = canAddHandle(targetType, activeType, _childControl, _parentControl);\n      if (!_canAdd) {\n        return false;\n      } else {\n        var _newControl2 = _objectSpread(_objectSpread({}, targetControl), {}, {\n          ParentId: activeId,\n          Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createUUid)(),\n          Key: targetKey + '1',\n          FieldName: targetKey + '1',\n          Inherit: false\n        });\n        var _index2 = -1;\n        return {\n          newControl: _newControl2,\n          index: _index2\n        };\n      }\n    } else {\n      // 焦点在字段上粘贴\n      var activeFatherControl = dataContext.findControl(activeParentId);\n      var activeFatherId = activeFatherControl.Id,\n        activeFatherType = activeFatherControl._Type_;\n      var _metaApi$getControlMe9 = metaApi.getControlMeta(activeFatherType),\n        _metaApi$getControlMe10 = _metaApi$getControlMe9.IsContainer,\n        _IsContainer2 = _metaApi$getControlMe10 === void 0 ? false : _metaApi$getControlMe10;\n      var _childControl2 = {\n        Id: targetId,\n        IsContainer: false,\n        ParentId: targetParentId\n      };\n      var _parentControl2 = {\n        Id: activeFatherId,\n        IsContainer: _IsContainer2\n      };\n      var _canAdd2 = canAddHandle(targetType, activeFatherType, _childControl2, _parentControl2);\n      if (!_canAdd2) {\n        return false;\n      } else {\n        var _newControl3 = _objectSpread(_objectSpread({}, targetControl), {}, {\n          ParentId: activeParentId,\n          Id: (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createUUid)(),\n          Key: targetKey + '1',\n          FieldName: targetKey + '1',\n          Inherit: false\n        });\n        var _index3 = dataContext.findControlIndex(activeId) + 1;\n        return {\n          newControl: _newControl3,\n          index: _index3\n        };\n      }\n    }\n  }\n};\n\n/**\n * 删除实体节点\n * @param\n */\nvar deleteControlFn = function deleteControlFn(id, setSelect, dataContext, controlsAddedByForntEnd, invokeAction, showMessage) {\n  if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(controlsAddedByForntEnd).call(controlsAddedByForntEnd, id)) {\n    var nextSelectedId = getNextSelectedControlId(id, dataContext);\n    dataContext.deleteControl((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.createDeleteAction)(id)).then(function () {\n      setSelect([nextSelectedId]);\n    });\n  } else {\n    var constcontrolInfo = dataContext.findControl(id);\n    var key = constcontrolInfo.Key,\n      type = constcontrolInfo._Type_,\n      inherit = constcontrolInfo.Inherit;\n    if (inherit) {\n      showMessage((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('entityd.toolbarUtil.key0001'));\n      return;\n    }\n    var _isEntity = (0,_index__WEBPACK_IMPORTED_MODULE_15__.isEntity)(type);\n    invokeAction('deleteConfirm', [key, id, _isEntity]);\n  }\n};\n\n/**\n * 实体设计器下一次焦点\n * @param\n * 实体设计器删除后焦点跳转要遵循以下规则\n * 1.可以删除的控件是除了根节点以外的字段和单据\n * 如果删除的是字段,向前向后跳字段，没有字段则跳向父亲\n * 如果删除的是单据,向前向后跳单据，没有单据则跳向父亲\n */\nvar getNextSelectedControlId = function getNextSelectedControlId(id, dataContext) {\n  // 获取当前节点\n  var siblingsControl = dataContext.getAllSiblings(id);\n  var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_10___default()(siblingsControl).call(siblingsControl, function (control) {\n    return control[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__.ID] === id;\n  });\n  var IS_ENTITY_NODE_TYPE = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE, siblingsControl[index][_constant_propnames__WEBPACK_IMPORTED_MODULE_13__._TYPE_]);\n  // 前向后跳寻找节点\n  var prevControl, nextControl;\n  for (var i = index - 1; i >= 0; i--) {\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE, siblingsControl[i][_constant_propnames__WEBPACK_IMPORTED_MODULE_13__._TYPE_]) === IS_ENTITY_NODE_TYPE) {\n      prevControl = siblingsControl[i];\n      break;\n    }\n  }\n  for (var _i = index + 1; _i < siblingsControl.length; _i++) {\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE).call(_constant_NodeType__WEBPACK_IMPORTED_MODULE_14__.ENTITY_NODE_TYPE, siblingsControl[_i][_constant_propnames__WEBPACK_IMPORTED_MODULE_13__._TYPE_]) === IS_ENTITY_NODE_TYPE) {\n      nextControl = siblingsControl[_i];\n      break;\n    }\n  }\n  var parentControlId = dataContext.getParentControlId(id);\n  var nextSelectedId = id;\n  if (prevControl) nextSelectedId = prevControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__.ID];else if (nextControl) nextSelectedId = nextControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_13__.ID];else if (parentControlId) nextSelectedId = parentControlId;\n  return nextSelectedId;\n};\n/**\n * 获取复制实体节点\n * @param\n */\nvar getCopyControlFn = function getCopyControlFn(selection, dataContext) {\n  var copyContent = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(selection).call(selection, function (sel) {\n    var result = dataContext.getAllSubControls(sel) || [];\n    copyContent = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(copyContent).call(copyContent, result);\n  });\n  return copyContent;\n};\n\n//# sourceURL=webpack://entity-designer/./src/utils/toolbarUtil.ts?");

/***/ }),

/***/ 84532:
/*!*********************************!*\
  !*** ./src/utils/transform.tsx ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   adaptorMeta: function() { return /* binding */ adaptorMeta; },\n/* harmony export */   getAdaptedData: function() { return /* binding */ getAdaptedData; },\n/* harmony export */   translateDataToTree: function() { return /* binding */ translateDataToTree; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../utils/index */ 63612);\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2022-02-15 10:15:19\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-11 17:25:57\n * @Description: ...\n */\n\n\n\n\nvar adaptorMeta = function adaptorMeta(originMeta, data) {\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_8__.adaptorMeta)(originMeta, designer_base_Main__WEBPACK_IMPORTED_MODULE_8__.transformKeyMap, data);\n};\nvar dataKeysMap = {\n  BizappId: 'bizappId',\n  Name: 'name',\n  Id: 'id',\n  appNum: 'formId',\n  Key: 'key',\n  DevType: 'devType',\n  MasterId: 'masterId',\n  ExtElements: 'extElements'\n};\n// 获取适配后的页面数据\nvar getAdaptedData = function getAdaptedData(originalData) {\n  var _context, _context2, _context3;\n  var entitymeta = originalData.entitymeta;\n  var adaptedData = {};\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(entitymeta)).call(_context, function (item) {\n    entitymeta[item] && dataKeysMap[item] && (adaptedData[dataKeysMap[item]] = entitymeta[item]);\n  });\n  var rootdata = entitymeta.Items && _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(_context2 = entitymeta.Items).call(_context2, function (item) {\n    return (0,_utils_index__WEBPACK_IMPORTED_MODULE_10__.isRootNode)(item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__._TYPE_]);\n  });\n  var rootId = rootdata[0][_constant_propnames__WEBPACK_IMPORTED_MODULE_9__.ID];\n  var items = entitymeta.Items && _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = entitymeta.Items).call(_context3, function (item) {\n    var parentId = item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__.PARENTID];\n    if (!parentId && !(0,_utils_index__WEBPACK_IMPORTED_MODULE_10__.isRootNode)(item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__._TYPE_])) {\n      item[_constant_propnames__WEBPACK_IMPORTED_MODULE_9__.PARENTID] = rootId;\n    }\n    return item;\n  });\n  adaptedData.Items = items;\n  return adaptedData;\n};\nfunction translateDataToTree(data, isShowKey) {\n  var initTreeData = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(data.items);\n  var treeData = [];\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(initTreeData).call(initTreeData, function (_ref) {\n    var _context4;\n    var Id = _ref.Id,\n      Name = _ref.Name,\n      ParentId = _ref.ParentId,\n      Key = _ref.Key;\n    var node = {\n      key: Id,\n      title: Name,\n      parentId: ParentId\n    };\n    if (isShowKey) node.title = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context4 = \"\".concat(Name, \"\\uFF08\")).call(_context4, Key, \"\\uFF09\");\n    treeData.push(node);\n  });\n  // 第一层数据\n  var parents = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(treeData).call(treeData, function (item) {\n    return !item.parentId;\n  });\n  // 有父节点的数据\n  var childrens = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(treeData).call(treeData, function (item) {\n    return !!item.parentId;\n  });\n  function translator(parents, childrens) {\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(parents).call(parents, function (parent) {\n      delete parent.parentId;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(childrens).call(childrens, function (children, index) {\n        // 找到子层的父层\n        if (children.parentId === parent.key) {\n          // temp 这步不是必须\n          // 对子节点数据进行深复制\n          var temp = JSON.parse(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_6___default()(childrens));\n          // 让当前子节点从temp中移除，temp作为新的子节点数据，这里是为了让递归时，子节点的遍历次数更少，如果父子关系的层级越多，越有利\n          _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_7___default()(temp).call(temp, index, 1);\n          // 判断是否有children属性 有就直接push 没有就增加children属性\n          delete children.parentId;\n          parent.children ? parent.children.push(children) : parent.children = [children];\n          // 不用temp 传childrens也可\n          translator([children], temp);\n        }\n      });\n    });\n  }\n  translator(parents, childrens);\n  // 返回最终结果\n  return parents;\n}\n\n//# sourceURL=webpack://entity-designer/./src/utils/transform.tsx?");

/***/ }),

/***/ 37796:
/*!************************************!*\
  !*** ./src/views/PropertyView.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! immer */ 83789);\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context4, _context5; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context4 = ownKeys(Object(t), !0)).call(_context4, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context5 = ownKeys(Object(t))).call(_context5, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\nvar prefix = 'entity-designer';\nvar rootClass = prefix + '-entity-property';\nvar EXTEND_CONTEOL_ISV_LIST = ['kingdee', 'kdxk', 'kdtest', 'test']; // 受扩展控制的ISV：苍穹、星空\n\nvar EntityPropertyView = function EntityPropertyView(props) {\n  var _getDataRef, _extElements$find;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(_context__WEBPACK_IMPORTED_MODULE_15__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    _useContext$lockProps = _useContext.lockPropsMap,\n    lockPropsMap = _useContext$lockProps === void 0 ? {} : _useContext$lockProps,\n    _useContext$designerC = _useContext.designerConfig,\n    designerConfig = _useContext$designerC === void 0 ? {} : _useContext$designerC,\n    getDataRef = _useContext.getDataRef;\n  var kdesignerApi = getKdesignerApi();\n  (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.useSelectionChangeForceUpdateEffect)(getKdesignerApi());\n  var isv = ((_getDataRef = getDataRef()) === null || _getDataRef === void 0 || (_getDataRef = _getDataRef.entitymeta) === null || _getDataRef === void 0 ? void 0 : _getDataRef.Isv) || 'kingdee';\n  var activeSelectedId = kdesignerApi.selection.getActiveSelectedId();\n  var controlInfo = kdesignerApi.data.findControl(activeSelectedId || kdesignerApi.data.getRootId());\n  var controlMeta = kdesignerApi.meta.getControlMeta(controlInfo.FieldType || controlInfo._Type_);\n  var _kdesignerApi$data$ge = kdesignerApi.data.getData(),\n    emtityMetaItems = _kdesignerApi$data$ge.Items,\n    _kdesignerApi$data$ge2 = _kdesignerApi$data$ge.extElements,\n    extElements = _kdesignerApi$data$ge2 === void 0 ? [] : _kdesignerApi$data$ge2,\n    devType = _kdesignerApi$data$ge.devType;\n  var _designerConfig$enabl = designerConfig.enableGlobalControl,\n    enableGlobalControl = _designerConfig$enabl === void 0 ? false : _designerConfig$enabl,\n    _designerConfig$enabl2 = designerConfig.enableBillControl,\n    enableBillControl = _designerConfig$enabl2 === void 0 ? false : _designerConfig$enabl2;\n  var fieldExtensible = ((_extElements$find = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(extElements).call(extElements, function (item) {\n    return item.Type === 'Field';\n  })) === null || _extElements$find === void 0 ? void 0 : _extElements$find.Items) || [];\n  fieldExtensible = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11___default()(fieldExtensible).call(fieldExtensible, function (item) {\n    var _emtityMetaItems$;\n    if (item.Id === ((_emtityMetaItems$ = emtityMetaItems[0]) === null || _emtityMetaItems$ === void 0 ? void 0 : _emtityMetaItems$.PkId)) {\n      var _emtityMetaItems$2;\n      return _objectSpread(_objectSpread({}, item), {}, {\n        Id: (_emtityMetaItems$2 = emtityMetaItems[0]) === null || _emtityMetaItems$2 === void 0 ? void 0 : _emtityMetaItems$2.Id\n      });\n    }\n    return item;\n  });\n  var filterPropertyHandler = function filterPropertyHandler(groups) {\n    var filterStyleNode = function filterStyleNode(innerGroups) {\n      return (0,immer__WEBPACK_IMPORTED_MODULE_16__.produce)(innerGroups, function (draft) {\n        if (draft === undefined) return [];\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(draft).call(draft, function (group) {\n          var _context, _context3;\n          group.Nodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(_context = group.Nodes).call(_context, function (node) {\n            var _context2;\n            // 再加上宽高？\n            // 旧版是写死的...\n            if (node.TabGroup !== 'style' && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(_context2 = ['Width', 'Height']).call(_context2, node.Id)) {\n              return true;\n            }\n          });\n          group.Nodes = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_11___default()(_context3 = group.Nodes).call(_context3, function (node) {\n            var fielsIsv = controlInfo.IsvFlag;\n            var isCurrentIsvField = fielsIsv === isv; // 判断字段是否是当前开发商环境下新增的\n            if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(EXTEND_CONTEOL_ISV_LIST).call(EXTEND_CONTEOL_ISV_LIST, fielsIsv) && devType === '2' && !isCurrentIsvField) {\n              // 扩展单\n              var isInherit = controlInfo.Inherit;\n              var isReadOnly = node.ReadOnly;\n              // 全局扩展控制\n              if (enableGlobalControl) {\n                if (!isInherit && node.LockType === 'speciallock') {\n                  // 新增字段（非继承）不受locktype限制，所以重置为unlock\n                  node.LockType = 'unlock';\n                }\n                if (!isReadOnly && node.LockType === 'lock' && isInherit) {\n                  node.ReadOnly = true;\n                }\n              } else {\n                node.LockType = 'unlock';\n              }\n              var matchedField = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_10___default()(fieldExtensible).call(fieldExtensible, function (item) {\n                return item.Id === controlInfo.Id;\n              });\n              // 单据级扩展控制\n              if (enableBillControl && matchedField) {\n                var _matchedField$Props;\n                (_matchedField$Props = matchedField.Props) === null || _matchedField$Props === void 0 || _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_matchedField$Props).call(_matchedField$Props, function (item) {\n                  var lockType = item.LockType || 'lock';\n                  if (node.Id === item.Id) {\n                    node.LockType = lockType;\n                    if (lockType === 'lock') {\n                      node.ReadOnly = true;\n                    } else if (!isReadOnly && lockType === 'unlock') {\n                      node.ReadOnly = false;\n                    }\n                  }\n                });\n              }\n            } else {\n              delete node.LockType;\n            }\n            // 后端指令锁定的属性\n            var lockPropsArr = lockPropsMap[activeSelectedId];\n            if (lockPropsArr !== null && lockPropsArr !== void 0 && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(lockPropsArr).call(lockPropsArr, node.Id)) {\n              node.ReadOnly = true;\n            }\n            return node;\n          });\n        });\n      });\n    };\n    return filterStyleNode(groups);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.PropertyView, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_6__[\"default\"])({}, props, {\n    filterPropertyHandler: filterPropertyHandler\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: \"\".concat(rootClass, \"-readonly-container\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: \"\".concat(rootClass, \"-readonly-container-property\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: \"\".concat(rootClass, \"-readonly-container-property-title\")\n  }, (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.propertyView.key0002')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: \"\".concat(rootClass, \"-readonly-container-property-name\"),\n    title: controlMeta.Name\n  }, controlMeta.Name))));\n};\nEntityPropertyView.tabKey = 'property';\nEntityPropertyView.getTabName = function () {\n  return (0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.getLangMsg)('entityd.propertyView.key0001');\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EntityPropertyView);\n\n//# sourceURL=webpack://entity-designer/./src/views/PropertyView.tsx?");

/***/ }),

/***/ 79412:
/*!*********************************!*\
  !*** ./src/views/left-view.tsx ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n// const noop = () => void 0\nvar LeftView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (props, forwardedRef) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, \"left-view\");\n});\nLeftView.tabKey = 'leftView';\nLeftView.displayName = 'left-view';\n/* harmony default export */ __webpack_exports__[\"default\"] = (LeftView);\n\n//# sourceURL=webpack://entity-designer/./src/views/left-view.tsx?");

/***/ }),

/***/ 26440:
/*!**************************************!*\
  !*** ./src/views/main-card-view.tsx ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react-flow-renderer */ 98752);\n/* harmony import */ var _controls_EntityNode__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../controls/EntityNode */ 29488);\n/* harmony import */ var dagre__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! dagre */ 84912);\n/* harmony import */ var dagre__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(dagre__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _utils_entityMeta__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../utils/entityMeta */ 78968);\n/* harmony import */ var _views_nav_toolbar_view__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../views/nav-toolbar-view */ 73244);\n/* harmony import */ var _utils_layout__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../utils/layout */ 21920);\n/* harmony import */ var _constant_const__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../constant/const */ 83284);\n/* harmony import */ var _controls__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../controls */ 82684);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n/* harmony import */ var _utils_searchUtils__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../utils/searchUtils */ 30296);\n/* harmony import */ var _hooks_useKeyboardEvent__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../hooks/useKeyboardEvent */ 87060);\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context5, _context6; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context5 = ownKeys(Object(t), !0)).call(_context5, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context6 = ownKeys(Object(t))).call(_context6, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar MainCardView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_13__.memo)(function (props, forwardedRef) {\n  var data = props.data;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 2),\n    layoutElements = _useState2[0],\n    setlayoutElements = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)('TB'),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 2),\n    layoutDirection = _useState4[0],\n    setLayoutDirection = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(true),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 2),\n    panOnScroll = _useState6[0],\n    setPanOnScroll = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 2),\n    showContextMenu = _useState8[0],\n    setShowContextMenu = _useState8[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(_context__WEBPACK_IMPORTED_MODULE_18__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    userConfig = _useContext.userConfig,\n    onUserConfigChange = _useContext.onUserConfigChange,\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var cardViewPrefix = getPrefixCls && getPrefixCls(prefixCls, 'card-view');\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)({\n      showKey: userConfig.showKey,\n      showType: userConfig.showType,\n      showFullRelationship: userConfig.showFullRelationship\n    }),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 2),\n    nodeContentVisibleConfig = _useState10[0],\n    setNodeContentVisibleConfig = _useState10[1];\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)({\n      x: 0,\n      y: 0\n    }),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState11, 2),\n    mousePosition = _useState12[0],\n    setMousePosition = _useState12[1];\n  var instanceRef = (0,react__WEBPACK_IMPORTED_MODULE_13__.useRef)();\n  var elementsRef = (0,react__WEBPACK_IMPORTED_MODULE_13__.useRef)([]);\n  var needFitViewFlag = (0,react__WEBPACK_IMPORTED_MODULE_13__.useRef)(false);\n  var kdesignerApi = getKdesignerApi();\n  var metaApi = kdesignerApi.meta;\n  var dataApi = kdesignerApi.data;\n  var selectionApi = kdesignerApi.selection;\n  var mainViewNodeRef = (0,react__WEBPACK_IMPORTED_MODULE_13__.useRef)(null);\n  // 监听键盘事件\n  (0,_hooks_useKeyboardEvent__WEBPACK_IMPORTED_MODULE_26__[\"default\"])(mainViewNodeRef);\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    elementsRef.current = (0,_utils_entityMeta__WEBPACK_IMPORTED_MODULE_19__.convertEntityMetaToElements)(data, {\n      getControlMeta: metaApi.getControlMeta\n    });\n    var removeSelectionChange = selectionApi.addSelectChangeListener(onSelectionChange);\n    return function () {\n      removeSelectionChange && removeSelectionChange();\n    };\n  }, []);\n  var dataChangeListenerCallback = (0,react__WEBPACK_IMPORTED_MODULE_13__.useCallback)(function (dataChangeEvent) {\n    var value = dataChangeEvent.value;\n    elementsRef.current = (0,_utils_entityMeta__WEBPACK_IMPORTED_MODULE_19__.convertEntityMetaToElements)(value, {\n      getControlMeta: metaApi.getControlMeta\n    });\n    needFitViewFlag.current = false;\n    onLayout(layoutDirection);\n  }, [layoutDirection, nodeContentVisibleConfig]);\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    needFitViewFlag.current = true;\n    onLayout(layoutDirection);\n    var removeDataChangeListener = dataApi.addDataChangeListener(dataChangeListenerCallback);\n    return function () {\n      removeDataChangeListener();\n    };\n  }, [layoutDirection, nodeContentVisibleConfig]);\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    if (layoutElements.length > 0 && needFitViewFlag.current) {\n      var _instanceRef$current$, _instanceRef$current;\n      var zoom = (_instanceRef$current$ = instanceRef.current.toObject()) === null || _instanceRef$current$ === void 0 ? void 0 : _instanceRef$current$.zoom;\n      (_instanceRef$current = instanceRef.current) === null || _instanceRef$current === void 0 || _instanceRef$current.fitView({\n        minZoom: zoom,\n        maxZoom: zoom\n      });\n    }\n  }, [layoutElements]);\n  (0,react__WEBPACK_IMPORTED_MODULE_13__.useEffect)(function () {\n    onLayout(layoutDirection);\n  }, [nodeContentVisibleConfig]);\n  var onSelectionChange = function onSelectionChange(event) {\n    // console.log('event：', event)\n    var selectedId = event.value[0];\n    if (selectedId === undefined) return;\n    var control = dataApi.findControl(selectedId);\n    var isField = control[_constant_propnames__WEBPACK_IMPORTED_MODULE_24__.FIELDNAME] !== undefined;\n    isField && (0,_utils_searchUtils__WEBPACK_IMPORTED_MODULE_25__.setFieldIntoView)(selectedId);\n  };\n  var onLayout = function onLayout(direction) {\n    var _context, _context2, _context3;\n    setLayoutDirection(direction);\n    var isHorizontal = direction === 'LR';\n    var dagreGraph = new (dagre__WEBPACK_IMPORTED_MODULE_17___default().graphlib).Graph();\n    dagreGraph.setDefaultEdgeLabel(function () {\n      return {};\n    });\n    dagreGraph.setGraph({\n      rankdir: direction,\n      nodesep: 30,\n      ranksep: 50\n    });\n    var showFullRelationship = nodeContentVisibleConfig.showFullRelationship;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context = elementsRef.current).call(_context, function (el) {\n      if ((0,react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.isNode)(el)) {\n        el.data.size = showFullRelationship ? {\n          width: _constant_const__WEBPACK_IMPORTED_MODULE_22__.ENTITYNODE_HEADER_WIDTH,\n          height: _constant_const__WEBPACK_IMPORTED_MODULE_22__.ENTITYNODE_HEADER_HEIGHT\n        } : (0,_utils_layout__WEBPACK_IMPORTED_MODULE_21__.getNodeSize)(el, nodeContentVisibleConfig);\n        dagreGraph.setNode(el.id, el.data.size);\n      } else {\n        dagreGraph.setEdge(el.source, el.target);\n      }\n    });\n    dagre__WEBPACK_IMPORTED_MODULE_17___default().layout(dagreGraph);\n    // 转成 ReactFlow 的元素\n    var nodeElements = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_11___default()(_context2 = elementsRef.current).call(_context2, 0, (elementsRef.current.length + 1) / 2);\n    var _layoutElements = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default()(_context3 = elementsRef.current).call(_context3, function (el) {\n      if ((0,react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.isNode)(el)) {\n        var nodeWithPosition = dagreGraph.node(el.id);\n        el.targetPosition = isHorizontal ? react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.Position.Left : react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.Position.Top;\n        el.sourcePosition = isHorizontal ? react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.Position.Right : react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.Position.Bottom;\n        el.position = (0,_utils_layout__WEBPACK_IMPORTED_MODULE_21__.getAdjustedNodePosition)(nodeElements, nodeWithPosition, el.data.level, isHorizontal);\n        // el.position = nodeWithPosition\n      }\n      return el;\n    });\n    setlayoutElements(_layoutElements);\n  };\n  var onLoad = function onLoad(reactFlowInstance) {\n    needFitViewFlag.current = true;\n    onLayout('TB');\n    instanceRef.current = reactFlowInstance;\n  };\n  var onNodeMouseEnter = function onNodeMouseEnter() {\n    setPanOnScroll(false);\n  };\n  var onNodeMouseLeave = function onNodeMouseLeave() {\n    setPanOnScroll(true);\n  };\n  var onPaneContextMenu = function onPaneContextMenu(e) {\n    console.log(e);\n    e.preventDefault();\n    e.stopPropagation();\n    setMousePosition({\n      x: e.clientX,\n      y: e.clientY\n    });\n    setShowContextMenu(true);\n  };\n  var onContextItemClick = function onContextItemClick(showType, showKey) {\n    setNodeContentVisibleConfig(function (config) {\n      return _objectSpread(_objectSpread({}, config), {}, {\n        showType: showType,\n        showKey: showKey\n      });\n    });\n    onUserConfigChange({\n      showKey: showKey,\n      showType: showType\n    });\n  };\n  var closeContextMenu = function closeContextMenu() {\n    setShowContextMenu(false);\n  };\n  var onClickShowMoreBtn = function onClickShowMoreBtn(id, showMore) {\n    var _context4;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context4 = elementsRef.current).call(_context4, function (item) {\n      if (item.id === id) {\n        var value = [id, {\n          showMore: showMore\n        }];\n        dataApi.batchUpdateControlPropertyValues((0,designer_base_Main__WEBPACK_IMPORTED_MODULE_14__.createUpdateAction)([value]));\n      }\n    });\n    needFitViewFlag.current = false;\n  };\n  var onChangeLayoutClick = function onChangeLayoutClick() {\n    var isHorizontal = layoutDirection === 'LR';\n    onLayout(isHorizontal ? 'TB' : 'LR');\n  };\n  var onRelationalBtnClick = function onRelationalBtnClick() {\n    setNodeContentVisibleConfig(function (config) {\n      var showFullRelationship = !config.showFullRelationship;\n      onUserConfigChange({\n        showFullRelationship: showFullRelationship\n      });\n      return _objectSpread(_objectSpread({}, config), {}, {\n        showFullRelationship: showFullRelationship\n      });\n    });\n  };\n  var reactFlowConfig = (0,_utils_layout__WEBPACK_IMPORTED_MODULE_21__.getReactFlowConfig)();\n  var isHorizontal = layoutDirection === 'LR';\n  var showFullRelationship = nodeContentVisibleConfig.showFullRelationship;\n  var mainViewValue = (0,react__WEBPACK_IMPORTED_MODULE_13__.useMemo)(function () {\n    return {\n      layoutDirection: layoutDirection,\n      nodeContentVisibleConfig: nodeContentVisibleConfig,\n      getData: function getData() {\n        return data;\n      },\n      onClickShowMoreBtn: onClickShowMoreBtn\n    };\n  }, [layoutDirection, nodeContentVisibleConfig]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_context__WEBPACK_IMPORTED_MODULE_18__.MainCardViewContext.Provider, {\n    value: mainViewValue\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_views_nav_toolbar_view__WEBPACK_IMPORTED_MODULE_20__[\"default\"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__.ReactFlowProvider, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(react_flow_renderer__WEBPACK_IMPORTED_MODULE_15__[\"default\"], (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    elements: layoutElements,\n    nodeTypes: {\n      entityNode: _controls_EntityNode__WEBPACK_IMPORTED_MODULE_16__[\"default\"]\n    },\n    onLoad: onLoad,\n    panOnScroll: panOnScroll,\n    onNodeMouseEnter: onNodeMouseEnter,\n    onNodeMouseLeave: onNodeMouseLeave,\n    onPaneContextMenu: onPaneContextMenu,\n    onNodeContextMenu: onPaneContextMenu,\n    ref: mainViewNodeRef,\n    tabIndex: -1\n  }, reactFlowConfig), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_controls__WEBPACK_IMPORTED_MODULE_23__.OperationBtns, {\n    isHorizontal: isHorizontal,\n    showFullRelationship: showFullRelationship,\n    onChangeLayoutClick: onChangeLayoutClick,\n    onRelationalBtnClick: onRelationalBtnClick\n  }), showContextMenu && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_controls__WEBPACK_IMPORTED_MODULE_23__.ContextMenu, {\n    config: nodeContentVisibleConfig,\n    mousePosition: mousePosition,\n    onContextItemClick: onContextItemClick,\n    closeContextMenu: closeContextMenu\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    className: cardViewPrefix + '-searchbox-container'\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_controls__WEBPACK_IMPORTED_MODULE_23__.SearchBox, {\n    dataList: data === null || data === void 0 ? void 0 : data.Items\n  })))));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (MainCardView);\n\n//# sourceURL=webpack://entity-designer/./src/views/main-card-view.tsx?");

/***/ }),

/***/ 12900:
/*!**************************************!*\
  !*** ./src/views/main-list-view.tsx ***!
  \**************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _controls_ListTree__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../controls/ListTree */ 86932);\n/* harmony import */ var _controls_ListTable__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../controls/ListTable */ 87432);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _utils_entityMeta__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/entityMeta */ 78968);\n/* harmony import */ var _constant_propnames__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../constant/propnames */ 30096);\n\n\n\n\n\n\n\n\nvar MainListView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_2__.memo)(function (props, forwardedRef) {\n  var data = props.data;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)([]),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    selected = _useState2[0],\n    setSelected = _useState2[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(_context__WEBPACK_IMPORTED_MODULE_5__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    userConfig = _useContext.userConfig,\n    onUserConfigChange = _useContext.onUserConfigChange,\n    invokeAction = _useContext.invokeAction;\n  var kdesignerApi = getKdesignerApi();\n  var dataContext = kdesignerApi.data;\n  var selectionContext = kdesignerApi.selection;\n  var metaApi = kdesignerApi.meta;\n  var getActiveSelectedId = selectionContext.getActiveSelectedId,\n    getSelection = selectionContext.getSelection;\n  var selectionCallBack = (0,react__WEBPACK_IMPORTED_MODULE_2__.useCallback)(function (selection) {\n    var value = selection.value;\n    setSelected(value);\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    // 1. 选中监听放在顶层，selection无需通过props往下传\n    // 2. 如需要selection，AP层自行监听SelectionContext\n    var selectvalue = getSelection();\n    setSelected(selectvalue);\n    var removeSelectionListener = selectionContext.addSelectChangeListener(selectionCallBack);\n    return function () {\n      removeSelectionListener();\n    };\n  }, []);\n  var getTableData = function getTableData() {\n    var _targetDatanode$data;\n    var rootId = dataContext.getRootId();\n    var targetId = selected[0] || rootId;\n    var activeControl = dataContext.findControl(targetId) || {};\n    var activeType = activeControl._Type_;\n    var _metaApi$getControlMe = metaApi.getControlMeta(activeType),\n      _metaApi$getControlMe2 = _metaApi$getControlMe.IsContainer,\n      IsContainer = _metaApi$getControlMe2 === void 0 ? false : _metaApi$getControlMe2;\n    if (!IsContainer) {\n      var activeParentId = activeControl[_constant_propnames__WEBPACK_IMPORTED_MODULE_7__.PARENTID] || rootId;\n      targetId = activeParentId;\n    }\n    var alldatanode = (0,_utils_entityMeta__WEBPACK_IMPORTED_MODULE_6__.convertEntityMetaToElements)(data, {\n      getControlMeta: metaApi.getControlMeta\n    });\n    var targetDatanode = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_1___default()(alldatanode).call(alldatanode, function (item) {\n      return item.id === targetId;\n    });\n    var tableData = ((_targetDatanode$data = targetDatanode.data) === null || _targetDatanode$data === void 0 ? void 0 : _targetDatanode$data.items) || [];\n    return tableData;\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    style: {\n      height: '100%',\n      display: 'flex'\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_controls_ListTree__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    kdesignerApi: kdesignerApi,\n    listTreeData: data.Items,\n    invokeAction: invokeAction\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_controls_ListTable__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    kdesignerApi: kdesignerApi,\n    tableData: getTableData(),\n    allselectedArr: selected\n  }));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (MainListView);\n\n//# sourceURL=webpack://entity-designer/./src/views/main-list-view.tsx?");

/***/ }),

/***/ 67328:
/*!*********************************!*\
  !*** ./src/views/main-view.tsx ***!
  \*********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../context */ 90115);\n/* harmony import */ var _main_card_view__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./main-card-view */ 26440);\n/* harmony import */ var _main_list_view__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./main-list-view */ 12900);\n\n\n\n\n\nvar MainView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.memo)(function (props, forwardedRef) {\n  var _props$data = props.data,\n    initData = _props$data === void 0 ? {} : _props$data;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(initData),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    data = _useState2[0],\n    setData = _useState2[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_context__WEBPACK_IMPORTED_MODULE_2__.DesignerContext),\n    getKdesignerApi = _useContext.getKdesignerApi,\n    viewKey = _useContext.viewKey;\n  var kdesignerApi = getKdesignerApi();\n  var dataContext = kdesignerApi.data;\n  var dataChangeListenerCallback = (0,react__WEBPACK_IMPORTED_MODULE_1__.useCallback)(function (dataChangeEvent) {\n    var value = dataChangeEvent.value;\n    setData(value);\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    var selectionContext = kdesignerApi.selection;\n    var setSelect = selectionContext.setSelect;\n    var rootId = dataContext.getRootId();\n    setSelect(rootId);\n    var removeDataChangeListener = dataContext.addDataChangeListener(dataChangeListenerCallback);\n    return function () {\n      removeDataChangeListener();\n    };\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    style: {\n      height: '100%'\n    }\n  }, viewKey === 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_main_card_view__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    data: data\n  }), viewKey === 1 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_main_list_view__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    data: data\n  }));\n});\nMainView.displayName = 'main-view';\n/* harmony default export */ __webpack_exports__[\"default\"] = (MainView);\n\n//# sourceURL=webpack://entity-designer/./src/views/main-view.tsx?");

/***/ }),

/***/ 73244:
/*!****************************************!*\
  !*** ./src/views/nav-toolbar-view.tsx ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! designer_base/Main */ 18040);\n/* harmony import */ var designer_base_Main__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(designer_base_Main__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _controls_NavToolBar__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../controls/NavToolBar */ 5660);\n/* harmony import */ var _controls_NavToolBarRight__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../controls/NavToolBarRight */ 20792);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../context */ 90115);\n\n\n\n\n\nvar NavToolBarPortal = function NavToolBarPortal() {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(designer_base_Main__WEBPACK_IMPORTED_MODULE_1__.ConfigContext),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context__WEBPACK_IMPORTED_MODULE_4__.DesignerContext),\n    getEntityPrefixCls = _useContext2.getPrefixCls,\n    entityPrefixCls = _useContext2.prefixCls;\n  var formPrefixCls = getPrefixCls && getPrefixCls(prefixCls);\n  var portalId = \"\".concat(formPrefixCls, \"-top-view-main\");\n  var entityDesignerPrefixCls = getEntityPrefixCls && getEntityPrefixCls(entityPrefixCls);\n  var toolbarClassName = \"\".concat(entityDesignerPrefixCls, \"-top-view-main\");\n  var content = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: toolbarClassName\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_controls_NavToolBar__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_controls_NavToolBarRight__WEBPACK_IMPORTED_MODULE_3__[\"default\"], null));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(designer_base_Main__WEBPACK_IMPORTED_MODULE_1__.ViewHeader, {\n    content: content,\n    portalId: portalId\n  });\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (NavToolBarPortal);\n\n//# sourceURL=webpack://entity-designer/./src/views/nav-toolbar-view.tsx?");

/***/ }),

/***/ 95957:
/*!**********************************!*\
  !*** ./src/views/right-view.tsx ***!
  \**********************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n\n// const noop = () => void 0\nvar RightView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (props, forwardedRef) {\n  var _props$data = props.data,\n    data = _props$data === void 0 ? {} : _props$data,\n    _props$meta = props.meta,\n    meta = _props$meta === void 0 ? {} : _props$meta,\n    onData = props.onData;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, \"right-view\");\n});\nRightView.tabKey = 'rightView';\nRightView.displayName = 'right-view';\n/* harmony default export */ __webpack_exports__[\"default\"] = (RightView);\n\n//# sourceURL=webpack://entity-designer/./src/views/right-view.tsx?");

/***/ }),

/***/ 4592:
/*!*********************************************************!*\
  !*** ../form-entity-designer-utils/adaptor/constant.ts ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Action: function() { return /* binding */ Action; },\n/* harmony export */   BaseType: function() { return /* binding */ BaseType; },\n/* harmony export */   Categories: function() { return /* binding */ Categories; },\n/* harmony export */   Controls: function() { return /* binding */ Controls; },\n/* harmony export */   DataScope: function() { return /* binding */ DataScope; },\n/* harmony export */   Default: function() { return /* binding */ Default; },\n/* harmony export */   Editor: function() { return /* binding */ Editor; },\n/* harmony export */   ElementTypes: function() { return /* binding */ ElementTypes; },\n/* harmony export */   Enum: function() { return /* binding */ Enum; },\n/* harmony export */   Id: function() { return /* binding */ Id; },\n/* harmony export */   MaxLength: function() { return /* binding */ MaxLength; },\n/* harmony export */   Name: function() { return /* binding */ Name; },\n/* harmony export */   PackageName: function() { return /* binding */ PackageName; },\n/* harmony export */   Properties: function() { return /* binding */ Properties; },\n/* harmony export */   PropertyName: function() { return /* binding */ PropertyName; },\n/* harmony export */   TYPE: function() { return /* binding */ TYPE; },\n/* harmony export */   Value: function() { return /* binding */ Value; },\n/* harmony export */   _TYPE_: function() { return /* binding */ _TYPE_; },\n/* harmony export */   action: function() { return /* binding */ action; },\n/* harmony export */   condition: function() { return /* binding */ condition; },\n/* harmony export */   defaultKey: function() { return /* binding */ defaultKey; },\n/* harmony export */   iconCoolPrefix: function() { return /* binding */ iconCoolPrefix; },\n/* harmony export */   items: function() { return /* binding */ items; },\n/* harmony export */   length: function() { return /* binding */ length; },\n/* harmony export */   name: function() { return /* binding */ name; },\n/* harmony export */   scope: function() { return /* binding */ scope; },\n/* harmony export */   type: function() { return /* binding */ type; },\n/* harmony export */   value: function() { return /* binding */ value; }\n/* harmony export */ });\n/*\r\n * @Author: fjr\r\n * @Email: jinrui_fang@kingdee.com\r\n * @Date: 2021-09-16 15:56:46\r\n * @Last Modified by: fjr\r\n * @LastEditTime: 2021-09-17 10:34:26\r\n * @Description: ...\r\n */\n\nvar _TYPE_ = '_Type_';\nvar TYPE = 'Type';\nvar Categories = 'Categories';\nvar Id = 'Id';\nvar Name = 'Name';\nvar ElementTypes = 'ElementTypes';\nvar BaseType = 'BaseType';\nvar PackageName = 'PackageName';\nvar Properties = 'Properties';\nvar Action = 'Action';\nvar items = 'items';\nvar condition = 'condition';\nvar action = 'action';\nvar Editor = 'Editor';\nvar type = 'type';\nvar Controls = 'Controls';\nvar PropertyName = 'PropertyName';\nvar name = 'name';\nvar length = 'length';\nvar scope = 'scope';\nvar MaxLength = 'MaxLength';\nvar DataScope = 'DataScope';\nvar Enum = 'Enum';\nvar iconCoolPrefix = 'designericon designericon-';\nvar value = 'value';\nvar Value = 'Value';\nvar Default = 'Default';\nvar defaultKey = 'default';\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/adaptor/constant.ts?");

/***/ }),

/***/ 90728:
/*!******************************************************!*\
  !*** ../form-entity-designer-utils/adaptor/index.ts ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   adaptorMeta: function() { return /* binding */ adaptorMeta; },\n/* harmony export */   adaptorObjectByTransformKeyMap: function() { return /* binding */ adaptorObjectByTransformKeyMap; },\n/* harmony export */   createPropertyGroups: function() { return /* binding */ createPropertyGroups; },\n/* harmony export */   mergeTransformKeyMap: function() { return /* binding */ mergeTransformKeyMap; },\n/* harmony export */   transformActions: function() { return /* binding */ transformActions; },\n/* harmony export */   transformKeyMap: function() { return /* binding */ transformKeyMap; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/entries */ 31408);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ 6908);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../designer-utils/utils/console */ 35132);\n/* harmony import */ var _constant__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./constant */ 4592);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! immer */ 83789);\n\n\n\n\n\n\n\n\n\n\nvar _transformKeyMap;\nvar _excluded = [\"condition\", \"action\"],\n  _excluded2 = [\"condition\", \"action\"],\n  _excluded3 = [\"Id\", \"DefaultGroup\"];\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_10___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context15, _context16; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context15 = ownKeys(Object(t), !0)).call(_context15, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context16 = ownKeys(Object(t))).call(_context16, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-11 17:22:51\n * @Last Modified by: fjr\n * @LastEditTime: 2024-01-05 17:23:10\n * @LastEditTime: 2021-11-18 15:36:30\n * @Description: 适配模型\n */\n\n\n\n\n\n(0,immer__WEBPACK_IMPORTED_MODULE_26__.enableES5)();\nvar _Immer = new immer__WEBPACK_IMPORTED_MODULE_26__.Immer({\n    useProxies: false,\n    autoFreeze: false\n  }),\n  produce = _Immer.produce,\n  setAutoFreeze = _Immer.setAutoFreeze;\n// 好的方式还是回调处理，这里简单处理下\nvar metaData = null;\n\n// const\nvar containerBaseType = ['Container'];\nvar propertiesGroupInfoMap = {};\nvar propertiesGroupInfoIdset = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\nvar defaultPropertyGroupId = '';\nvar controlGroupInfoMap = {};\nvar controlGroupInfoIdset = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\n/** 用于存储一些需要转化的值, 暂时不考虑去完全转化, 摸个底 start */\nvar editorTypes = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\n// editorTypes:\n// [\"text\",\"refcombo\",\"checkbox\",\"btnedit\",\"integer\",\"combo\",\"date\",\"ecombo\",\"daterange\",\"refmcombo\",\"decimal\",\"color\",\"mcombo\",\"dimension\",\"border\",\"cssedit\",\"position\",\"editcombo\",\"slider\"]\n/**\n *  actionConditions:\n *  [\n    \"is('Inherit', true)\",\n    \"is('Inherit', true) && isGlobal('devType','2')\",\n    \"is('EditStyle', 0)\",\n    \"is('TimeZoneTransType',0)\",\n    \"is('TimeZoneTransType',1)\",\n    \"is('StepperValueType',0)\",\n    \"is('OpenFuzzyQuery',false)\",\n    \"!is('SelectedItemStyle','label')\",\n    \"isChange('SelectedItemStyle')\",\n    \"!is('SelectedItemStyle','text')\",\n    \"isChange('RefBaseFieldId')\",\n    \"is('KeyFieldId',null)\",\n    \"!is('KeyFieldId','TextField') && !is('KeyFieldId','TextAreaField') && !is('KeyFieldId','LargeTextField') && !is('KeyFieldId','ComboField') && !is('KeyFieldId','CityField') && !is('KeyFieldId','CreaterField')\",\n    \"is('KeyFieldId','TextField') || is('KeyFieldId','TextAreaField') || is('KeyFieldId','LargeTextField') || is('KeyFieldId','ComboField') || is('KeyFieldId','CityField')|| is('KeyFieldId','CreaterField')\",\n    \"is('Hidden',true)\",\n    \"is('SplitPage',false)\",\n    \"is('EntityType','TreeEntryEntity')\",\n    \"is('ButtonStyle',0)||is('ButtonStyle',1)||is('ButtonStyle',4)\",\n    \"!is('ButtonStyle',4)\",\n    \"is('ButtonStyle',1)||is('ButtonStyle',2)||is('ButtonStyle',3)\",\n    \"is('Uploadable',true)\",\n    \"is('Uploadable',false)\",\n    \"is('FollowTheme',true)\",\n    \"is('Type','MergeListColumnAp')\",\n    \"is('Clickable',false)\",\n    \"is('NeedHoverClass',false)\",\n    \"!is('Collapsible', true) &&(is('Type','AdvConAp'))\",\n    \"!is('Collapsible', true) &&(is('Type','EntryAp')||is('Type','AttachmentPanelAp')||is('Type','CardEntryFlexPanelAp'))\",\n    \"!is('Collapsible', true) &&(is('Type','FlexPanelAp')||is('Type','SplitPanelAp')||is('Type','LayoutFlexAp')||is('Type','FieldsetPanelAp'))\",\n    \"is(',\n    defaultKey,Collapse',true)\",\n    \"is('QrCodeShowStyle',0)\",\n    \"is('ShowModel',1)||is('ShowModel',3)\",\n    \"is('RateType','emotional')\",\n    \"is('AnchorDirection',1)\",\n    \"is('TabDirection','vertical')\",\n    \"is('TabStyle',2)\",\n    \"is('TabStyle',1) || is('TabStyle',3) || is('TabStyle',4)\",\n    \"!is('WizardType','tab')\",\n    \"!is('WizardType','normal')\",\n    \"is('SplitStyle', 0)\",\n    \"is('SplitStyle', 1)\",\n    \"is('HoverShowItems',true)\",\n    \"is('HoverHideItems',true)\",\n    \"is('FloatingDock',false)\",\n    \"is('TabStyle',1) || is('TabStyle',2) || is('TabStyle',3)\",\n    \"is('AutoRowHeight',true)\",\n    \"is('AutoRowHeight',false)\",\n    \"is('DetailEntry',false)\",\n    \"is('PaginationHide',true)\",\n    \"is('ShowSelector',false)\",\n    \"is('MobTableType','customTable')\",\n    \"isChange('MobTableType')\",\n    \"isChange('MobTableDataSource')\",\n    \"is('ShowSeq',false) || is('EntityType','TreeEntryEntity')\",\n    \"is('ShowSeq',false)\",\n    \"is('ColumnOrderAndFilter',false)\",\n    \"isChange('ColumnOrderAndFilter')\",\n    \"is('ShowTitle', false)\",\n    \"!is('LabelDirection','v')\",\n    \"is('FieldStyle',1)\",\n    \"is('FieldStyle',-1) || is('FieldStyle',0) || is('FieldStyle',2)\",\n    \"is('IsPassDayLocked', false)\",\n    \"is('ShowSplit',false)\",\n    \"is('MenuStyle',5)\",\n    \"!is('ItemStyle', 1)\"\n]\n */\nvar actionConditions = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\nvar actionNames = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\nvar noneEditorProperties = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())();\n/**\n * EmptyText-为空提示信息\n * LockedEmptyTip-锁定为空提示信息\n * PrivacyType-隐私类型\n * _Type_-元素类型\n * AlignSelf-侧轴对齐\n * Mask-掩码\n * TextFormat-格式化\n * DateFormat-日期格式e\n * SearchEmptyText-为空提示\n */\n/** 用于存储一些需要转化的值, 暂时不考虑去完全转化, 摸个底 end */\n\nvar editorTypeMap = {\n  text: 'Input',\n  refcombo: 'RefCombo',\n  checkbox: 'Switch',\n  btnedit: 'CustomInput',\n  // 自定义\n  integer: 'Stepper',\n  // DataType? 只能输整数？\n  combo: 'Select',\n  date: 'date',\n  // 旧版没有实现, 改用Input编辑器\n  ecombo: 'ECombo',\n  daterange: 'DateRange',\n  refmcombo: 'RefMCombo',\n  decimal: 'Stepper',\n  // 可以输小数的?\n  color: 'Color',\n  mcombo: 'CheckBoxGroup',\n  // 多选的Select?\n  dimension: 'Dimension',\n  border: 'Border',\n  cssedit: 'CssEdit',\n  position: 'Position',\n  editcombo: 'EditCombo',\n  slider: 'slider',\n  fontbold: 'FontBold',\n  tabselect: 'Tab',\n  radius: 'Radius',\n  radio: 'Radio',\n  refeditbtn: 'RefEditBtn' // 引用类型\n};\n\n// 全部需要重新适配\nvar actionTodoMap = {\n  lockproperty: 'LockProperty',\n  hideproperty: 'HideProperty',\n  resetproperty: 'SetPropertyValue',\n  // TODO: 添加功能\n  setpropertyvalue: 'SetPropertyValue'\n};\nvar actionElsetodoMap = {\n  lockproperty: 'UnLockProperty',\n  hideproperty: 'ShowProperty'\n};\nvar createPropertyGroups = function createPropertyGroups(nodes) {\n  var _context, _context3;\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(propertiesGroupInfoMap)) {\n    return [createPropertyGroup(nodes)];\n  }\n  var propertiesGroupInfoIds = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(propertiesGroupInfoIdset);\n  var propertiesGroup = (0,lodash__WEBPACK_IMPORTED_MODULE_23__.groupBy)(nodes, 'GroupId');\n  var uncollectProperties = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(nodes).call(nodes, function (node) {\n    var groupId = node.GroupId;\n    if (defaultPropertyGroupId && !groupId) return false;\n    return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(propertiesGroupInfoIds).call(propertiesGroupInfoIds, groupId);\n  });\n  var newPropertiesGroup = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(propertiesGroupInfoIds).call(propertiesGroupInfoIds, function (id) {\n    var nodes = propertiesGroup[id];\n    if (defaultPropertyGroupId && id === defaultPropertyGroupId) {\n      var _nodes2, _context2;\n      nodes = (_nodes2 = nodes) !== null && _nodes2 !== void 0 && _nodes2.length ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(_context2 = []).call(_context2, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(nodes), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(propertiesGroup.undefined)) : propertiesGroup.undefined;\n    }\n    if (!nodes) return null;\n    return _objectSpread(_objectSpread(_objectSpread({}, defaultPropertyGroupConfig), propertiesGroupInfoMap[id]), {}, {\n      Id: id,\n      Nodes: produce(nodes, function (draft) {\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(draft).call(draft, function (node) {\n          if (propertiesGroupInfoMap[id].Layout === 'style') {\n            node.TabGroup = 'style';\n          }\n        });\n      })\n    });\n  })).call(_context, Boolean);\n  // TODO: 生产环境要不要兼容 ?\n  return !uncollectProperties.length ? newPropertiesGroup :  true ? newPropertiesGroup : 0;\n};\nvar defaultSetValCallback = function defaultSetValCallback(parentKey, callback) {\n  return function (p) {\n    var originProp = p.originProp,\n      path = p.path,\n      pathLength = p.pathLength;\n    if (path[pathLength - 2] === parentKey) {\n      callback && callback({\n        originProp: originProp,\n        path: path,\n        pathLength: pathLength\n      });\n      return originProp;\n    }\n  };\n};\nvar adaptorCondition = function adaptorCondition(condition) {\n  if (condition) {\n    return condition.replace(/EntityType/g, 'FieldType').replace(/&&/g, ' and ').replace(/!/g, ' not ').replace(/\\|\\|/g, ' or ').replace(/isChange\\(\\S+\\)/g, 'Change');\n  }\n  return condition;\n};\nvar adaptorActionTodo = function adaptorActionTodo(actionVal, keyMap) {\n  var name = actionVal.name,\n    args = actionVal.args,\n    affectedByParent = actionVal.affectedByParent,\n    conditionTypes = actionVal.conditionTypes;\n  switch (name) {\n    case 'lockproperty':\n    case 'hideproperty':\n      {\n        return {\n          Name: actionTodoMap[name],\n          Args: {\n            Key: args\n          },\n          AffectedByParent: affectedByParent,\n          ConditionTypes: conditionTypes\n        };\n      }\n    case 'setpropertyvalue':\n      {\n        return {\n          Name: actionTodoMap[name],\n          Args: {\n            Key: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(args).call(args, function (_ref) {\n              var property = _ref.property;\n              return property;\n            }),\n            Value: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(args).call(args, function (_ref2) {\n              var value = _ref2.value;\n              return value;\n            })\n          }\n        };\n      }\n    case 'resetproperty':\n      {\n        return {\n          Name: actionTodoMap[name],\n          Args: {\n            Key: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(args).call(args, function (key) {\n              return key;\n            }),\n            Value: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(args).call(args, function (key) {\n              return undefined;\n            })\n          }\n        };\n      }\n    default:\n      {\n        return null;\n      }\n  }\n};\nvar adaptorActionElsetodo = function adaptorActionElsetodo(actionVal, keyMap) {\n  var name = actionVal.name,\n    args = actionVal.args;\n  switch (name) {\n    case 'lockproperty':\n    case 'hideproperty':\n      {\n        return {\n          Name: actionElsetodoMap[name],\n          Args: {\n            Key: args\n          }\n        };\n      }\n    case 'resetproperty':\n    default:\n      {\n        return null;\n      }\n  }\n};\nvar defaultPropertyGroupConfig = {\n  Id: 'anonyoumsMockId',\n  Name: 'anonyoumsMockName',\n  // Display: 'anonyoumsMockDisplay',\n  DefaultCollapse: false,\n  Layout: 'anonyoumsMockLayout' // 暂时没用到\n};\nvar createPropertyGroup = function createPropertyGroup(nodes) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({}, defaultPropertyGroupConfig, {\n    Nodes: nodes\n  });\n};\nvar addControlProperty = function addControlProperty(props, control) {\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(props)) {\n    return control;\n  } else {\n    var _context4;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context4 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_10___default()(props)).call(_context4, function (key) {\n      var val = props[key];\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(val)) {\n        control[key] = val;\n      }\n    });\n    // 布局相关的, 直接判断是否根节点\n    // if(['BillFormAp'].includes(control.Id)) {\n    //   control.IsContainer = true\n    // }\n    return control;\n  }\n};\nvar transformActions = function transformActions(actions) {\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(actions).call(actions, function (ele) {\n    var condition = ele.condition,\n      actionVal = ele.action,\n      rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(ele, _excluded);\n    // track record\n    actionConditions.add(condition);\n    (actionVal === null || actionVal === void 0 ? void 0 : actionVal.name) && actionNames.add(actionVal.name);\n    var res = {};\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(rest)) {\n      (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(res, getTransformProp(transformKeyAndPropProxy({\n        meta: rest,\n        keyPath: [],\n        isDeep: false\n      })));\n    }\n    var todo = adaptorActionTodo(actionVal);\n    // const elsetodo = adaptorActionElsetodo(actionVal, keyMap!)\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(res, {\n      Condition: adaptorCondition(condition),\n      Todo: todo ? [todo] : []\n      // ElseTodo: elsetodo ? [elsetodo] : []\n    });\n  });\n};\n// 如果没有指定就只转大写开头\n/**\n * @description: transformKeyMap的键是替换key值的作用，如果是数组，则ISetValCallback可以设置对应键的值\n */\nvar transformKeyMap = (_transformKeyMap = {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_transformKeyMap, _constant__WEBPACK_IMPORTED_MODULE_25__._TYPE_, _constant__WEBPACK_IMPORTED_MODULE_25__.TYPE), _constant__WEBPACK_IMPORTED_MODULE_25__.ElementTypes, _constant__WEBPACK_IMPORTED_MODULE_25__.Controls), _constant__WEBPACK_IMPORTED_MODULE_25__.Categories, [_constant__WEBPACK_IMPORTED_MODULE_25__.Categories, function (_ref3) {\n  var originProp = _ref3.originProp,\n    path = _ref3.path,\n    keyMap = _ref3.keyMap,\n    getLangMsg = _ref3.getLangMsg;\n  var newCategory = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(originProp).call(originProp, function (Category) {\n    // 将BaseType作为BaseId 下发\n    var _Category$ElementType = Category.ElementTypes,\n      ElementTypes = _Category$ElementType === void 0 ? [] : _Category$ElementType,\n      BaseType = Category.BaseType,\n      Visible = Category.Visible,\n      Id = Category.Id;\n    var addContainerPropToRootType = function addContainerPropToRootType(control) {\n      var rootTypes = ['FormAp', 'BillFormAp', 'ListFormAp', 'BasedataFormAp', 'MobileBillFormAp', 'MobileListFormAp', 'MobileFormAp', 'MainEntity', 'BaseEntity', 'BillEntity', 'ReportEntity', 'ParameterEntity', 'PublicParameterEntity', 'BillEntity', 'EntryEntity', 'SubEntryEntity', 'TreeEntryEntity', 'TreeSubEntryEntity',\n      // 这些是后面有问题，补充的，但是旧版没找到具体逻辑\n      // 旧版没找到对应代码\n      'ReportFormAp'];\n      // 适配无代码模型[表格、分组容器(栅格容器)]\n      var nocodeRootTypes = ['NoCodeEntryEntity', 'NoCodeRefBillTable', 'NoCodeGridPanelAp', 'NoCodeGroupContainerAp', 'NoCodeGroupItemAp', 'BizBtnFlexPanelAp'];\n      if (metaData) {\n        var _context5;\n        var root = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_context5 = metaData.Items).call(_context5, function (item) {\n          return !item.ParentId;\n        });\n        //\n        rootTypes.push(root === null || root === void 0 ? void 0 : root._Type_);\n      }\n      // 根据uiModelFunction isContainerControl 添加 EntryAp\n      rootTypes.push('EntryAp');\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(rootTypes).call(rootTypes, control.Id) || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(nocodeRootTypes).call(nocodeRootTypes, control.Id)) {\n        return addControlProperty({\n          IsContainer: true\n        }, control);\n      }\n      return control;\n    };\n    var addVisibleFromcontrolGroupInfoMap = function addVisibleFromcontrolGroupInfoMap(control) {\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(controlGroupInfoMap)) {\n        var groupId = control.ElementGroupId;\n        if (groupId !== undefined && controlGroupInfoMap[groupId]) {\n          return addControlProperty({\n            Visible: controlGroupInfoMap[groupId].Visible\n          }, control);\n        }\n        return control;\n      } else {\n        return control;\n      }\n    };\n    var combine = function combine() {\n      for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++) {\n        fns[_key] = arguments[_key];\n      }\n      return function (args) {\n        return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_18___default()(fns).call(fns, function (res, fn) {\n          return fn(res);\n        }, args);\n      };\n    };\n    var combineAddControlProperty = combine(addContainerPropToRootType, addVisibleFromcontrolGroupInfoMap);\n\n    // 将容器属性下发\n    if (!BaseType || !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(containerBaseType).call(containerBaseType, BaseType)) {\n      return _objectSpread(_objectSpread({}, Category), {}, {\n        ElementTypes: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(ElementTypes).call(ElementTypes, function (control) {\n          return addControlProperty({\n            BaseId: BaseType,\n            Visible: Visible\n          }, combineAddControlProperty(control));\n        })\n      });\n    } else {\n      return _objectSpread(_objectSpread({}, Category), {}, {\n        ElementTypes: _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(ElementTypes).call(ElementTypes, function (control) {\n          return addControlProperty({\n            BaseId: BaseType,\n            Visible: Visible,\n            IsContainer: true\n          }, combineAddControlProperty(control));\n        })\n      });\n    }\n  });\n  return getTransformProp(transformKeyAndPropProxy({\n    keyMap: keyMap,\n    meta: newCategory,\n    getLangMsg: getLangMsg\n  }));\n  // if (path.length === 1 && !isEmpty(controlGroupInfoMap)) {\n  //   // 先不适配\n  //   const controlGroupInfoIds = [...controlGroupInfoIdset]\n  //   const controlsGroup = groupBy(controls, 'ElementGroupId')\n  //   const _newCategory = controlGroupInfoIds.map((id: string) => {\n  //     const controls = controlsGroup[id]\n  //     if (!controls) return null\n  //     return {\n  //       ...controlGroupInfoMap[id],\n  //       Id: id,\n  //       ElementTypes: controls  // 如果没有就是有问题\n  //     }\n  //   }).filter(Boolean)\n  //   const uncollectControls = controls.filter(node => {\n  //     const { ElementGroupId:groupId } = node\n  //     return !controlGroupInfoIds.includes(groupId)\n  //   })\n  //   const newCategory =\n  //   !uncollectControls.length ? _newCategory : process.env.IS_PRODUCT_ENV ? _newCategory : [..._newCategory, {Name: '未归类控件', ElementTypes: uncollectControls, Id: 'mockId'}]\n  //   const logControls = produce(_newCategory, (categories) => {\n  //     categories.forEach(ca => {\n  //       ca.ElementTypes = ca.ElementTypes.map(ele => omit(ele, 'Properties'))\n  //     })\n  //   })\n  //   console.log('controls', logControls, logControls.map(ca => {\n  //     return ca.ElementTypes.reduce((res, ele, idx) => {\n  //       return `${res}${ele.Name}${idx === ca.ElementTypes.length - 1 ? '\\n': ','}`\n  //     }, `分组 ${ca.Name}: `)\n  //   }),  uncollectControls)\n  //   return getTransformProp(transformKeyAndPropProxy({\n  //     keyMap: keyMap!, meta: newCategory\n  //   }))\n  // } else {\n  //   return getTransformProp(transformKeyAndPropProxy({\n  //     keyMap: keyMap!, meta: [{Name: '未归类控件', ElementTypes: controls, Id: 'mockId'}]\n  //   }))\n  // }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.Properties, [_constant__WEBPACK_IMPORTED_MODULE_25__.Properties, function (_ref4) {\n  var originProp = _ref4.originProp,\n    path = _ref4.path,\n    pathLength = _ref4.pathLength,\n    inputMeta = _ref4.inputMeta,\n    keyMap = _ref4.keyMap,\n    getLangMsg = _ref4.getLangMsg;\n  if (path[pathLength - 3] === _constant__WEBPACK_IMPORTED_MODULE_25__.ElementTypes) {\n    var _context6;\n    // 得跟后端过一下: 新立分组还有页签\n    // 兼容可能没有传GroupId的情况\n    var getPropertyVisible = function getPropertyVisible(node) {\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(propertiesGroupInfoMap)) {\n        var propertyGroupId = node.GroupId;\n        if (propertyGroupId && propertiesGroupInfoMap[propertyGroupId]) {\n          var Visible = propertiesGroupInfoMap[propertyGroupId].Visible;\n          return Visible;\n        }\n      }\n      return;\n    };\n    var _nodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_11___default()(_context6 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(originProp).call(originProp, function (node) {\n      var _context9;\n      var PropertyName = node.PropertyName;\n      // 没有\n      if (!node.Editor) {\n        var _context7, _context8;\n        noneEditorProperties.add(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(_context7 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(_context8 = \"\".concat(node.PropertyName, \"^^\")).call(_context8, node.Name, \"^^\")).call(_context7, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_19___default()(node)));\n\n        // return null\n        // 这里存疑，是否应该用模型来渲染?\n        return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(node, {\n          Editor: {\n            Type: 'Input',\n            DataType: 'String',\n            Visible: true\n          }\n        });\n      }\n      if (PropertyName === 'Width') {\n        node.Name = (getLangMsg === null || getLangMsg === void 0 ? void 0 : getLangMsg('designer.editor.key0016')) || '尺寸设置'; // 部分设计器未传getLangMsg，先用默认中文\n        node.Description = (getLangMsg === null || getLangMsg === void 0 ? void 0 : getLangMsg('designer.editor.key0017')) || '设置控件的宽度与高度';\n      }\n      if (PropertyName === 'ForeColor') node.Name = (getLangMsg === null || getLangMsg === void 0 ? void 0 : getLangMsg('designer.editor.key0018')) || '颜色设置';\n      if (PropertyName === 'FontSize') node.Name = (getLangMsg === null || getLangMsg === void 0 ? void 0 : getLangMsg('designer.editor.key0019')) || '字体设置';\n      // 增加Tips\n      node.Tips = node.Description ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(_context9 = \"\".concat(node.Description, \"[\")).call(_context9, PropertyName, \"]\") : '';\n      var _Visible = getPropertyVisible(node);\n      node.Visible = !(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(_Visible) ? _Visible : (0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(node.Visible) ? true : !!node.Visible;\n      return node;\n    })).call(_context6, Boolean);\n    // 如果没有就是有问题\n    var nodes = getTransformProp(transformKeyAndPropProxy({\n      meta: _nodes,\n      keyPath: [_constant__WEBPACK_IMPORTED_MODULE_25__.Properties],\n      keyMap: keyMap,\n      getLangMsg: getLangMsg\n    }));\n    return createPropertyGroups(nodes);\n  }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.PropertyName, _constant__WEBPACK_IMPORTED_MODULE_25__.Id), _constant__WEBPACK_IMPORTED_MODULE_25__.Action, ['Actions', function (_ref5) {\n  var originProp = _ref5.originProp,\n    path = _ref5.path,\n    pathLength = _ref5.pathLength,\n    inputMeta = _ref5.inputMeta,\n    keyMap = _ref5.keyMap,\n    getLangMsg = _ref5.getLangMsg;\n  var length = pathLength;\n  if (path[length - 3] === _constant__WEBPACK_IMPORTED_MODULE_25__.Properties) {\n    var _items = originProp.items;\n    return _items === null || _items === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(_items).call(_items, function (ele) {\n      var condition = ele.condition,\n        _ele$action = ele.action,\n        actionVal = _ele$action === void 0 ? {} : _ele$action,\n        rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(ele, _excluded2);\n      // track record\n      actionConditions.add(condition);\n      (actionVal === null || actionVal === void 0 ? void 0 : actionVal.name) && actionNames.add(actionVal.name);\n      var res = {};\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(rest)) {\n        (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(res, getTransformProp(transformKeyAndPropProxy({\n          meta: rest,\n          keyPath: [],\n          isDeep: false,\n          keyMap: keyMap,\n          getLangMsg: getLangMsg\n        })));\n      }\n      var todo = adaptorActionTodo(actionVal, keyMap);\n      // const elsetodo = adaptorActionElsetodo(actionVal, keyMap!)\n      return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(res, {\n        Condition: adaptorCondition(condition),\n        Todo: todo ? [todo] : []\n        // ElseTodo: elsetodo ? [elsetodo] : []\n      });\n    });\n  }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.type, [_constant__WEBPACK_IMPORTED_MODULE_25__.TYPE, function (_ref6) {\n  var originProp = _ref6.originProp,\n    path = _ref6.path,\n    pathLength = _ref6.pathLength,\n    inputMeta = _ref6.inputMeta,\n    keyMap = _ref6.keyMap;\n  if (path[pathLength - 2] === _constant__WEBPACK_IMPORTED_MODULE_25__.Editor) {\n    editorTypes.add(originProp);\n    return editorTypeMap[originProp] || originProp;\n  }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.value, [_constant__WEBPACK_IMPORTED_MODULE_25__.Value, function (_ref7) {\n  var originProp = _ref7.originProp,\n    path = _ref7.path,\n    pathLength = _ref7.pathLength,\n    inputMeta = _ref7.inputMeta,\n    keyMap = _ref7.keyMap;\n  if (path[pathLength - 2] === _constant__WEBPACK_IMPORTED_MODULE_25__.Editor) {\n    return originProp;\n  }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.Editor, [_constant__WEBPACK_IMPORTED_MODULE_25__.Editor, function (_ref8) {\n  var originProp = _ref8.originProp,\n    path = _ref8.path,\n    pathLength = _ref8.pathLength,\n    inputMeta = _ref8.inputMeta,\n    keyMap = _ref8.keyMap,\n    getLangMsg = _ref8.getLangMsg;\n  if (path[pathLength - 3] === _constant__WEBPACK_IMPORTED_MODULE_25__.Properties) {\n    var _type = originProp.type;\n    // 布局的编辑器不走模型创建\n    // const parentOriginProp = getObjectPathValue(inputMeta, path.slice(0, -3))\n    var dealProp = getTransformProp(transformKeyAndPropProxy({\n      meta: originProp,\n      keyPath: [_constant__WEBPACK_IMPORTED_MODULE_25__.Editor],\n      isDeep: true,\n      keyMap: keyMap,\n      getLangMsg: getLangMsg\n    }));\n    // if (['AlignItems', 'AlignContent', 'JustifyContent'].includes(parentOriginProp?.PropertyName)) {\n    //   Object.assign(dealProp, {\n    //     Default: 'flex-start'\n    //   })\n    // }\n    // const { OverrideDefault: overrideDefault, Enum } = dealProp\n    // if (!isUndefined(overrideDefault) && Enum) {\n    //   const filtedEnum = Enum.filter((item: any) => item.Name !== '默认')\n    //   Object.assign(dealProp, { Default: overrideDefault, Enum: filtedEnum })\n    // }\n    if (_type === 'integer') {\n      return _objectSpread(_objectSpread({}, dealProp), {}, {\n        DataType: 'Integer'\n      });\n    }\n    if (_type === 'decimal') {\n      return _objectSpread(_objectSpread({}, dealProp), {}, {\n        DataType: 'Decimal'\n      });\n    }\n    if (_type === 'checkbox') {\n      return _objectSpread(_objectSpread({}, dealProp), {}, {\n        DataType: 'Boolean'\n      });\n    }\n    if (_type === 'border') {\n      return _objectSpread(_objectSpread({}, dealProp), {}, {\n        DataType: 'Object'\n      });\n    }\n    var ignoreDataTypeList = ['ecombo', 'dataFill', 'datascope', 'filter', 'orderby', 'calcSetting', 'expression', 'userSelect', 'requestBody', 'parameterSetting'];\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(ignoreDataTypeList).call(ignoreDataTypeList, _type)) {\n      return _objectSpread({}, dealProp);\n    }\n    return _objectSpread(_objectSpread({}, dealProp), {}, {\n      DataType: 'String'\n    });\n  }\n}]), _constant__WEBPACK_IMPORTED_MODULE_25__.defaultKey, [_constant__WEBPACK_IMPORTED_MODULE_25__.Default, function (_ref9) {\n  var originProp = _ref9.originProp,\n    path = _ref9.path,\n    pathLength = _ref9.pathLength,\n    inputMeta = _ref9.inputMeta,\n    keyMap = _ref9.keyMap;\n  if (path[pathLength - 2] === _constant__WEBPACK_IMPORTED_MODULE_25__.Editor) {\n    return originProp;\n  }\n}]), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(_transformKeyMap, _constant__WEBPACK_IMPORTED_MODULE_25__.length, [_constant__WEBPACK_IMPORTED_MODULE_25__.MaxLength, defaultSetValCallback(_constant__WEBPACK_IMPORTED_MODULE_25__.Editor)]), _constant__WEBPACK_IMPORTED_MODULE_25__.items, [_constant__WEBPACK_IMPORTED_MODULE_25__.Enum, function (_ref10) {\n  var originProp = _ref10.originProp,\n    path = _ref10.path,\n    pathLength = _ref10.pathLength,\n    inputMeta = _ref10.inputMeta,\n    keyMap = _ref10.keyMap;\n  if (path[pathLength - 3] === _constant__WEBPACK_IMPORTED_MODULE_25__.Editor) {\n    var id = originProp.id,\n      name = originProp.name;\n    var res = {};\n    if (id && name) {\n      (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(res, {\n        Value: id,\n        Id: id,\n        Name: name\n      });\n    }\n  }\n}]));\nvar transformKeyAndPropProxy = function transformKeyAndPropProxy(props) {\n  var meta = props.meta,\n    keyMap = props.keyMap,\n    _props$keyPath = props.keyPath,\n    keyPath = _props$keyPath === void 0 ? [] : _props$keyPath,\n    _props$isDeep = props.isDeep,\n    isDeep = _props$isDeep === void 0 ? true : _props$isDeep,\n    inputMeta = props.inputMeta,\n    getLangMsg = props.getLangMsg;\n  return transformKeyAndProp({\n    meta: meta,\n    keyPath: keyPath,\n    isDeep: isDeep,\n    inputMeta: inputMeta,\n    keyMap: keyMap,\n    getLangMsg: getLangMsg\n  });\n};\n/**\n * @description: 递归对象路径，转换成对应值的适配方法\n * @param {any} meta\n * @param {string} keyPath\n * @param {boolean} isDeep 是否深层遍历，否则为一层遍历\n * @param {any} inputMeta 原始输入适配的对象值, 用于根据keyPath找到对应层级的值\n * @param {ITransformKeyMap} keyMap 用于适配的map\n * @return {*}\n */\n\nvar transformKeyAndProp = function transformKeyAndProp(_ref11) {\n  var meta = _ref11.meta,\n    _ref11$keyPath = _ref11.keyPath,\n    keyPath = _ref11$keyPath === void 0 ? [] : _ref11$keyPath,\n    _ref11$isDeep = _ref11.isDeep,\n    isDeep = _ref11$isDeep === void 0 ? true : _ref11$isDeep,\n    inputMeta = _ref11.inputMeta,\n    keyMap = _ref11.keyMap,\n    getLangMsg = _ref11.getLangMsg;\n  // 防止进入深层适配\n  inputMeta = inputMeta || meta;\n  var res = _transformKeyAndProp({\n    meta: meta,\n    keyPath: keyPath,\n    isReturnOriginVal: false,\n    inputMeta: inputMeta,\n    keyMap: keyMap,\n    getLangMsg: getLangMsg\n  });\n  if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(res)) {\n    return res;\n  }\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20___default()(meta)) {\n    // index 不参与, index不会影响\n    var _res = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(meta).call(meta, function (ele, idx) {\n      // TODO: 这里可能有问题，因为ele可能会因为keyPath导致走到不同的递归路径，暂时不予处理\n      // 由于需要回溯值，把数组下标也传入\n      return isDeep ? getTransformProp(transformKeyAndProp({\n        meta: ele,\n        keyPath: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(keyPath).call(keyPath, \"\".concat(idx)),\n        isDeep: isDeep,\n        inputMeta: inputMeta,\n        keyMap: keyMap,\n        getLangMsg: getLangMsg\n      })) : ele;\n    });\n    return [getTransformKey((0,lodash__WEBPACK_IMPORTED_MODULE_23__.last)(keyPath), keyMap), _res];\n  } else if ((0,lodash__WEBPACK_IMPORTED_MODULE_23__.isObject)(meta)) {\n    var _context10;\n    var _res2 = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_18___default()(_context10 = _babel_runtime_corejs3_core_js_stable_object_entries__WEBPACK_IMPORTED_MODULE_21___default()(meta)).call(_context10, function (res, _ref12) {\n      var _ref13 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_ref12, 2),\n        key = _ref13[0],\n        val = _ref13[1];\n      var _ref14 = isDeep ? transformKeyAndProp({\n          meta: val,\n          keyPath: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(keyPath).call(keyPath, key),\n          isDeep: isDeep,\n          inputMeta: inputMeta,\n          keyMap: keyMap,\n          getLangMsg: getLangMsg\n        }) : [getTransformKey(key, keyMap), val],\n        _ref15 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_ref14, 2),\n        k = _ref15[0],\n        v = _ref15[1];\n      res[k] = v;\n      return res;\n    }, {});\n    return [getTransformKey((0,lodash__WEBPACK_IMPORTED_MODULE_23__.last)(keyPath), keyMap), _res2];\n  } else {\n    // 转换\n    return _transformKeyAndProp({\n      meta: meta,\n      keyPath: keyPath,\n      isReturnOriginVal: true,\n      inputMeta: inputMeta,\n      keyMap: keyMap,\n      getLangMsg: getLangMsg\n    });\n  }\n};\n/**\n * @description:\n * @param {any} meta\n * @param {string} keyPath\n * @param {boolean} isReturnOriginVal 是否获取原始值，可以拦截不让往深层遍历\n * @return {*}\n */\n\nvar _transformKeyAndProp = function _transformKeyAndProp(_ref16) {\n  var meta = _ref16.meta,\n    _ref16$keyPath = _ref16.keyPath,\n    keyPath = _ref16$keyPath === void 0 ? [] : _ref16$keyPath,\n    isReturnOriginVal = _ref16.isReturnOriginVal,\n    inputMeta = _ref16.inputMeta,\n    keyMap = _ref16.keyMap,\n    getLangMsg = _ref16.getLangMsg;\n  var lastKey = (0,lodash__WEBPACK_IMPORTED_MODULE_23__.last)(keyPath);\n  if (!lastKey) {\n    // console.log('keyPath without any key', keyPath)\n    return;\n  }\n  var _ref17 = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20___default()(keyMap[lastKey]) ? keyMap[lastKey] : [getTransformKey(lastKey, keyMap)],\n    _ref18 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_ref17, 2),\n    replaceKey = _ref18[0],\n    resetValCallback = _ref18[1];\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_23__.isFunction)(resetValCallback)) {\n    // TODO: 尝试用immer来构造\n    var resetVal = resetValCallback({\n      originProp: meta,\n      path: keyPath,\n      pathLength: keyPath.length,\n      inputMeta: inputMeta,\n      keyMap: keyMap,\n      getLangMsg: getLangMsg\n    });\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_23__.isUndefined)(resetVal)) {\n      return [replaceKey, resetVal];\n    }\n  }\n  if (isReturnOriginVal) {\n    return [replaceKey, meta];\n  }\n};\nvar getTransformProp = function getTransformProp(res) {\n  return res[1];\n};\nvar getTransformKey = function getTransformKey(key, keyMap) {\n  return key ? (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_20___default()(keyMap[key]) ? keyMap[key][0] : keyMap[key]) || (0,lodash__WEBPACK_IMPORTED_MODULE_23__.upperFirst)(key) : '';\n};\nvar ENTITY_CONTROL = 'EntityControl';\nvar FIELD_TYPES = ['CommonField', 'BusinessField'];\nvar mergeTransformKeyMap = function mergeTransformKeyMap(keyMapA, keyMapB) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({}, keyMapA, keyMapB);\n};\nvar adaptorObjectByTransformKeyMap = function adaptorObjectByTransformKeyMap(obj, keyMap, getLangMsg) {\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_23__.isEmpty)(keyMap)) return obj;\n  return getTransformProp(transformKeyAndProp({\n    meta: obj,\n    keyPath: [],\n    isDeep: true,\n    inputMeta: obj,\n    keyMap: keyMap,\n    getLangMsg: getLangMsg\n  }));\n};\n\n/**\n * @description: 转换元模型数据\n * @param {any} originMeta\n * @return {IMeta}\n */\nvar adaptorMeta = function adaptorMeta(_originMeta, keyMap, data, propertiesGroupInfo, options) {\n  var _context13;\n  metaData = data;\n  window.console.time('start adaptorMeta');\n  var originMeta = produce(_originMeta, function (draft) {\n    var _context11;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context11 = draft.Categories).call(_context11, function (category) {\n      var _category$ElementType;\n      // TODO: 快排不稳定的, 得考察下\n      (_category$ElementType = category.ElementTypes) === null || _category$ElementType === void 0 || _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_22___default()(_category$ElementType).call(_category$ElementType, function (element1, element2) {\n        var seq1 = element1.Seq;\n        var seq2 = element2.Seq;\n        if (seq1 === -1 || seq2 === -1) {\n          if (seq1 === -1 && seq2 === -1) {\n            return 0;\n          } else {\n            if (seq1 === -1) {\n              return 1;\n            } else {\n              return -1;\n            }\n          }\n        } else {\n          return (seq1 || 0) - (seq2 || 0);\n        }\n      });\n    });\n  });\n\n  // propertiesGroupInfo可通过外部控制\n  if (propertiesGroupInfo) {\n    propertiesGroupInfoMap = propertiesGroupInfo;\n  } else {\n    var _context12;\n    var _originMeta$PropertyG = originMeta.PropertyGroups,\n      PropertyGroups = _originMeta$PropertyG === void 0 ? [] : _originMeta$PropertyG,\n      _originMeta$ElementGr = originMeta.ElementGroups,\n      ElementGroups = _originMeta$ElementGr === void 0 ? [] : _originMeta$ElementGr;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context12 = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_22___default()(PropertyGroups).call(PropertyGroups, function (groupA, groupB) {\n      return (groupA.Seq || 0) - (groupB.Seq || 0);\n    })).call(_context12, function (groupInfo) {\n      var Id = groupInfo.Id,\n        DefaultGroup = groupInfo.DefaultGroup,\n        rest = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(groupInfo, _excluded3);\n      if (DefaultGroup) {\n        defaultPropertyGroupId = Id;\n      }\n      propertiesGroupInfoMap[Id] = rest;\n      propertiesGroupInfoIdset.add(Id);\n    });\n  }\n\n  // 不要了\n  // ElementGroups.sort((groupA: any, groupB: any) => {\n  //   return (groupA.Seq || 0) - (groupB.Seq || 0)\n  // }).forEach((groupInfo:any) => {\n  //   const { Id, ...rest } = groupInfo\n  //   controlGroupInfoMap[Id] = rest\n  //   // Object.keys(rest).reduce((res, key) => {\n  //   //   res[`group${upperFirst(key)}`] = res[key]\n  //   //   return res\n  //   // }, {})\n  //   controlGroupInfoIdset.add(Id)\n  // })\n  // transform\n  var _ref19 = options || {},\n    getLangMsg = _ref19.getLangMsg;\n  var res = adaptorObjectByTransformKeyMap(originMeta, keyMap, getLangMsg);\n  _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('editorTypes', (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(editorTypes));\n  _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('actionConditions', (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(actionConditions));\n  _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('actionNames', (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(actionNames));\n  _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('noneEditorProperties', (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_13___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(_context13 = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(noneEditorProperties)).call(_context13, function (p) {\n    var _context14;\n    var arr = p.split('^^');\n    _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log(JSON.parse(arr[2]));\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_16___default()(_context14 = \"\".concat(arr[0], \"-\")).call(_context14, arr[1]);\n  }))));\n  window.console.timeEnd('start adaptorMeta');\n  metaData = null;\n  return res;\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/adaptor/index.ts?");

/***/ }),

/***/ 75084:
/*!***************************************************************!*\
  !*** ../form-entity-designer-utils/editors/ecombo-editor.tsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createEComboEditor: function() { return /* binding */ createEComboEditor; },\n/* harmony export */   getItems: function() { return /* binding */ getItems; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../kd-designer/index */ 80143);\n/* harmony import */ var _utils_getFieldProperty__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../utils/getFieldProperty */ 28044);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_15__);\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_3___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_5___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_7___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_8___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_7___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_9___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_5___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-09 17:54:15\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:41:00\n * @Description: 属性关联编辑器\n */\n\n\n\n\nvar ENTITYMETA = 'entitymeta';\nvar PARENTID = 'ParentId';\nvar ID = 'Id';\nvar _TYPE_ = '_Type_';\nvar NAME = 'Name';\nvar getItems = function getItems(prop) {\n  return function (props, newEditor) {\n    var getDataRef = prop.getDataRef,\n      getKdesignerApi = prop.getKdesignerApi,\n      getModel = prop.getModel,\n      _metaType = prop.metaType;\n    var _props$editor = props.editor,\n      editor = _props$editor === void 0 ? {} : _props$editor,\n      field = props.field,\n      propName = props.propName,\n      value = props.value;\n    var _types = editor.Types || [];\n    var types = propName === 'EntryId' ? field.FieldType ? [field.FieldType] : _types : _types;\n    var scope = editor.Scope || 'sibling'; // global sibling child ps(父节点的兄弟节点)\n    var metaType = editor.MetaType || _metaType;\n    var defaultValue = editor.Default;\n    newEditor.Default = (0,lodash__WEBPACK_IMPORTED_MODULE_15__.isUndefined)(defaultValue) ? editor.Default : defaultValue;\n    var includeSelf = editor.IncludeSelf;\n    var uiInfo = getDataRef();\n    var kdesignerApi = getKdesignerApi();\n    var itemInfos = uiInfo[metaType].Items;\n    var fieldId = field[ID];\n    var fieldInfo, parentId, formInfo;\n    var rootId = itemInfos[0][ID];\n    var uiModel = getModel();\n    var matchItems = [];\n    switch (scope) {\n      case 'sibling':\n        // 查找所有兄弟节点\n        fieldId = field[ID];\n        if (metaType === ENTITYMETA) {\n          fieldInfo = uiModel.getEntityFieldInfo(fieldId);\n          if (!fieldInfo) {\n            fieldId = uiModel.getParentEntityId(fieldId);\n            fieldInfo = uiModel.getEntityFieldInfo(fieldId);\n          }\n        } else {\n          fieldInfo = kdesignerApi.data.findControl(fieldId);\n        }\n        parentId = fieldInfo[PARENTID];\n        parentId = parentId || rootId;\n        itemInfos = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(itemInfos).call(itemInfos, function (item) {\n          var itemParentId = item[PARENTID];\n          itemParentId = itemParentId || rootId;\n          return itemParentId === parentId;\n        });\n        break;\n      case 'child':\n        // 子节点\n        parentId = field[ID];\n        itemInfos = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(itemInfos).call(itemInfos, function (item) {\n          var itemParentId = item[PARENTID] || rootId;\n          return itemParentId === parentId;\n        });\n        break;\n      case 'ps':\n        // 父节点的兄弟节点\n        fieldId = field[ID];\n        formInfo = uiModel.getFormFieldInfo(fieldId);\n        fieldInfo = metaType === ENTITYMETA ? uiModel.getEntityFieldInfo(fieldId) || formInfo : formInfo;\n        parentId = fieldInfo[PARENTID] || rootId;\n        matchItems = [];\n        while (fieldInfo) {\n          matchItems = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_10___default()(matchItems).call(matchItems, _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(itemInfos).call(itemInfos, function (item) {\n            var itemParentId = item[PARENTID];\n            itemParentId = itemParentId || rootId;\n            return itemParentId === parentId;\n          }));\n          if (parentId === rootId) {\n            fieldInfo = null;\n          } else {\n            fieldInfo = uiModel.getFieldInfo(parentId, metaType) || {};\n            parentId = fieldInfo[PARENTID] || rootId;\n          }\n        }\n        itemInfos = matchItems;\n        break;\n      default:\n        // 默认超找全部节点\n        break;\n    }\n    var optionItems = [];\n    itemInfos = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(itemInfos).call(itemInfos, function (item) {\n      return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_11___default()(types).call(types, item[_TYPE_]) && (includeSelf || item[ID] !== field[ID]);\n    });\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default()(itemInfos).call(itemInfos, function (itemInfo) {\n      return optionItems.push({\n        value: itemInfo[ID],\n        label: itemInfo[NAME]\n      });\n    });\n    var proValue = (0,_utils_getFieldProperty__WEBPACK_IMPORTED_MODULE_14__.useGetFieldProperty)(field, kdesignerApi)(propName);\n    var index = (0,lodash__WEBPACK_IMPORTED_MODULE_15__.findIndex)(optionItems, function (item) {\n      return item.Id === proValue;\n    });\n    if (index === -1) {\n      proValue = '';\n    }\n    return optionItems;\n  };\n};\nvar createEComboEditor = function createEComboEditor(prop) {\n  var EComboEditor = function EComboEditor(props) {\n    var _props$editor2 = props.editor,\n      editor = _props$editor2 === void 0 ? {} : _props$editor2;\n    var newEditor = _objectSpread(_objectSpread({}, editor), {}, {\n      AllowClear: true\n    });\n    var _getItems = getItems(prop);\n    var options = _getItems(props, newEditor);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_12___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_13__.EditorPropertySelect, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n      options: options,\n      editor: newEditor\n    }));\n  };\n  return EComboEditor;\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/editors/ecombo-editor.tsx?");

/***/ }),

/***/ 23740:
/*!*******************************************************************!*\
  !*** ../form-entity-designer-utils/editors/edit-combo-editor.tsx ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../kd-designer/index */ 80143);\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-12-03 17:37:43\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:41:18\n * @Description: ...\n */\n\n\nvar EditComboEditor = function EditComboEditor(props) {\n  var _props$editor = props.editor,\n    editor = _props$editor === void 0 ? {} : _props$editor,\n    field = props.field;\n  var _editor$Enum = editor.Enum,\n    items = _editor$Enum === void 0 ? [] : _editor$Enum;\n  // 设计器掩码属性不是作为单个控件的属性，后端数据items为具有映射关系的对象\n  // 根据控件类型获取掩码下拉列表\n  var fieldType = field.FieldType || field._Type_;\n  var dropdownItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(items).call(items, function (item) {\n    // item.key为控件类型\n    return item.Key === fieldType;\n  });\n  dropdownItems = dropdownItems && dropdownItems[0] && dropdownItems[0].Enum || [];\n  dropdownItems = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_2___default()(dropdownItems).call(dropdownItems, function (item) {\n    var Id = item.Id,\n      Name = item.Name;\n    // Id无用，参照旧版\n    return {\n      label: Name,\n      value: Name\n    };\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_4__.EditorPropertyEditSelect, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    options: dropdownItems\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditComboEditor);\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/editors/edit-combo-editor.tsx?");

/***/ }),

/***/ 58708:
/*!*******************************************************!*\
  !*** ../form-entity-designer-utils/editors/input.tsx ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createInputEditor: function() { return /* binding */ createInputEditor; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/trim */ 52360);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../kd-designer/index */ 80143);\n/* harmony import */ var _utils_constant__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../utils/constant */ 99524);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../designer-utils */ 89592);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_13__);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar uniqueProps = ['Key']; // 必填属性列表\nvar requiredProps = ['Key']; // 唯一值属性列表\nvar validateProps = ['TableName', 'PkFieldName', 'FieldName', 'DataScope']; // 需校验属性\nvar lowerCaseProps = ['Key', 'TableName', 'PkFieldName', 'FieldName']; // 需要将值转换成小写的属性\n\nvar InputPropertyEditor = function InputPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    locked = props.locked,\n    Editor = props.Editor,\n    Validator = props.Validator,\n    propName = props.Name,\n    field = props.field,\n    propId = props.Id,\n    getKdesignerApi = props.getKdesignerApi,\n    EditorComponent = props.editorComponent,\n    tips = props.Tips,\n    queryEntityByFieldId = props.queryEntityByFieldId;\n  var fieldName = field.Name,\n    fieldId = field.Id;\n  var nameHidden = Editor.NameHidden,\n    _Editor$DataScope = Editor.DataScope,\n    DataScope = _Editor$DataScope === void 0 ? [] : _Editor$DataScope,\n    MaxLength = Editor.MaxLength,\n    Min = Editor.Min,\n    Max = Editor.Max,\n    required = Editor.Required;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_9__.useContext)(_kd_designer_index__WEBPACK_IMPORTED_MODULE_10__.GlobalConfigContext),\n    setMessage = _useContext.showMessage;\n  var title = MaxLength ? (0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n    key: 'designer.msg.key0001',\n    variables: {\n      count: MaxLength\n    }\n  }) : '';\n  var kdesignerApi = getKdesignerApi();\n  var dataContext = kdesignerApi.data,\n    selectionContext = kdesignerApi.selection;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(value || ''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    isFocused = _useState4[0],\n    setIsFocused = _useState4[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_9__.useRef)(null);\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_9__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    lockKeyEditor = _useState6[0],\n    setLockKeyEditor = _useState6[1];\n  var selection = selectionContext.getSelection();\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (!queryEntityByFieldId) return;\n    var needLockKey = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default()(selection).call(selection, function (ctrlId) {\n      var field = dataContext.findControl(ctrlId);\n      var entityId = field.FieldId || field.EntryId || field.CardEntryId;\n      if (propId === 'Key' && entityId) {\n        var entityData = queryEntityByFieldId(entityId);\n        if (!entityData) {\n          return false;\n        } else if (field.Key === entityData.Key) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      return false;\n    });\n    setLockKeyEditor(needLockKey);\n  }, [selection, propId]);\n  (0,react__WEBPACK_IMPORTED_MODULE_9__.useEffect)(function () {\n    if (!isFocused && value !== innerValue) {\n      setInnerValue(value);\n    }\n  }, [value, isFocused]);\n  var updatePropValue = function updatePropValue(val) {\n    if (isValidSuccess(val)) {\n      handleChange(val);\n    }\n  };\n  var delayUpdateValue = function delayUpdateValue(val) {\n    timer.current && clearTimeout(timer.current);\n    timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_3___default()(function () {\n      timer.current = null;\n      updatePropValue(val);\n    }, 300);\n  };\n  var isValidSuccess = function isValidSuccess(val) {\n    var validMessage = {\n      isSuccess: true,\n      errorMessage: ''\n    };\n    if (!(Validator !== null && Validator !== void 0 && Validator.length)) {\n      return true;\n    }\n    // 正则的规则: 如果当前值符合规范, 则与正则匹配成功\n    _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(Validator).call(Validator, function (item) {\n      var type = item.Type;\n      var format = item.Format;\n      switch (type) {\n        case 'regex':\n          if (format && format.length > 0) {\n            validMessage.isSuccess = !_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_2___default()(format).call(format, function (formatItem) {\n              var rgxStr = formatItem[0];\n              validMessage.errorMessage = formatItem[1];\n              var newRegex = rgxStr && new RegExp(rgxStr);\n              return newRegex && !newRegex.test(val);\n            });\n          }\n          break;\n        default:\n          break;\n      }\n    });\n    if (!validMessage.isSuccess) {\n      var errorMsg = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n        key: 'designer.msg.key0002',\n        variables: {\n          fieldName: fieldName,\n          propName: propName,\n          errorMessage: validMessage.errorMessage\n        }\n      });\n      setMessage(errorMsg);\n      setInnerValue(value);\n    }\n    return validMessage.isSuccess;\n  };\n  var onChange = function onChange(e) {\n    var _e$target;\n    var inputValue = ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) || '';\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(lowerCaseProps).call(lowerCaseProps, propId)) {\n      inputValue = inputValue.toLowerCase();\n    }\n    if (propId === 'Key') {\n      // 由于'.'会影响运行时的属性，所以屏蔽掉‘.’符号\n      inputValue = inputValue.replace(/\\./g, '');\n    }\n    setInnerValue(inputValue);\n    if (!(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(requiredProps).call(requiredProps, propId) || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(uniqueProps).call(uniqueProps, propId) || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(validateProps).call(validateProps, propId))) {\n      delayUpdateValue(inputValue);\n    }\n  };\n  var uniqueValidate = function uniqueValidate(val) {\n    var dataItems = dataContext.getData().Items;\n    var propIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6___default()(dataItems).call(dataItems, function (item) {\n      return item.Id !== fieldId && (item[propId] == val || item.ListFieldId === val);\n    });\n    return propIndex == -1;\n  };\n  var onKeyDown = function onKeyDown(e) {\n    if (e.nativeEvent.keyCode === 13) {\n      onBlur(e);\n    }\n  };\n  var onFocus = function onFocus() {\n    setIsFocused(true);\n  };\n  var onBlur = function onBlur() {\n    setIsFocused(false);\n    var inputValue = innerValue;\n    if (value == inputValue) return;\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(requiredProps).call(requiredProps, propId) && lodash__WEBPACK_IMPORTED_MODULE_13___default().isEmpty(inputValue + '')) {\n      setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n        key: 'designer.msg.key0003',\n        variables: {\n          propName: propName\n        }\n      }), 'warn');\n      setInnerValue(value);\n      return;\n    }\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(uniqueProps).call(uniqueProps, propId) && !uniqueValidate(inputValue)) {\n      // 校验不通过\n      setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n        key: 'designer.msg.key0004',\n        variables: {\n          inputValue: inputValue\n        }\n      }), 'warn');\n      setInnerValue(value);\n      return;\n    }\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(validateProps).call(validateProps, propId) && _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6___default()((lodash__WEBPACK_IMPORTED_MODULE_13___default())).call((lodash__WEBPACK_IMPORTED_MODULE_13___default()), _utils_constant__WEBPACK_IMPORTED_MODULE_11__.SPECIAL_WORDS, function (val) {\n      return val.toLowerCase() == inputValue;\n    }) >= 0) {\n      setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n        key: 'designer.msg.key0005',\n        variables: {\n          propName: propName,\n          inputValue: inputValue\n        }\n      }), 'warn');\n      setInnerValue(value);\n      return;\n    }\n    if (propId === 'Key') {\n      if (_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_6___default()((lodash__WEBPACK_IMPORTED_MODULE_13___default())).call((lodash__WEBPACK_IMPORTED_MODULE_13___default()), _utils_constant__WEBPACK_IMPORTED_MODULE_11__.RESERVEDFILEDKEYS, function (val) {\n        return val.toLowerCase() == inputValue;\n      }) >= 0) {\n        setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n          key: 'designer.msg.key0006',\n          variables: {\n            inputValue: inputValue\n          }\n        }), 'warn');\n        setInnerValue(value);\n        return;\n      } else if (_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7___default()(inputValue).call(inputValue, ' ') >= 0) {\n        setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('designer.msg.key0007'), 'warn');\n        setInnerValue(value);\n        return;\n      } else if (_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7___default()(inputValue).call(inputValue, '$$') === 0) {\n        setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('designer.msg.key0008'), 'warn');\n        setInnerValue(value);\n        return;\n      }\n    } else if (propId === 'DataScope' && _babel_runtime_corejs3_core_js_stable_instance_trim__WEBPACK_IMPORTED_MODULE_8___default()((lodash__WEBPACK_IMPORTED_MODULE_13___default())).call((lodash__WEBPACK_IMPORTED_MODULE_13___default()), inputValue) !== '') {\n      // 去掉空格\n      inputValue = inputValue.replace(/\\s/g, '');\n      // 数值范围的格式为‘[0,10]’或‘(0,10)’或'[0,10)'或'(0,10]',且最小值小于最大值\n      var exp = new RegExp(/^[\\[|\\(](-?\\d*\\.?\\d*),(-?\\d*\\.?\\d*)[\\]|\\)]$/, 'g');\n      var arr = exp.exec(inputValue);\n      if (arr === null || arr[1] !== '' && arr[2] !== '' && lodash__WEBPACK_IMPORTED_MODULE_13___default().toNumber(arr[1]) >= lodash__WEBPACK_IMPORTED_MODULE_13___default().toNumber(arr[2])) {\n        var msg = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)({\n          key: 'designer.msg.key0009',\n          variables: {\n            fieldName: fieldName,\n            propName: propName\n          }\n        });\n        setMessage(msg);\n        setInnerValue(value);\n        return;\n      }\n    }\n    if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_5___default()(lowerCaseProps).call(lowerCaseProps, propId)) {\n      inputValue = inputValue.toLowerCase();\n    }\n    if (isValidSuccess(inputValue)) {\n      updatePropValue(inputValue);\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement((react__WEBPACK_IMPORTED_MODULE_9___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_10__.NameTipWrapper, {\n    nameHidden: nameHidden,\n    className: className,\n    name: propName,\n    tips: tips,\n    required: required\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(EditorComponent, {\n    ref: inputRef,\n    value: innerValue,\n    disabled: locked || lockKeyEditor,\n    title: title,\n    maxlength: MaxLength,\n    placeholder: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_12__.getLangMsg)('designer.editor.key0020'),\n    borderType: \"bordered\",\n    onKeyDown: onKeyDown,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    onChange: onChange\n  }));\n};\nvar createInputEditor = function createInputEditor(hocProps) {\n  var getKdesignerApi = hocProps.getKdesignerApi,\n    editorComponent = hocProps.editorComponent,\n    queryEntityByFieldId = hocProps.queryEntityByFieldId;\n  var Editor = function Editor(props) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_9___default().createElement(InputPropertyEditor, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n      getKdesignerApi: getKdesignerApi,\n      editorComponent: editorComponent,\n      queryEntityByFieldId: queryEntityByFieldId\n    }));\n  };\n  return Editor;\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/editors/input.tsx?");

/***/ }),

/***/ 10584:
/*!*****************************************************************!*\
  !*** ../form-entity-designer-utils/editors/refcombo-editor.tsx ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createRefComboEditor: function() { return /* binding */ createRefComboEditor; },\n/* harmony export */   getItems: function() { return /* binding */ getItems; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../kd-designer/index */ 80143);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_16__);\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_3___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_4___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_6___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-07 17:01:42\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:41:34\n * @Description: 自定义关联属性编辑器\n */\n\n\n\nvar getItems = function getItems(prop) {\n  return function (props) {\n    var getDataRef = prop.getDataRef,\n      getModel = prop.getModel,\n      getKdesignerApi = prop.getKdesignerApi,\n      keywordMapping = prop.keywordMapping,\n      metaType = prop.metaType;\n    var optionItems = [];\n    var _props$editor = props.editor,\n      editor = _props$editor === void 0 ? {} : _props$editor,\n      field = props.field,\n      propName = props.propName,\n      value = props.value;\n    var fieldId = field[keywordMapping.id];\n    var fieldFieldId = field.FieldId;\n    // 如果没有实体绑定，不往下走了\n    // !fieldFieldId &&\n    // 列表页面没有实体\n    // if (metaType === 'formmeta') {\n    //   return optionItems\n    // }\n    var dataRef = getDataRef();\n    var entityModel = getModel();\n    var kdesignerApi = getKdesignerApi();\n    var refInfo = editor.Ref;\n    var refPropValue = null;\n    var fieldType = field[keywordMapping.type];\n    var propMetaType = metaType;\n    var refPropName = null;\n    var fieldInfo;\n    if (dataRef && entityModel && kdesignerApi) {\n      while (refInfo) {\n        refPropName = refInfo.Name;\n        var refType = refInfo.Type;\n        switch (refType) {\n          case 'entitymeta':\n            propMetaType = 'entitymeta';\n            if (metaType === 'formmeta') {\n              fieldId = field.FieldId;\n            }\n            break;\n          case 'formmeta':\n            propMetaType = 'formmeta';\n            break;\n          case 'entityrootitem':\n            fieldId = entityModel.getEntityRootId();\n            propMetaType = 'entitymeta';\n            break;\n          case 'formrootitem':\n            fieldId = kdesignerApi.data.getRootId();\n            propMetaType = 'formmeta';\n            break;\n          case 'entityparentitem':\n            // 这里由于不能走旧的逻辑导致适配不了，可能会有难改的bug\n            if (metaType === 'formmeta') {\n              fieldId = field.FieldId;\n              if (fieldId) {\n                var entitymeta = dataRef.entitymeta;\n                // 表单\n                if (entitymeta) {\n                  var _entitymeta$Items$fin, _context;\n                  fieldId = ((_entitymeta$Items$fin = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default()(_context = entitymeta.Items).call(_context, function (item) {\n                    return item.Id === fieldId;\n                  })) === null || _entitymeta$Items$fin === void 0 ? void 0 : _entitymeta$Items$fin.ParentId) || entityModel.getEntityRootId();\n                }\n              }\n            } else {\n              fieldInfo = entityModel.getEntityFieldInfo(fieldId);\n              fieldId = fieldInfo.ParentId || entityModel.getEntityRootId();\n            }\n            break;\n          case 'formparentitem':\n            fieldInfo = kdesignerApi.data.findControl(fieldId);\n            fieldId = fieldInfo.ParentId || kdesignerApi.data.getRootId();\n            break;\n          default:\n            // 'item'\n            break;\n        }\n        // 是否要取到默认值？\n        // 这里由于不能走旧的逻辑导致适配不了，可能会有难改的bug\n        if (propMetaType === 'entitymeta') {\n          if (metaType === 'formmeta') {\n            refPropValue = entityModel.getEntityPropertyValue(fieldId, refPropName);\n          } else {\n            refPropValue = entityModel.getPropertyValue(fieldId, refPropName);\n          }\n        } else {\n          refPropValue = kdesignerApi.data.getPropertyValue(fieldId, refPropName) || kdesignerApi.meta.getControlPropertyDefaultValue(field._Type_, refPropName);\n        }\n        var nextRefInfo = refInfo.Ref;\n        if (!nextRefInfo) {\n          break;\n        }\n        fieldId = refPropValue;\n        refInfo = nextRefInfo;\n      }\n    }\n    var refItems = refPropValue;\n    if (refPropValue && typeof refPropValue === 'string') {\n      refItems = refItems.split(',');\n      if (refItems.length > 0) {\n        var _refInfo;\n        var refItemValue = (_refInfo = refInfo) === null || _refInfo === void 0 || (_refInfo = _refInfo.DisplayItem) === null || _refInfo === void 0 ? void 0 : _refInfo.Value;\n        var refProp = kdesignerApi.meta.getControlMetaEditor(fieldType, refPropName);\n        var refPropItems = refProp.Enum || []; // 这里不确定是不是改写了\n        refItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(refPropItems).call(refPropItems, function (item) {\n          return _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_12___default()(refItems).call(refItems, item[(0,lodash__WEBPACK_IMPORTED_MODULE_16__.upperFirst)(refItemValue)]) >= 0;\n        }); // 这一步过滤是否还需要? 旧版移植先\n      }\n    }\n    if (refItems) {\n      var _refInfo2, _refInfo3, _refInfo4, _refInfo5, _refInfo6, _refInfo7;\n      // 找两次\n      var refItemCaption = ((_refInfo2 = refInfo) === null || _refInfo2 === void 0 || (_refInfo2 = _refInfo2.DisplayItem) === null || _refInfo2 === void 0 ? void 0 : _refInfo2.Caption) && (0,lodash__WEBPACK_IMPORTED_MODULE_16__.upperFirst)((_refInfo3 = refInfo) === null || _refInfo3 === void 0 || (_refInfo3 = _refInfo3.DisplayItem) === null || _refInfo3 === void 0 ? void 0 : _refInfo3.Caption);\n      var _refItemValue = ((_refInfo4 = refInfo) === null || _refInfo4 === void 0 || (_refInfo4 = _refInfo4.DisplayItem) === null || _refInfo4 === void 0 ? void 0 : _refInfo4.Value) && (0,lodash__WEBPACK_IMPORTED_MODULE_16__.upperFirst)((_refInfo5 = refInfo) === null || _refInfo5 === void 0 || (_refInfo5 = _refInfo5.DisplayItem) === null || _refInfo5 === void 0 ? void 0 : _refInfo5.Value);\n      var smallRefItemCaption = (_refInfo6 = refInfo) === null || _refInfo6 === void 0 || (_refInfo6 = _refInfo6.DisplayItem) === null || _refInfo6 === void 0 ? void 0 : _refInfo6.Caption;\n      var smallRefItemValue = (_refInfo7 = refInfo) === null || _refInfo7 === void 0 || (_refInfo7 = _refInfo7.DisplayItem) === null || _refInfo7 === void 0 ? void 0 : _refInfo7.Value;\n      //   refItems = Array.isArray(refItems) ? fromJS(refItems) : refItems\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13___default()(refItems)) {\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(refItems).call(refItems, function (item) {\n          var caption = !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isUndefined)(item[refItemCaption]) ? item[refItemCaption] : item[smallRefItemCaption];\n          var itemValue = !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isUndefined)(item[_refItemValue]) ? item[_refItemValue] : item[smallRefItemValue];\n          if (caption == null || caption === '') caption = itemValue;\n          optionItems.push({\n            value: itemValue,\n            label: caption\n          });\n        });\n      } else if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(refItems) === 'object') {\n        var caption = !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isUndefined)(refItems[refItemCaption]) ? refItems[refItemCaption] : refItems[smallRefItemCaption];\n        var itemValue = !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isUndefined)(refItems[_refItemValue]) ? refItems[_refItemValue] : refItems[smallRefItemValue];\n        optionItems.push({\n          value: itemValue,\n          label: caption\n        });\n      }\n    }\n    return optionItems;\n  };\n};\nvar createRefComboEditor = function createRefComboEditor(_ref) {\n  var getDataRef = _ref.getDataRef,\n    getModel = _ref.getModel,\n    getKdesignerApi = _ref.getKdesignerApi,\n    keywordMapping = _ref.keywordMapping,\n    _ref$multiple = _ref.multiple,\n    multiple = _ref$multiple === void 0 ? false : _ref$multiple,\n    _ref$metaType = _ref.metaType,\n    metaType = _ref$metaType === void 0 ? 'formmeta' : _ref$metaType;\n  var RefComboEditor = function RefComboEditor(props) {\n    var _props$editor2 = props.editor,\n      editor = _props$editor2 === void 0 ? {} : _props$editor2;\n    var newEditor = _objectSpread(_objectSpread({}, editor), {}, {\n      AllowClear: true\n    });\n    var _getItems = (0,react__WEBPACK_IMPORTED_MODULE_14__.useCallback)(function (props) {\n      try {\n        return getItems({\n          getDataRef: getDataRef,\n          getModel: getModel,\n          getKdesignerApi: getKdesignerApi,\n          keywordMapping: keywordMapping,\n          metaType: metaType\n        })(props);\n      } catch (error) {\n        console.log('error', error);\n        return [];\n      }\n    }, []);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_14___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_15__.EditorPropertySelect, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n      options: _getItems(props),\n      multiple: multiple,\n      editor: newEditor\n    }));\n  };\n  return RefComboEditor;\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/editors/refcombo-editor.tsx?");

/***/ }),

/***/ 60328:
/*!********************************************************!*\
  !*** ../form-entity-designer-utils/editors/select.tsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createSelectEditor: function() { return /* binding */ createSelectEditor; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/every */ 30479);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _kd_designer_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../kd-designer/index */ 80143);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../designer-utils */ 89592);\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-12-14 10:54:28\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:41:40\n * @Description: ...\n */\n\n\n\n\nvar DEFAULT = 'Default';\nvar FIELD_PROPERTY_FILTER = {\n  FieldStyle: (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    /**\n     * 字段风格\n     * -1:默认; 0:下划线; 1:标签; 2:边框; 3:问卷\n     * RadioGroupField: 单选按钮组\n     */\n    RadioGroupField: [-1, 1, 3]\n  }, DEFAULT, [-1, 0, 1, 2]),\n  ComboShowType: (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({\n    /**\n     * 下拉风格\n     * 0:默认风格; 1:气泡风格; 2:筛选风格\n     * ComboField: 下拉列表\n     * MulComboField: 多选下拉列表\n     */\n    ComboField: [0, 1, 2],\n    MulComboField: [0, 2]\n  }, DEFAULT, [0, 2])\n};\nvar getValueFormat = function getValueFormat(value, valueIsNumber, enums, defaultValue) {\n  if (value === '') return value;\n  var valueFomated = valueIsNumber ? Number(value) : String(value);\n  // 这里如果默认值去除，历史单保存的值是原“默认”的情况下，是没有值得\n  var hasValue = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(enums).call(enums, function (item) {\n    return item.Id === valueFomated;\n  });\n  return hasValue ? valueFomated : defaultValue;\n};\nvar EditorPropertySelect = function EditorPropertySelect(props) {\n  var _Enum$, _context;\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    multiple = props.multiple,\n    propId = props.Id,\n    field = props.field,\n    EditorComponent = props.editorComponent;\n  var fieldType = field.FieldType;\n  var Enum = editor.Enum,\n    Default = editor.Default,\n    nameHidden = editor.NameHidden,\n    required = editor.Required,\n    allowClear = editor.AllowClear;\n  var isMultiple = !!multiple;\n  var valueIsNumber = (Enum === null || Enum === void 0 ? void 0 : Enum.length) && _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_3___default()(Enum).call(Enum, function (item) {\n    return (0,lodash__WEBPACK_IMPORTED_MODULE_10__.isNumber)(item.Id);\n  });\n  var selectValue = isMultiple ? [] : Default || Enum && ((_Enum$ = Enum[0]) === null || _Enum$ === void 0 ? void 0 : _Enum$.Id);\n  var idList = FIELD_PROPERTY_FILTER[propId] && (FIELD_PROPERTY_FILTER[propId][fieldType] || FIELD_PROPERTY_FILTER[propId][DEFAULT]);\n  var options = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_4___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_5___default()(Enum).call(Enum, function (option) {\n    return !idList || _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(idList).call(idList, option.Id);\n  })).call(_context, function (option) {\n    return {\n      value: option.Id,\n      label: option.Name\n    };\n  });\n  var name = props.Name,\n    tips = props.Tips;\n  var renderValue = (0,lodash__WEBPACK_IMPORTED_MODULE_10__.isUndefined)(value) ? selectValue : isMultiple ? value === null || value === void 0 ? void 0 : value.split(',') : getValueFormat(value, valueIsNumber, Enum, selectValue);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement((react__WEBPACK_IMPORTED_MODULE_8___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(_kd_designer_index__WEBPACK_IMPORTED_MODULE_9__.NameTipWrapper, {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(EditorComponent, {\n    scrollHidden: true,\n    disabled: locked,\n    placeholder: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0020'),\n    borderType: \"bordered\",\n    value: renderValue,\n    allowClear: allowClear,\n    onChange: function onChange(val) {\n      handleChange(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default()(val) ? val.join(',') : val);\n    },\n    options: options\n  }));\n};\nvar createSelectEditor = function createSelectEditor(hocProps) {\n  var editorComponent = hocProps.editorComponent;\n  var Editor = function Editor(props) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_8___default().createElement(EditorPropertySelect, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n      editorComponent: editorComponent\n    }));\n  };\n  return Editor;\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/editors/select.tsx?");

/***/ }),

/***/ 57500:
/*!**********************************************!*\
  !*** ../form-entity-designer-utils/index.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DelayQueueUtil: function() { return /* reexport safe */ _utils_delayQueueUtils__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */   EditComboEditor: function() { return /* reexport safe */ _editors_edit_combo_editor__WEBPACK_IMPORTED_MODULE_8__[\"default\"]; },\n/* harmony export */   ITransformKeyMap: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.ITransformKeyMap; },\n/* harmony export */   adaptorMeta: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.adaptorMeta; },\n/* harmony export */   adaptorObjectByTransformKeyMap: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.adaptorObjectByTransformKeyMap; },\n/* harmony export */   createEComboEditor: function() { return /* reexport safe */ _editors_ecombo_editor__WEBPACK_IMPORTED_MODULE_1__.createEComboEditor; },\n/* harmony export */   createInputEditor: function() { return /* reexport safe */ _editors_input__WEBPACK_IMPORTED_MODULE_3__.createInputEditor; },\n/* harmony export */   createPropertyGroups: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.createPropertyGroups; },\n/* harmony export */   createRefComboEditor: function() { return /* reexport safe */ _editors_refcombo_editor__WEBPACK_IMPORTED_MODULE_2__.createRefComboEditor; },\n/* harmony export */   createSelectEditor: function() { return /* reexport safe */ _editors_select__WEBPACK_IMPORTED_MODULE_4__.createSelectEditor; },\n/* harmony export */   filterProperty: function() { return /* reexport safe */ _utils_filterProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */   getControlIconMap: function() { return /* reexport safe */ _utils_controlIconMap__WEBPACK_IMPORTED_MODULE_9__[\"default\"]; },\n/* harmony export */   getEComboEditorItems: function() { return /* reexport safe */ _editors_ecombo_editor__WEBPACK_IMPORTED_MODULE_1__.getItems; },\n/* harmony export */   getFieldProperty: function() { return /* reexport safe */ _utils_getFieldProperty__WEBPACK_IMPORTED_MODULE_0__.getFieldProperty; },\n/* harmony export */   getRefComboEditor: function() { return /* reexport safe */ _editors_refcombo_editor__WEBPACK_IMPORTED_MODULE_2__.getItems; },\n/* harmony export */   mergeTransformKeyMap: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.mergeTransformKeyMap; },\n/* harmony export */   transformActions: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.transformActions; },\n/* harmony export */   transformKeyMap: function() { return /* reexport safe */ _adaptor__WEBPACK_IMPORTED_MODULE_5__.transformKeyMap; },\n/* harmony export */   useGetFieldProperty: function() { return /* reexport safe */ _utils_getFieldProperty__WEBPACK_IMPORTED_MODULE_0__.useGetFieldProperty; }\n/* harmony export */ });\n/* harmony import */ var _utils_getFieldProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils/getFieldProperty */ 28044);\n/* harmony import */ var _editors_ecombo_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./editors/ecombo-editor */ 75084);\n/* harmony import */ var _editors_refcombo_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editors/refcombo-editor */ 10584);\n/* harmony import */ var _editors_input__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./editors/input */ 58708);\n/* harmony import */ var _editors_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./editors/select */ 60328);\n/* harmony import */ var _adaptor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./adaptor */ 90728);\n/* harmony import */ var _utils_filterProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/filterProperty */ 90656);\n/* harmony import */ var _utils_delayQueueUtils__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./utils/delayQueueUtils */ 32204);\n/* harmony import */ var _editors_edit_combo_editor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./editors/edit-combo-editor */ 23740);\n/* harmony import */ var _utils_controlIconMap__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./utils/controlIconMap */ 96708);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-11 16:38:19\n * @Last Modified by: fjr\n * @LastEditTime: 2023-12-28 17:38:48\n * @Description: 表单、实体设计器公共依赖\n */\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/index.ts?");

/***/ }),

/***/ 99524:
/*!*******************************************************!*\
  !*** ../form-entity-designer-utils/utils/constant.ts ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   RESERVEDFILEDKEYS: function() { return /* binding */ RESERVEDFILEDKEYS; },\n/* harmony export */   SPECIAL_WORDS: function() { return /* binding */ SPECIAL_WORDS; }\n/* harmony export */ });\nvar SPECIAL_WORDS = ['!', '$', '&', '(', ')', '*', '+', ',', '-', '.', '/', ':', '<', '<<', '=', '>', '@', 'A', 'ABORT', 'ACCESS', 'ACCESSED', 'ACCOUNT', 'ACTIVATE', 'ADD', 'ADMIN', 'ADMINISTER', 'ADMINISTRATOR', 'ADVISE', 'ADVISOR', 'AFTER', 'ALGORITHM', 'ALIAS', 'ALL', 'ALLOCATE', 'ALLOW', 'ALL_ROWS', 'ALTER', 'ALWAYS', 'ANALYZE', 'ANCILLARY', 'AND', 'AND_EQUAL', 'ANTIJOIN', 'ANY', 'APPEND', 'APPLY', 'ARCHIVE', 'ARCHIVELOG', 'ARRAY', 'AS', 'ASC', 'ASSOCIATE', 'AT', 'ATTRIBUTE', 'ATTRIBUTES', 'AUDIT', 'AUTHENTICATED', 'AUTHENTICATION', 'AUTHID', 'AUTHORIZATION', 'AUTO', 'AUTOALLOCATE', 'AUTOEXTEND', 'AUTOMATIC', 'AVAILABILITY', 'BACKUP', 'BECOME', 'BEFORE', 'BEGIN', 'BEHALF', 'BETWEEN', 'BFILE', 'BIGFILE', 'BINARY_DOUBLE', 'BINARY_DOUBLE_INFINITY', 'BINARY_DOUBLE_NAN', 'BINARY_FLOAT', 'BINARY_FLOAT_INFINITY', 'BINARY_FLOAT_NAN', 'BINDING', 'BITMAP', 'BITS', 'BLOB', 'BLOCK', 'BLOCKS', 'BLOCKSIZE', 'BLOCK_RANGE', 'BODY', 'BOTH', 'BOUND', 'BROADCAST', 'BUFFER', 'BUFFER_CACHE', 'BUFFER_POOL', 'BUILD', 'BULK', 'BY', 'BYPASS_RECURSIVE_CHECK', 'BYPASS_UJVC', 'BYTE', 'CACHE', 'CACHE_CB', 'CACHE_INSTANCES', 'CACHE_TEMP_TABLE', 'CALL', 'CANCEL', 'CARDINALITY', 'CASCADE', 'CASE', 'CAST', 'CATEGORY', 'CERTIFICATE', 'CFILE', 'CHAINED', 'CHANGE', 'CHAR', 'CHARACTER', 'CHAR_CS', 'CHECK', 'CHECKPOINT', 'CHILD', 'CHOOSE', 'CHUNK', 'CIV_GB', 'CLASS', 'CLEAR', 'CLOB', 'CLONE', 'CLOSE', 'CLOSE_CACHED_OPEN_CURSORS', 'CLUSTER', 'CLUSTERING_FACTOR', 'COALESCE', 'COARSE', 'COLLECT', 'COLLECTIONS_GET_REFS', 'COLUMN', 'COLUMNS', 'COLUMN_STATS', 'COLUMN_VALUE', 'COMMENT', 'COMMIT', 'COMMITTED', 'COMPACT', 'COMPATIBILITY', 'COMPILE', 'COMPLETE', 'COMPOSITE_LIMIT', 'COMPRESS', 'COMPUTE', 'CONFORMING', 'CONNECT', 'CONNECT_BY_ISCYCLE', 'CONNECT_BY_ISLEAF', 'CONNECT_BY_ROOT', 'CONNECT_TIME', 'CONSIDER', 'CONSISTENT', 'CONSTRAINT', 'CONSTRAINTS', 'CONTAINER', 'CONTENT', 'CONTENTS', 'CONTEXT', 'CONTINUE', 'CONTROLFILE', 'CONVERT', 'CORRUPTION', 'COST', 'CPU_COSTING', 'CPU_PER_CALL', 'CPU_PER_SESSION', 'CREATE', 'CREATE_STORED_OUTLINES', 'CROSS', 'CUBE', 'CUBE_GB', 'CURRENT', 'CURRENT_DATE', 'CURRENT_SCHEMA', 'CURRENT_TIME', 'CURRENT_TIMESTAMP', 'CURRENT_USER', 'CURSOR', 'CURSOR_SHARING_EXACT', 'CURSOR_SPECIFIC_SEGMENT', 'CYCLE', 'DANGLING', 'DATA', 'DATABASE', 'DATAFILE', 'DATAFILES', 'DATAOBJNO', 'DATE', 'DATE_MODE', 'DAY', 'DBA', 'DBA_RECYCLEBIN', 'DBTIMEZONE', 'DDL', 'DEALLOCATE', 'DEBUG', 'DEC', 'DECIMAL', 'DECLARE', 'DECREMENT', 'DEFAULT', 'DEFERRABLE', 'DEFERRED', 'DEFINED', 'DEFINER', 'DEGREE', 'DELAY', 'DELETE', 'DEMAND', 'DENSE_RANK', 'DEREF', 'DEREF_NO_REWRITE', 'DESC', 'DETACHED', 'DETERMINES', 'DICTIONARY', 'DIMENSION', 'DIRECTORY', 'DISABLE', 'DISASSOCIATE', 'DISCONNECT', 'DISK', 'DISKGROUP', 'DISKS', 'DISMOUNT', 'DISTINCT', 'DISTINGUISHED', 'DISTRIBUTED', 'DML', 'DML_UPDATE', 'DOCUMENT', 'DOMAIN_INDEX_NO_SORT', 'DOMAIN_INDEX_SORT', 'DOUBLE', 'DOWNGRADE', 'DRIVING_SITE', 'DROP', 'DUMP', 'DYNAMIC', 'DYNAMIC_SAMPLING', 'DYNAMIC_SAMPLING_EST_CDN', 'EACH', 'ELEMENT', 'ELSE', 'EMPTY', 'ENABLE', 'ENCRYPTED', 'ENCRYPTION', 'END', 'ENFORCE', 'ENFORCED', 'ENTRY', 'ERROR', 'ERROR_ON_OVERLAP_TIME', 'ESCAPE', 'ESTIMATE', 'EVENTS', 'EXCEPT', 'EXCEPTIONS', 'EXCHANGE', 'EXCLUDING', 'EXCLUSIVE', 'EXECUTE', 'EXEMPT', 'EXISTS', 'EXPAND_GSET_TO_UNION', 'EXPIRE', 'EXPLAIN', 'EXPLOSION', 'EXPORT', 'EXPR_CORR_CHECK', 'EXTEND', 'EXTENDS', 'EXTENT', 'EXTENTS', 'EXTERNAL', 'EXTERNALLY', 'EXTRACT', 'FACT', 'FAILED', 'FAILED_LOGIN_ATTEMPTS', 'FAILGROUP', 'FALSE', 'FAST', 'FBTSCAN', 'FIC_CIV', 'FIC_PIV', 'FILE', 'FILTER', 'FINAL', 'FINE', 'FINISH', 'FIRST', 'FIRST_ROWS', 'FLAGGER', 'FLASHBACK', 'FLOAT', 'FLOB', 'FLUSH', 'FOLLOWING', 'FOR', 'FORCE', 'FORCE_XML_QUERY_REWRITE', 'FOREIGN', 'FREELIST', 'FREELISTS', 'FREEPOOLS', 'FRESH', 'FROM', 'FULL', 'FUNCTION', 'FUNCTIONS', 'GATHER_PLAN_STATISTICS', 'GBY_CONC_ROLLUP', 'GENERATED', 'GLOBAL', 'GLOBALLY', 'GLOBAL_NAME', 'GLOBAL_TOPIC_ENABLED', 'GRANT', 'GROUP', 'GROUPING', 'GROUPS', 'GROUP_BY', 'GUARANTEE', 'GUARANTEED', 'GUARD', 'HASH', 'HASHKEYS', 'HASH_AJ', 'HASH_SJ', 'HAVING', 'HEADER', 'HEAP', 'HIERARCHY', 'HIGH', 'HINTSET_BEGIN', 'HINTSET_END', 'HOUR', 'HWM_BROKERED', 'ID', 'IDENTIFIED', 'IDENTIFIER', 'IDENTITY', 'IDGENERATORS', 'IDLE_TIME', 'IF', 'IGNORE', 'IGNORE_ON_CLAUSE', 'IGNORE_OPTIM_EMBEDDED_HINTS', 'IGNORE_WHERE_CLAUSE', 'IMMEDIATE', 'IMPORT', 'IN', 'INCLUDE_VERSION', 'INCLUDING', 'INCREMENT', 'INCREMENTAL', 'INDEX', 'INDEXED', 'INDEXES', 'INDEXTYPE', 'INDEXTYPES', 'INDEX_ASC', 'INDEX_COMBINE', 'INDEX_DESC', 'INDEX_FFS', 'INDEX_FILTER', 'INDEX_JOIN', 'INDEX_ROWS', 'INDEX_RRS', 'INDEX_SCAN', 'INDEX_SKIP_SCAN', 'INDEX_SS', 'INDEX_SS_ASC', 'INDEX_SS_DESC', 'INDEX_STATS', 'INDICATOR', 'INFINITE', 'INFORMATIONAL', 'INITIAL', 'INITIALIZED', 'INITIALLY', 'INITRANS', 'INLINE', 'INNER', 'INSERT', 'INSTANCE', 'INSTANCES', 'INSTANTIABLE', 'INSTANTLY', 'INSTEAD', 'INT', 'INTEGER', 'INTEGRITY', 'INTERMEDIATE', 'INTERNAL_CONVERT', 'INTERNAL_USE', 'INTERPRETED', 'INTERSECT', 'INTERVAL', 'INTO', 'INVALIDATE', 'IN_MEMORY_METADATA', 'IS', 'ISOLATION', 'ISOLATION_LEVEL', 'ITERATE', 'ITERATION_NUMBER', 'JAVA', 'JOB', 'JOIN', 'KEEP', 'KERBEROS', 'KEY', 'KEYFILE', 'KEYS', 'KEYSIZE', 'KEY_LENGTH', 'KILL', 'LAST', 'LATERAL', 'LAYER', 'LDAP_REGISTRATION', 'LDAP_REGISTRATION_ENABLED', 'LDAP_REG_SYNC_INTERVAL', 'LEADING', 'LEFT', 'LENGTH', 'LESS', 'LEVEL', 'LEVELS', 'LIBRARY', 'LIKE', 'LIKE2', 'LIKE4', 'LIKEC', 'LIKE_EXPAND', 'LIMIT', 'LINK', 'LIST', 'LOB', 'LOCAL', 'LOCALTIME', 'LOCALTIMESTAMP', 'LOCAL_INDEXES', 'LOCATION', 'LOCATOR', 'LOCK', 'LOCKED', 'LOG', 'LOGFILE', 'LOGGING', 'LOGICAL', 'LOGICAL_READS_PER_CALL', 'LOGICAL_READS_PER_SESSION', 'LOGOFF', 'LOGON', 'LONG', 'MAIN', 'MANAGE', 'MANAGED', 'MANAGEMENT', 'MANUAL', 'MAPPING', 'MASTER', 'MATCHED', 'MATERIALIZE', 'MATERIALIZED', 'MAX', 'MAXARCHLOGS', 'MAXDATAFILES', 'MAXEXTENTS', 'MAXIMIZE', 'MAXINSTANCES', 'MAXLOGFILES', 'MAXLOGHISTORY', 'MAXLOGMEMBERS', 'MAXSIZE', 'MAXTRANS', 'MAXVALUE', 'MEASURES', 'MEMBER', 'MEMORY', 'MERGE', 'MERGE_AJ', 'MERGE_CONST_ON', 'MERGE_SJ', 'METHOD', 'MIGRATE', 'MIN', 'MINEXTENTS', 'MINIMIZE', 'MINIMUM', 'MINUS', 'MINUTE', 'MINVALUE', 'MIRROR', 'MLSLABEL', 'MODE', 'MODEL', 'MODEL_DONTVERIFY_UNIQUENESS', 'MODEL_MIN_ANALYSIS', 'MODEL_NO_ANALYSIS', 'MODEL_PBY', 'MODEL_PUSH_REF', 'MODIFY', 'MONITORING', 'MONTH', 'MOUNT', 'MOVE', 'MOVEMENT', 'MULTISET', 'MV_MERGE', 'NAME', 'NAMED', 'NAN', 'NATIONAL', 'NATIVE', 'NATURAL', 'NAV', 'NCHAR', 'NCHAR_CS', 'NCLOB', 'NEEDED', 'NESTED', 'NESTED_TABLE_FAST_INSERT', 'NESTED_TABLE_GET_REFS', 'NESTED_TABLE_ID', 'NESTED_TABLE_SET_REFS', 'NESTED_TABLE_SET_SETID', 'NETWORK', 'NEVER', 'NEW', 'NEXT', 'NLS_CALENDAR', 'NLS_CHARACTERSET', 'NLS_COMP', 'NLS_CURRENCY', 'NLS_DATE_FORMAT', 'NLS_DATE_LANGUAGE', 'NLS_ISO_CURRENCY', 'NLS_LANG', 'NLS_LANGUAGE', 'NLS_LENGTH_SEMANTICS', 'NLS_NCHAR_CONV_EXCP', 'NLS_NUMERIC_CHARACTERS', 'NLS_SORT', 'NLS_SPECIAL_CHARS', 'NLS_TERRITORY', 'NL_AJ', 'NL_SJ', 'NO', 'NOAPPEND', 'NOARCHIVELOG', 'NOAUDIT', 'NOCACHE', 'NOCOMPRESS', 'NOCPU_COSTING', 'NOCYCLE', 'NODELAY', 'NOFORCE', 'NOGUARANTEE', 'NOLOGGING', 'NOMAPPING', 'NOMAXVALUE', 'NOMINIMIZE', 'NOMINVALUE', 'NOMONITORING', 'NONE', 'NOORDER', 'NOOVERRIDE', 'NOPARALLEL', 'NOPARALLEL_INDEX', 'NORELY', 'NOREPAIR', 'NORESETLOGS', 'NOREVERSE', 'NOREWRITE', 'NORMAL', 'NOROWDEPENDENCIES', 'NOSEGMENT', 'NOSORT', 'NOSTRICT', 'NOSWITCH', 'NOT', 'NOTHING', 'NOVALIDATE', 'NOWAIT', 'NO_ACCESS', 'NO_BASETABLE_MULTIMV_REWRITE', 'NO_BUFFER', 'NO_CPU_COSTING', 'NO_EXPAND', 'NO_EXPAND_GSET_TO_UNION', 'NO_FACT', 'NO_FILTERING', 'NO_INDEX', 'NO_INDEX_FFS', 'NO_INDEX_SS', 'NO_MERGE', 'NO_MODEL_PUSH_REF', 'NO_MONITORING', 'NO_MULTIMV_REWRITE', 'NO_ORDER_ROLLUPS', 'NO_PARALLEL', 'NO_PARALLEL_INDEX', 'NO_PARTIAL_COMMIT', 'NO_PRUNE_GSETS', 'NO_PUSH_PRED', 'NO_PUSH_SUBQ', 'NO_QKN_BUFF', 'NO_QUERY_TRANSFORMATION', 'NO_REF_CASCADE', 'NO_REWRITE', 'NO_SEMIJOIN', 'NO_SET_TO_JOIN', 'NO_STAR_TRANSFORMATION', 'NO_STATS_GSETS', 'NO_SWAP_JOIN_INPUTS', 'NO_TRIGGER', 'NO_UNNEST', 'NO_USE_HASH', 'NO_USE_MERGE', 'NO_USE_NL', 'NO_XML_QUERY_REWRITE', 'NULL', 'NULLS', 'NUMBER', 'NUMERIC', 'NVARCHAR2', 'OBJECT', 'OBJNO', 'OBJNO_REUSE', 'OF', 'OFF', 'OFFLINE', 'OID', 'OIDINDEX', 'OLD', 'ON', 'ONLINE', 'ONLY', 'OPAQUE', 'OPAQUE_TRANSFORM', 'OPAQUE_XCANONICAL', 'OPCODE', 'OPEN', 'OPERATOR', 'OPTIMAL', 'OPTIMIZER_FEATURES_ENABLE', 'OPTIMIZER_GOAL', 'OPTION', 'OPT_ESTIMATE', 'OR', 'ORA_ROWSCN', 'ORDER', 'ORDERED', 'ORDERED_PREDICATES', 'ORGANIZATION', 'OR_EXPAND', 'OUTER', 'OUTLINE', 'OUT_OF_LINE', 'OVER', 'OVERFLOW', 'OVERFLOW_NOMOVE', 'OVERLAPS', 'OWN', 'PACKAGE', 'PACKAGES', 'PARALLEL', 'PARALLEL_INDEX', 'PARAMETERS', 'PARENT', 'PARITY', 'PARTIALLY', 'PARTITION', 'PARTITIONS', 'PARTITION_HASH', 'PARTITION_LIST', 'PARTITION_RANGE', 'PASSWORD', 'PASSWORD_GRACE_TIME', 'PASSWORD_LIFE_TIME', 'PASSWORD_LOCK_TIME', 'PASSWORD_REUSE_MAX', 'PASSWORD_REUSE_TIME', 'PASSWORD_VERIFY_FUNCTION', 'PCTFREE', 'PCTINCREASE', 'PCTTHRESHOLD', 'PCTUSED', 'PCTVERSION', 'PERCENT', 'PERFORMANCE', 'PERMANENT', 'PFILE', 'PHYSICAL', 'PIV_GB', 'PIV_SSF', 'PLAN', 'PLSQL_CODE_TYPE', 'PLSQL_DEBUG', 'PLSQL_OPTIMIZE_LEVEL', 'PLSQL_WARNINGS', 'POLICY', 'POST_TRANSACTION', 'POWER', 'PQ_DISTRIBUTE', 'PQ_MAP', 'PQ_NOMAP', 'PREBUILT', 'PRECEDING', 'PRECISION', 'PREPARE', 'PRESENT', 'PRESERVE', 'PRIMARY', 'PRIOR', 'PRIVATE', 'PRIVATE_SGA', 'PRIVILEGE', 'PRIVILEGES', 'PROCEDURE', 'PROFILE', 'PROGRAM', 'PROJECT', 'PROTECTED', 'PROTECTION', 'PUBLIC', 'PURGE', 'PUSH_PRED', 'PUSH_SUBQ', 'PX_GRANULE', 'QB_NAME', 'QUERY', 'QUERY_BLOCK', 'QUEUE', 'QUEUE_CURR', 'QUEUE_ROWP', 'QUIESCE', 'QUOTA', 'RANDOM', 'RANGE', 'RAPIDLY', 'RAW', 'RBA', 'READ', 'READS', 'REAL', 'REBALANCE', 'REBUILD', 'RECORDS_PER_BLOCK', 'RECOVER', 'RECOVERABLE', 'RECOVERY', 'RECYCLE', 'RECYCLEBIN', 'REDUCED', 'REDUNDANCY', 'REF', 'REFERENCE', 'REFERENCED', 'REFERENCES', 'REFERENCING', 'REFRESH', 'REF_CASCADE_CURSOR', 'REGEXP_LIKE', 'REGISTER', 'REJECT', 'REKEY', 'RELATIONAL', 'RELY', 'REMOTE_MAPPED', 'RENAME', 'REPAIR', 'REPLACE', 'REQUIRED', 'RESET', 'RESETLOGS', 'RESIZE', 'RESOLVE', 'RESOLVER', 'RESOURCE', 'RESTORE_AS_INTERVALS', 'RESTRICT', 'RESTRICTED', 'RESTRICT_ALL_REF_CONS', 'RESUMABLE', 'RESUME', 'RETENTION', 'RETURN', 'RETURNING', 'REUSE', 'REVERSE', 'REVOKE', 'REWRITE', 'REWRITE_OR_ERROR', 'RIGHT', 'ROLE', 'ROLES', 'ROLLBACK', 'ROLLUP', 'ROW', 'ROWDEPENDENCIES', 'ROWID', 'ROWNUM', 'ROWS', 'ROW_LENGTH', 'RULE', 'RULES', 'SAMPLE', 'SAVEPOINT', 'SAVE_AS_INTERVALS', 'SB4', 'SCALE', 'SCALE_ROWS', 'SCAN', 'SCAN_INSTANCES', 'SCHEDULER', 'SCHEMA', 'SCN', 'SCN_ASCENDING', 'SCOPE', 'SD_ALL', 'SD_INHIBIT', 'SD_SHOW', 'SECOND', 'SECURITY', 'SEED', 'SEGMENT', 'SEG_BLOCK', 'SEG_FILE', 'SELECT', 'SELECTIVITY', 'SEMIJOIN', 'SEMIJOIN_DRIVER', 'SEQUENCE', 'SEQUENCED', 'SEQUENTIAL', 'SERIALIZABLE', 'SERVERERROR', 'SESSION', 'SESSIONS_PER_USER', 'SESSIONTIMEZONE', 'SESSIONTZNAME', 'SESSION_CACHED_CURSORS', 'SET', 'SETS', 'SETTINGS', 'SET_TO_JOIN', 'SEVERE', 'SHARE', 'SHARED', 'SHARED_POOL', 'SHRINK', 'SHUTDOWN', 'SIBLINGS', 'SID', 'SIMPLE', 'SINGLE', 'SINGLETASK', 'SIZE', 'SKIP', 'SKIP_EXT_OPTIMIZER', 'SKIP_UNQ_UNUSABLE_IDX', 'SKIP_UNUSABLE_INDEXES', 'SMALLFILE', 'SMALLINT', 'SNAPSHOT', 'SOME', 'SORT', 'SOURCE', 'SPACE', 'SPECIFICATION', 'SPFILE', 'SPLIT', 'SPREADSHEET', 'SQL', 'SQLLDR', 'SQL_TRACE', 'STANDBY', 'STAR', 'START', 'STARTUP', 'STAR_TRANSFORMATION', 'STATEMENT_ID', 'STATIC', 'STATISTICS', 'STOP', 'STORAGE', 'STORE', 'STREAMS', 'STRICT', 'STRIP', 'STRUCTURE', 'SUBMULTISET', 'SUBPARTITION', 'SUBPARTITIONS', 'SUBPARTITION_REL', 'SUBSTITUTABLE', 'SUCCESSFUL', 'SUMMARY', 'SUPPLEMENTAL', 'SUSPEND', 'SWAP_JOIN_INPUTS', 'SWITCH', 'SWITCHOVER', 'SYNONYM', 'SYSAUX', 'SYSDATE', 'SYSDBA', 'SYSOPER', 'SYSTEM', 'SYSTIMESTAMP', 'SYS_DL_CURSOR', 'SYS_FBT_INSDEL', 'SYS_OP_BITVEC', 'SYS_OP_CAST', 'SYS_OP_COL_PRESENT', 'SYS_OP_ENFORCE_NOT_NULL', '$SYS_OP_MINE_VALUE', 'SYS_OP_NOEXPAND', 'SYS_OP_NTCIMG', '$SYS_PARALLEL_TXN', 'SYS_RID_ORDER', 'TABLE', 'TABLES', 'TABLESPACE', 'TABLESPACE_NO', 'TABLE_STATS', 'TABNO', 'TEMPFILE', 'TEMPLATE', 'TEMPORARY', 'TEST', 'THAN', 'THE', 'THEN', 'THREAD', 'THROUGH', 'TIME', 'TIMEOUT', 'TIMESTAMP', 'TIMEZONE_ABBR', 'TIMEZONE_HOUR', 'TIMEZONE_MINUTE', 'TIMEZONE_REGION', 'TIME_ZONE', 'TIV_GB', 'TIV_SSF', 'TO', 'TOPLEVEL', 'TRACE', 'TRACING', 'TRACKING', 'TRAILING', 'TRANSACTION', 'TRANSITIONAL', 'TREAT', 'TRIGGER', 'TRIGGERS', 'TRUE', 'TRUNCATE', 'TRUSTED', 'TUNING', 'TX', 'TYPE', 'TYPES', 'TZ_OFFSET', 'UB2', 'UBA', 'UID', 'UNARCHIVED', 'UNBOUND', 'UNBOUNDED', 'UNDER', 'UNDO', 'UNDROP', 'UNIFORM', 'UNION', 'UNIQUE', 'UNLIMITED', 'UNLOCK', 'UNNEST', 'UNPACKED', 'UNPROTECTED', 'UNQUIESCE', 'UNRECOVERABLE', 'UNTIL', 'UNUSABLE', 'UNUSED', 'UPDATABLE', 'UPDATE', 'UPDATED', 'UPD_INDEXES', 'UPD_JOININDEX', 'UPGRADE', 'UPSERT', 'UROWID', 'USAGE', 'USE', 'USER', 'USER_DEFINED', 'USER_RECYCLEBIN', 'USE_ANTI', 'USE_CONCAT', 'USE_HASH', 'USE_MERGE', 'USE_NL', 'USE_NL_WITH_INDEX', 'USE_PRIVATE_OUTLINES', 'USE_SEMI', 'USE_STORED_OUTLINES', 'USE_TTT_FOR_GSETS', 'USE_WEAK_NAME_RESL', 'USING', 'VALIDATE', 'VALIDATION', 'VALUE', 'VALUES', 'VARCHAR', 'VARCHAR2', 'VARRAY', 'VARYING', 'VECTOR_READ', 'VECTOR_READ_TRACE', 'VERSION', 'VERSIONS', 'VIEW', 'WAIT', 'WELLFORMED', 'WHEN', 'WHENEVER', 'WHERE', 'WHITESPACE', 'WITH', 'WITHIN', 'WITHOUT', 'WORK', 'WRITE', 'XID', 'XMLATTRIBUTES', 'XMLCOLATTVAL', 'XMLELEMENT', 'XMLFOREST', 'XMLPARSE', 'XMLSCHEMA', 'XMLTYPE', 'X_DYN_PRUNE', 'YEAR', 'ZONE', '[', ']', '^', '|', 'ABS', 'ABSENT', 'ABSOLUTE', 'ACCORDING', 'ACTION', 'ADA', 'AGGREGATE', 'ALSO', 'ANALYSE', 'ARE', 'ARRAY_AGG', 'ARRAY_MAX_CARDINALITY', 'ASENSITIVE', 'ASSERTION', 'ASSIGNMENT', 'ASYMMETRIC', 'ATOMIC', 'AVG', 'BACKWARD', 'BASE64', 'BEGIN_FRAME', 'BEGIN_PARTITION', 'BERNOULLI', 'BIGINT', 'BINARY', 'BIT', 'BIT_LENGTH', 'BLOCKED', 'BOM', 'BOOLEAN', 'BREADTH', 'C', 'CALLED', 'CASCADED', 'CATALOG', 'CATALOG_NAME', 'CEIL', 'CEILING', 'CHAIN', 'CHARACTERISTICS', 'CHARACTERS', 'CHARACTER_LENGTH', 'CHARACTER_SET_CATALOG', 'CHARACTER_SET_NAME', 'CHARACTER_SET_SCHEMA', 'CHAR_LENGTH', 'CLASS_ORIGIN', 'COBOL', 'COLLATE', 'COLLATION', 'COLLATION_CATALOG', 'COLLATION_NAME', 'COLLATION_SCHEMA', 'COLUMN_NAME', 'COMMAND_FUNCTION', 'COMMAND_FUNCTION_CODE', 'COMMENTS', 'CONCURRENTLY', 'CONDITION', 'CONDITION_NUMBER', 'CONFIGURATION', 'CONFLICT', 'CONNECTION', 'CONNECTION_NAME', 'CONSTRAINT_CATALOG', 'CONSTRAINT_NAME', 'CONSTRAINT_SCHEMA', 'CONSTRUCTOR', 'CONTAINS', 'CONTROL', 'CONVERSION', 'COPY', 'CORR', 'CORRESPONDING', 'COUNT', 'COVAR_POP', 'COVAR_SAMP', 'CSV', 'CUME_DIST', 'CURRENT_CATALOG', 'CURRENT_DEFAULT_TRANSFORM_GROUP', 'CURRENT_PATH', 'CURRENT_ROLE', 'CURRENT_ROW', 'CURRENT_TRANSFORM_GROUP_FOR_TYPE', 'CURSOR_NAME', 'DATALINK', 'DATETIME_INTERVAL_CODE', 'DATETIME_INTERVAL_PRECISION', 'DB', 'DEFAULTS', 'DELIMITER', 'DELIMITERS', 'DEPENDS', 'DEPTH', 'DERIVED', 'DESCRIBE', 'DESCRIPTOR', 'DETERMINISTIC', 'DIAGNOSTICS', 'DISCARD', 'DISPATCH', 'DLNEWCOPY', 'DLPREVIOUSCOPY', 'DLURLCOMPLETE', 'DLURLCOMPLETEONLY', 'DLURLCOMPLETEWRITE', 'DLURLPATH', 'DLURLPATHONLY', 'DLURLPATHWRITE', 'DLURLSCHEME', 'DLURLSERVER', 'DLVALUE', 'DO', 'DOMAIN', 'DYNAMIC_FUNCTION', 'DYNAMIC_FUNCTION_CODE', 'ENCODING', 'END-EXEC', 'END_FRAME', 'END_PARTITION', 'ENUM', 'EQUALS', 'EVENT', 'EVERY', 'EXCEPTION', 'EXCLUDE', 'EXEC', 'EXP', 'EXPRESSION', 'EXTENSION', 'FAMILY', 'FETCH', 'FIRST_VALUE', 'FLAG', 'FLOOR', 'FORTRAN', 'FORWARD', 'FOUND', 'FRAME_ROW', 'FREE', 'FREEZE', 'FS', 'FUSION', 'G', 'GENERAL', 'GET', 'GO', 'GOTO', 'GRANTED', 'GREATEST', 'HANDLER', 'HEX', 'HOLD', 'ILIKE', 'IMMEDIATELY', 'IMMUTABLE', 'IMPLEMENTATION', 'IMPLICIT', 'INDENT', 'INHERIT', 'INHERITS', 'INOUT', 'INPUT', 'INSENSITIVE', 'INTERSECTION', 'INVOKER', 'ISNULL', 'K', 'KEY_MEMBER', 'KEY_TYPE', 'LABEL', 'LAG', 'LANGUAGE', 'LARGE', 'LAST_VALUE', 'LEAD', 'LEAKPROOF', 'LEAST', 'LIKE_REGEX', 'LISTEN', 'LN', 'LOAD', 'LOGGED', 'LOWER', 'M', 'MAP', 'MATCH', 'MAX_CARDINALITY', 'MESSAGE_LENGTH', 'MESSAGE_OCTET_LENGTH', 'MESSAGE_TEXT', 'MOD', 'MODIFIES', 'MODULE', 'MORE', 'MUMPS', 'NAMES', 'NAMESPACE', 'NESTING', 'NFC', 'NFD', 'NFKC', 'NFKD', 'NIL', 'NORMALIZE', 'NORMALIZED', 'NOTIFY', 'NOTNULL', 'NTH_VALUE', 'NTILE', 'NULLABLE', 'NULLIF', 'OCCURRENCES_REGEX', 'OCTETS', 'OCTET_LENGTH', 'OFFSET', 'OIDS', 'OPTIONS', 'ORDERING', 'ORDINALITY', 'OTHERS', 'OUT', 'OUTPUT', 'OVERLAY', 'OVERRIDING', 'OWNED', 'OWNER', 'P', 'PAD', 'PARAMETER', 'PARAMETER_MODE', 'PARAMETER_NAME', 'PARAMETER_ORDINAL_POSITION', 'PARAMETER_SPECIFIC_CATALOG', 'PARAMETER_SPECIFIC_NAME', 'PARAMETER_SPECIFIC_SCHEMA', 'PARSER', 'PARTIAL', 'PASCAL', 'PASSING', 'PASSTHROUGH', 'PATH', 'PERCENTILE_CONT', 'PERCENTILE_DISC', 'PERCENT_RANK', 'PERIOD', 'PERMISSION', 'PLACING', 'PLANS', 'PLI', 'PORTION', 'POSITION', 'POSITION_REGEX', 'PRECEDES', 'PREPARED', 'PROCEDURAL', 'QUOTE', 'RANK', 'REASSIGN', 'RECHECK', 'RECURSIVE', 'REGR_AVGX', 'REGR_AVGY', 'REGR_COUNT', 'REGR_INTERCEPT', 'REGR_R2', 'EXIT', 'PRINT', 'PROC', 'FILLFACTOR', 'RAISERROR', 'FREETEXT', 'READTEXT', 'BREAK', 'FREETEXTTABLE', 'RECONFIGURE', 'BROWSE', 'REPLICATION', 'RESTORE', 'HOLDLOCK', 'CLUSTERED', 'ROWCOUNT', 'IDENTITY_INSERT', 'ROWGUIDCOL', 'IDENTITYCOL', 'SAVE', 'SESSION_USER', 'CONTAINSTABLE', 'SETUSER', 'SYSTEM_USER', 'TEXTSIZE', 'LINENO', 'TOP', 'TRAN', 'NOCHECK', 'DBCC', 'NONCLUSTERED', 'TSEQUAL', 'DENY', 'OFFSETS', 'UPDATETEXT', 'OPENDATASOURCE', 'OPENQUERY', 'OPENROWSET', 'DUMMY', 'OPENXML', 'WAITFOR', 'WHILE', 'ERRLVL', 'WRITETEXT', 'l', 's', 'rk', 'seq', 'ms', 'XXfieldXX'];\n\n// 保留的字段标识\nvar RESERVEDFILEDKEYS = ['l', 's', 'rk', 'seq', 'ms', 'XXfieldXX'];\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/utils/constant.ts?");

/***/ }),

/***/ 96708:
/*!*************************************************************!*\
  !*** ../form-entity-designer-utils/utils/controlIconMap.ts ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   controlIconMap: function() { return /* binding */ controlIconMap; },\n/* harmony export */   \"default\": function() { return /* binding */ getControlIconMap; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/taggedTemplateLiteral */ 59000);\n\nvar _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _templateObject17, _templateObject18, _templateObject19, _templateObject20, _templateObject21, _templateObject22, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27, _templateObject28, _templateObject29, _templateObject30, _templateObject31, _templateObject32, _templateObject33, _templateObject34, _templateObject35, _templateObject36, _templateObject37, _templateObject38, _templateObject39, _templateObject40, _templateObject41, _templateObject42, _templateObject43, _templateObject44, _templateObject45, _templateObject46, _templateObject47, _templateObject48, _templateObject49, _templateObject50, _templateObject51;\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-26 14:43:08\n * @Last Modified by: fjr\n * @LastEditTime: 2024-07-30 09:07:44\n * @Description: 采用脚本生成了一波iconcool上的图标与对应的控件，后面人工补充\n */\n// 通用： Flexmianban 类似Flex面板\nvar getDefaultType = function getDefaultType(type) {\n  return 'Flexmianban';\n};\nvar getInputType = function getInputType(type) {\n  return type;\n};\nvar controlIconMap = {\n  // 分组 基础控件:\n  TextField: getInputType('wenben'),\n  // 文本,\n  IntegerField: 'zhengshu2',\n  // 整数,\n  DecimalField: 'xiaoshu',\n  // 小数,\n  BigIntField: 'changzhengshu',\n  // 长整数,\n  TextAreaField: 'duoxingwenben',\n  // 多行文本,\n  LargeTextField: 'dawenben',\n  // 大文本,\n  MuliLangTextField: 'duoyuyanwenben',\n  // 多语言文本,\n  DateField: 'riqi4',\n  // 日期,\n  DateTimeField: 'changriqi',\n  // 长日期,\n  DateRangeField: 'riqifanwei',\n  // 日期范围,\n  TimeField: 'shijian3',\n  // 时间,\n  TimeRangeField: 'shijianfanwei',\n  // 时间范围,\n  CheckBoxField: 'fuxuankuang',\n  // 复选框,\n  RadioField: 'danxuananniu',\n  // 单选按钮,\n  RadioGroupField: 'danxuananniuzu',\n  // 单选按钮组,\n  ComboField: 'xialaliebiao',\n  // 下拉列表,\n  MulComboField: 'duoxuanxialaliebiao',\n  // 多选下拉列表,\n  AttachmentField: 'fujian2',\n  // 附件,\n  StepperField: 'bujinqi',\n  // 步进器,\n  GeoPointField: 'diliweizhi',\n  // 地理位置,\n  SignatureField: 'shouxieqianming',\n  // 手写签名,\n  RichTextField: 'fuwenben2',\n  // 富文本字段,\n  I18nNameField: 'xingming',\n  // 姓名,\n  ButtonAp: 'anniu3',\n  // 按钮,\n  HyperlinkAp: 'chaolianjie',\n  // 超链接,\n  AttachmentPanelAp: 'fujianmianban',\n  // 附件面板,\n  FormDesignerAp: 'biaodanshejiqi',\n  // 表单设计器,\n  ProFormDesignerAp: getDefaultType('biaodanshejiqi'),\n  // 表单设计器(new),\n  SchemeFilterComboFieldAp: 'fanganxialaliebiao',\n  // 方案下拉列表,\n  FormulaField: 'jisuanziduan',\n  // 计算字段,\n  ExchangeRateField: 'waibihuilv',\n  // 外币汇率,\n  NameSegTextField: 'wenbenxingmingduan',\n  // 文本姓名段,\n  NameSegComboField: 'xialaliebiaoxingmingduan',\n  // 下拉列表姓名段\n  EntityDesignerAp: getDefaultType('zhanweitubiao_notright'),\n  // 分组 业务控件:\n  BillNoField: getDefaultType('danjubianhao'),\n  // 单据编号,\n  BillTypeField: getDefaultType('danjuleixing'),\n  // 单据类型,\n  BasedataField: 'jichuziliao2',\n  // 基础资料,\n  MulBasedataField: 'duoxuanjichuziliao',\n  // 多选基础资料,\n  AssistantField: 'fuzhuziliao',\n  // 辅助资料,\n  BasedataPropField: 'jichuziliaoshuxing',\n  // 基础资料属性,\n  OrgField: 'zuzhi',\n  // 组织,\n  MaterielField: 'wuliao',\n  // 物料,\n  CurrencyField: 'bibie',\n  // 币别,\n  CityField: 'chengshi',\n  // 城市,\n  UnitField: 'jiliangdanwei',\n  // 计量单位,\n  PriceField: 'danjia',\n  // 单价,\n  QtyField: 'shuliang',\n  // 数量,\n  AmountField: 'jine2',\n  // 金额,\n  BillStatusField: 'danjuzhuangtai',\n  // 单据状态,\n  GroupField: 'fenzu2',\n  // 分组,\n  FlexField: 'danxingyu2',\n  // 弹性域,\n  AdminDivisionField: 'xingzhengquyu',\n  // 行政区划,\n  AttachmentCountField: getDefaultType('fujianshu'),\n  // 附件数,\n  PrintCountField: 'dayincishu',\n  // 打印次数,\n  BaseUnitqtyField: 'jibendanweishuliang',\n  // 基本单位数量,\n  ItemClassTypeField: getDefaultType(_templateObject || (_templateObject = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"jichuziliaoleixing\"]))),\n  // 基础资料类型,\n  ItemClassField: 'duoleibiejichuziliao',\n  // 多类别基础资料,\n  AddressField: 'dizhi',\n  // 地址,\n  AccountField: 'kemu',\n  // 科目,\n  CustomerField: 'kehu2',\n  // 客户,\n  SupplierField: 'gongyingshang',\n  // 供应商,\n  MasterIdField: getDefaultType('zhushujuneima'),\n  // 主数据内码,\n  ExchangeRateGroupField: 'waibihuilv',\n  // 外币汇率,\n  CustomBaseDataFilterColumnAp: 'jichuziliao',\n  // 基础资料,\n  CustomOrgFilterColumnAp: 'zuzhi',\n  // 组织,\n  NameSegBasedataField: 'jichuziliaoxingmingduan',\n  // 基础资料姓名段\n\n  // 分组 单据体:\n  EntryEntity: 'danjuti',\n  // 单据体,\n  SubEntryEntity: getDefaultType('zidanjuti'),\n  // 子单据体,\n  TreeEntryEntity: getDefaultType('biaodanshejiqi'),\n  // 树形单据体,\n  EntryFieldGroupAp: getDefaultType('biaogeziduanfenzu'),\n  // 表格字段分组,\n  OperationColumnAp: getDefaultType('caozuolie'),\n  // 操作列,\n  EntryFieldContainerAp: getDefaultType('biaogeziduanrongqi'),\n  // 表格字段容器,\n  CardEntryAp: 'kapianfenlu2',\n  // 卡片分录,\n  SubCardEntryAp: 'zikapianfenlu',\n  // 子卡片分录,\n  //   CardEntryAp: `kapianfenlu`, // 卡片分录\n\n  // 分组 视图:\n  LabelAp: 'biaoqian',\n  // 标签,\n  VectorAp: 'zititubiao',\n  // 字体图标,\n  QRCodeAp: 'erweima',\n  // 二维码,\n  ProgressBarAp: 'jindutiao',\n  // 进度条,\n  CarouselFigureAp: 'lunbotu',\n  // 轮播图,\n  TimelineAp: 'shijianzhou',\n  // 时间轴,\n  RateAp: 'pingfen',\n  // 评分,\n  TransferContainerAp: 'chuansuokuang',\n  // 穿梭框,\n  SliderAp: 'huadongshurutiao',\n  // 滑动输入条,\n  StepsAp: 'buzhoutiao',\n  // 步骤条,\n  SegmentedControlAp: 'fenduanqi',\n  // 分段器\n\n  // 分组 用户信息:\n  EmailField: 'youxiang',\n  // 邮箱,\n  TelephoneField: 'shoujihaoma',\n  // 手机号码,\n  UserField: 'yonghu2',\n  // 用户,\n  CreaterField: 'chuangjianren',\n  // 创建人,\n  ModifierField: 'xiugairen',\n  // 修改人,\n  CreateDateField: 'chuangjianriqi',\n  // 创建日期,\n  ModifyDateField: 'xiugairiqi',\n  // 修改日期,\n  UserAvatarField: 'yuangongtouxiangshuxing',\n  // 员工头像属性,\n  NameField: 'xingming',\n  // 姓名\n\n  // 分组 列表控件:\n  CardEntryFlexPanelAp: getDefaultType('kapianbujurongqi'),\n  // 卡片布局容器,\n  CardEntryFixRowPanelAp: getDefaultType('gudingkapianbujurongqi'),\n  // 固定卡片布局容器,\n  MobTableAp: 'yidongbiaoge',\n  // 移动表格,\n  BillListAp: getDefaultType(_templateObject2 || (_templateObject2 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"danjuliebiao\"]))),\n  // 单据列表,\n  CardFlexPanelAp: getDefaultType(_templateObject3 || (_templateObject3 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapianbujurongqi\"]))),\n  // 卡片布局容器,\n  DynamicTextListColumnAp: getDefaultType(_templateObject4 || (_templateObject4 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"liebiaodongtaiwenben\"]))),\n  // 列表动态文本,\n  ListColumnAp: getDefaultType(_templateObject5 || (_templateObject5 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeliebiaoziduan\"]))),\n  // 表格列表字段,\n  ListColumnGroupAp: 'liebiaoziduanfenzu',\n  // 列表字段分组,\n  ListOperationColumnAp: getDefaultType(_templateObject6 || (_templateObject6 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"liebiaocaozuolie\"]))),\n  // 列表操作列,\n  MergeListColumnAp: 'hebingliebiaoziduan',\n  // 合并列表字段,\n  CardListColumnAp: 'kapianliebiaoziduan',\n  // 卡片列表字段,\n  CardPictureListColumnAp: getDefaultType(_templateObject7 || (_templateObject7 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapiantupianziduan\"]))),\n  // 卡片图片字段,\n  CardTimeListColumnAp: getDefaultType(_templateObject8 || (_templateObject8 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapianshijianziduan\"]))),\n  // 卡片时间字段,\n  F7SelectedListAp: 'F7yixuanliebiao',\n  // F7已选列表,\n  CardSelectorAp: getDefaultType(_templateObject9 || (_templateObject9 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapianxuanzebiaozhi\"]))),\n  // 卡片选择标志,\n  ComboListColumnAp: 'Flexmianban',\n  // 表格列表字段,\n  MulComboListColumnAp: 'Flexmianban',\n  // 表格列表字段,\n  CheckBoxListColumnAp: 'biaogeliebiaoziduan',\n  // 表格列表字段,\n  DateListColumnAp: getDefaultType(_templateObject10 || (_templateObject10 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeliebiaoziduan\"]))),\n  // 表格列表字段,\n  DecimalListColumnAp: 'zhengshu2',\n  // 表格列表字段,\n  PictureListColumnAp: 'biaogeliebiaoziduan',\n  // 表格列表字段,\n  TimeListColumnAp: getDefaultType(_templateObject11 || (_templateObject11 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeliebiaoziduan\"]))),\n  // 表格列表字段,\n  IconListColumnAp: 'biaogeliebiaoziduan',\n  // 表格列表字段,\n  AvatarListColumnAp: 'biaogeliebiaoziduan',\n  // 表格列表字段,\n  FlexListColumnAp: 'biaogeliebiaoziduan',\n  // 表格列表字段,\n  CardComboListColumnAp: 'Flexmianban',\n  // 卡片下拉列表列表字段,\n  CardMulComboListColumnAp: 'Flexmianban',\n  // 卡片多选下拉列表列表字段,\n  CardCheckBoxListColumnAp: 'kapianfuxuankuangliebiaoziduan',\n  // 卡片复选框列表字段,\n  CardDecimalListColumnAp: 'kapianshuziliebiaoziduan',\n  // 卡片数字列表字段,\n  CardDateListColumnAp: getDefaultType(_templateObject12 || (_templateObject12 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"riqixuanze\"]))),\n  // 卡片日期列表字段,\n  CardIconListColumnAp: 'kapiantubiaoliebiaoziduan',\n  // 卡片图标列表字段,\n  CardAvatarListColumnAp: 'kapianyuangongtouxiangliebiaoziduan',\n  // 卡片员工头像列表字段,\n  CardFlexListColumnAp: 'kapiandanxingyuliebiaoziduan',\n  // 卡片弹性域列表字段,\n  CardVoucherNoListColumnAp: 'kapianpingzhenghao',\n  // 卡片凭证号,\n  ReportTreeAp: 'baobiaoshu',\n  // 报表树,\n  TextMobTableColumnAp: getDefaultType(_templateObject13 || (_templateObject13 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogewenben\"]))),\n  // 表格文本,\n  IntegerMobTableColumnAp: getDefaultType(_templateObject14 || (_templateObject14 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogezhengshu\"]))),\n  // 表格整数,\n  DecimalMobTableColumnAp: getDefaultType(_templateObject15 || (_templateObject15 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogexiaoshu\"]))),\n  // 表格小数,\n  DateMobTableColumnAp: getDefaultType(_templateObject16 || (_templateObject16 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeriqi\"]))),\n  // 表格日期,\n  TimeMobTableColumnAp: getDefaultType(_templateObject17 || (_templateObject17 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeshijian\"]))),\n  // 表格时间,\n  AmountMobTableColumnAp: getDefaultType(_templateObject18 || (_templateObject18 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogejine\"]))),\n  // 表格金额\n\n  // 分组 多媒体:\n  PictureField: 'tupian3',\n  // 图片字段,\n  ImageAp: 'tupian3',\n  // 图片,\n  ImageListAp: 'tupianliebiao',\n  // 图片列表\n\n  // 分组 容器控件:\n  FlexPanelAp: 'Flexmianban',\n  // Flex面板,\n  AdvConAp: 'gaojimianban',\n  // 高级面板,\n  SplitContainerAp: 'fengerongqi',\n  // 分割容器,\n  SplitPanelAp: 'fengerongqimianban',\n  // 分割容器面板\n\n  // 分组 导航控件:\n  TabAp: 'yeqiankongjian',\n  // 页签控件,\n  WizardAp: 'xiangdaokongjian',\n  // 向导控件,\n  AdvConToolbarAp: getDefaultType(_templateObject19 || (_templateObject19 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"gaojimianbangongjulan\"]))),\n  // 高级面板工具栏,\n  ToolbarAp: getDefaultType(_templateObject20 || (_templateObject20 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"gongjulan\"]))),\n  // 工具栏,\n  FloatMenuAp: 'fudongcaidan',\n  // 浮动菜单,\n  FloatMenuPanelAp: getDefaultType(_templateObject21 || (_templateObject21 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"fudongcaidanmianban\"]))),\n  // 浮动菜单面板,\n  FloatMenuItemAp: getDefaultType(_templateObject22 || (_templateObject22 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"fudongcaidanxiang\"]))),\n  // 浮动菜单项,\n  HomePageTabAp: getDefaultType(_templateObject23 || (_templateObject23 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"shouyedaohangkongjian\"]))),\n  // 首页导航控件,\n  AdvConBarItemAp: 'anniu3',\n  // 工具栏项,\n  BarItemAp: 'anniu3',\n  // 工具栏项,\n  MBlockMenuAp: 'kuaizhuangcaidan',\n  // 块状菜单,\n  MBlockMenuItemAp: 'kuaizhuangcaidanxiang',\n  // 块状菜单项,\n  MToolbarAp: 'gongjulan',\n  // 工具栏,\n  MBarItemAp: 'anniu3',\n  // 工具栏项\n\n  // 分组 过滤控件:\n  FilterGridAp: 'tongyongguolv',\n  // 通用过滤,\n  SearchAp: 'sousuokongjian',\n  // 搜索控件,\n  SortColumnAp: 'paixuziduan',\n  // 排序字段,\n  CommonBaseDataFilterColumnAp: 'changyongguolvziduan',\n  // 常用基础资料过滤字段,\n  SchemeBaseDataFilterColumnAp: 'fanganjichuziliaoguolvziduan',\n  // 方案基础资料过滤字段,\n  PHAp: 'zhanweikongjian',\n  // 占位控件,\n  ReportFilterAp: 'zidingyiguolv',\n  // 自定义过滤,\n  ReportCommFilterPanelAp: 'changyongguolvtiaojian',\n  // 常用过滤条件,\n  ReportMoreFilterPanelAp: 'gengduoguolvtiaojian',\n  // 更多过滤条件,\n  MobileSearchAp: 'sousuokongjian',\n  // 搜索控件,\n  MobCommonFilterColumnAp: 'yidongchangyongguolvziduan',\n  // 移动常用过滤字段,\n  MobCommonDateFilterColumnAp: 'yidongchangyongriqiguolvziduan',\n  // 移动常用日期过滤字段,\n  MobCommonCheckBoxFilterColumnAp: 'changyongfuxuankuangguolvziduan',\n  // 常用复选框过滤字段,\n  MobCommonBaseDataFilterColumnAp: 'changyongguolvziduan',\n  // 移动常用基础资料过滤字段,\n  FilterContainerAp: 'guolvkongjian',\n  // 过滤控件,\n  FilterGridViewAp: 'changyongguolvshitu',\n  // 常用过滤视图,\n  SchemeFilterViewAp: 'fanganguolvshitu',\n  // 方案过滤视图,\n  FilterColumnAp: 'guolvziduan',\n  // 过滤字段,\n  CommonFilterColumnAp: 'changyongguolvziduan',\n  // 常用过滤字段,\n  SchemeFilterColumnAp: 'changyongguolvziduan',\n  // 方案过滤字段,\n  SchemeComboFilterColumnAp: 'xialaliebiao',\n  // 下拉列表字段,\n  FlexSchemeFilterColumnAp: getDefaultType(_templateObject24 || (_templateObject24 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"danxingyufanganguolvziduan\"]))),\n  // 弹性域方案过滤字段,\n  CommonDateFilterColumnAp: getDefaultType(_templateObject25 || (_templateObject25 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"riqiguolvziduan\"]))),\n  // 日期过滤字段,\n  CommonCheckBoxFilterColumnAp: getDefaultType(_templateObject26 || (_templateObject26 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"fuxuankuangguolvziduan\"]))),\n  // 复选框过滤字段,\n  CommonCheckBoxGroupFilterColumnAp: getDefaultType(_templateObject27 || (_templateObject27 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"fuxuankuangzuziduan\"]))),\n  // 复选框组字段\n\n  // 分组 图表控件:\n  BarChartAp: getDefaultType(_templateObject28 || (_templateObject28 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"tiaoxingtu\"]))),\n  // 条型图,\n  HistogramChartAp: getDefaultType(_templateObject29 || (_templateObject29 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"zhuzhuangtu\"]))),\n  // 柱状图,\n  PieChartAp: 'bingtu',\n  // 饼图,\n  PointLineChartAp: 'dianxiantu',\n  // 点线图,\n  RadarChartAp: getDefaultType(_templateObject30 || (_templateObject30 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"leidatu\"]))),\n  // 雷达图,\n  CustomChartAp: getDefaultType(_templateObject31 || (_templateObject31 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"tongyongtu\"]))),\n  // 通用图,\n  QingAnalysisAp: 'qingfenxi',\n  // 轻分析,\n  GaugeChartAp: getDefaultType(_templateObject32 || (_templateObject32 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"yibiaopan\"]))),\n  // 仪表盘\n\n  // 分组 工作流:\n  ReportListAp: 'baobiaoliebiao',\n  // 报表列表,\n  ApprovalRecordAp: 'shenpijilu',\n  // 审批记录\n\n  // 分组 编辑器:\n  CodeEditAp: 'daimabianjiqi',\n  // 代码编辑器,\n  RichTextEditorAp: 'fuwenbenbianjiqi',\n  // 富文本编辑器\n\n  // 分组 高级控件:\n  IFrameAp: 'IFrame',\n  // IFrame,\n  ClientAjaxAp: 'kehuduanAJAX',\n  // 客户端AJAX,\n  HtmlAp: 'HTMLkongjian',\n  // HTML控件,\n  SpreadAp: 'spread',\n  // Spread,\n  WebOfficeAp: 'weboffice',\n  // WebOffice,\n  TaskNoticeAp: 'houtairenwutixing',\n  // 后台任务提醒\n\n  // 分组 其它:\n  TreeViewAp: 'shuxingkongjian',\n  // 树型控件,\n  MapControlAp: 'ditu',\n  // 地图,\n  AnchorControlAp: 'maodian',\n  // 锚点,\n  AudioAp: 'yinpin',\n  // 音频,\n  VideoAp: 'shipin',\n  // 视频,\n  MarkdownAp: 'Markdown',\n  // Markdown,\n  CountDownAp: 'daojishi',\n  // 倒计时,\n  ListboxAp: 'Listbox',\n  // Listbox,\n  CustomControlAp: 'zidingyikongjian',\n  // 自定义控件,\n  LittleKAp: 'Cosmic',\n  // Cosmic,\n  AppNavigationMenuAp: getDefaultType(_templateObject33 || (_templateObject33 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"yingyongdaohangcaidan\"]))),\n  // 应用导航菜单,\n  FieldsetPanelAp: getDefaultType(_templateObject34 || (_templateObject34 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"ziduanbujumianban\"]))),\n  // 字段布局面板,\n  FieldgroupPanelAp: getDefaultType(_templateObject35 || (_templateObject35 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"ziduanzuherongqi\"]))),\n  // 字段组合容器,\n  MessageCarouselContainerAp: 'lunborongqi',\n  // 轮播容器,\n  MessageCarouselFlexPanelAp: getDefaultType(_templateObject36 || (_templateObject36 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"lunbobujurongqi\"]))),\n  // 轮播布局容器,\n  GridContainerAp: 'zhagerongqi',\n  // 栅格容器,\n  NameCombineEntity: 'guojixingming',\n  // 国际姓名,\n  LayoutFlexAp: 'ziduanbujurongqi',\n  // 字段布局容器,\n  TabPageAp: getDefaultType(_templateObject37 || (_templateObject37 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"yeqian\"]))),\n  // 页签,\n  HomePageTabItemAp: 'daohangxiang',\n  // 导航项,\n  WizardPageAp: 'xiangdaoye',\n  // 向导页,\n  AdvConSummaryPanelAp: getDefaultType(_templateObject38 || (_templateObject38 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"gaojimianbanzhaiyaorongqi\"]))),\n  // 高级面板摘要容器,\n  AdvConChildPanelAp: getDefaultType(_templateObject39 || (_templateObject39 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"gaojimianbanzirongqi\"]))),\n  // 高级面板子容器,\n  ColumnPanelAp: 'liebujumianban',\n  // 列布局面板,\n  ColumnAp: 'liebujumianbanlieduixiang',\n  // 列布局面板列对象,\n  ListGridViewAp: getDefaultType(_templateObject40 || (_templateObject40 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogeshitu\"]))),\n  // 表格视图,\n  ListCardViewAp: getDefaultType(_templateObject41 || (_templateObject41 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapianshitu\"]))),\n  // 卡片视图,\n  QingViewAp: getDefaultType(_templateObject42 || (_templateObject42 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"qingfenxishitu\"]))),\n  // 轻分析视图,\n  CardRowPanelAp: getDefaultType(_templateObject43 || (_templateObject43 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapian\"]))),\n  // 卡片,\n  CardEntryViewAp: getDefaultType(_templateObject44 || (_templateObject44 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapianfenlushitu\"]))),\n  // 卡片分录视图,\n  CardEntryRowAp: getDefaultType(_templateObject45 || (_templateObject45 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kapian\"]))),\n  // 卡片,\n  CardEntryFixRowAp: getDefaultType(_templateObject46 || (_templateObject46 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"gudingkapian\"]))),\n  // 固定卡片,\n  SortGridViewAp: 'paixushitu',\n  // 排序视图,\n  DateSelectPanelAp: 'riqixuanze',\n  // 日期选择,\n  MobileListAp: 'yidongliebiao',\n  // 移动列表,\n  CityListAp: 'chengshiliebiao',\n  // 城市列表,\n  UserListAp: 'yonghuliebiao',\n  // 用户列表,\n  OrgListAp: 'zuzhiliebiao',\n  // 组织列表,\n  SidePanelAp: 'cebianlan',\n  // 侧边栏,\n  GridFlatPanelAp: 'fenlupingpurongqi',\n  // 分录平铺容器,\n  MobileTreeListAp: 'yidongshuxingliebiao',\n  // 移动树形列表,\n  MobF7SelectedListAp: 'yidongF7yixuanliebiao',\n  // 移动F7已选列表,\n  PrintDesignerAp: 'dayinshejiqi',\n  // 打印设计器,\n  TreeMenuAp: 'shuxingcaidan',\n  // 树型菜单,\n  VoucherNoListColumnAp: getDefaultType(_templateObject47 || (_templateObject47 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"pingzhenghao\"]))),\n  // 凭证号,\n  WidgetContainerAp: 'xiaobujianrongqi',\n  // 小部件容器,\n  WidgetGroupPanelAp: 'xiaobujianfenzumianban',\n  // 小部件分组面板,\n  WidgetAp: 'xiaobujian',\n  // 小部件,\n  QingAnalysisCardAp: getDefaultType(_templateObject48 || (_templateObject48 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"qingfenxikapian\"]))),\n  // 轻分析卡片,\n  EntityMetadata: 'shitiyuanshujuduixiang',\n  // 实体元数据对象,\n  MainEntity: 'biaodanzhushiti',\n  // 表单主实体,\n  BaseEntity: 'jichuziliaozhushiti',\n  // 基础资料主实体,\n  BillEntity: 'Flexmianban',\n  // 单据主实体,\n  ReportEntity: 'baobiaoshiti',\n  // 报表实体,\n  ParameterEntity: 'xitongcanshuzhushiti',\n  // 系统参数主实体,\n  PublicParameterEntity: 'gonggongcanshuzhushiti',\n  // 公共参数主实体,\n  Operation: '',\n  // undefined,\n  NetCtrlOperation: '',\n  // undefined,\n  PermissionItem: '',\n  // undefined,\n  NoneParameter: '',\n  // undefined,\n  AuditParameter: '',\n  // undefined,\n  CopyParameter: '',\n  // undefined,\n  DelParameter: '',\n  // undefined,\n  EntryOpParameter: '',\n  // undefined,\n  NewEntryParameter: '',\n  // undefined,\n  CopyEntryParameter: '',\n  // undefined,\n  SaveParameter: '',\n  // undefined,\n  OpenFormParameter: '',\n  // undefined,\n  PushAndSaveParameter: '',\n  // undefined,\n  PushParameter: '',\n  // undefined,\n  DrawParameter: '',\n  // undefined,\n  TrackUpParameter: '',\n  // undefined,\n  TrackDownParameter: '',\n  // undefined,\n  UnAuditParameter: '',\n  // undefined,\n  StatusConvertParameter: '',\n  // undefined,\n  RowStatusConvertParameter: '',\n  // undefined,\n  JsParameter: '',\n  // undefined,\n  FlowchartParameter: '',\n  // undefined,\n  ImportParameter: '',\n  // undefined,\n  ExportParameter: '',\n  // undefined,\n  DoNothingParameter: '',\n  // undefined,\n  CustOperationParameter: '',\n  // undefined,\n  ValidParameter: '',\n  // undefined,\n  PrintParameter: '',\n  // undefined,\n  Validation: '',\n  // undefined,\n  PreCondition: '',\n  // undefined,\n  MustInputValidation: '',\n  // undefined,\n  ConditionValidation: '',\n  // undefined,\n  RegexValidation: '',\n  // undefined,\n  RequiredValidation: '',\n  // undefined,\n  GrpfieldsuniqueValidation: '',\n  // undefined,\n  InProcessValidation: '',\n  // undefined,\n  CustValidation: '',\n  // undefined,\n  DynamicValidation: '',\n  // undefined,\n  Features: '',\n  // undefined,\n  UploadOption: '',\n  // undefined,\n  ImportPreInsFile: '',\n  // undefined,\n  Tips: '',\n  // undefined,\n  CertRule: '',\n  // undefined,\n  IconField: 'tubiao',\n  // 图标,\n  DefValueDesign: '',\n  // undefined,\n  ConfigItem: '',\n  // undefined,\n  Border: '',\n  // undefined,\n  Style: '',\n  // undefined,\n  FormMetadata: 'biaodanyuanshujuduixiang',\n  // 表单元数据对象,\n  FormAp: 'Flexmianban',\n  // 表单布局,\n  BillFormAp: 'Flexmianban',\n  // 单据布局,\n  ListFormAp: 'Flexmianban',\n  // 列表布局,\n  BasedataFormAp: 'Flexmianban',\n  // 基础资料布局,\n  MobileBillFormAp: 'Flexmianban',\n  // 移动单据布局,\n  MobileListFormAp: 'Flexmianban',\n  // 移动列表布局,\n  MobileFormAp: 'Flexmianban',\n  // 移动表单布局,\n  Plugin: '',\n  // undefined,\n  FilterField: '',\n  // undefined,\n  ReportFormAp: 'baobiaobiaodan',\n  // 报表表单,\n  MobFilterSortAp: 'yidongshaixuanpaixu',\n  // 移动筛选排序,\n  MobFilterPanelAp: 'yidongshaixuanziduanmianban',\n  // 移动筛选字段面板,\n  MobAdvFilterPanelAp: 'gaojishaixuanmianban',\n  // 高级筛选面板,\n  MobSortPanelAp: 'yidongpaixuziduanmianban',\n  // 移动排序字段面板,\n  MobSortColumnAp: 'yidongpaixuziduan',\n  // 移动排序字段,\n  ParameterFormAp: 'xitongcanshu',\n  // 系统参数,\n  IconAp: 'weitutubiao',\n  // 位图图标,\n  FloatButtonAp: 'fudonganniu',\n  // 浮动按钮,\n  VectorListAp: 'zititubiaoliebiao',\n  // 字体图标列表,\n  WorkflowDesignerAp: 'gongzuoliushejiqi',\n  // 工作流设计器,\n  ApprovalProcessingAp: 'shenpichuli',\n  // 审批处理,\n  YzjChatAp: 'yunzhijiagoutong',\n  // 云之家沟通,\n  WFNavigationBarAp: 'daohanglan',\n  // 导航栏,\n  WfConditionAp: 'renwuzhongxintiaojian',\n  // 任务中心条件,\n  WfConditionUpdAp: 'shejiqitiaojian',\n  // 设计器条件,\n  WorkCalendarAp: 'gongzuorili',\n  // 工作日历,\n  OCRAp: 'fapiaoshibie',\n  // 发票识别,\n  BizCustomListAp: 'kaifazhemenhuzidingyiliebiao',\n  // 开发者门户自定义列表,\n  FlatFieldAp: 'fenlupingpuziduan',\n  // 分录平铺字段,\n  SuspendButtonAp: 'xuanfuanniu',\n  // 悬浮按钮,\n  CommonFunctionControlAp: 'changyonggongnengkongjian',\n  // 常用功能控件,\n  TilePanelAp: 'pingpumianban',\n  // 平铺面板,\n  HelpCenterAp: 'bangzhuzhongxin',\n  // 帮助中心,\n  AppStartedAp: 'yingyongrumen',\n  // 应用入门,\n  NameCombinePanelAp: 'guojixingming',\n  // 国际姓名,\n  NameSegFieldAp: 'xingmingduanziduan',\n  // 姓名段字段,\n  I18nNameFieldAp: 'xingming',\n  // 姓名,\n  FieldAp: 'ziduan',\n  // 字段,\n  EntryAp: 'fenludaili',\n  // 分录代理,\n  EntryFieldAp: 'fenluziduan',\n  // 分录字段,\n  CardEntryFieldAp: 'kapianziduan',\n  // 卡片字段,\n  FormRule: 'guize',\n  // 规则,\n  LockFieldAction: 'suodingziduan',\n  // 锁定字段,\n  UnlockFieldAction: 'jiesuoziduan',\n  // 解锁字段,\n  ShowFieldAction: 'xianshiziduan',\n  // 显示字段,\n  HideFieldAction: 'yincangziduan',\n  // 隐藏字段,\n  LockControlAction: 'suodingkongjian',\n  // 锁定控件,\n  UnlockControlAction: 'jiesuokongjian',\n  // 解锁控件,\n  ShowControlAction: 'xianshikongjian',\n  // 显示控件,\n  HideControlAction: 'yincangkongjian',\n  // 隐藏控件,\n  ClientLockFieldAction: 'suodingziduan',\n  // 锁定字段,\n  ClientUnlockFieldAction: 'jiesuoziduan',\n  // 解锁字段,\n  ClientShowFieldAction: 'xianshiziduan',\n  // 显示字段,\n  ClientHideFieldAction: 'yincangziduan',\n  // 隐藏字段,\n  ClientLockControlAction: 'suodingkongjian',\n  // 锁定控件,\n  ClientUnlockControlAction: 'jiesuokongjian',\n  // 解锁控件,\n  ClientShowControlAction: 'xianshikongjian',\n  // 显示控件,\n  ClientHideControlAction: 'yincangkongjian',\n  // 隐藏控件,\n  ClientSetControlAction: 'shezhikongjianshuxing',\n  // 设置控件属性,\n  ClientSetFieldAction: 'shezhiziduanshuxing',\n  // 设置字段属性,\n  ClientSetFieldfmtAction: 'shezhiziduanxianshiyangshi',\n  // 设置字段显示样式,\n  SetRowStyleAction: 'shezhihangyangshi',\n  // 设置行样式,\n  BizRule: 'guize',\n  // 规则,\n  FormulaAction: 'gongshijisuan',\n  // 公式计算,\n  TakeBasePropertyAction: 'xiedaijichuziliaoshuxingdaozhidinglie',\n  // 携带基础资料属性到指定列,\n  SetEqutionAction: 'shezhidangqianbianjiziduanzhidaozhidingziduan',\n  // 设置当前编辑字段值到指定字段,\n  ClearValueAction: 'qingchuzhidingziduandezhi',\n  // 清除指定字段的值,\n  FillQtyAction: 'genjushuliangguanliandedanweizidongmubiaoshuliang',\n  // 根据数量关联的单位自动目标数量,\n  FastSearchGridViewAp: getDefaultType(_templateObject49 || (_templateObject49 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"kuaijiesousuoshitu\"]))),\n  // 快捷搜索视图,\n  PictureMobTableColumnAp: getDefaultType(_templateObject50 || (_templateObject50 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogetupian\"]))),\n  // 表格图片,\n  AttachmentMobTableColumnAp: getDefaultType(_templateObject51 || (_templateObject51 = (0,_babel_runtime_corejs3_helpers_taggedTemplateLiteral__WEBPACK_IMPORTED_MODULE_0__[\"default\"])([\"biaogefujian\"]))) // 表格附件\n};\nfunction getControlIconMap(type) {\n  return controlIconMap[type] || getDefaultType(''); // 新增控件先走默认图标\n}\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/utils/controlIconMap.ts?");

/***/ }),

/***/ 32204:
/*!**************************************************************!*\
  !*** ../form-entity-designer-utils/utils/delayQueueUtils.ts ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ DelayQueueUtil; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ 88836);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-27 15:44:25\n * @Last Modified by: fjr\n * @LastEditTime: 2021-11-19 16:21:44\n * @Description: 用于多条指令异步全部执行的场景，主要为了能够一步堆栈就执行完了所有指令\n */\nvar DEFAULT_KEY = 'default';\nvar DelayQueueUtil = /*#__PURE__*/function () {\n  function DelayQueueUtil(keys) {\n    var _this = this;\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this, DelayQueueUtil);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"queueMap\", new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_4___default())());\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"timer\", 0);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"mapKeys\", [DEFAULT_KEY]);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"cancalTimer\", function () {\n      if (_this.timer) {\n        clearTimeout(_this.timer);\n        _this.timer = null;\n      }\n    });\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"addTimer\", function (callback) {\n      _this.cancalTimer();\n      _this.timer = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_5___default()(function () {\n        callback();\n      });\n    });\n    this.init(keys);\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(DelayQueueUtil, [{\n    key: \"init\",\n    value: function init() {\n      var _this2 = this;\n      var keys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [DEFAULT_KEY];\n      this.mapKeys = keys;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default()(keys).call(keys, function (key) {\n        _this2.queueMap.set(key, []);\n      });\n    }\n  }, {\n    key: \"addQueueData\",\n    value: function addQueueData(datas) {\n      var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_KEY;\n      var queue = this.queueMap.get(key);\n      queue.push.apply(queue, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(datas));\n    }\n  }, {\n    key: \"clearQueue\",\n    value: function clearQueue(keys) {\n      var _this3 = this;\n      keys = keys || this.mapKeys;\n      keys = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_7___default()(keys) ? keys : [keys];\n      keys = this.mapKeys === keys ? keys : _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(keys).call(keys, function (key) {\n        var _context;\n        return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_9___default()(_context = _this3.mapKeys).call(_context, key);\n      });\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_6___default()(keys).call(keys, function (key) {\n        _this3.queueMap.set(key, []);\n      });\n    }\n  }, {\n    key: \"getQueueData\",\n    value: function getQueueData() {\n      var key = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : DEFAULT_KEY;\n      return this.queueMap.get(key) || [];\n    }\n  }]);\n  return DelayQueueUtil;\n}();\n\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/utils/delayQueueUtils.ts?");

/***/ }),

/***/ 90656:
/*!*************************************************************!*\
  !*** ../form-entity-designer-utils/utils/filterProperty.ts ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _adaptor_constant__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../adaptor/constant */ 4592);\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-12 17:21:41\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 14:36:10\n * @Description: ...\n */\n\n\n\n\n// 兼容Immutable的情况\nfunction get(obj, key) {\n  return typeof obj.get === 'function' ? obj.get(key) : obj[key];\n}\n\n/**\n * @description: 构造filterProperty函数\n * @param {any} getModel\n * @param {any} getKdesignerApi\n * @return {*} filterProperty\n */\nvar filterProperty = function filterProperty(getModel, getKdesignerApi, metaType) {\n  /**\n   * @description: 过滤属性模型, true为隐藏, false为显示\n   * @param {IControlItem} field\n   * @param {IControlProperty} propMeta\n   * @return {boolean}\n   */\n  return function (field, propMeta) {\n    var uiModel = getModel();\n    var api = getKdesignerApi();\n    var dataContext = api.data;\n    var hideConfig = propMeta.Hide;\n    var proFormDesignerShowProperty = ['FieldId', 'EntryId', 'CardEntryId'];\n    // if (metaType === 'formmeta' && proFormDesignerShowProperty.includes(propMeta.Id) && !field.FieldType) {\n    //   return true\n    // }\n    if (metaType === 'formmeta' && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_1___default()(proFormDesignerShowProperty).call(proFormDesignerShowProperty, propMeta.Id)) {\n      return false;\n    }\n    var parentControl = dataContext.findControl(field.ParentId) || dataContext.findControl(dataContext.getRootId());\n    var parentType = parentControl === null || parentControl === void 0 ? void 0 : parentControl._Type_;\n    if (hideConfig && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(hideConfig) === 'object') {\n      var types = hideConfig.Types,\n        fieldTypes = hideConfig.FieldTypes,\n        parentTypes = hideConfig.ParentTypes,\n        hide = hideConfig.Hide;\n      if (types && fieldTypes) {\n        var fieldId = field.FieldId; // not Id, is FieldId\n        var type = field[_adaptor_constant__WEBPACK_IMPORTED_MODULE_3__._TYPE_];\n        var entityInfo = uiModel.getEntityFieldInfo(fieldId);\n        var fieldType = entityInfo && get(entityInfo, _adaptor_constant__WEBPACK_IMPORTED_MODULE_3__._TYPE_) || field.FieldType;\n        if (hide == null || hide === true) {\n          return (0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(types, type) && (0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(fieldTypes, fieldType);\n        } else {\n          return !((0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(types, type) && (0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(fieldTypes, fieldType));\n        }\n      } else if (parentTypes) {\n        if (hide == null || hide === true) {\n          return (0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(parentTypes, parentType);\n        } else {\n          // hide=false,满足条件就显示\n          return !(0,lodash__WEBPACK_IMPORTED_MODULE_2__.includes)(parentTypes, parentType);\n        }\n      } else {\n        return hide;\n      }\n    }\n    return false;\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (filterProperty);\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/utils/filterProperty.ts?");

/***/ }),

/***/ 28044:
/*!***************************************************************!*\
  !*** ../form-entity-designer-utils/utils/getFieldProperty.ts ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getFieldProperty: function() { return /* binding */ getFieldProperty; },\n/* harmony export */   useGetFieldProperty: function() { return /* binding */ useGetFieldProperty; }\n/* harmony export */ });\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-11 16:48:07\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:41:46\n * @Description: ...\n */\n\nvar _TYPE_ = '_Type_'; // 这个如何由bos端控制?\nvar useGetFieldProperty = function useGetFieldProperty(field, kdesignerApi) {\n  return function (propName) {\n    return getFieldProperty(field, propName, kdesignerApi);\n  };\n};\nvar getFieldProperty = function getFieldProperty(field, propName, kdesignerApi) {\n  var type = field[_TYPE_];\n  if (field[propName] !== null && field[propName] !== undefined) {\n    return field[propName];\n  } else {\n    // 取默认值\n    if (kdesignerApi) {\n      return kdesignerApi.meta.getControlPropertyDefaultValue(type, propName); // fieldKey本身就是属性名称本身\n    }\n  }\n};\n\n//# sourceURL=webpack://entity-designer/../form-entity-designer-utils/utils/getFieldProperty.ts?");

/***/ }),

/***/ 15400:
/*!*****************************************!*\
  !*** ../kd-designer/src/_utils/data.ts ***!
  \*****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createControlData: function() { return /* binding */ createControlData; },\n/* harmony export */   createControlDataOrModel: function() { return /* binding */ createControlDataOrModel; },\n/* harmony export */   createControlModel: function() { return /* binding */ createControlModel; },\n/* harmony export */   createUUid: function() { return /* binding */ createUUid; },\n/* harmony export */   createUniqueKey: function() { return /* binding */ createUniqueKey; },\n/* harmony export */   createUniqueKeys: function() { return /* binding */ createUniqueKeys; },\n/* harmony export */   getCommonProperties: function() { return /* binding */ getCommonProperties; },\n/* harmony export */   getControlIsContainer: function() { return /* binding */ getControlIsContainer; },\n/* harmony export */   getControlMetaInfo: function() { return /* binding */ getControlMetaInfo; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _constant__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../constant */ 71912);\n/* harmony import */ var _meta__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../meta */ 55796);\n\n\n\n\n\n\n\n\n\nvar _excluded = [\"Id\", \"Properties\"];\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context7, _context8; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context7 = ownKeys(Object(t), !0)).call(_context7, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context8 = ownKeys(Object(t))).call(_context8, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Base 64 characters\n */\nvar BASE64 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';\n\n/**\n * Make a Uint8Array into a string\n * @param {Uint8Array}\n * @returns {String}\n * @api private\n */\nfunction tostr(bytes) {\n  var r, i;\n  r = [];\n  for (i = 0; i < bytes.length; i++) {\n    r.push(BASE64[bytes[i] % 62]);\n  }\n  return r.join('');\n}\n\n/**\n * Generate an unique id\n * @param {Number} The number of chars of the uid\n * @api public\n */\nfunction uid() {\n  var length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 10;\n  if (typeof window.crypto !== 'undefined') {\n    return tostr(window.crypto.getRandomValues(new Uint8Array(length)));\n  } else {\n    var a = new Array(length);\n    for (var i = 0; i < length; i++) {\n      a[i] = Math.floor(Math.random() * 256);\n    }\n    return tostr(a);\n  }\n}\nvar createUUid = uid;\nvar defaultKeywordMapping = {\n  type: 'type',\n  name: 'name',\n  key: 'key',\n  parentId: 'parentId',\n  items: 'items'\n};\nvar getPropertyDefaultValueMemo = lodash__WEBPACK_IMPORTED_MODULE_19___default().memoize(_meta__WEBPACK_IMPORTED_MODULE_21__.getPropertyDefaultValue, function (property) {\n  return _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_11___default()(property);\n});\nvar getControlDefaultValueMemo = lodash__WEBPACK_IMPORTED_MODULE_19___default().memoize(_meta__WEBPACK_IMPORTED_MODULE_21__.getPropertyDefaultValue, function (property) {\n  return _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_11___default()(property);\n});\nvar createUniqueKey = function createUniqueKey(transferDataKey, type) {\n  var appendData = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];\n  var keywordMapping = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : defaultKeywordMapping;\n  var allKeySet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_12___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default()(appendData).call(appendData, function (data) {\n    return data[keywordMapping.key];\n  }));\n  var idx = 0;\n  var key = (transferDataKey === null || transferDataKey === void 0 ? void 0 : transferDataKey.replace(/\\d+$/, '')) || type;\n  var originKey = key;\n  while (allKeySet.has(key)) {\n    var _context;\n    key = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default()(_context = \"\".concat(originKey)).call(_context, ++idx);\n  }\n  return key;\n};\nvar CTRL_KEY_MAX_LENGTH = 25; // 限制控件key的最大长度25个字符(与手动输入保持一致)，标识或者字段名超过30位后端会报错\nvar createUniqueKeys = function createUniqueKeys(controlItems) {\n  var appendData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var keywordMapping = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : defaultKeywordMapping;\n  var allKeySet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_12___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default()(appendData).call(appendData, function (data) {\n    return data[keywordMapping.key];\n  }));\n  var idx = 0;\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default()(controlItems).call(controlItems, function (controlItem) {\n    var _key;\n    var transferDataKey = controlItem[keywordMapping.key];\n    var key = transferDataKey || controlItem[keywordMapping.type]; // .replace(/(?<=[^\\d]+)\\d+$/, '') 不将paste action也去掉数字\n    key = (_key = key) === null || _key === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_15___default()(_key).call(_key, 0, CTRL_KEY_MAX_LENGTH);\n    var originKey = key;\n    while (allKeySet.has(key)) {\n      var _context2;\n      idx = idx + 1;\n      var maxLen = CTRL_KEY_MAX_LENGTH - \"\".concat(idx).length;\n      key = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_14___default()(_context2 = \"\".concat(originKey === null || originKey === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_15___default()(originKey).call(originKey, 0, maxLen))).call(_context2, idx);\n    }\n    allKeySet.add(key);\n    // controlItem[keywordMapping.key] = key\n    return _objectSpread(_objectSpread({}, controlItem), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, keywordMapping.key, key));\n  });\n};\n/**\n * @description: 根据元模型数据，返回获取对应控件类型的模型数据的高阶函数\n * @param {IMeta} meta\n * @param {IGlobalConfig} globalConfig\n * @return {ICreateModelByType}\n */\nvar createControlModel = function createControlModel(meta, globalConfig) {\n  var _getMetaDetailMemoByType = (0,_meta__WEBPACK_IMPORTED_MODULE_21__.getControlMetaMemo)(meta);\n  var _createModelByType = function _createModelByType(_ref) {\n    var type = _ref.type,\n      transferData = _ref.transferData;\n    // 这里需要注意都是浅拷贝，可能有问题\n    var dataTemplate = {};\n    var value = _getMetaDetailMemoByType(type);\n    if (value) {\n      (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(dataTemplate, value);\n    }\n    if (transferData) {\n      (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(dataTemplate, transferData);\n    }\n    return dataTemplate;\n  };\n  return _createModelByType;\n};\n/**\n * @description: 根据元模型数据，返回获取对应控件类型的必要非默认数据的的高阶函数\n * @param {IMeta} meta\n * @param {IGlobalConfig} globalConfig\n * @return {ICreateModelByType}\n */\nvar createControlData = function createControlData(meta, globalConfig) {\n  var _ref2 = globalConfig || _constant__WEBPACK_IMPORTED_MODULE_20__.defaultGlobalConfig,\n    keywordMapping = _ref2.keywordMapping,\n    processPropertyName = _ref2.processPropertyName,\n    enableDiffDefaultData = _ref2.enableDiffDefaultData,\n    _ref2$enableEditorVal = _ref2.enableEditorValue,\n    enableEditorValue = _ref2$enableEditorVal === void 0 ? true : _ref2$enableEditorVal;\n  var _getMetaDetailMemoByType = (0,_meta__WEBPACK_IMPORTED_MODULE_21__.getControlMetaMemo)(meta);\n  var _createDataByType = function _createDataByType(_ref3) {\n    var type = _ref3.type,\n      transferData = _ref3.transferData,\n      parentId = _ref3.parentId;\n    // 这里需要注意都是浅拷贝，可能有问题\n    var itemData = {};\n    var dataTemplate = _getMetaDetailMemoByType(type);\n    if (parentId) {\n      itemData[keywordMapping.parentId] = parentId;\n    }\n    if (!enableDiffDefaultData) {\n      var _context3;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context3 = dataTemplate.Properties).call(_context3, function (property) {\n        // 不要memo\n        (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(itemData, (0,_meta__WEBPACK_IMPORTED_MODULE_21__.getPropertyDefaultValue)(property, processPropertyName));\n      });\n    }\n    if (enableEditorValue) {\n      var _context4;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context4 = dataTemplate.Properties).call(_context4, function (property) {\n        // 不要memo\n        (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(itemData, (0,_meta__WEBPACK_IMPORTED_MODULE_21__.mergeEditorValue)(property, processPropertyName));\n      });\n    }\n    // id 应该交由哪边管理\n    // TODO: 加个config\n    itemData[keywordMapping.id] = createUUid();\n    itemData[keywordMapping.name] = dataTemplate.Name; // TODO: 自增名\n    itemData[keywordMapping.type] = dataTemplate.Id;\n    if (transferData) {\n      (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(itemData, transferData);\n    }\n    return itemData;\n  };\n  return _createDataByType;\n};\n\n// 兼容处理\nfunction createControlDataOrModel(meta) {\n  var isGetModalData = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n  var globalConfig = arguments.length > 2 ? arguments[2] : undefined;\n  if (isGetModalData) {\n    return createControlData(meta, globalConfig);\n  } else {\n    return createControlModel(meta, globalConfig);\n  }\n}\n// 评审到这里\nfunction getCommonProperties(types) {\n  return function (meta, globalConfig) {\n    var _meta$MultiEdit = meta.MultiEdit,\n      MultiEdit = _meta$MultiEdit === void 0 ? {\n        Disable: []\n      } : _meta$MultiEdit;\n    var _MultiEdit$Disable = MultiEdit.Disable,\n      disabledNodes = _MultiEdit$Disable === void 0 ? [] : _MultiEdit$Disable;\n    var commonPropertyHandler = globalConfig.commonPropertyHandler;\n    return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(types).call(types, function (properties, type) {\n      var _properties, _context5;\n      var controlMeta = (0,_meta__WEBPACK_IMPORTED_MODULE_21__.getControlMeta)(type)(meta);\n      var controlProperties = controlMeta.Properties;\n      if (!((_properties = properties) !== null && _properties !== void 0 && _properties.length)) {\n        properties = controlProperties;\n      }\n      properties = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(_context5 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default()(properties).call(properties, function (property) {\n        var _context6;\n        var Nodes = property.Nodes,\n          Id = property.Id;\n        var group = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(controlProperties).call(controlProperties, function (item) {\n          return item.Id === Id;\n        });\n        var groupNodes = (group === null || group === void 0 ? void 0 : group.Nodes) || [];\n        var nodeIds = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_13___default()(_context6 = Nodes).call(_context6, function (item) {\n          return item.Id;\n        });\n        var filteredNodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(groupNodes).call(groupNodes, function (node) {\n          return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(disabledNodes).call(disabledNodes, node.Id) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_18___default()(nodeIds).call(nodeIds, node.Id);\n        });\n        if (!filteredNodes.length) return null;\n        return _objectSpread(_objectSpread({}, group), {}, {\n          Nodes: filteredNodes\n        });\n      })).call(_context5, Boolean);\n      return (commonPropertyHandler === null || commonPropertyHandler === void 0 ? void 0 : commonPropertyHandler(properties)) || [];\n    }, []);\n  };\n}\n\n// 获取控件元数据描述属性，如IsContainer, Accept等\nvar getControlMetaInfo = function getControlMetaInfo(meta) {\n  var _meta$Controls = meta.Controls,\n    controlMetas = _meta$Controls === void 0 ? [] : _meta$Controls;\n  return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(controlMetas).call(controlMetas, function (controlMetaInfo, controlMeta) {\n    var id = controlMeta.Id,\n      Properties = controlMeta.Properties,\n      otherProperties = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(controlMeta, _excluded);\n    var metaInfo = {};\n    for (var key in otherProperties) {\n      metaInfo[lodash__WEBPACK_IMPORTED_MODULE_19___default().camelCase(key)] = otherProperties[key];\n    }\n    controlMetaInfo[id] = metaInfo;\n    return controlMetaInfo;\n  }, {});\n};\n\n// 获取控件是否是容器，isContainer： true | false, accept：可接受的子控件类型，eg: ['Text', 'Image']\n// 后面要改成getControlMeta\nvar getControlIsContainer = function getControlIsContainer(controlMetaInfo, control, keywordMapping) {\n  var type = control[keywordMapping.type];\n  if (!type) return {\n    isContainer: false\n  };\n  if (typeof controlMetaInfo === 'function') {\n    var _controlMetaInfo = controlMetaInfo(type),\n      isContainer = _controlMetaInfo.IsContainer,\n      accept = _controlMetaInfo.Accept,\n      notAccept = _controlMetaInfo.NotAccept,\n      acceptParent = _controlMetaInfo.AcceptParent;\n    return {\n      isContainer: isContainer,\n      accept: accept,\n      notAccept: notAccept,\n      acceptParent: acceptParent\n    };\n  } else {\n    var _controlMetaInfo$type = controlMetaInfo[type],\n      _isContainer = _controlMetaInfo$type.isContainer,\n      _accept = _controlMetaInfo$type.accept;\n    return {\n      isContainer: _isContainer,\n      accept: _accept\n    };\n  }\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/_utils/data.ts?");

/***/ }),

/***/ 78172:
/*!******************************************!*\
  !*** ../kd-designer/src/_utils/index.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getCompProps: function() { return /* binding */ getCompProps; },\n/* harmony export */   handlePreventBubble: function() { return /* binding */ handlePreventBubble; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _config_provider_compDefaultProps__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config-provider/compDefaultProps */ 76556);\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-29 15:54:24\n * @Last Modified by: fjr\n * @LastEditTime: 2021-11-10 14:29:00\n * @Description: ...\n */\n // kd-ui提供组件默认属性\n/**\n * 结合compDefaultProps、用户自定义默认属性和组件当前属性获取组件实际应用属性\n * @param {keyof typeof compDefaultProps} compName 组件名\n * @param {any} userDefaultProps 用户自定义组件默认属性\n * @param {any} compProps 组件接收到的属性\n */\nvar getCompProps = function getCompProps(compName, userDefaultProps, compProps) {\n  var defaultProps = _config_provider_compDefaultProps__WEBPACK_IMPORTED_MODULE_1__[\"default\"][compName];\n  var userProps = userDefaultProps && userDefaultProps[compName] || {};\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, defaultProps, userProps, compProps || {});\n};\n\n/**\n * 阻止冒泡\n * 一般用于设计器在输入框输入状态时不触发主视图根节点的keydown\n * @param {Event} e\n */\n\nvar handlePreventBubble = function handlePreventBubble(e) {\n  if (e.stopPropagation) {\n    e.stopPropagation();\n  } else {\n    // e.cancelBubble = true\n  }\n  e.cancelBubble = true;\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/_utils/index.ts?");

/***/ }),

/***/ 93888:
/*!*************************************************************!*\
  !*** ../kd-designer/src/_utils/property-editor-factory.tsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PropertyEditorFactoryContext: function() { return /* binding */ PropertyEditorFactoryContext; },\n/* harmony export */   \"default\": function() { return /* binding */ create; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _editor_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../editor/index */ 85076);\n\n\n\n\n\nfunction create() {\n  var _context2;\n  var editors = {};\n  var rigistPropertyEditor = function rigistPropertyEditor(editorType, editor, controlType) {\n    var _context;\n    editors[controlType ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"\".concat(controlType, \"-\")).call(_context, editorType) : editorType] = editor;\n  };\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(_editor_index__WEBPACK_IMPORTED_MODULE_4__.editorControlsMap)).call(_context2, function (type) {\n    rigistPropertyEditor(type, _editor_index__WEBPACK_IMPORTED_MODULE_4__.editorControlsMap[type]);\n  });\n  return {\n    rigistPropertyEditor: rigistPropertyEditor,\n    getPropertyEditor: function getPropertyEditor(editorType, controlType) {\n      var _context3;\n      return editors[_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context3 = \"\".concat(controlType, \"-\")).call(_context3, editorType)] || editors[editorType];\n    }\n  };\n}\nvar PropertyEditorFactoryContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createContext({});\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/_utils/property-editor-factory.tsx?");

/***/ }),

/***/ 64868:
/*!*******************************************!*\
  !*** ../kd-designer/src/action/action.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ChangeDefaultValue: function() { return /* binding */ ChangeDefaultValue; },\n/* harmony export */   ChangeEditorType: function() { return /* binding */ ChangeEditorType; },\n/* harmony export */   ExchangeValue: function() { return /* binding */ ExchangeValue; },\n/* harmony export */   HideProperty: function() { return /* binding */ HideProperty; },\n/* harmony export */   LockProperty: function() { return /* binding */ LockProperty; },\n/* harmony export */   SetPropertyValue: function() { return /* binding */ SetPropertyValue; },\n/* harmony export */   SetValue: function() { return /* binding */ SetValue; },\n/* harmony export */   ShowProperty: function() { return /* binding */ ShowProperty; },\n/* harmony export */   UnLockProperty: function() { return /* binding */ UnLockProperty; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__);\n\n\nfunction ChangeEditorType(args) {\n  var key = args.Key,\n    value = args.Value;\n  return [{\n    key: key,\n    editorProp: {\n      Type: value\n    }\n  }];\n}\nfunction ChangeDefaultValue(args) {\n  var key = args.Key,\n    value = args.Value;\n  return [{\n    key: key,\n    editorProp: {\n      Default: value\n    }\n  }];\n}\nfunction HideProperty(args) {\n  var _context;\n  var keys = args.Key;\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(_context = keys).call(_context, function (key) {\n    return {\n      key: key,\n      prop: {\n        Visible: false\n      }\n    };\n  });\n}\nfunction ShowProperty(args) {\n  var _context2;\n  var keys = args.Key;\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(_context2 = keys).call(_context2, function (key) {\n    return {\n      key: key,\n      prop: {\n        Visible: true\n      }\n    };\n  });\n}\nfunction LockProperty(args) {\n  var _context3;\n  var keys = args.Key;\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(_context3 = keys).call(_context3, function (key) {\n    return {\n      key: key,\n      prop: {\n        Locked: true\n      }\n    };\n  });\n}\nfunction UnLockProperty(args) {\n  var _context4;\n  var keys = args.Key;\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(_context4 = keys).call(_context4, function (key) {\n    return {\n      key: key,\n      prop: {\n        Locked: false\n      }\n    };\n  });\n}\nfunction SetValue(args) {\n  var keys = args.Key,\n    value = args.Value;\n  var prop = {};\n  for (var i = 0; i < keys.length; i++) {\n    prop[lodash__WEBPACK_IMPORTED_MODULE_1___default().camelCase(keys[i])] = value[i];\n  }\n  return prop;\n}\nfunction SetPropertyValue(args) {\n  var keys = args.Key,\n    value = args.Value;\n  var prop = {};\n  for (var i = 0; i < keys.length; i++) {\n    prop[keys[i]] = value[i];\n  }\n  return prop;\n}\nfunction ExchangeValue(args, field) {\n  var keys = args.Key,\n    value = args.Value;\n  var prop = {};\n  for (var i = 0; i < keys.length; i++) {\n    prop[lodash__WEBPACK_IMPORTED_MODULE_1___default().camelCase(keys[i])] = field[lodash__WEBPACK_IMPORTED_MODULE_1___default().camelCase(value[i])];\n  }\n  return prop;\n}\nvar actions = {\n  propertyActions: {\n    ChangeEditorType: ChangeEditorType,\n    ChangeDefaultValue: ChangeDefaultValue,\n    HideProperty: HideProperty,\n    ShowProperty: ShowProperty,\n    LockProperty: LockProperty,\n    UnLockProperty: UnLockProperty\n  },\n  dataActions: {\n    SetValue: SetValue,\n    ExchangeValue: ExchangeValue,\n    SetPropertyValue: SetPropertyValue\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (actions);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/action/action.ts?");

/***/ }),

/***/ 26096:
/*!********************************************!*\
  !*** ../kd-designer/src/action/factory.ts ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DATA_ACTION: function() { return /* binding */ DATA_ACTION; },\n/* harmony export */   PROPERTY_ACTION: function() { return /* binding */ PROPERTY_ACTION; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _action__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./action */ 64868);\n\n\n\n\nvar PROPERTY_ACTION = 'property';\nvar DATA_ACTION = 'data';\nfunction actionsCreate() {\n  var _context2, _context3;\n  var propertyActions = {};\n  var dataActions = {};\n  var rigistAction = function rigistAction(actionType) {\n    return function (actionName, action, controlType) {\n      var _context;\n      var actions = actionType === PROPERTY_ACTION ? propertyActions : dataActions;\n      actions[controlType ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"\".concat(controlType, \"-\")).call(_context, actionName) : actionName] = action;\n    };\n  };\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(_action__WEBPACK_IMPORTED_MODULE_3__[\"default\"].propertyActions)).call(_context2, function (actionName) {\n    rigistAction(PROPERTY_ACTION)(actionName, _action__WEBPACK_IMPORTED_MODULE_3__[\"default\"].propertyActions[actionName]);\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(_action__WEBPACK_IMPORTED_MODULE_3__[\"default\"].dataActions)).call(_context3, function (actionName) {\n    rigistAction(DATA_ACTION)(actionName, _action__WEBPACK_IMPORTED_MODULE_3__[\"default\"].dataActions[actionName]);\n  });\n  return {\n    rigistAction: rigistAction,\n    getAction: function getAction(actionType) {\n      return function (actionName, controlType) {\n        var _context4;\n        var actions = actionType === PROPERTY_ACTION ? propertyActions : dataActions;\n        return actions[_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context4 = \"\".concat(controlType, \"-\")).call(_context4, actionName)] || actions[actionName];\n      };\n    }\n  };\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (actionsCreate());\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/action/factory.ts?");

/***/ }),

/***/ 99060:
/*!******************************************!*\
  !*** ../kd-designer/src/action/index.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createPropertyChangeByActions: function() { return /* binding */ createPropertyChangeByActions; },\n/* harmony export */   execActionToDataProperties: function() { return /* binding */ execActionToDataProperties; },\n/* harmony export */   getActionResults: function() { return /* binding */ getActionResults; },\n/* harmony export */   getTodoList: function() { return /* binding */ getTodoList; },\n/* harmony export */   updateNodeProperty: function() { return /* binding */ updateNodeProperty; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var expr_eval__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! expr-eval */ 5944);\n/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./factory */ 26096);\n/* harmony import */ var _designerConst__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../designerConst */ 9740);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_4___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_5___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_11__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_9___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_8___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_10___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_7___default()(t, r)); }); } return e; }\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default()(_context = Object.prototype.toString.call(o)).call(_context, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n\n\n\n\n// Actions: {\n//   Condition: 'is('BindType', 'field') || is('BindType', 'upload')',\n//   Todo: {\n//     name: 'ChangeType',\n//     args: {\n//       key: 'BindText',\n\n//     }\n//   },\n//   ElseTodo: {\n//     name: 'ChangeType',\n//     args: {\n\n//     }\n//   }\n// }\nvar getTodoList = function getTodoList(action, data) {\n  return function (getModel) {\n    var condition = action.Condition,\n      todo = action.Todo,\n      elsetodo = action.ElseTodo;\n    var expr = condition && expr_eval__WEBPACK_IMPORTED_MODULE_19__.Parser.parse(condition.replace(/in\\(/g, 'has(').replace(/&&/g, ' and ').replace(/!/g, ' not ').replace(/\\|\\|/g, ' or '));\n    var result = condition ? expr.evaluate(getConditionsMap(data, todo, getModel)) : true;\n    if (result && todo) {\n      return todo;\n    }\n    if (!result && elsetodo) {\n      return elsetodo;\n    }\n  };\n};\nfunction getConditionField(ctrlId, type, getModel, propName) {\n  if (!getModel) return;\n  return getModel().getFieldPropertyInfo(ctrlId, propName, type);\n}\n\n// 获取指定类型的元数据，若存在该属性，则返回该属性的值\nfunction getConditionTypesValue(field, conditionTypes, propName, getModel) {\n  if (field && conditionTypes && _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(conditionTypes) && propName && getModel) {\n    for (var i = 0; i < conditionTypes.length; i++) {\n      var type = conditionTypes[i];\n      // 实体元数据的id是FieldId\n      var ctrlId = type === _designerConst__WEBPACK_IMPORTED_MODULE_21__.ENTITYMETA ? field.FieldId : field.Id;\n      var conditionFieldValue = getConditionField(ctrlId, type, getModel, propName);\n      if (conditionFieldValue) return conditionFieldValue;\n    }\n  }\n}\nfunction getConditionsMap(data) {\n  var todo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n  var getModel = arguments.length > 2 ? arguments[2] : undefined;\n  var field = data.field,\n    _data$Items = data.Items,\n    items = _data$Items === void 0 ? [] : _data$Items;\n  var _ref = todo[0] || {},\n    conditionTypes = _ref.ConditionTypes;\n  return {\n    is: function is(propName, value) {\n      // ConditionTypes 支持判断条件指定元数据类型\n      var _ref2 = todo[0] || {},\n        affectedByParent = _ref2.AffectedByParent,\n        name = _ref2.Name;\n      if (name === 'HideProperty' && affectedByParent) {\n        // 参考旧版设计器，只有HideProperty规则生效affectedByParent参数\n        field = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_16___default()(items).call(items, function (item) {\n          return item.Id === field.ParentId;\n        }) || field;\n      }\n      propName = propName === 'Type' ? '_Type_' : propName;\n      if (value == undefined) {\n        // 适配空字符串\n        var isMatch = field[propName] == value || field[propName] == '';\n        if (isMatch) return isMatch;\n        if (conditionTypes) {\n          var conditionTypesValue = getConditionTypesValue(field, conditionTypes, propName, getModel);\n          return conditionTypesValue == value || conditionTypesValue == '';\n        }\n        return false;\n      }\n      return field[propName] == value || getConditionTypesValue(field, conditionTypes, propName, getModel) == value;\n    },\n    eq: function eq(propName, value) {\n      propName = lodash__WEBPACK_IMPORTED_MODULE_18___default().camelCase(propName);\n      return field[propName] === value || getConditionTypesValue(field, conditionTypes, propName, getModel) === value;\n    },\n    includes: function includes(propName, value) {\n      var _field$propName, _getConditionTypesVal;\n      return ((_field$propName = field[propName]) === null || _field$propName === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17___default()(_field$propName).call(_field$propName, value)) || ((_getConditionTypesVal = getConditionTypesValue(field, conditionTypes, propName, getModel)) === null || _getConditionTypesVal === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17___default()(_getConditionTypesVal).call(_getConditionTypesVal, value));\n    },\n    has: function has(propName, value) {\n      propName = lodash__WEBPACK_IMPORTED_MODULE_18___default().camelCase(propName);\n      return (value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17___default()(value).call(value, field[propName])) || (value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_17___default()(value).call(value, getConditionTypesValue(field, conditionTypes, propName, getModel)));\n    },\n    isGlobal: function isGlobal(propName, value) {\n      return data[propName] === value;\n    },\n    Change: true,\n    null: null,\n    empty: function empty(propName) {\n      var _field, _getConditionTypesVal2;\n      propName = lodash__WEBPACK_IMPORTED_MODULE_18___default().camelCase(propName);\n      return !((_field = field) !== null && _field !== void 0 && (_field = _field[propName]) !== null && _field !== void 0 && _field.length) || conditionTypes && getModel && !((_getConditionTypesVal2 = getConditionTypesValue(field, conditionTypes, propName, getModel)) !== null && _getConditionTypesVal2 !== void 0 && _getConditionTypesVal2.length);\n    }\n  };\n}\nfunction getActionResults(properties, data, getModel) {\n  var updateProperties = [];\n  var field = data.field;\n  if (properties === undefined) return updateProperties;\n  var _iterator = _createForOfIteratorHelper(properties),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var nodes = _step.value.Nodes;\n      if (nodes) {\n        var _iterator2 = _createForOfIteratorHelper(nodes),\n          _step2;\n        try {\n          for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n            var actions = _step2.value.Actions;\n            actions && _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(actions).call(actions, function (action) {\n              var todoList = getTodoList(action, data)(getModel) || [];\n              if (todoList.length) {\n                _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(todoList).call(todoList, function (todo) {\n                  var args = execActionToProperties(todo, field);\n                  updateProperties.push.apply(updateProperties, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_13__[\"default\"])(args));\n                });\n              }\n            });\n          }\n        } catch (err) {\n          _iterator2.e(err);\n        } finally {\n          _iterator2.f();\n        }\n      }\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  return updateProperties;\n}\nfunction updateNodeProperty(propertyData, args) {\n  var key = args.key,\n    prop = args.prop,\n    editorProp = args.editorProp;\n  var _iterator3 = _createForOfIteratorHelper(propertyData),\n    _step3;\n  try {\n    for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n      var nodes = _step3.value.Nodes;\n      if (nodes) {\n        var _iterator4 = _createForOfIteratorHelper(nodes),\n          _step4;\n        try {\n          for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {\n            var node = _step4.value;\n            if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(key)) {\n              if (node.Id === key[0]) {\n                var _iterator5 = _createForOfIteratorHelper(node.Editor.Enum),\n                  _step5;\n                try {\n                  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {\n                    var option = _step5.value;\n                    if (option.Value === key[1]) {\n                      option.Visible = prop.Visible;\n                    }\n                  }\n                } catch (err) {\n                  _iterator5.e(err);\n                } finally {\n                  _iterator5.f();\n                }\n              }\n            } else if (node.Id === key) {\n              if (prop) {\n                (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_12__[\"default\"])(node, prop);\n              }\n              if (editorProp) {\n                node.Editor = _objectSpread(_objectSpread({}, node.Editor || {}), editorProp);\n              }\n            }\n          }\n        } catch (err) {\n          _iterator4.e(err);\n        } finally {\n          _iterator4.f();\n        }\n      }\n    }\n  } catch (err) {\n    _iterator3.e(err);\n  } finally {\n    _iterator3.f();\n  }\n}\n\n// 修改meta属性，抛出的参数\nfunction execActionToProperties(todo, field) {\n  var name = todo.Name,\n    args = todo.Args;\n  var action = _factory__WEBPACK_IMPORTED_MODULE_20__[\"default\"].getAction(_factory__WEBPACK_IMPORTED_MODULE_20__.PROPERTY_ACTION)(name, field === null || field === void 0 ? void 0 : field.type);\n  return action ? action(args) : [];\n}\n\n// 修改控件data属性，抛出的参数\nfunction execActionToDataProperties(todo, field) {\n  var name = todo.Name,\n    args = todo.Args;\n  var action = _factory__WEBPACK_IMPORTED_MODULE_20__[\"default\"].getAction(_factory__WEBPACK_IMPORTED_MODULE_20__.DATA_ACTION)(name, field === null || field === void 0 ? void 0 : field.type);\n  return action ? action(args, field) : {};\n}\n\n/**\n * 根据条件式将数据变更进行修改\n */\nvar createPropertyChangeByActions = function createPropertyChangeByActions(actions, propName, newVal, processedValue, field, dataApi, getModel) {\n  var data = dataApi.getData();\n  var newProperties = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({}, propName, newVal);\n  // action抽出来给外界使用\n  var processedField = _objectSpread(_objectSpread({}, field), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_11__[\"default\"])({}, propName, processedValue));\n  var actionArguments = _objectSpread(_objectSpread({}, data), {}, {\n    field: processedField\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(actions).call(actions, function (action) {\n    var todoList = getTodoList(action, actionArguments)(getModel) || [];\n    if (todoList.length) {\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_14___default()(todoList).call(todoList, function (todo) {\n        var args = execActionToDataProperties(todo, processedField);\n        newProperties = _objectSpread(_objectSpread({}, newProperties), args);\n      });\n    }\n  });\n  return newProperties;\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/action/index.ts?");

/***/ }),

/***/ 58256:
/*!************************************************!*\
  !*** ../kd-designer/src/alias-data/context.ts ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-14 10:01:18\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-14 10:02:21\n * @Description: ...\n */\n\n\nvar AliasDataContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (AliasDataContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/alias-data/context.ts?");

/***/ }),

/***/ 24007:
/*!************************************************!*\
  !*** ../kd-designer/src/alias-data/factory.ts ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AliasDataManage: function() { return /* binding */ AliasDataManage; },\n/* harmony export */   createAliasDataApi: function() { return /* binding */ createAliasDataApi; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/construct */ 11984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/possibleConstructorReturn */ 54895);\n/* harmony import */ var _babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/getPrototypeOf */ 77284);\n/* harmony import */ var _babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/assertThisInitialized */ 89280);\n/* harmony import */ var _babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/inherits */ 50024);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! immer */ 83789);\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../type */ 84460);\n/* harmony import */ var _memory_cache__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../memory-cache */ 92492);\n\n\n\n\n\n\n\n\n\n\n\nfunction _callSuper(t, o, e) { return o = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(o), (0,_babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(t, _isNativeReflectConstruct() ? _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(o, e || [], (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-13 16:26:17\n * @Last Modified by: fjr\n * @LastEditTime: 2022-03-16 10:28:39\n * @Description: aliasData工厂函数\n */\n\n\n\n\nvar getStringifyValue = function getStringifyValue(value) {\n  return value === undefined ? null : value;\n};\nvar AliasDataManage = /*#__PURE__*/function (_MemoryCache) {\n  (0,_babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(AliasDataManage, _MemoryCache);\n  function AliasDataManage() {\n    var _this;\n    var originAliasData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this, AliasDataManage);\n    _this = _callSuper(this, AliasDataManage);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this), \"aliasData\", {});\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this), \"getAliasData\", function () {\n      return _this.aliasData;\n    });\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this), \"getAliasDataPropValue\", function (type, propName, value) {\n      var getIn = (0,lodash__WEBPACK_IMPORTED_MODULE_11__.property)([type, propName, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(getStringifyValue(value))]);\n      return getIn(_this.aliasData);\n    });\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this), \"hasAliasDataPropValue\", function (type, propName, value) {\n      return (0,lodash__WEBPACK_IMPORTED_MODULE_11__.has)(_this.aliasData, [type, propName, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(getStringifyValue(value))]); //\n    });\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(_this), \"setAliasDataPropValue\", function (_actions) {\n      var oldData = _this.aliasData;\n      var actions = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(_actions) ? _actions : [_actions];\n      _this.aliasData = (0,immer__WEBPACK_IMPORTED_MODULE_14__.produce)(_this.aliasData, function (draft) {\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(actions).call(actions, function (action) {\n          var type = action.type,\n            propName = action.propName,\n            value = action.value,\n            alias = action.alias;\n          (0,lodash__WEBPACK_IMPORTED_MODULE_11__.set)(draft, [type, propName, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(getStringifyValue(value))], alias);\n        });\n      });\n      if (oldData !== _this.aliasData) {\n        var event = {\n          type: _type__WEBPACK_IMPORTED_MODULE_12__.AliasDataChangeEventType.Set,\n          value: _this.aliasData,\n          oldValue: oldData\n        };\n        _this.fireEvent(event);\n      }\n    });\n    _this.aliasData = originAliasData;\n    return _this;\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(AliasDataManage, [{\n    key: \"addAliasDataChangeListener\",\n    value: function addAliasDataChangeListener(listener) {\n      return this.addDataChangeListener(listener);\n    }\n  }]);\n  return AliasDataManage;\n}(_memory_cache__WEBPACK_IMPORTED_MODULE_13__[\"default\"]);\nvar createAliasDataApi = function createAliasDataApi(api) {\n  return {\n    getAliasData: function getAliasData() {\n      return api.getAliasData();\n    },\n    hasAliasDataPropValue: function hasAliasDataPropValue(type, propName, value) {\n      return api.hasAliasDataPropValue(type, propName, value);\n    },\n    getAliasDataPropValue: function getAliasDataPropValue(type, propName, value) {\n      return api.getAliasDataPropValue(type, propName, value);\n    },\n    addAliasDataChangeListener: function addAliasDataChangeListener(listener) {\n      return api.addAliasDataChangeListener(listener);\n    },\n    setAliasDataPropValue: function setAliasDataPropValue(actions) {\n      return api.setAliasDataPropValue(actions);\n    }\n  };\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/alias-data/factory.ts?");

/***/ }),

/***/ 8744:
/*!**********************************************!*\
  !*** ../kd-designer/src/alias-data/index.ts ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   AliasDataContext: function() { return /* reexport safe */ _context__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; },\n/* harmony export */   AliasDataManage: function() { return /* reexport safe */ _factory__WEBPACK_IMPORTED_MODULE_0__.AliasDataManage; },\n/* harmony export */   createAliasDataApi: function() { return /* reexport safe */ _factory__WEBPACK_IMPORTED_MODULE_0__.createAliasDataApi; }\n/* harmony export */ });\n/* harmony import */ var _factory__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./factory */ 24007);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./context */ 58256);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-13 16:26:17\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-14 10:03:33\n * @Description: ...\n */\n\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/alias-data/index.ts?");

/***/ }),

/***/ 76228:
/*!************************************************************!*\
  !*** ../kd-designer/src/config-provider/ConfigContext.tsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _defaultConfig__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./defaultConfig */ 72228);\n/**\n * 提供外层注入属性的context\n */\n\n\nvar ConfigContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(_defaultConfig__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (ConfigContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/config-provider/ConfigContext.tsx?");

/***/ }),

/***/ 76556:
/*!***************************************************************!*\
  !*** ../kd-designer/src/config-provider/compDefaultProps.tsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n// import * as React from 'react'\n/**\n * 组件默认属性，所有组件的默认属性都在这里写，\n * 而不是在组件文件中以“componentName.defaultProps”的方式去写\n * componentName: defaultPropsObj\n * （用于处理用户自定义默认属性）\n */\nvar compDefaultProps = {\n  Kdesigner: {},\n  Icon: {\n    prefix: 'designericon'\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (compDefaultProps);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/config-provider/compDefaultProps.tsx?");

/***/ }),

/***/ 72228:
/*!************************************************************!*\
  !*** ../kd-designer/src/config-provider/defaultConfig.tsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../locale */ 3848);\n\n\nvar defaultConfig = {\n  getPrefixCls: function getPrefixCls(configPrefixCls, suffixCls, customizePrefixCls) {\n    var _context;\n    // 获取样式前缀方法\n    if (customizePrefixCls) return customizePrefixCls;\n    configPrefixCls = configPrefixCls || 'kdesigner';\n    return suffixCls ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_0___default()(_context = \"\".concat(configPrefixCls, \"-\")).call(_context, suffixCls) : configPrefixCls;\n  },\n  prefixCls: 'kdesigner',\n  // 样式前缀\n  locale: {\n    getLangMsg: _locale__WEBPACK_IMPORTED_MODULE_1__.getLangMsg,\n    getCompLangMsg: _locale__WEBPACK_IMPORTED_MODULE_1__.getCompLangMsg\n  }\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (defaultConfig);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/config-provider/defaultConfig.tsx?");

/***/ }),

/***/ 71912:
/*!*********************************************!*\
  !*** ../kd-designer/src/constant/index.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CONTROL_DRAG_DATA: function() { return /* binding */ CONTROL_DRAG_DATA; },\n/* harmony export */   createGlobalConfig: function() { return /* binding */ createGlobalConfig; },\n/* harmony export */   defaultGlobalConfig: function() { return /* binding */ defaultGlobalConfig; },\n/* harmony export */   keywordMapping: function() { return /* binding */ keywordMapping; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _designer_utils_utils_defaultIcon__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../designer-utils/utils/defaultIcon */ 54440);\n/* harmony import */ var _designer_utils_utils_intlApi__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../designer-utils/utils/intlApi */ 57024);\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-19 15:50:44\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:43:25\n * @Description: 默认数据\n */\n\n\n\n\nvar keywordMapping = {\n  // 所有meta和data属性名大小写默认配置\n  id: 'Id',\n  type: 'Type',\n  name: 'Name',\n  key: 'Key',\n  parentId: 'ParentId'\n};\nvar defaultGlobalConfig = {\n  activeSelectedMode: 'last',\n  // 'first'\n  controlViewMode: 'vertical',\n  showMessage: function showMessage() {\n    var _console, _context;\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n    (_console = console).log.apply(_console, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = ['default showMessage:']).call(_context, args));\n  },\n  env: {},\n  getOutlineItemIcon: function getOutlineItemIcon(type) {\n    // return type\n    // return null\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_designer_utils_utils_defaultIcon__WEBPACK_IMPORTED_MODULE_4__.DefaultIcon, null);\n  },\n  preHandle: function preHandle(_ref) {\n    var action = _ref.action,\n      success = _ref.success;\n    return success([action]);\n  },\n  onCustomInputClick: function onCustomInputClick() {},\n  keywordMapping: keywordMapping,\n  processPropertyName: function processPropertyName(value) {\n    return (0,lodash__WEBPACK_IMPORTED_MODULE_3__.camelCase)(value);\n  },\n  enableSearch: true,\n  // 暂时给套打应用, 后面移除\n  enableDiffDefaultData: true,\n  // 废弃 改为应用viewsApi\n  // viewSetting: {},\n  getEditorFormatValue: lodash__WEBPACK_IMPORTED_MODULE_3__.noop,\n  filterProperty: function filterProperty(field, propMeta) {\n    return false;\n  },\n  controlViewSetting: {\n    hideHelpIcon: false,\n    hideAnchorIcon: false,\n    searchInputPlaceholder: (0,_designer_utils_utils_intlApi__WEBPACK_IMPORTED_MODULE_5__.getLangMsg)('designer.leftView.key0001'),\n    hideTitleTips: false,\n    // 隐藏title属性\n    onHelpIconClick: function onHelpIconClick() {},\n    // 给到外界获取空视图设置的方式\n    getEmptyView: function getEmptyView() {\n      return null;\n    }\n  },\n  propertyViewSetting: {\n    // 给到外界获取空视图设置的方式\n    getEmptyView: function getEmptyView() {\n      return null;\n    }\n  },\n  showTopView: true,\n  commonPropertyHandler: function commonPropertyHandler(properties) {\n    return properties;\n  }\n};\nvar createGlobalConfig = function createGlobalConfig(globalConfig) {\n  return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, defaultGlobalConfig, globalConfig || {});\n};\nvar CONTROL_DRAG_DATA = 'CONTROL_DRAG_DATA';\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/constant/index.tsx?");

/***/ }),

/***/ 55308:
/*!***************************************************!*\
  !*** ../kd-designer/src/context/data-context.tsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar DataContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (DataContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/data-context.tsx?");

/***/ }),

/***/ 18440:
/*!****************************************************!*\
  !*** ../kd-designer/src/context/error-context.tsx ***!
  \****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-03-16 11:06:34\n * @LastEditTime: 2023-03-16 11:15:34\n * @Last Modified by: jianhang_he\n */\n\nvar ErrorContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (ErrorContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/error-context.tsx?");

/***/ }),

/***/ 21708:
/*!************************************************************!*\
  !*** ../kd-designer/src/context/global-config-context.tsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar GlobalConfigContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (GlobalConfigContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/global-config-context.tsx?");

/***/ }),

/***/ 49440:
/*!*****************************************************!*\
  !*** ../kd-designer/src/context/global-context.tsx ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar GlobalContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (GlobalContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/global-context.tsx?");

/***/ }),

/***/ 10268:
/*!*******************************************!*\
  !*** ../kd-designer/src/context/index.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   DataFactoryContext: function() { return /* binding */ DataFactoryContext; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-01 11:17:37\n * @Description: ...\n */\n\nvar DataFactoryContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/index.ts?");

/***/ }),

/***/ 23412:
/*!*****************************************************!*\
  !*** ../kd-designer/src/context/select-context.tsx ***!
  \*****************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar SelectionContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});\n/* harmony default export */ __webpack_exports__[\"default\"] = (SelectionContext);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/context/select-context.tsx?");

/***/ }),

/***/ 70116:
/*!**********************************************************!*\
  !*** ../kd-designer/src/create-api/createDesignerApi.ts ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ createDesignerApi; }\n/* harmony export */ });\n/*\n * @Author: daosheng_chen\n * @Email: daosheng_chen@kingdee.com\n * @Date: 2021-08-05 09:58:23\n * @Last Modified by: daosheng_chen\n * @Last Modified time: 2021-09-22 17:12:52\n * @Description: 创建设计器对外暴露的api接口，所有提供给外部的接口从这提供,不能包含界面元素引用\n */\n\nfunction createDesignerApi(_ref) {\n  var meta = _ref.meta,\n    data = _ref.data,\n    selection = _ref.selection,\n    error = _ref.error,\n    getNode = _ref.getNode,\n    aliasData = _ref.aliasData,\n    message = _ref.message,\n    dataFactory = _ref.dataFactory,\n    views = _ref.views;\n  return {\n    meta: meta,\n    // 元数据操作相关api\n    data: data,\n    selection: selection,\n    // 选择器相关api\n    getNode: getNode,\n    aliasData: aliasData,\n    message: message,\n    dataFactory: dataFactory,\n    // 新增数据时，通过type创建的初始数据\n    views: views,\n    error: error\n  };\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/create-api/createDesignerApi.ts?");

/***/ }),

/***/ 17144:
/*!*******************************************************!*\
  !*** ../kd-designer/src/create-api/createViewsApi.ts ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-11-18 16:00:55\n * @Last Modified by: fjr\n * @LastEditTime: 2021-11-22 15:24:12\n * @Description: ...\n */\n\nvar createViewsApi = function createViewsApi(viewsRef) {\n  var getViewActiveKey = function getViewActiveKey(position) {\n    var _viewsRef$current3;\n    if (!position) {\n      var _viewsRef$current, _viewsRef$current2;\n      return {\n        left: (_viewsRef$current = viewsRef.current) === null || _viewsRef$current === void 0 || (_viewsRef$current = _viewsRef$current.left) === null || _viewsRef$current === void 0 ? void 0 : _viewsRef$current.activeKey,\n        right: (_viewsRef$current2 = viewsRef.current) === null || _viewsRef$current2 === void 0 || (_viewsRef$current2 = _viewsRef$current2.right) === null || _viewsRef$current2 === void 0 ? void 0 : _viewsRef$current2.activeKey\n      };\n    }\n    return (_viewsRef$current3 = viewsRef.current) === null || _viewsRef$current3 === void 0 || (_viewsRef$current3 = _viewsRef$current3[position]) === null || _viewsRef$current3 === void 0 ? void 0 : _viewsRef$current3.activeKey;\n  };\n  var setViewActiveKey = function setViewActiveKey(position) {\n    return function (key) {\n      var _viewsRef$current4;\n      var setTabKey = (_viewsRef$current4 = viewsRef.current) === null || _viewsRef$current4 === void 0 || (_viewsRef$current4 = _viewsRef$current4[position]) === null || _viewsRef$current4 === void 0 ? void 0 : _viewsRef$current4.setTabKey;\n      setTabKey === null || setTabKey === void 0 || setTabKey(key);\n    };\n  };\n  var getViewVisibleKeys = function getViewVisibleKeys(position) {\n    var _viewsRef$current5;\n    var tabKeys = ((_viewsRef$current5 = viewsRef.current) === null || _viewsRef$current5 === void 0 || (_viewsRef$current5 = _viewsRef$current5[position]) === null || _viewsRef$current5 === void 0 ? void 0 : _viewsRef$current5.getViewKeys()) || [];\n    return tabKeys;\n  };\n  var setViewsVisibleSetting = function setViewsVisibleSetting(position) {\n    return function (viewSetting) {\n      var _viewsRef$current6;\n      var setViews = (_viewsRef$current6 = viewsRef.current) === null || _viewsRef$current6 === void 0 || (_viewsRef$current6 = _viewsRef$current6[position]) === null || _viewsRef$current6 === void 0 ? void 0 : _viewsRef$current6.setViews;\n      setViews === null || setViews === void 0 || setViews((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, position, viewSetting));\n    };\n  };\n  var getViewHideState = function getViewHideState(position) {\n    var _viewsRef$current10;\n    if (!position) {\n      var _viewsRef$current7, _viewsRef$current8, _viewsRef$current9;\n      return {\n        left: (_viewsRef$current7 = viewsRef.current) === null || _viewsRef$current7 === void 0 || (_viewsRef$current7 = _viewsRef$current7.left) === null || _viewsRef$current7 === void 0 ? void 0 : _viewsRef$current7.hide,\n        right: (_viewsRef$current8 = viewsRef.current) === null || _viewsRef$current8 === void 0 || (_viewsRef$current8 = _viewsRef$current8.right) === null || _viewsRef$current8 === void 0 ? void 0 : _viewsRef$current8.hide,\n        top: (_viewsRef$current9 = viewsRef.current) === null || _viewsRef$current9 === void 0 || (_viewsRef$current9 = _viewsRef$current9.top) === null || _viewsRef$current9 === void 0 ? void 0 : _viewsRef$current9.hide\n      };\n    }\n    return (_viewsRef$current10 = viewsRef.current) === null || _viewsRef$current10 === void 0 || (_viewsRef$current10 = _viewsRef$current10[position]) === null || _viewsRef$current10 === void 0 ? void 0 : _viewsRef$current10.hide;\n  };\n  var setViewHideState = function setViewHideState(position) {\n    return function (flag) {\n      var _viewsRef$current11;\n      var setHide = (_viewsRef$current11 = viewsRef.current) === null || _viewsRef$current11 === void 0 || (_viewsRef$current11 = _viewsRef$current11[position]) === null || _viewsRef$current11 === void 0 ? void 0 : _viewsRef$current11.setHide;\n      if (!setHide) return;\n      setHide === null || setHide === void 0 || setHide(flag);\n    };\n  };\n  return {\n    getViewActiveKey: getViewActiveKey,\n    setViewActiveKey: setViewActiveKey,\n    getViewHideState: getViewHideState,\n    setViewHideState: setViewHideState,\n    getViewVisibleKeys: getViewVisibleKeys,\n    setViewsVisibleSetting: setViewsVisibleSetting\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (createViewsApi);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/create-api/createViewsApi.ts?");

/***/ }),

/***/ 94408:
/*!********************************************!*\
  !*** ../kd-designer/src/data/data-api.tsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   createDataReader: function() { return /* binding */ createDataReader; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/values */ 41256);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ 2992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _type_actionType__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../type/actionType */ 54465);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n// 数据操作api，提供增删改数据接口\n\n\n\n// function takeAsArray<T> (item: T) {\n//   return Array.isArray(item) ? item : [item]\n// }\n\nvar collectRemovePropActions = function collectRemovePropActions(data, keywordMapping, getControlDefaultData, actions, _type) {\n  var keywordValues = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_11___default()(keywordMapping);\n  var type = _type || data[keywordMapping.type];\n  var defaultData = getControlDefaultData(type);\n  if (defaultData) {\n    var actionValuePropNames = [];\n    for (var prop in data) {\n      if (prop in defaultData && !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_12___default()(keywordValues).call(keywordValues, prop)) {\n        if ((0,lodash__WEBPACK_IMPORTED_MODULE_18__.isEqual)(defaultData[prop], data[prop])) {\n          actionValuePropNames.push(prop);\n        }\n      } else {\n        // 保留非默认数据\n      }\n    }\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_18__.isEmpty)(actionValuePropNames)) {\n      actions.push((0,_type_actionType__WEBPACK_IMPORTED_MODULE_17__.createRemovePropAction)([data[keywordMapping.id], actionValuePropNames]));\n    }\n    return actions;\n  } else {\n    console.error('That is a case: not allow to has a undeclared data, what data:', data);\n  }\n  return actions;\n};\nvar preHandlePromise = function preHandlePromise(_ref) {\n  var globalConfig = _ref.globalConfig,\n    dataReader = _ref.dataReader,\n    selectionContext = _ref.selectionContext,\n    controlAction = _ref.controlAction,\n    dataProvider = _ref.dataProvider,\n    dataFactory = _ref.dataFactory,\n    modelFactory = _ref.modelFactory,\n    metaReader = _ref.metaReader;\n  var isSavePatches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n  return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_13___default())(function (resolve, reject) {\n    if (globalConfig.preHandle) {\n      // 预处理数据\n      globalConfig.preHandle({\n        dataContext: dataReader,\n        // todo：封装读取的api\n        selectionContext: selectionContext,\n        globalConfig: globalConfig,\n        action: controlAction,\n        dataFactory: dataFactory,\n        modelFactory: modelFactory,\n        metaReader: metaReader,\n        success: resolve,\n        fail: reject\n      });\n    } else {\n      resolve(controlAction);\n    }\n  }).then(function (actions) {\n    // 在这里统一处理removePropAction\n    var keywordMapping = globalConfig.keywordMapping,\n      enableDiffDefaultData = globalConfig.enableDiffDefaultData;\n    var removePropActions = [];\n    if (enableDiffDefaultData) {\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(actions).call(actions, function (action) {\n        // 粘贴按理来说可以不管\n        if ((0,_type_actionType__WEBPACK_IMPORTED_MODULE_17__.isAddAction)(action) || (0,_type_actionType__WEBPACK_IMPORTED_MODULE_17__.isPasteAction)(action)) {\n          var _context;\n          _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(action.value) ? action.value : [action.value]).call(_context, function (data) {\n            removePropActions = collectRemovePropActions(data, keywordMapping, metaReader.getDefaultData, removePropActions);\n          });\n        }\n        if ((0,_type_actionType__WEBPACK_IMPORTED_MODULE_17__.isUpdateAction)(action) && typeof action.value !== 'function') {\n          var _context2;\n          _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context2 = action.value).call(_context2, function (_ref2) {\n            var _ref3 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(_ref2, 2),\n              id = _ref3[0],\n              change = _ref3[1];\n            // 不去管add paste action的\n            var exsitControl = dataReader.findControl(id);\n            if (exsitControl) {\n              removePropActions = collectRemovePropActions((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, change, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({}, keywordMapping.type, exsitControl[keywordMapping.type]), keywordMapping.id, exsitControl[keywordMapping.id])), keywordMapping, metaReader.getDefaultData, removePropActions);\n            }\n          });\n        }\n        return action;\n      });\n    }\n    dataProvider.batchActions(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_15___default()(actions).call(actions, removePropActions), isSavePatches);\n    return actions;\n  }).catch(function (error) {\n    console.error(error);\n    throw new Error(error);\n  });\n};\nvar createDataReader = function createDataReader(dataProvider, globalConfig) {\n  var keywordMapping = globalConfig.keywordMapping;\n  return _objectSpread(_objectSpread({}, dataProvider), {}, {\n    getData: function getData() {\n      return dataProvider.getData();\n    },\n    getMeta: function getMeta() {\n      return dataProvider.getMeta();\n    },\n    findControl: function findControl(idOrIds) {\n      return dataProvider.findControl(idOrIds);\n    },\n    findControlByCondition: function findControlByCondition(filterFunc) {\n      return dataProvider.findControlByCondition(filterFunc);\n    },\n    findControlType: function findControlType(idOrIds) {\n      var res = dataProvider.findControl(idOrIds);\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_14___default()(res)) {\n        return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_16___default()(res).call(res, function (control) {\n          return control[keywordMapping.type];\n        });\n      } else {\n        return res[keywordMapping.type];\n      }\n    },\n    getRootId: function getRootId() {\n      return dataProvider.getRootId();\n    }\n  });\n};\nvar dataApi = function dataApi(dataProvider, metaReader) {\n  return function (globalConfig, selectionContext, dataFactory, modelFactory, errorApi) {\n    var dataReader = createDataReader(dataProvider, globalConfig);\n    return {\n      getData: function getData() {\n        return dataProvider.getData();\n      },\n      getMeta: function getMeta() {\n        return dataProvider.getMeta();\n      },\n      resetData: function resetData(data, isSaveRedoUndo) {\n        return dataProvider.resetData(data, isSaveRedoUndo);\n      },\n      resetPatches: function resetPatches() {\n        return dataProvider.resetPatches();\n      },\n      /**\n       * 新增控件方法\n       * @param newControlItem 新增控件的数据：支持批量（[{value: Object, index?: number | undefined}]）或单个（Object）\n       *\n       */\n      // TODO：这里类型怎么达到Action[] 而且要推导出addType\n      addControl: function addControl(controlAction) {\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        });\n      },\n      // deleteControl: (idOrIds: string | Array<string>) => dataProvider.deleteControl(idOrIds),\n      deleteControl: function deleteControl(controlAction) {\n        var isSavePatches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        }, isSavePatches);\n      },\n      batchUpdateControlPropertyValues: function batchUpdateControlPropertyValues(controlAction) {\n        var isSavePatches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        }, isSavePatches);\n      },\n      attrActions: function attrActions(controlAction) {\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        });\n      },\n      swapControl: function swapControl(controlAction) {\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        });\n      },\n      insertControl: function insertControl(controlAction) {\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        });\n      },\n      customUpdateState: function customUpdateState(controlAction) {\n        return preHandlePromise({\n          globalConfig: globalConfig,\n          dataReader: dataReader,\n          selectionContext: selectionContext,\n          controlAction: controlAction,\n          dataProvider: dataProvider,\n          dataFactory: dataFactory,\n          modelFactory: modelFactory,\n          metaReader: metaReader\n        });\n      },\n      findControl: function findControl(idOrIds) {\n        return dataProvider.findControl(idOrIds);\n      },\n      findControlIndex: function findControlIndex(idOrIds) {\n        return dataProvider.findControlIndex(idOrIds);\n      },\n      findControlByCondition: function findControlByCondition(filterFunc) {\n        return dataProvider.findControlByCondition(filterFunc);\n      },\n      getRootId: function getRootId() {\n        return dataProvider.getRootId();\n      },\n      addDataChangeListener: function addDataChangeListener(listener) {\n        return dataProvider.addDataChangeListener(listener);\n      },\n      canUndo: function canUndo() {\n        return dataProvider.canUndo();\n      },\n      canRedo: function canRedo() {\n        return dataProvider.canRedo();\n      },\n      undo: function undo() {\n        return dataProvider.undo();\n      },\n      redo: function redo() {\n        return dataProvider.redo();\n      },\n      getParentControlId: function getParentControlId(controlId) {\n        return dataProvider.getParentControlId(controlId);\n      },\n      getParentControl: function getParentControl(controlId) {\n        return dataProvider.getParentControl(controlId);\n      },\n      getAllSiblings: function getAllSiblings(controlId) {\n        return dataProvider.getAllSiblings(controlId);\n      },\n      getPrevSibling: function getPrevSibling(controlId) {\n        return dataProvider.getPrevSibling(controlId);\n      },\n      getNextSibling: function getNextSibling(controlId) {\n        return dataProvider.getNextSibling(controlId);\n      },\n      moveControl: function moveControl(controlId, direction) {\n        return dataProvider.moveControl(controlId, direction);\n      },\n      isSiblings: function isSiblings(controlId1, controlId2) {\n        return dataProvider.isSiblings(controlId1, controlId2);\n      },\n      getSubControls: function getSubControls(controlId) {\n        return dataProvider.getSubControls(controlId);\n      },\n      getPropertyValue: function getPropertyValue(id, prop) {\n        var getIn = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.property)(prop);\n        return getIn(dataProvider.findControl(id));\n      },\n      getAllSubControls: function getAllSubControls(controlId) {\n        return dataProvider.getAllSubControls(controlId);\n      },\n      getAllSubControlIds: function getAllSubControlIds(controlId) {\n        return dataProvider.getAllSubControlIds(controlId);\n      },\n      getContainerControl: function getContainerControl(parent) {\n        return dataProvider.getContainerControl(parent);\n      },\n      getAllParentControls: function getAllParentControls(controlId, includeSelf) {\n        return dataProvider.getAllParentControls(controlId, includeSelf);\n      },\n      getAllParentControlIds: function getAllParentControlIds(controlId, includeSelf) {\n        return dataProvider.getAllParentControlIds(controlId, includeSelf);\n      },\n      getNextSelectedControlId: function getNextSelectedControlId(controlId) {\n        return dataProvider.getNextSelectedControlId(controlId);\n      },\n      filterControls: function filterControls(fn) {\n        return dataProvider.filterControls(fn);\n      },\n      getRealControlType: function getRealControlType(field, key) {\n        return dataProvider.getRealControlType(field, key);\n      }\n    };\n  };\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (dataApi);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/data/data-api.tsx?");

/***/ }),

/***/ 43316:
/*!*************************************************!*\
  !*** ../kd-designer/src/data/data-provider.tsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ 5848);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! immer */ 83789);\n/* harmony import */ var _utils_data__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../_utils/data */ 15400);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../../designer-utils/utils/console */ 35132);\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../type */ 84460);\n/* harmony import */ var _meta__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../meta */ 55796);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_18___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context26, _context27; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context26 = ownKeys(Object(t), !0)).call(_context26, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_3___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_2___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context27 = ownKeys(Object(t))).call(_context27, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_1___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n/**\n * @description: 如果用户层使用，自己确保默认值之类的事情\n * @param {IControlAction} action\n * @param {IData} state\n * @return {*}\n */\nvar customReduceWrapper = function customReduceWrapper(action, state) {\n  if (typeof action.value === 'function') {\n    return _objectSpread(_objectSpread({}, action), {}, {\n      value: action.value(state)\n    });\n  }\n  return action;\n};\nvar convertToArray = function convertToArray(item) {\n  if (!item) return [];\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(item)) return item;\n  return [item];\n};\n/**\n *\n * @param state immer的数据\n * @param newControlItem 添加的数据 ：批量传对象数组，单个则传对象\n * @param index 插入的index索引，-1追加到末尾\n */\nfunction addAction(action, keywordMapping) {\n  return function (state) {\n    var _ref = customReduceWrapper(action, state),\n      newControlItem = _ref.value,\n      _ref$index = _ref.index,\n      index = _ref$index === void 0 ? -1 : _ref$index,\n      _ref$isInstrucAdd = _ref.isInstrucAdd,\n      isInstrucAdd = _ref$isInstrucAdd === void 0 ? false : _ref$isInstrucAdd;\n    var items = state[keywordMapping.items];\n    var newControls = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(newControlItem) ? newControlItem : [newControlItem];\n    if (!isInstrucAdd) {\n      newControls = (0,_utils_data__WEBPACK_IMPORTED_MODULE_22__.createUniqueKeys)(newControls, items, keywordMapping);\n    }\n    if (index === -1) {\n      items.push.apply(items, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(newControls));\n    } else {\n      var _context;\n      _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default()(items).apply(items, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context = [index, 0]).call(_context, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(newControls)));\n    }\n    return state;\n  };\n}\nfunction deleteAction(action, keywordMapping) {\n  return function (state) {\n    var _ref2 = customReduceWrapper(action, state),\n      deleteId = _ref2.value;\n    var items = state[keywordMapping.items];\n    var deleteIds = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(deleteId) ? deleteId : [deleteId];\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(deleteIds).call(deleteIds, function (id) {\n      var _context2;\n      var currentItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(items).call(items, function (item) {\n        if (item[keywordMapping.id] === id) return item;\n      })).call(_context2, Boolean);\n      while (!!currentItems.length) {\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(currentItems).call(currentItems, function (currentItem) {\n          var currentIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(items).call(items, function (item) {\n            return item[keywordMapping.id] === (currentItem === null || currentItem === void 0 ? void 0 : currentItem[keywordMapping.id]);\n          });\n          if (currentIndex !== -1) {\n            _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default()(items).call(items, currentIndex, 1);\n          }\n        });\n        currentItems = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(currentItems).call(currentItems, function (res, currentItem) {\n          var _context3;\n          var childItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context3 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(items).call(items, function (item) {\n            if (item[keywordMapping.parentId] === (currentItem === null || currentItem === void 0 ? void 0 : currentItem[keywordMapping.id])) return item;\n          })).call(_context3, Boolean);\n          return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(res).call(res, childItems);\n        }, []);\n      }\n    });\n    return state;\n  };\n}\n\n/**\n *\n * @param state immer的数据\n * @param action\n * @returns\n */\nfunction updateAction(action, keywordMapping) {\n  return function (state) {\n    var _ref3 = customReduceWrapper(action, state),\n      batchUpdates = _ref3.value;\n    var items = state[keywordMapping.items];\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(batchUpdates).call(batchUpdates, function (_ref4) {\n      var _ref5 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(_ref4, 2),\n        id = _ref5[0],\n        propertyValue = _ref5[1];\n      var control = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(items).call(items, function (item) {\n        return item[keywordMapping.id] === id;\n      });\n      if (control) {\n        var _context4;\n        // mergeConfig bug\n        // Object.assign(control, propertyValue)\n        // 标识不能一样\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(_context4 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_18___default()(propertyValue)).call(_context4, function (key) {\n          if (key === keywordMapping.key) {\n            var _items = state[keywordMapping.items];\n            var allKeySet = new (_babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_19___default())(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(_items).call(_items, function (data) {\n              return data[keywordMapping.key];\n            }));\n            if (!allKeySet.has(propertyValue[key])) {\n              control[key] = propertyValue[key];\n            }\n          } else {\n            control[key] = propertyValue[key];\n          }\n        });\n      }\n    });\n    return state;\n  };\n}\nfunction removePropAction(action, keywordMapping) {\n  return function (state) {\n    var _context5;\n    var _ref6 = customReduceWrapper(action, state),\n      value = _ref6.value;\n    var _value = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(value, 2),\n      id = _value[0],\n      propNames = _value[1];\n    var item = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_context5 = state[keywordMapping.items]).call(_context5, function (item) {\n      return item[keywordMapping.id] === id;\n    });\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(propNames).call(propNames, function (propName) {\n      if (propName in item) {\n        delete item[propName];\n      }\n    });\n    return state;\n  };\n}\nfunction setAttrAction(action, keywordMapping) {\n  return function (state) {\n    var _ref7 = customReduceWrapper(action, state),\n      values = _ref7.value;\n    state = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(values).call(values, function (modifiedState, value) {\n      var attrName = value.attrName,\n        attrValue = value.value;\n      if (!attrName) return modifiedState;\n      state[attrName] = attrValue;\n      return modifiedState;\n    }, state);\n    return state;\n  };\n}\nfunction customUpdateAction(action, keywordMapping) {\n  return function (state) {\n    customReduceWrapper(action, state);\n    return state;\n  };\n}\n\n/**\n * @description 插入。isPre 为true 将originId插入到targetId前面.isPre 为false 将originId插入到targetId后面\n * @param action\n * @param keywordMapping\n * @returns\n */\nfunction insertAction(action, keywordMapping) {\n  return function (state) {\n    var _ref8 = customReduceWrapper(action, state),\n      value = _ref8.value,\n      _ref8$isInstrucAdd = _ref8.isInstrucAdd,\n      isInstrucAdd = _ref8$isInstrucAdd === void 0 ? false : _ref8$isInstrucAdd;\n    var originId = value.originId,\n      targetId = value.targetId,\n      isPre = value.isPre,\n      values = _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_20___default()(value);\n    var items = state[keywordMapping.items];\n    var originControls = [];\n    if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(values)) {\n      items = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(items).call(items, function (control) {\n        var originControl = values === null || values === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(values).call(values, function (item) {\n          return item.Id === control[keywordMapping.id];\n        });\n        if (originControl) {\n          originControls.push(_objectSpread(_objectSpread({}, control), originControl));\n          return false;\n        }\n        return true;\n      });\n\n      // 新增插入的时候\n      if (originControls.length === 0) {\n        var newControls = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(values) ? values : [values];\n        newControls = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(newControls).call(newControls, function (item) {\n          if (!item.Key && item._Type_) {\n            item.Key = item._Type_.toLowerCase();\n          }\n          return item;\n        });\n        if (!isInstrucAdd) {\n          newControls = (0,_utils_data__WEBPACK_IMPORTED_MODULE_22__.createUniqueKeys)(newControls, items, keywordMapping);\n        }\n        originControls = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(originControls).call(originControls, newControls);\n      }\n    } else {\n      items = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(items).call(items, function (control) {\n        if (control[keywordMapping.id] === originId || control[keywordMapping.parentId] === originId) {\n          originControls.push(_objectSpread({}, control));\n          return false;\n        }\n        return true;\n      });\n    }\n    var newItems = [];\n    if (targetId) {\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(items).call(items, function (control) {\n        if (control[keywordMapping.id] === targetId) {\n          var _newItems, _context6, _newItems2, _context7;\n          isPre ? (_newItems = newItems).push.apply(_newItems, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context6 = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(originControls)).call(_context6, [control])) : (_newItems2 = newItems).push.apply(_newItems2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context7 = [control]).call(_context7, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(originControls)));\n        } else {\n          newItems.push(control);\n        }\n      });\n    } else {\n      var _context8;\n      newItems = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context8 = []).call(_context8, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(items), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(originControls));\n    }\n    state[keywordMapping.items] = newItems;\n    return state;\n  };\n}\nfunction swapAction(action, keywordMapping) {\n  return function (state) {\n    var _items2, _context9;\n    var _ref9 = customReduceWrapper(action, state),\n      value = _ref9.value;\n    var origin = value.origin,\n      targetIndex = value.targetIndex,\n      targetParentId = value.targetParentId;\n    var originIds = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(origin) ? origin : [origin];\n    var items = state[keywordMapping.items];\n    var originControls = [];\n    items = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(items).call(items, function (control) {\n      var isOrigin = _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_21___default()(originIds).call(originIds, control[keywordMapping.id]);\n      if (isOrigin) {\n        var tempControl = _objectSpread(_objectSpread({}, control), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, keywordMapping.parentId, targetParentId));\n        originControls.push(tempControl);\n        return (0,immer__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(control, function (draft) {\n          draft.__isToDelete = true;\n          return draft;\n        });\n      }\n      return control;\n    });\n    _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_10___default()(_items2 = items).apply(_items2, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context9 = [targetIndex + 1, 0]).call(_context9, originControls));\n    items = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(items).call(items, function (control) {\n      return !control.__isToDelete;\n    });\n    state[keywordMapping.items] = items;\n    return state;\n  };\n}\nfunction defaultAction(action) {\n  return function (state) {\n    return state;\n  };\n}\nvar savePushPatches = function savePushPatches(actions, patches, inversePatches) {\n  if (patches.length && inversePatches.length) {\n    actions.push([patches, inversePatches]);\n  }\n};\nvar getRootIdByData = function getRootIdByData(data, keywordMapping) {\n  var _data$keywordMapping$;\n  return (_data$keywordMapping$ = data[keywordMapping.items]) === null || _data$keywordMapping$ === void 0 || (_data$keywordMapping$ = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_data$keywordMapping$).call(_data$keywordMapping$, function (item) {\n    return !item[keywordMapping.parentId];\n  })) === null || _data$keywordMapping$ === void 0 ? void 0 : _data$keywordMapping$[keywordMapping.id];\n};\n\n// TODO: 增加一个方法,多步操作化为一步堆栈\nfunction create(originMeta, originData, config, onData) {\n  (0,immer__WEBPACK_IMPORTED_MODULE_27__.enablePatches)();\n  var keywordMapping = config.keywordMapping || {};\n  var listeners = [];\n  var meta = originMeta || {};\n  var data = originData || {\n    id: '',\n    items: []\n  };\n  var rootId = getRootIdByData(originData, keywordMapping);\n  var undoActions = []; //   [redo,undo]\n  var redoActions = []; //   [redo,undo]\n  var self = {\n    getMeta: function getMeta() {\n      return meta;\n    },\n    setMeta: function setMeta(newMeta) {\n      meta = newMeta;\n    },\n    getData: function getData() {\n      return data;\n    },\n    resetData: function resetData(newData) {\n      var isSaveRedoUndo = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      // 由于immerjs 的setAutoFreeze功能, 所以还是得在produce里写\n      data = (0,immer__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(data, function (draft) {\n        return newData;\n      }, function (patches, inversePatches) {\n        isSaveRedoUndo && savePushPatches(undoActions, patches, inversePatches);\n      });\n      if (newData[keywordMapping.items] && newData[keywordMapping.items].length) {\n        // 还有其他属性？\n        rootId = getRootIdByData(newData, keywordMapping);\n      }\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.Reset,\n        value: newData\n      });\n    },\n    mergeData: function mergeData(newData) {\n      if (lodash__WEBPACK_IMPORTED_MODULE_23___default().isEqual(data, newData)) {\n        // 这里可能会导致死循环 苍穹层\n        // onData(data)\n        return;\n      }\n      data = (0,immer__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(data, function (draft) {\n        (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(draft, newData);\n      }, function (patches, inversePatches) {\n        savePushPatches(undoActions, patches, inversePatches);\n      });\n      if (newData[keywordMapping.items] && newData[keywordMapping.items].length) {\n        // 还有其他属性？\n        rootId = getRootIdByData(newData, keywordMapping);\n      }\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.MergeData,\n        value: newData\n      });\n    },\n    // TODO: mergeData 最小修改粒度收集\n    addDataChangeListener: function addDataChangeListener(listener) {\n      listeners.push(listener);\n      return function removeDataChangeListener() {\n        listeners = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(listeners).call(listeners, function (cb) {\n          return cb !== listener;\n        });\n      };\n    },\n    fireEvent: function fireEvent(event) {\n      _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('dataCtx fireEvt', event, listeners);\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_12___default()(listeners).call(listeners, function (listener) {\n        try {\n          listener(event);\n        } catch (error) {\n          _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].error(error);\n        }\n      });\n      // 放在后面防止外界行为先刷新\n      onData && onData(data, event);\n    },\n    /**\n     *  批量处理数据，包含增删改，type: 'add'|'update'|'delete'，value：对应的数据\n     * @param batchChanges [{type: 'add', value: {...}, index: 0}, {type: 'update', value: {}}, {type: 'delete', value: '12345'}]\n     */\n    batchActions: function batchActions(actions) {\n      var isSavePatches = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n      var oldData = data;\n      data = (0,immer__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(data, function (draft) {\n        var actionHandlers = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(actions).call(actions, function (action) {\n          var type = action.type;\n          switch (type) {\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.ADD:\n              return addAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.UPDATE:\n              return updateAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.DELETE:\n              return deleteAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.PASTE:\n              return addAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.Attr:\n              return setAttrAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.REMOVEPROP:\n              return removePropAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.DRAG:\n              return swapAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.CUSTOMUPDATE:\n              return customUpdateAction(action, keywordMapping);\n            case _type__WEBPACK_IMPORTED_MODULE_25__.ActionType.INSERT:\n              return insertAction(action, keywordMapping);\n            default:\n              return defaultAction(action);\n          }\n        });\n        return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(actionHandlers).call(actionHandlers, function (_state, func) {\n          return func(_state);\n        }, draft);\n      }, function (patches, inversePatches) {\n        isSavePatches && savePushPatches(undoActions, patches, inversePatches);\n      });\n      if (oldData !== data) {\n        self.fireEvent({\n          type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.BatchActions,\n          actions: actions,\n          value: data,\n          oldValue: oldData\n        });\n      }\n    },\n    findControl: function findControl(idOrIds) {\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(idOrIds)) {\n        var _context10;\n        return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context10 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(idOrIds).call(idOrIds, function (id) {\n          var _context11;\n          return _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_context11 = data[keywordMapping.items]).call(_context11, function (item) {\n            return item[keywordMapping.id] === id;\n          });\n        })).call(_context10, Boolean);\n      } else {\n        var _data$keywordMapping$2;\n        return (_data$keywordMapping$2 = data[keywordMapping.items]) === null || _data$keywordMapping$2 === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_data$keywordMapping$2).call(_data$keywordMapping$2, function (item) {\n          return item[keywordMapping.id] === idOrIds;\n        });\n      }\n    },\n    findControlIndex: function findControlIndex(idOrIds) {\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_9___default()(idOrIds)) {\n        var _context12;\n        return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context12 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(idOrIds).call(idOrIds, function (id) {\n          var _context13;\n          return _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(_context13 = data[keywordMapping.items]).call(_context13, function (item) {\n            return item[keywordMapping.id] === id;\n          });\n        })).call(_context12, Boolean);\n      } else {\n        var _context14;\n        return _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(_context14 = data[keywordMapping.items]).call(_context14, function (item) {\n          return item[keywordMapping.id] === idOrIds;\n        });\n      }\n    },\n    findControlByCondition: function findControlByCondition(filterFunc) {\n      var _context15;\n      return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context15 = data[keywordMapping.items]).call(_context15, function (item) {\n        return filterFunc(item);\n      });\n    },\n    getRootId: function getRootId() {\n      return rootId;\n    },\n    resetPatches: function resetPatches() {\n      redoActions = [];\n      undoActions = [];\n    },\n    canUndo: function canUndo() {\n      return undoActions.length > 0;\n    },\n    canRedo: function canRedo() {\n      return redoActions.length > 0;\n    },\n    undo: function undo() {\n      var action = undoActions.pop();\n      if (action) {\n        redoActions.push(action);\n        _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('redoActions', redoActions, action);\n        data = (0,immer__WEBPACK_IMPORTED_MODULE_27__.applyPatches)(data, action[1]);\n        rootId = getRootIdByData(data, keywordMapping);\n        self.fireEvent({\n          type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.Undo,\n          value: data\n        });\n      }\n    },\n    redo: function redo() {\n      var action = redoActions.pop();\n      if (action) {\n        undoActions.push(action);\n        _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_24__[\"default\"].log('undoActions', undoActions, action);\n        data = (0,immer__WEBPACK_IMPORTED_MODULE_27__.applyPatches)(data, action[0]);\n        rootId = getRootIdByData(data, keywordMapping);\n        self.fireEvent({\n          type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.Redo,\n          value: data\n        });\n      }\n    },\n    // 获取父控件ID\n    getParentControlId: function getParentControlId(controlId) {\n      var _context16;\n      var control = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_context16 = data[keywordMapping.items]).call(_context16, function (control) {\n        return control[keywordMapping.id] === controlId;\n      });\n      var parentControlId = control ? control[keywordMapping.parentId] : '';\n      return parentControlId;\n    },\n    // 获取父控件信息\n    getParentControl: function getParentControl(controlId) {\n      var parentControlId = self.getParentControlId(controlId);\n      var parentControl;\n      if (parentControlId) {\n        var _context17;\n        parentControl = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_17___default()(_context17 = data[keywordMapping.items]).call(_context17, function (control) {\n          return control[keywordMapping.id] === parentControlId;\n        });\n      }\n      return parentControl;\n    },\n    // 获取所有兄弟节点\n    getAllSiblings: function getAllSiblings(controlId) {\n      var parentControlId = self.getParentControlId(controlId);\n      var siblings = [];\n      if (parentControlId) {\n        var _context18;\n        siblings = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context18 = data[keywordMapping.items]).call(_context18, function (control) {\n          return !control._Root_ && control[keywordMapping.parentId] === parentControlId;\n        });\n      }\n      return (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(siblings);\n    },\n    // 获取当前节点的前一个节点\n    getPrevSibling: function getPrevSibling(controlId) {\n      var siblings = self.getAllSiblings(controlId);\n      var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(siblings).call(siblings, function (control) {\n        return control[keywordMapping.id] === controlId;\n      });\n      var prevIndex = index - 1;\n      return {\n        control: siblings[prevIndex],\n        index: prevIndex\n      };\n    },\n    // 获取当前控件的后一个控件\n    getNextSibling: function getNextSibling(controlId) {\n      var siblings = self.getAllSiblings(controlId);\n      var index = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(siblings).call(siblings, function (control) {\n        return control[keywordMapping.id] === controlId;\n      });\n      var nextIndex = index + 1;\n      return {\n        control: siblings[nextIndex],\n        index: nextIndex\n      };\n    },\n    moveControl: function moveControl(controlId, direction) {\n      var oldData = data;\n      var getSwapControl = self.getPrevSibling;\n      if (direction === 'forward') {\n        // 前移\n      } else if (direction === 'back') {\n        // 后移\n        getSwapControl = self.getNextSibling;\n      }\n      var swapControl = getSwapControl(controlId).control;\n      if (swapControl) {\n        var items = data[keywordMapping.items];\n        var prevSiblingId = swapControl[keywordMapping.id];\n        var prevIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(items).call(items, function (control) {\n          return control[keywordMapping.id] === prevSiblingId;\n        });\n        var currentIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_15___default()(items).call(items, function (control) {\n          return control[keywordMapping.id] === controlId;\n        });\n        data = (0,immer__WEBPACK_IMPORTED_MODULE_27__[\"default\"])(data, function (draft) {\n          var tempVariable = _objectSpread({}, swapControl);\n          draft[keywordMapping.items][prevIndex] = draft[keywordMapping.items][currentIndex];\n          draft[keywordMapping.items][currentIndex] = tempVariable;\n        }, function (patches, inversePatches) {\n          savePushPatches(undoActions, patches, inversePatches);\n        });\n        if (oldData !== data) {\n          self.fireEvent({\n            type: _type__WEBPACK_IMPORTED_MODULE_25__.DataChangeEventType.Move,\n            value: data,\n            oldValue: oldData\n          });\n        }\n      }\n    },\n    // 是否是同级节点\n    isSiblings: function isSiblings(controlId1, controlId2) {\n      var parentControlId1 = self.getParentControlId(controlId1);\n      var parentControlId2 = self.getParentControlId(controlId2);\n      if (parentControlId1 === parentControlId2) {\n        return true;\n      }\n      return false;\n    },\n    getSubControls: function getSubControls(controlId) {\n      var _context19;\n      var subControls = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context19 = data[keywordMapping.items]).call(_context19, function (control) {\n        return control[keywordMapping.parentId] === controlId;\n      });\n      return subControls;\n    },\n    // 获取当前节点和当前节点的所有子节点\n    getAllSubControls: function getAllSubControls(controlId) {\n      var controls = [];\n      controls.push(self.findControl(controlId));\n      var subControls = self.getSubControls(controlId);\n      if (subControls.length > 0) {\n        var subControlIds = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(subControls).call(subControls, function (ids, control) {\n          var _context20;\n          return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context20 = []).call(_context20, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(ids), [control[keywordMapping.id]]);\n        }, []);\n        controls = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(subControlIds).call(subControlIds, function (prev, subControlId) {\n          var _context21;\n          return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context21 = []).call(_context21, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(prev), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(self.getAllSubControls(subControlId)));\n        }, controls);\n      }\n      return controls;\n    },\n    // 获取当前节点和当前节点的所有子节点Id\n    getAllSubControlIds: function getAllSubControlIds(controlId) {\n      var controlIds = [controlId];\n      var subControls = self.getSubControls(controlId);\n      if (subControls.length > 0) {\n        var subControlIds = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(subControls).call(subControls, function (ids, control) {\n          var _context22;\n          return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context22 = []).call(_context22, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(ids), [control[keywordMapping.id]]);\n        }, []);\n        controlIds = _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_16___default()(subControlIds).call(subControlIds, function (prev, subControlId) {\n          var _context23;\n          return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context23 = []).call(_context23, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(prev), (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(self.getAllSubControlIds(subControlId)));\n        }, controlIds);\n      }\n      return controlIds;\n    },\n    getContainerControl: function getContainerControl(control) {\n      var _getControlMeta;\n      var isContainer = (_getControlMeta = (0,_meta__WEBPACK_IMPORTED_MODULE_26__.getControlMeta)((0,_meta__WEBPACK_IMPORTED_MODULE_26__.getControlType)(control, config))(meta)) === null || _getControlMeta === void 0 ? void 0 : _getControlMeta.IsContainer;\n      if (!isContainer) {\n        control = self.findControlByCondition(function (item) {\n          var _control;\n          return item[keywordMapping.id] === ((_control = control) === null || _control === void 0 ? void 0 : _control[keywordMapping.parentId]);\n        })[0];\n      }\n      return control;\n    },\n    getAllParentControls: function getAllParentControls(controlId, includeSelf) {\n      var node = self.findControl(controlId);\n      var ret = includeSelf ? [node] : [];\n      var queue = [node];\n      while (queue.length) {\n        var _node = queue.pop();\n        if (_node[keywordMapping.parentId]) {\n          var parent = self.findControl(_node[keywordMapping.parentId]);\n          if (parent) {\n            queue.push(parent);\n            ret.push(parent);\n          }\n        }\n      }\n      return ret;\n    },\n    getAllParentControlIds: function getAllParentControlIds(controlId, includeSelf) {\n      var node = self.findControl(controlId);\n      var ret = includeSelf ? [node[keywordMapping.id]] : [];\n      var queue = [node];\n      while (queue.length) {\n        var _node2 = queue.pop();\n        if (_node2[keywordMapping.parentId]) {\n          var parent = self.findControl(_node2[keywordMapping.parentId]);\n          if (parent) {\n            queue.push(parent);\n            ret.push(parent[keywordMapping.id]);\n          }\n        }\n      }\n      return ret;\n    },\n    // 获取下一个选中的焦点控件\n    getNextSelectedControlId: function getNextSelectedControlId(controlId) {\n      var _self$getPrevSibling = self.getPrevSibling(controlId),\n        prevControl = _self$getPrevSibling.control;\n      var _self$getNextSibling = self.getNextSibling(controlId),\n        nextControl = _self$getNextSibling.control;\n      var parentControlId = self.getParentControlId(controlId);\n      var nextSelectedId = controlId;\n      if (prevControl) nextSelectedId = prevControl[keywordMapping.id];else if (nextControl) nextSelectedId = nextControl[keywordMapping.id];else if (parentControlId) nextSelectedId = parentControlId;\n      return nextSelectedId;\n    },\n    // 过滤控件\n    filterControls: function filterControls(fn) {\n      var _context24;\n      return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_13___default()(_context24 = data[keywordMapping.items]).call(_context24, fn);\n    },\n    getRealControlType: function getRealControlType(field, key) {\n      var _context25;\n      if (field === undefined) return '';\n      var containerType = field.ContainerType,\n        type = field._Type_;\n      var defaultType = key === undefined ? type : field[key] || type;\n      if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_21___default()(_context25 = ['FlexPanelAp', 'FieldsetPanelAp']).call(_context25, type)) {\n        return containerType || defaultType;\n      }\n      return defaultType;\n    }\n  };\n  return self;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (create);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/data/data-provider.tsx?");

/***/ }),

/***/ 79444:
/*!**********************************************************!*\
  !*** ../kd-designer/src/editor/BorderPropertyEditor.tsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ 88836);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _common_ColorPicker__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./common/ColorPicker */ 87544);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _designer_utils_utils_hooks__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../../designer-utils/utils/hooks */ 82892);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context9, _context10; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context9 = ownKeys(Object(t), !0)).call(_context9, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context10 = ownKeys(Object(t))).call(_context10, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\nvar Option = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Select.Option;\nvar borderString2Obj = function borderString2Obj(str) {\n  if (!str) {\n    return {};\n  }\n  var array = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.split)(str, '_');\n  var obj = {};\n  obj.Width = array[0];\n  obj.Style = array[1];\n  obj.Color = array[2];\n  return obj;\n};\nvar borderObj2String = function borderObj2String(obj) {\n  if (!(obj !== null && obj !== void 0 && obj.Width)) return '';\n  var defaultWidth = '0px';\n  var defaultStyle = 'solid';\n  var defaultColor = '#000000';\n  var str = [defaultWidth, defaultStyle, defaultColor];\n  if (obj !== null && obj !== void 0 && obj.Style) {\n    str[1] = obj.Style;\n  }\n  if (obj !== null && obj !== void 0 && obj.Color) {\n    str[2] = obj.Color;\n  }\n  if (obj !== null && obj !== void 0 && obj.Width) {\n    str[0] = obj.Width;\n  }\n  return str.join('_');\n};\n\n// 快速编辑\nvar SingleBorderPanel = function SingleBorderPanel(props) {\n  var handlePropValueChange = props.handleChange,\n    _props$value = props.value,\n    propValue = _props$value === void 0 ? {} : _props$value,\n    className = props.className,\n    editor = props.editor;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState, 2),\n    showPanel = _useState2[0],\n    setShowPanel = _useState2[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var getInitialColor = function getInitialColor() {\n    var _style$Border, _style$Border2, _style$Border3, _style$Border4;\n    var style = _objectSpread({}, propValue);\n    if (!(style !== null && style !== void 0 && style.Border)) {\n      return '';\n    }\n    var t = style === null || style === void 0 || (_style$Border = style.Border) === null || _style$Border === void 0 ? void 0 : _style$Border.Top;\n    var r = style === null || style === void 0 || (_style$Border2 = style.Border) === null || _style$Border2 === void 0 ? void 0 : _style$Border2.Right;\n    var b = style === null || style === void 0 || (_style$Border3 = style.Border) === null || _style$Border3 === void 0 ? void 0 : _style$Border3.Bottom;\n    var l = style === null || style === void 0 || (_style$Border4 = style.Border) === null || _style$Border4 === void 0 ? void 0 : _style$Border4.Left;\n    t = t ? t.split('_')[2] : '';\n    r = r ? r.split('_')[2] : '';\n    b = b ? b.split('_')[2] : '';\n    l = l ? l.split('_')[2] : '';\n    if (t === r && t === b && t === l) {\n      return t;\n    }\n    return '';\n  };\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(getInitialColor()),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState3, 2),\n    colorInputValue = _useState4[0],\n    setColorInputValue = _useState4[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    setColorInputValue(function () {\n      return getInitialColor();\n    });\n  }, [propValue]);\n  var getFormatNum = function getFormatNum(value, mold, dir) {\n    var _v = '0';\n    if (mold == 'Border') {\n      var _d = value === null || value === void 0 ? void 0 : value[dir];\n      var obj = borderString2Obj(_d);\n      _v = (obj === null || obj === void 0 ? void 0 : obj.Width) || '';\n    } else {\n      _v = (value === null || value === void 0 ? void 0 : value[dir]) || '';\n    }\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_18__.endsWith)(_v, 'px')) {\n      _v = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.replace)(_v, 'px', '');\n    }\n    return _v;\n  };\n  var getPropFormatValue = function getPropFormatValue(mold) {\n    var _context4, _context5, _context6;\n    var formatValue = [];\n    var value = propValue === null || propValue === void 0 ? void 0 : propValue[mold];\n    formatValue[0] = getFormatNum(value, mold, 'Top');\n    formatValue[1] = getFormatNum(value, mold, 'Right');\n    formatValue[2] = getFormatNum(value, mold, 'Bottom');\n    formatValue[3] = getFormatNum(value, mold, 'Left');\n    if (formatValue[0] === formatValue[1] && formatValue[0] === formatValue[2] && formatValue[0] === formatValue[3]) {\n      return formatValue[0] === '0' ? '0' : formatValue[0];\n    }\n    if (formatValue[0] === formatValue[2] && formatValue[1] === formatValue[3]) {\n      var _context;\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context = \"\".concat(formatValue[0] || 0, \" \")).call(_context, formatValue[1] || 0);\n    }\n    if (formatValue[1] === formatValue[3]) {\n      var _context2, _context3;\n      return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context3 = \"\".concat(formatValue[0] || 0, \" \")).call(_context3, formatValue[1] || 0, \" \")).call(_context2, formatValue[2] || 0);\n    }\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context4 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context5 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context6 = \"\".concat(formatValue[0] || 0, \" \")).call(_context6, formatValue[1] || 0, \" \")).call(_context5, formatValue[2] || 0, \" \")).call(_context4, formatValue[3] || 0);\n  };\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getPropFormatValue('Margin');\n    }),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState5, 2),\n    margin = _useState6[0],\n    setMargin = _useState6[1];\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getPropFormatValue('Border');\n    }),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState7, 2),\n    border = _useState8[0],\n    setBorder = _useState8[1];\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getPropFormatValue('Padding');\n    }),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState9, 2),\n    padding = _useState10[0],\n    setPadding = _useState10[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    var newMargin = getPropFormatValue('Margin');\n    var newBorder = getPropFormatValue('Border');\n    var newPadding = getPropFormatValue('Padding');\n    if (margin !== newMargin) {\n      setMargin(newMargin);\n    }\n    if (border !== newBorder) {\n      setMargin(newBorder);\n    }\n    if (padding !== newPadding) {\n      setMargin(newPadding);\n    }\n  }, [propValue]);\n  var getBorderStyle = function getBorderStyle(propArr, style) {\n    var arr1, arr2, arr3, arr4;\n    var length = propArr.length;\n    if (length === 1) {\n      arr1 = arr2 = arr3 = arr4 = propArr[0];\n    } else if (length === 2) {\n      arr1 = arr3 = propArr[0];\n      arr2 = arr4 = propArr[1];\n    } else if (length === 3) {\n      arr1 = propArr[0];\n      arr2 = arr4 = propArr[1];\n      arr3 = propArr[2];\n    } else if (length === 4) {\n      arr1 = propArr[0];\n      arr2 = propArr[1];\n      arr3 = propArr[2];\n      arr4 = propArr[3];\n    }\n    var borderTop = {\n      Width: \"\".concat(arr1 || '', \"px\")\n    };\n    var borderRight = {\n      Width: \"\".concat(arr2 || '', \"px\")\n    };\n    var borderBottom = {\n      Width: \"\".concat(arr3 || '', \"px\")\n    };\n    var borderLeft = {\n      Width: \"\".concat(arr4 || '', \"px\")\n    };\n    if (style !== null && style !== void 0 && style.Border) {\n      var _style$Border5, _style$Border6, _style$Border7, _style$Border8;\n      /* 某个direction不存在的情况 */\n      borderTop = _objectSpread(_objectSpread({}, borderString2Obj(style === null || style === void 0 || (_style$Border5 = style.Border) === null || _style$Border5 === void 0 ? void 0 : _style$Border5.Top)), {}, {\n        Width: \"\".concat(arr1, \"px\")\n      });\n      borderRight = _objectSpread(_objectSpread({}, borderString2Obj(style === null || style === void 0 || (_style$Border6 = style.Border) === null || _style$Border6 === void 0 ? void 0 : _style$Border6.Right)), {}, {\n        Width: \"\".concat(arr2, \"px\")\n      });\n      borderBottom = _objectSpread(_objectSpread({}, borderString2Obj(style === null || style === void 0 || (_style$Border7 = style.Border) === null || _style$Border7 === void 0 ? void 0 : _style$Border7.Bottom)), {}, {\n        Width: \"\".concat(arr3, \"px\")\n      });\n      borderLeft = _objectSpread(_objectSpread({}, borderString2Obj(style === null || style === void 0 || (_style$Border8 = style.Border) === null || _style$Border8 === void 0 ? void 0 : _style$Border8.Left)), {}, {\n        Width: \"\".concat(arr4, \"px\")\n      });\n    }\n    return {\n      Top: borderObj2String(borderTop),\n      Right: borderObj2String(borderRight),\n      Bottom: borderObj2String(borderBottom),\n      Left: borderObj2String(borderLeft)\n    };\n  };\n  var updateMoldStyle = function updateMoldStyle(style, mold, tmp) {\n    var _style = style;\n    if (!_style) {\n      _style = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, mold, tmp);\n      handlePropValueChange(_style);\n    } else {\n      handlePropValueChange(_objectSpread(_objectSpread({}, style), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, mold, tmp)));\n    }\n  };\n  var handleInputChange = function handleInputChange(val, mold) {\n    var _context7, _context8;\n    var reg = /^[\\d\\s]*$/;\n    if (!reg.test(val)) return;\n    var propArr = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default()(_context7 = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_13___default()(_context8 = val.replace(/(^\\s*)|(\\s*$)/g, '').replace(/\\s{2,}/g, ' ').split(' ')).call(_context8, 0, 4)).call(_context7, function (v) {\n      // if (mold === 'Border') {\n      //   return checkStyleBorderWidth(val, this.props.uiInfo, this.props.notifyMsg)\n      // }\n      return v;\n    });\n    var _val = propArr.length === 4 ? propArr.join(' ') : val;\n    if (mold === 'Border') {\n      setBorder(_val);\n    } else if (mold === 'Padding') {\n      setPadding(_val);\n    } else if (mold === 'Margin') {\n      setMargin(_val);\n    }\n    // this.setState({\n    //   [mold]: _val\n    // })\n\n    var style = _objectSpread({}, propValue);\n    if (propArr.length === 1) {\n      /* 处理val为空字符串 */\n      var isNothing = propArr[0] === '';\n      if (mold === 'Border') {\n        var tmp = isNothing ? {} : getBorderStyle(propArr, style);\n        updateMoldStyle(style, mold, tmp);\n      } else {\n        var _tmp = isNothing ? {} : {\n          Top: \"\".concat(propArr[0], \"px\"),\n          Right: \"\".concat(propArr[0], \"px\"),\n          Bottom: \"\".concat(propArr[0], \"px\"),\n          Left: \"\".concat(propArr[0], \"px\")\n        };\n        updateMoldStyle(style, mold, _tmp);\n      }\n    } else if (propArr.length === 2) {\n      if (mold === 'Border') {\n        var _tmp2 = getBorderStyle(propArr, style);\n        updateMoldStyle(style, mold, _tmp2);\n      } else {\n        var _tmp3 = {\n          Top: \"\".concat(propArr[0], \"px\"),\n          Right: \"\".concat(propArr[1], \"px\"),\n          Bottom: \"\".concat(propArr[0], \"px\"),\n          Left: \"\".concat(propArr[1], \"px\")\n        };\n        updateMoldStyle(style, mold, _tmp3);\n      }\n    } else if (propArr.length === 3) {\n      if (mold === 'Border') {\n        var _tmp4 = getBorderStyle(propArr, style);\n        updateMoldStyle(style, mold, _tmp4);\n      } else {\n        var _tmp5 = {\n          Top: \"\".concat(propArr[0], \"px\"),\n          Right: \"\".concat(propArr[1], \"px\"),\n          Bottom: \"\".concat(propArr[2], \"px\"),\n          Left: \"\".concat(propArr[1], \"px\")\n        };\n        updateMoldStyle(style, mold, _tmp5);\n      }\n    } else if (propArr.length === 4) {\n      if (mold === 'Border') {\n        var _tmp6 = getBorderStyle(propArr, style);\n        updateMoldStyle(style, mold, _tmp6);\n      } else {\n        var _tmp7 = {\n          Top: \"\".concat(propArr[0], \"px\"),\n          Right: \"\".concat(propArr[1], \"px\"),\n          Bottom: \"\".concat(propArr[2], \"px\"),\n          Left: \"\".concat(propArr[3], \"px\")\n        };\n        updateMoldStyle(style, mold, _tmp7);\n      }\n    }\n  };\n  var getDirBorderColor = function getDirBorderColor(style, color, dir) {\n    var _style$Border9;\n    var topBorderDirection = style === null || style === void 0 || (_style$Border9 = style.Border) === null || _style$Border9 === void 0 ? void 0 : _style$Border9[dir];\n    var obj = borderString2Obj(topBorderDirection);\n    obj.Color = color;\n    return borderObj2String(obj);\n  };\n  var handleColorInputChange = function handleColorInputChange(event) {\n    var targetValue = event.target.value;\n    setColorInputValue(targetValue);\n    var pattern = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;\n    if (targetValue.match(pattern) || /^themeColor/.test(targetValue)) {\n      onColorChange(targetValue);\n    }\n  };\n  var onColorChange = function onColorChange(color) {\n    var _style3;\n    var style = _objectSpread({}, propValue);\n    if (!style) {\n      style = {};\n    }\n    if (!((_style3 = style) !== null && _style3 !== void 0 && _style3.Border)) {\n      style.Border = {};\n      setBorder('1');\n    }\n    var tBorder = getDirBorderColor(style, color, 'Top');\n    var rBorder = getDirBorderColor(style, color, 'Right');\n    var bBorder = getDirBorderColor(style, color, 'Bottom');\n    var lBorder = getDirBorderColor(style, color, 'Left');\n    style.Border = _objectSpread(_objectSpread({}, style.Border), {}, {\n      Top: tBorder,\n      Right: rBorder,\n      Bottom: bBorder,\n      Left: lBorder\n    });\n    handlePropValueChange(style);\n  };\n\n  // const color = getColor(getInitialColor())\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"singleBorderpanel\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"singlepanel-item\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0001')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Input, {\n    borderType: \"bordered\",\n    value: margin,\n    onChange: function onChange(e) {\n      return handleInputChange(e.target.value, 'Margin');\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"singlepanel-item\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0002')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Input, {\n    borderType: \"bordered\",\n    value: padding,\n    onChange: function onChange(e) {\n      return handleInputChange(e.target.value, 'Padding');\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"singlepanel-item\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0003')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Input, {\n    borderType: \"bordered\",\n    value: border,\n    onChange: function onChange(e) {\n      return handleInputChange(e.target.value, 'Border');\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"singlepanel-item\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0004')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-color-editor\"),\n    ref: ref\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_16__.ColorPrefixIcon, {\n    className: \"\".concat(className, \"-color-editor\"),\n    type: \"backgroundColor\",\n    color: colorInputValue,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Input, {\n    className: \"\".concat(className, \"-color-editor-input\"),\n    ref: inputRef,\n    borderType: \"bordered\",\n    value: colorInputValue,\n    onChange: handleColorInputChange,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    triggerDom: ref,\n    showPanel: showPanel,\n    colorValue: colorInputValue,\n    onClosePanel: function onClosePanel() {\n      setShowPanel(false);\n    },\n    onChange: onColorChange\n  })));\n};\nvar EditBox = function EditBox(_ref) {\n  var title = _ref.title,\n    bgc = _ref.bgc,\n    mold = _ref.mold,\n    children = _ref.children,\n    value = _ref.value,\n    onChange = _ref.onChange,\n    onFocus = _ref.onFocus;\n  var getValue = function getValue(value, direction) {\n    var defaultValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '0';\n    var _v = '';\n    if (value) {\n      if (mold == 'Border') {\n        var _d = value[direction];\n        if (_d === '') {\n          _v = '';\n        } else {\n          var obj = borderString2Obj(_d);\n          _v = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.isUndefined)(obj === null || obj === void 0 ? void 0 : obj.Width) ? defaultValue : obj === null || obj === void 0 ? void 0 : obj.Width;\n        }\n      } else {\n        _v = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.isUndefined)(value[direction]) ? defaultValue : value[direction];\n      }\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_18__.endsWith)(_v, 'px')) {\n        _v = (0,lodash__WEBPACK_IMPORTED_MODULE_18__.replace)(_v, 'px', '');\n      }\n    }\n    return _v;\n  };\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getValue(value, 'Top');\n    }),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState11, 2),\n    topValue = _useState12[0],\n    setTopValue = _useState12[1];\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getValue(value, 'Left');\n    }),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState13, 2),\n    leftValue = _useState14[0],\n    setLeftValue = _useState14[1];\n  var _useState15 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getValue(value, 'Right');\n    }),\n    _useState16 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState15, 2),\n    rightValue = _useState16[0],\n    setRightValue = _useState16[1];\n  var _useState17 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(function () {\n      return getValue(value, 'Bottom');\n    }),\n    _useState18 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState17, 2),\n    bottomValue = _useState18[0],\n    setBottomValue = _useState18[1];\n  var handleChange = function handleChange(value, mold, direction) {\n    var map = new (_babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_14___default())([['Top', setTopValue], ['Left', setLeftValue], ['Right', setRightValue], ['Bottom', setBottomValue]]);\n    var inputChangeFn = map.get(direction);\n    inputChangeFn === null || inputChangeFn === void 0 || inputChangeFn(value);\n    onChange && onChange(value, mold, direction);\n  };\n  var handleFocus = function handleFocus(mold, direction) {\n    onFocus && onFocus(mold, direction);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    var newTopValue = getValue(value, 'Top');\n    var newLeftValue = getValue(value, 'Left');\n    var newRightValue = getValue(value, 'Right');\n    var newBottomValue = getValue(value, 'Bottom');\n    if (newTopValue !== topValue) {\n      setTopValue(function () {\n        return getValue(value, 'Top');\n      });\n    }\n    if (newLeftValue !== leftValue) {\n      setLeftValue(function () {\n        return getValue(value, 'Left');\n      });\n    }\n    if (newRightValue !== rightValue) {\n      setRightValue(function () {\n        return getValue(value, 'Right');\n      });\n    }\n    if (newBottomValue !== bottomValue) {\n      setBottomValue(function () {\n        return getValue(value, 'Bottom');\n      });\n    }\n  }, [value]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"\".concat(bgc, \" marginbox\"),\n    tabIndex: -1\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"top\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"span\", {\n    className: \"title\"\n  }, title), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"value\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n    className: \"ip\",\n    onChange: function onChange(e) {\n      return handleChange(e.target.value, mold, 'Top');\n    },\n    onFocus: function onFocus(e) {\n      return handleFocus(mold, 'Top');\n    },\n    value: topValue\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"center\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"value\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n    className: \"ip\",\n    onChange: function onChange(e) {\n      return handleChange(e.target.value, mold, 'Left');\n    },\n    onFocus: function onFocus(e) {\n      return handleFocus(mold, 'Left');\n    },\n    value: leftValue\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"content\"\n  }, children), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"value\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n    className: \"ip\",\n    onChange: function onChange(e) {\n      return handleChange(e.target.value, mold, 'Right');\n    },\n    onFocus: function onFocus(e) {\n      return handleFocus(mold, 'Right');\n    },\n    value: rightValue\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"bottom\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"value\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"input\", {\n    className: \"ip\",\n    onChange: function onChange(e) {\n      return handleChange(e.target.value, mold, 'Bottom');\n    },\n    onFocus: function onFocus(e) {\n      return handleFocus(mold, 'Bottom');\n    },\n    value: bottomValue\n  }))));\n};\nvar BorderPropertyEditor = function BorderPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    _props$value2 = props.value,\n    propValue = _props$value2 === void 0 ? {} : _props$value2,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title;\n  var _useState19 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState20 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState19, 2),\n    showBorder = _useState20[0],\n    setShowBorder = _useState20[1];\n  var _useState21 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState22 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState21, 2),\n    showSpecialEditBox = _useState22[0],\n    setShowSpecialEditBox = _useState22[1];\n  var _useState23 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(''),\n    _useState24 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState23, 2),\n    selectDirection = _useState24[0],\n    setSelectDirection = _useState24[1];\n  var _useState25 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState26 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState25, 2),\n    showPanel = _useState26[0],\n    setShowPanel = _useState26[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var editBoxRef = (0,react__WEBPACK_IMPORTED_MODULE_15__.useRef)(null);\n  var _useState27 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(false),\n    _useState28 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState27, 2),\n    editBoxFocused = _useState28[0],\n    setEditBoxFocused = _useState28[1];\n  var borderStyles = ['solid', 'dotted', 'dashed'];\n  var panelStyle = classnames__WEBPACK_IMPORTED_MODULE_19___default()({\n    borderpanel: true,\n    hidden: !showBorder\n  });\n  var border = (propValue === null || propValue === void 0 ? void 0 : propValue.Border) || {};\n  var borderObj = borderString2Obj(border === null || border === void 0 ? void 0 : border[selectDirection]);\n  var currentBorderColor = borderObj === null || borderObj === void 0 ? void 0 : borderObj.Color;\n  var _useState29 = (0,react__WEBPACK_IMPORTED_MODULE_15__.useState)(currentBorderColor || ''),\n    _useState30 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_10__[\"default\"])(_useState29, 2),\n    colorInputValue = _useState30[0],\n    setColorInputValue = _useState30[1];\n  var borderStyle = borderObj === null || borderObj === void 0 ? void 0 : borderObj.Style;\n  (0,react__WEBPACK_IMPORTED_MODULE_15__.useEffect)(function () {\n    setColorInputValue(currentBorderColor || '');\n  }, [currentBorderColor]);\n  var getPropValue = function getPropValue(mold) {\n    if (!propValue) return {};\n    return propValue[mold] || {};\n  };\n  var handleClick = function handleClick(e) {\n    setShowSpecialEditBox(function (flag) {\n      return !flag;\n    });\n  };\n  var onFocus = function onFocus(mold, direction) {\n    setEditBoxFocused(true);\n    if (mold === 'Border') {\n      setShowBorder(true);\n      setSelectDirection(direction);\n    } else {\n      setShowBorder(false);\n    }\n  };\n  var onChange = function onChange(value, mold, direction) {\n    var style = _objectSpread({}, propValue);\n    if (mold === 'Border') {\n      // value = checkStyleBorderWidth(value, this.props.uiInfo, this.props.notifyMsg)\n    }\n    var size = value ? \"\".concat(value, \"px\") : '';\n    var _direction = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, direction, size);\n    if (!style) {\n      if (mold === 'Border') {\n        var obj = {};\n        obj.Width = size;\n        var str = borderObj2String(obj);\n        _direction[direction] = str;\n        handleChange({\n          Border: _direction\n        });\n      } else {\n        handleChange((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, mold, _direction));\n      }\n    } else {\n      if (mold === 'Border') {\n        if (style !== null && style !== void 0 && style[mold]) {\n          var _style$mold;\n          var borderDirection = style === null || style === void 0 || (_style$mold = style[mold]) === null || _style$mold === void 0 ? void 0 : _style$mold[direction];\n          var _obj = borderString2Obj(borderDirection);\n          _obj.Width = size;\n          var _str = borderObj2String(_obj);\n          style[mold] = _objectSpread(_objectSpread({}, style[mold]), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, direction, _str));\n          handleChange(_objectSpread(_objectSpread({}, style), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, mold, _objectSpread(_objectSpread({}, style[mold]), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, direction, _str)))));\n        } else {\n          var _obj2 = {};\n          _obj2.Width = size;\n          var _str2 = borderObj2String(_obj2);\n          _direction = (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, direction, _str2);\n          // style[mold] = _direction\n          // handleChange(style)\n          handleChange(_objectSpread(_objectSpread({}, style), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, mold, _direction)));\n        }\n      } else {\n        if (style !== null && style !== void 0 && style[mold]) {\n          style[mold] = _objectSpread(_objectSpread({}, style[mold]), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, direction, size));\n          handleChange(style);\n        } else {\n          style[mold] = _direction;\n          handleChange(style);\n        }\n      }\n    }\n  };\n  var clearStyle = function clearStyle() {\n    handleChange(undefined);\n  };\n  var handleColorInputChange = function handleColorInputChange(e) {\n    var targetValue = e.target.value;\n    setColorInputValue(targetValue);\n    var pattern = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;\n    if (targetValue.match(pattern) || /^themeColor/.test(targetValue)) {\n      handleColorChange(targetValue);\n    }\n  };\n  var handleColorChange = function handleColorChange(color) {\n    var _style4, _style5;\n    var style = _objectSpread({}, propValue);\n    if (!style) {\n      style = {};\n    }\n    if (!((_style4 = style) !== null && _style4 !== void 0 && _style4.Border)) {\n      style.Border = {};\n    }\n    var borderDirection = (_style5 = style) === null || _style5 === void 0 || (_style5 = _style5.Border) === null || _style5 === void 0 ? void 0 : _style5[selectDirection];\n    var obj = borderString2Obj(borderDirection);\n    obj.Color = color;\n    if (!(obj !== null && obj !== void 0 && obj.Width)) {\n      obj.Width = '1px'; // 色值跟width关联\n    }\n    var str = borderObj2String(obj);\n    style.Border = _objectSpread(_objectSpread({}, style.Border), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, selectDirection, str));\n    handleChange(style);\n  };\n  var handleStyleChange = function handleStyleChange(newVal) {\n    var _style6, _style7;\n    var style = _objectSpread({}, propValue);\n    if (!style) {\n      style = {};\n    }\n    if (!((_style6 = style) !== null && _style6 !== void 0 && _style6.Border)) {\n      style.Border = {};\n    }\n    var borderDirection = (_style7 = style) === null || _style7 === void 0 || (_style7 = _style7.Border) === null || _style7 === void 0 ? void 0 : _style7[selectDirection];\n    var obj = borderString2Obj(borderDirection);\n    obj.Style = newVal;\n    if (!(obj !== null && obj !== void 0 && obj.Width)) {\n      obj.Width = '1px'; // Style跟width关联\n    }\n    var str = borderObj2String(obj);\n    style.Border = _objectSpread(_objectSpread({}, style.Border), {}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, selectDirection, str));\n    handleChange(style);\n  };\n  (0,_designer_utils_utils_hooks__WEBPACK_IMPORTED_MODULE_20__.useOnClickOutside)([editBoxRef], function () {\n    setEditBoxFocused(false);\n    // setShowBorder(false)\n  });\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement((react__WEBPACK_IMPORTED_MODULE_15___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-border-editor\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"editTab\",\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"i\", {\n    className: \"kdfont kdfont-yijiaoyingyonghuise\"\n  }), showSpecialEditBox ? (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0005') : (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0006')), !showSpecialEditBox ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    ref: editBoxRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_19___default()(['edit-box-wrap', {\n      'edit-box-wrap-focused': editBoxFocused\n    }])\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(EditBox, {\n    title: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0001'),\n    mold: \"Margin\",\n    bgc: \"marginbgc\",\n    onFocus: onFocus,\n    value: getPropValue('Margin'),\n    onChange: onChange\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(EditBox, {\n    title: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0003'),\n    mold: \"Border\",\n    bgc: \"borderbgc\",\n    onFocus: onFocus,\n    value: getPropValue('Border'),\n    onChange: onChange\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(EditBox, {\n    title: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_22__.getLangMsg)('designer.editor.key0002'),\n    mold: \"Padding\",\n    bgc: \"paddingbgc\",\n    onFocus: onFocus,\n    value: getPropValue('Padding'),\n    onChange: onChange\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"whbox\",\n    onClick: clearStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"i\", {\n    className: \"arrow kdfont kdfont-shuaxin\",\n    \"aria-hidden\": \"true\"\n  }))))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"line-box top-left\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"line-box bottom-left\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"line-box top-right\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"line-box bottom-right\"\n  })), showBorder && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: panelStyle\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"panel-edit-box\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-color-editor\"),\n    ref: ref\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_16__.ColorPrefixIcon, {\n    className: \"\".concat(className, \"-color-editor\"),\n    type: \"backgroundColor\",\n    color: colorInputValue,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Input, {\n    className: \"\".concat(className, \"-color-editor-input\"),\n    ref: inputRef,\n    borderType: \"bordered\",\n    value: colorInputValue,\n    onChange: handleColorInputChange,\n    disabled: locked,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {\n    triggerDom: ref,\n    showPanel: showPanel,\n    colorValue: colorInputValue,\n    onClosePanel: function onClosePanel() {\n      setShowPanel(false);\n    },\n    onChange: handleColorChange\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n    className: \"panel-edit-box\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_17__.Select, {\n    scrollHidden: true,\n    borderType: \"bordered\",\n    placeholder: \"\",\n    onChange: handleStyleChange,\n    value: borderStyle,\n    dropdownRender: function dropdownRender(originNode) {\n      var _originNode$props$chi;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().cloneElement(originNode, {}, (_originNode$props$chi = originNode.props.children) === null || _originNode$props$chi === void 0 || (_originNode$props$chi = _originNode$props$chi.props.data) === null || _originNode$props$chi === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default()(_originNode$props$chi).call(_originNode$props$chi, function (node) {\n        var borderType = node.props.value;\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().cloneElement(node, {}, [/*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(\"div\", {\n          style: {\n            marginTop: '5px',\n            border: \"\".concat(borderType, \" 1px #000\"),\n            flexGrow: 1\n          }\n        })]);\n      }));\n    }\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_12___default()(borderStyles).call(borderStyles, function (item, index) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(Option, {\n      key: index,\n      style: {\n        display: 'flex',\n        alignItems: 'center',\n        height: '28px'\n      },\n      value: item\n    }, item);\n  }))))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_15___default().createElement(SingleBorderPanel, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, props, {\n    onColorChange: handleColorChange\n  }))));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (BorderPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/BorderPropertyEditor.tsx?");

/***/ }),

/***/ 78764:
/*!*****************************************************************!*\
  !*** ../kd-designer/src/editor/CheckboxGroupPropertyEditor.tsx ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__);\n\n\n\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2023-05-06 09:40:36\n * @Description: ...\n */\n\n\n\nvar IVALID_FILTER_TYPE = ['1403', '1404'];\nvar CheckboxGroupPropertyEditor = function CheckboxGroupPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips,\n    lockType = props.LockType,\n    field = props.field,\n    id = props.Id,\n    originPropsValue = props._originPropsValue_;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title;\n  var items = editor.Enum;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(function () {\n      return value ? value.split(',') : [];\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    checkBoxValue = _useState2[0],\n    setCheckBoxValue = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var checkBoxStringVal = checkBoxValue.join(',');\n    if (checkBoxStringVal !== value) {\n      setCheckBoxValue(value ? value.split(',') : []);\n    }\n  }, [value]);\n  var handleCheckboxChange = (0,react__WEBPACK_IMPORTED_MODULE_4__.useCallback)(function (newVal) {\n    setCheckBoxValue(newVal);\n  }, [handleChange]);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var newVal = checkBoxValue.length ? checkBoxValue.join(',') : '';\n    if (newVal !== value) {\n      handleChange(newVal);\n    }\n  }, [checkBoxValue]);\n  var _Type_ = field._Type_,\n    Type = field.Type;\n  // 列表过滤出配置短日期，屏蔽时间和时间范围项，后端类型固定无法兼容\n  if (Type === 'date' && _Type_ === 'CommonDateFilterColumnAp') {\n    items = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_1___default()(items).call(items, function (ele) {\n      return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(IVALID_FILTER_TYPE).call(IVALID_FILTER_TYPE, ele === null || ele === void 0 ? void 0 : ele.Id);\n    });\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Checkbox.Group, {\n    disabled: locked,\n    value: checkBoxValue,\n    className: \"\".concat(className, \"-checkbox-group\"),\n    onChange: handleCheckboxChange\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(items).call(items, function (item) {\n    var itemDisible = item.Disabled || !locked && lockType === 'speciallock' && (originPropsValue === null || originPropsValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(originPropsValue).call(originPropsValue, item.Id)) && (checkBoxValue === null || checkBoxValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_2___default()(checkBoxValue).call(checkBoxValue, item.Id));\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Checkbox, {\n      key: item.Value || item.Id,\n      value: item.Value || item.Id,\n      disabled: itemDisible\n    }, item.Name);\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CheckboxGroupPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/CheckboxGroupPropertyEditor.tsx?");

/***/ }),

/***/ 98020:
/*!************************************************************!*\
  !*** ../kd-designer/src/editor/CheckboxPropertyEditor.tsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__);\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-23 15:13:23\n * @Description: ...\n */\n\n\n\nvar CheckboxPropertyEditor = function CheckboxPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    locked = props.locked,\n    className = props.className,\n    editor = props.editor,\n    name = props.Name,\n    tips = props.Tips,\n    onLinkClick = props.onLinkClick;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.Checkbox, {\n    checked: value || false,\n    disabled: locked,\n    onChange: function onChange(evt) {\n      handleChange(evt.target.checked);\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    onLinkClick: onLinkClick\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CheckboxPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/CheckboxPropertyEditor.tsx?");

/***/ }),

/***/ 14368:
/*!*********************************************************!*\
  !*** ../kd-designer/src/editor/ColorPropertyEditor.tsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _common_ColorPicker__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./common/ColorPicker */ 87544);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n\n\n\n\n\nvar ColorPropertyEditor = function ColorPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = editor.NameHidden,\n    _editor$Prefix = editor.Prefix,\n    prefix = _editor$Prefix === void 0 ? {} : _editor$Prefix,\n    required = editor.Required,\n    title = editor.Title;\n  var _prefix$Type = prefix.Type,\n    type = _prefix$Type === void 0 ? 'foreColor' : _prefix$Type;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    showPanel = _useState2[0],\n    setShowPanel = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(value || ''),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    innerValue = _useState4[0],\n    setInnerValue = _useState4[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);\n  var ref = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);\n  var handleChangeInput = function handleChangeInput(event) {\n    var targetValue = event.target.value;\n    setInnerValue(targetValue);\n    handleChange(targetValue);\n  };\n  var handleChangeComplete = function handleChangeComplete(color) {\n    handleChange(color);\n  };\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    if (value !== innerValue) {\n      setInnerValue(value);\n    }\n  }, [value]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-color-editor\"),\n    ref: ref\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_2__.ColorPrefixIcon, {\n    className: \"\".concat(className, \"-color-editor\"),\n    type: type,\n    color: value,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.Input, {\n    className: \"\".concat(className, \"-color-editor-input\"),\n    ref: inputRef,\n    borderType: \"bordered\",\n    value: innerValue,\n    onChange: handleChangeInput,\n    disabled: locked,\n    onClick: function onClick() {\n      setShowPanel(true);\n    }\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_common_ColorPicker__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    triggerDom: ref,\n    showPanel: !locked && showPanel,\n    colorValue: value,\n    onClosePanel: function onClosePanel() {\n      setShowPanel(false);\n    },\n    onChange: handleChangeComplete\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ColorPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/ColorPropertyEditor.tsx?");

/***/ }),

/***/ 20616:
/*!**********************************************************!*\
  !*** ../kd-designer/src/editor/CustomPropertyEditor.tsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _alias_data__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../alias-data */ 8744);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-08 15:14:46\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:44:44\n * @Description: ...\n */\n\n\n\n\n\n\n\nvar EditorPropertyCustomInput = function EditorPropertyCustomInput(props) {\n  var _value = props.value,\n    className = props.className,\n    editor = props.editor,\n    propName = props.propName,\n    field = props.field,\n    handleChange = props.handleChange,\n    _onCustomInputClick = props.onCustomInputClick,\n    handleClear = props.handleClear,\n    readOnly = props.ReadOnly,\n    locked = props.locked;\n  var Default = editor.Default,\n    nameHidden = editor.NameHidden,\n    btnName = editor.BtnName,\n    maxLength = editor.MaxLength,\n    _editor$Editable = editor.Editable,\n    editable = _editor$Editable === void 0 ? false : _editor$Editable,\n    _editor$Alias = editor.Alias,\n    alias = _editor$Alias === void 0 ? false : _editor$Alias,\n    _editor$Required = editor.Required,\n    required = _editor$Required === void 0 ? false : _editor$Required,\n    title = editor.Title;\n  var name = props.Name,\n    tips = props.Tips,\n    lockType = props.LockType;\n  var inputProps = {\n    style: {},\n    borderType: 'bordered'\n  };\n  if (editable === true) {\n    (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(inputProps, {\n      maxLength: maxLength\n    });\n  }\n  var value = _value;\n  if (alias === true) {\n    _designer_utils__WEBPACK_IMPORTED_MODULE_8__.console.log('alias', value);\n    value = _value && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_value) === 'object' ? _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_2___default()(_value) : _value;\n  }\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_6__[\"default\"]),\n    onCustomInputClick = _useContext.onCustomInputClick,\n    getEditorFormatValue = _useContext.getEditorFormatValue,\n    keywordMapping = _useContext.keywordMapping;\n  var forceUpdate = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_8__.useForceUpdate)();\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_3__.useContext)(_alias_data__WEBPACK_IMPORTED_MODULE_7__.AliasDataContext),\n    addAliasDataChangeListener = _useContext2.addAliasDataChangeListener,\n    getAliasDataPropValue = _useContext2.getAliasDataPropValue;\n  var originValue = value || Default;\n  var renderValue = getEditorFormatValue(propName, field, editor) || (originValue && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(originValue) === 'object' ? _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_2___default()(originValue) : originValue);\n  (0,react__WEBPACK_IMPORTED_MODULE_3__.useEffect)(function () {\n    var subscribe = addAliasDataChangeListener(function () {\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_9__.isEqual)(renderValue, getAliasDataPropValue(field[keywordMapping.type], propName, originValue))) {\n        forceUpdate();\n      }\n    });\n    return function () {\n      subscribe();\n    };\n  }, [renderValue, field[keywordMapping.type], propName, originValue]);\n  // locktype=speciallock时，按钮允许点击弹出弹窗查看属性内容\n  var disableBtn = (readOnly || locked) && lockType !== 'speciallock';\n  var onClick = function onClick() {\n    if (disableBtn) return;\n    // 实体相关应该在上层自己构造\n    if (_onCustomInputClick) {\n      _onCustomInputClick && _onCustomInputClick(propName, field, editor);\n    } else {\n      onCustomInputClick && onCustomInputClick(propName, field, editor);\n    }\n  };\n  var showClearBtn = editable === false && !required && !!_value && !readOnly && !locked && lockType !== 'speciallock';\n  // 值为undefined时，kui组件会更新用户输入的值。editable为false，不应该影响用户输入的值，所以改成''\n  var inputValue = renderValue === undefined && editable === false ? '' : renderValue;\n  if (btnName) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      className: \"\".concat(className, \"-custom-editor\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n      nameHidden: nameHidden,\n      className: className,\n      name: name,\n      tips: tips,\n      required: required,\n      title: title\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"span\", {\n      onClick: onClick,\n      className: \"\".concat(className, \"-custom-btn\")\n    }, btnName)));\n  }\n  var disableInput = readOnly || locked || lockType === 'speciallock';\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-custom-input\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4__.Input, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])({}, inputProps, {\n    value: inputValue,\n    readOnly: disableInput,\n    disabled: disableInput,\n    suffix: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement((react__WEBPACK_IMPORTED_MODULE_3___default().Fragment), null, showClearBtn && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(\"div\", {\n      title: \"\",\n      className: \"\".concat(className, \"-clear\"),\n      onClick: function onClick() {\n        if (handleClear) {\n          handleClear(Default);\n        } else {\n          handleChange(Default); // || '' 不用空串兜底\n        }\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4__.Icon, {\n      type: \"close\"\n    })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_4__.Icon, {\n      prefix: \"designericon\",\n      type: \"gengduo\",\n      style: {\n        cursor: disableBtn ? 'not-allow' : 'pointer'\n      },\n      onClick: onClick\n    }))\n  }))));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditorPropertyCustomInput);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/CustomPropertyEditor.tsx?");

/***/ }),

/***/ 86140:
/*!**************************************************************!*\
  !*** ../kd-designer/src/editor/DatePickerPropertyEditor.tsx ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   EditorPropertyDatePicker: function() { return /* binding */ EditorPropertyDatePicker; },\n/* harmony export */   EditorPropertyTimePicker: function() { return /* binding */ EditorPropertyTimePicker; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n\n/*\n * @Description: 日期选择编辑器\n * @Author: jianhang_he\n * @Date: 2022-08-09 17:17:51\n * @LastEditTime: 2023-11-16 11:16:54\n * @Last Modified by: jianhang_he\n */\n\n\n\nvar EditorPropertyDatePicker = function EditorPropertyDatePicker(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    picker = props.picker,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    allowClear = editor.AllowClear,\n    borderType = editor.BorderType,\n    placeholder = editor.Placeholder,\n    title = editor.Title,\n    editorPicker = editor.Picker;\n\n  // 暂时不知道想要获取什么值和属性，用到的时候才改造吧 包括handleChange\n  // const defaultValue = useMemo(() => {\n  //   return value ?? ''\n  // }, [value])\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_2__.DatePicker, {\n    className: \"\".concat(className, \"-datepicker-editor\"),\n    dropdownClassName: \"\".concat(className, \"-datepickerpanel-editor\"),\n    disabled: locked,\n    borderType: borderType,\n    allowClear: allowClear,\n    onOk: handleChange,\n    onChange: handleChange,\n    picker: editorPicker || picker,\n    placeholder: placeholder\n  }));\n};\nvar EditorPropertyTimePicker = function EditorPropertyTimePicker(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(EditorPropertyDatePicker, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    picker: \"time\"\n  }));\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditorPropertyDatePicker);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/DatePickerPropertyEditor.tsx?");

/***/ }),

/***/ 5576:
/*!*************************************************************!*\
  !*** ../kd-designer/src/editor/DaterangePropertyEditor.tsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-16 13:57:05\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-23 15:11:54\n * @Description: ...\n */\n\n\n\nvar DaterangePropertyEditor = function DaterangePropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title;\n  var handleRangeChange = function handleRangeChange(dates, dateStrings) {\n    var valueToString = dateStrings.join(',');\n    if (valueToString === ',') {\n      valueToString = '';\n    }\n    handleChange(valueToString);\n  };\n  var defaultRangeValue = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(function () {\n    var dateStrings = value ? value.split(',') : [];\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_0___default()(dateStrings).call(dateStrings, function (dateString) {\n      return dateString ? new Date(dateString) : null;\n    });\n  }, [value]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement((react__WEBPACK_IMPORTED_MODULE_1___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.RangePicker, {\n    className: \"\".concat(className, \"-daterange-editor\"),\n    defaultValue: defaultRangeValue,\n    borderType: \"bordered\",\n    disabled: locked,\n    onChange: handleRangeChange\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (DaterangePropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/DaterangePropertyEditor.tsx?");

/***/ }),

/***/ 84140:
/*!*************************************************************!*\
  !*** ../kd-designer/src/editor/DimensionPropertyEditor.tsx ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);\n\n\n\n\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2024-01-16 14:13:26\n * @Description: ...\n */\n\n\n\n\nvar Option = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7__.Select.Option;\nvar EditorPropertyDimension = function EditorPropertyDimension(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = editor.NameHidden,\n    defaultValue = editor.Default,\n    min = editor.Min,\n    max = editor.Max,\n    _editor$Prefix = editor.Prefix,\n    prefix = _editor$Prefix === void 0 ? {} : _editor$Prefix,\n    required = editor.Required,\n    title = editor.Title,\n    allowClear = editor.AllowClear;\n  var _ref = prefix || {},\n    prefixText = _ref.Value;\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(function () {\n      return value ? String(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2___default()(value)) : '';\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(function () {\n      return (value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3___default()(value).call(value, '%')) > -1 ? '%' : 'px';\n    }),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState3, 2),\n    unit = _useState4[0],\n    setUnit = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_useState5, 2),\n    isFocused = _useState6[0],\n    setIsFocused = _useState6[1];\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var inputProps = {\n    borderType: 'bordered',\n    prefix: prefixText || null,\n    allowClear: allowClear\n  };\n  var inputLimitedProp = (0,react__WEBPACK_IMPORTED_MODULE_5__.useMemo)(function () {\n    var limited = {};\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(min)) {\n      limited.min = min;\n    }\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(max)) {\n      limited.max = max;\n    }\n    return limited;\n  }, [min, max]);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (!isFocused) {\n      var newValue = value ? String(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2___default()(value)) : '';\n      var newUnit = (value === null || value === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3___default()(value).call(value, '%')) > -1 ? '%' : 'px';\n      if (newValue !== innerValue) {\n        setInnerValue(newValue);\n      }\n      if (newUnit !== unit) {\n        setUnit(newUnit);\n      }\n    }\n  }, [value]);\n  var delayUpdateValue = function delayUpdateValue(val) {\n    timer.current && clearTimeout(timer.current);\n    timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_4___default()(function () {\n      timer.current = null;\n      handleChange(val);\n    }, 300);\n  };\n  var handleChangeInput = function handleChangeInput(evt) {\n    var targetValue = evt.target.value;\n    setInnerValue(targetValue);\n    if (targetValue === '') {\n      delayUpdateValue(undefined);\n    } else {\n      var newValue = _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_2___default()(evt.target.value) + unit;\n      delayUpdateValue(newValue);\n    }\n  };\n  var handleUnitChange = function handleUnitChange(newVal) {\n    if (innerValue) {\n      var valueMix = innerValue + newVal;\n      handleChange(valueMix);\n    } else {\n      setUnit(newVal);\n    }\n  };\n  var onFocus = function onFocus() {\n    setIsFocused(true);\n  };\n  var onBlur = function onBlur() {\n    setIsFocused(false);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-dimission-editor\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7__.InputNumber, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, inputProps, {\n    zeroShow: true,\n    className: \"\".concat(className, \"-dimission-editor-input\"),\n    ref: inputRef,\n    value: innerValue,\n    onKeyPress: function onKeyPress(event) {\n      event.stopPropagation();\n      var invalidChars = ['-', '+', 'e', 'E'];\n      if (_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_3___default()(invalidChars).call(invalidChars, event.key) !== -1) {\n        event.preventDefault();\n      }\n    },\n    onChange: handleChangeInput,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    disabled: locked,\n    mustInScope: false\n  }, inputLimitedProp)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_7__.Select, {\n    scrollHidden: true,\n    className: \"\".concat(className, \"-dimission-editor-unit\"),\n    borderType: \"none\",\n    value: unit,\n    onChange: handleUnitChange\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Option, {\n    value: \"px\"\n  }, \"px\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(Option, {\n    value: \"%\"\n  }, \"%\"))));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditorPropertyDimension);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/DimensionPropertyEditor.tsx?");

/***/ }),

/***/ 36452:
/*!**************************************************************!*\
  !*** ../kd-designer/src/editor/EditSelectPropertyEditor.tsx ***!
  \**************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   EditorPropertyEditSelect: function() { return /* binding */ EditorPropertyEditSelect; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n\nvar EditorPropertyEditSelect = function EditorPropertyEditSelect(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    _options = props.options,\n    name = props.Name,\n    tips = props.Tips,\n    _props$scrollHidden = props.scrollHidden,\n    scrollHidden = _props$scrollHidden === void 0 ? true : _props$scrollHidden,\n    dropdownClassName = props.dropdownClassName;\n  var Enum = editor.Enum,\n    defaultValue = editor.Default,\n    nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title,\n    placeholder = editor.Placeholder;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(value || defaultValue),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function () {\n    setInnerValue(value);\n  }, [value]);\n  var options = _options || _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(Enum).call(Enum, function (option) {\n    var _option$Value;\n    return {\n      value: (_option$Value = option.Value) !== null && _option$Value !== void 0 ? _option$Value : option.Id,\n      label: option.Name,\n      disabled: option.Locked || false\n    };\n  });\n  var _handleChange = function _handleChange(value) {\n    handleChange(value);\n    setInnerValue(value);\n  };\n  var handleSearch = function handleSearch(value) {\n    setInnerValue(value);\n  };\n  var handleBlur = function handleBlur() {\n    handleChange(innerValue);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_4__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.Select, {\n    className: \"\".concat(className, \"-edit-select\"),\n    scrollHidden: scrollHidden,\n    disabled: locked,\n    placeholder: placeholder || (0,_designer_utils__WEBPACK_IMPORTED_MODULE_5__.getLangMsg)('designer.editor.key0009'),\n    borderType: \"bordered\",\n    value: innerValue,\n    allowClear: true,\n    onChange: _handleChange,\n    options: options,\n    notFoundContent: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_5__.getLangMsg)('designer.editor.key0021'),\n    dropdownClassName: dropdownClassName,\n    showSearch: true,\n    onSearch: handleSearch,\n    filterOption: false,\n    onBlur: handleBlur\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditorPropertyEditSelect);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/EditSelectPropertyEditor.tsx?");

/***/ }),

/***/ 87332:
/*!********************************************************!*\
  !*** ../kd-designer/src/editor/IconPropertyEditor.tsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__);\n\n\n// icon复选编辑器\nvar IconPropertyEditor = function IconPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    locked = props.locked;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Checkbox, {\n    value: value || false,\n    disabled: locked,\n    onChange: function onChange(evt) {\n      handleChange(evt.target.value);\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Icons[props.Name])));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (IconPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/IconPropertyEditor.tsx?");

/***/ }),

/***/ 33224:
/*!*********************************************************!*\
  !*** ../kd-designer/src/editor/InputPropertyEditor.tsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find-index */ 29636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2023-03-07 19:57:59\n * @LastEditTime: 2024-01-24 11:18:12\n * @Last Modified by: jianhang_he\n */\n\n\n\n\n\nvar isTextArea = function isTextArea(type) {\n  return type === 'TextArea';\n};\nvar InputPropertyEditor = function InputPropertyEditor(props) {\n  var _context;\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    locked = props.locked,\n    Editor = props.Editor,\n    propName = props.Name,\n    field = props.field,\n    propId = props.Id,\n    tips = props.Tips,\n    inputTitle = props.InputTitle,\n    dataContext = props.dataContext;\n  var nameHidden = Editor.NameHidden,\n    MaxLength = Editor.MaxLength,\n    Min = Editor.Min,\n    Max = Editor.Max,\n    required = Editor.Required,\n    type = Editor.Type,\n    placeholder = Editor.Placeholder,\n    autoSize = Editor.AutoSize,\n    count = Editor.Count,\n    countPosition = Editor.CountPosition,\n    canResize = Editor.CanResize,\n    nameTitle = Editor.Title,\n    subTitle = Editor.SubTitle,\n    allowClear = Editor.AllowClear;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_5__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_8__[\"default\"]),\n    setMessage = _useContext.showMessage,\n    validateProps = _useContext.validateProps,\n    lowerCaseProps = _useContext.lowerCaseProps;\n  var title = inputTitle || (MaxLength ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_1___default()(_context = \"\".concat((0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('designer.editor.key0007') || '最多输入字符数', \":\")).call(_context, MaxLength) : '');\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(value || ''),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_5__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    isFocused = _useState4[0],\n    setIsFocused = _useState4[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_5__.useRef)(null);\n  (0,react__WEBPACK_IMPORTED_MODULE_5__.useEffect)(function () {\n    if (!isFocused && value !== innerValue) {\n      setInnerValue(value);\n    }\n  }, [value, isFocused]);\n  var delayUpdateValue = function delayUpdateValue(val) {\n    if (val === value) return;\n    timer.current && clearTimeout(timer.current);\n    timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n      timer.current = null;\n      handleChange(val);\n    }, 300);\n  };\n  var onChange = function onChange(e) {\n    var _e$target;\n    var inputValue = ((_e$target = e.target) === null || _e$target === void 0 ? void 0 : _e$target.value) || '';\n    if (lowerCaseProps && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(lowerCaseProps).call(lowerCaseProps, propId)) {\n      inputValue = inputValue.toLowerCase();\n    }\n    setInnerValue(inputValue);\n    delayUpdateValue(inputValue);\n  };\n  var onKeyDown = function onKeyDown(e) {\n    if (e.nativeEvent.keyCode === 13) {\n      onBlur(e);\n    }\n  };\n  var onFocus = function onFocus() {\n    setIsFocused(true);\n  };\n\n  // 校验\n  var uniqueValidate = function uniqueValidate(val) {\n    var dataItems = (dataContext === null || dataContext === void 0 ? void 0 : dataContext.getData().Items) || [];\n    var propIndex = _babel_runtime_corejs3_core_js_stable_instance_find_index__WEBPACK_IMPORTED_MODULE_4___default()(dataItems).call(dataItems, function (item) {\n      return item.Id !== field.Id && item[propId] === val;\n    });\n    return propIndex === -1;\n  };\n  var onBlur = function onBlur(e) {\n    var inputValue = e.target.value;\n    if (lowerCaseProps && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(lowerCaseProps).call(lowerCaseProps, propId)) {\n      inputValue = inputValue.toLowerCase();\n    }\n    if (validateProps && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(validateProps).call(validateProps, propId) && !uniqueValidate(inputValue)) {\n      // 校验不通过，提示\n      setMessage((0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)({\n        key: 'designer.msg.key0004',\n        variables: {\n          inputValue: inputValue\n        }\n      }), 'warn');\n    }\n    handleChange(inputValue);\n    _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n      setIsFocused(false);\n    }, 300);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_7__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: propName,\n    tips: tips,\n    required: required,\n    title: nameTitle,\n    subTitle: subTitle\n  }), isTextArea(type) ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.TextArea, {\n    ref: inputRef,\n    value: innerValue,\n    disabled: locked,\n    title: title,\n    maxLength: MaxLength,\n    placeholder: placeholder || (0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('designer.editor.key0008'),\n    borderType: \"bordered\",\n    autoSize: autoSize !== null && autoSize !== void 0 ? autoSize : {\n      minRows: 3,\n      maxRows: 3\n    },\n    count: count,\n    countPosition: countPosition,\n    canResize: canResize,\n    allowClear: allowClear,\n    onKeyDown: onKeyDown,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    onChange: onChange\n  }) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Input, {\n    ref: inputRef,\n    value: innerValue,\n    disabled: locked,\n    title: title,\n    maxLength: MaxLength,\n    placeholder: placeholder || (0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('designer.editor.key0008'),\n    borderType: \"bordered\",\n    allowClear: allowClear,\n    onKeyDown: onKeyDown,\n    onFocus: onFocus,\n    onBlur: onBlur,\n    onChange: onChange\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (InputPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/InputPropertyEditor.tsx?");

/***/ }),

/***/ 53460:
/*!*********************************************************!*\
  !*** ../kd-designer/src/editor/RadioPropertyEditor.tsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_6__);\n\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-08 15:14:46\n * @Last Modified by: fjr\n * @LastEditTime: 2023-03-30 14:37:48\n * @Description: ...\n */\n\n\n\n\n\nvar Group = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.Radio.Group;\nvar RadioPropertyEditor = function RadioPropertyEditor(props) {\n  var _Enum$0$Value, _Enum$, _Enum$2;\n  var handleChange = props.handleChange,\n    className = props.className,\n    value = props.value,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips;\n  var Enum = editor.Enum,\n    Default = editor.Default,\n    nameHidden = editor.NameHidden,\n    required = editor.Required,\n    vertical = editor.Vertical,\n    title = editor.Title;\n  var defaultValue = Default || Enum && ((_Enum$0$Value = (_Enum$ = Enum[0]) === null || _Enum$ === void 0 ? void 0 : _Enum$.Value) !== null && _Enum$0$Value !== void 0 ? _Enum$0$Value : (_Enum$2 = Enum[0]) === null || _Enum$2 === void 0 ? void 0 : _Enum$2.Id);\n  var activeValue = (0,lodash__WEBPACK_IMPORTED_MODULE_4__.isUndefined)(value) ? defaultValue : value;\n  var options = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(Enum).call(Enum, function (option) {\n    var _option$Value;\n    return {\n      label: option.Name,\n      value: (_option$Value = option.Value) !== null && _option$Value !== void 0 ? _option$Value : option.Id\n    };\n  });\n  var onChange = function onChange(evt) {\n    handleChange(evt.target.value);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_5__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(Group, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_6___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, \"\".concat(className, \"-radio-editor-vertical\"), vertical)),\n    disabled: locked,\n    value: activeValue,\n    onChange: onChange,\n    options: options\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (RadioPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/RadioPropertyEditor.tsx?");

/***/ }),

/***/ 81980:
/*!************************************************************!*\
  !*** ../kd-designer/src/editor/ReadonlyPropertyEditor.tsx ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar ReadonlyPropertyEditor = function ReadonlyPropertyEditor(props) {\n  // TODO: tips\n  var value = props.value,\n    name = props.Name,\n    className = props.className;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-readonly\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: \"\".concat(className, \"-readonly-title\"),\n    title: name\n  }, name, \"\\uFF1A\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", {\n    className: \"\".concat(className, \"-readonly-content\"),\n    title: value\n  }, value));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ReadonlyPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/ReadonlyPropertyEditor.tsx?");

/***/ }),

/***/ 17852:
/*!**********************************************************!*\
  !*** ../kd-designer/src/editor/SelectPropertyEditor.tsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   EditorPropertyMultiSelect: function() { return /* binding */ EditorPropertyMultiSelect; },\n/* harmony export */   EditorPropertySelect: function() { return /* binding */ EditorPropertySelect; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2023-10-19 17:50:45\n * @Description: ...\n */\n\n\n\n\n\nvar EditorPropertySelect = function EditorPropertySelect(props) {\n  var _Enum$0$Value, _Enum$, _Enum$2;\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    _options = props.options,\n    multiple = props.multiple,\n    name = props.Name,\n    tips = props.Tips,\n    _props$scrollHidden = props.scrollHidden,\n    scrollHidden = _props$scrollHidden === void 0 ? true : _props$scrollHidden,\n    _props$allowExistValu = props.allowExistValueNotInOptions,\n    allowExistValueNotInOptions = _props$allowExistValu === void 0 ? false : _props$allowExistValu,\n    dropdownClassName = props.dropdownClassName;\n  var Enum = editor.Enum,\n    Default = editor.Default,\n    nameHidden = editor.NameHidden,\n    required = editor.Required,\n    _editor$AllowClear = editor.AllowClear,\n    allowClear = _editor$AllowClear === void 0 ? true : _editor$AllowClear,\n    title = editor.Title,\n    placeholder = editor.Placeholder;\n  var isMultiple = !!multiple;\n  var selectValue = isMultiple ? [] : Default || Enum && ((_Enum$0$Value = (_Enum$ = Enum[0]) === null || _Enum$ === void 0 ? void 0 : _Enum$.Value) !== null && _Enum$0$Value !== void 0 ? _Enum$0$Value : (_Enum$2 = Enum[0]) === null || _Enum$2 === void 0 ? void 0 : _Enum$2.Id);\n  _designer_utils__WEBPACK_IMPORTED_MODULE_9__.console.log('selectValue', selectValue);\n  // if (selectValue === undefined || selectValue === null) return `selectValue: ${selectValue}`\n  var options = _options || _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(Enum).call(Enum, function (option) {\n    var _option$Value;\n    return {\n      value: (_option$Value = option.Value) !== null && _option$Value !== void 0 ? _option$Value : option.Id,\n      label: option.Name,\n      disabled: option.Locked || false\n    };\n  });\n  var renderValue = getRenderValue(options, value, isMultiple, handleChange, allowExistValueNotInOptions);\n  var _handleChange = function _handleChange(value) {\n    if (locked) return;\n    var newValue = value;\n    if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_2___default()(value)) {\n      newValue = value.join(',');\n    }\n    handleChange(newValue);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement((react__WEBPACK_IMPORTED_MODULE_5___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_8__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_6__.Select, {\n    scrollHidden: scrollHidden,\n    disabled: locked,\n    placeholder: placeholder || (0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('designer.editor.key0009'),\n    borderType: \"bordered\",\n    value: renderValue,\n    allowClear: allowClear,\n    onChange: _handleChange,\n    options: options,\n    mode: isMultiple ? 'multiple' : 'single',\n    notFoundContent: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_9__.getLangMsg)('designer.editor.key0021'),\n    dropdownClassName: dropdownClassName\n  }));\n};\n\n/**\n *\n * @param options 选项\n * @param value 值\n * @param isMultiple 是否多选\n * @param handleChange 改变方法\n * @param allowExistValueNotInOptions 运行存在值不在options选项中\n * @returns\n */\nfunction getRenderValue(options, value, isMultiple, handleChange) {\n  var allowExistValueNotInOptions = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n  if (isMultiple) {\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_7__.isEmpty)(value)) return [];\n    var renderValue = value === null || value === void 0 ? void 0 : value.split(',');\n    var hasDirtyData = false;\n    if (!allowExistValueNotInOptions) {\n      renderValue = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(renderValue).call(renderValue, function (item) {\n        var isValidValue = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_4___default()(options).call(options, function (option) {\n          return option.value === item;\n        });\n        if (isValidValue === false) hasDirtyData = true;\n        return isValidValue;\n      });\n    }\n    hasDirtyData && handleChange(renderValue.join(','));\n    return renderValue;\n  } else {\n    if ((0,lodash__WEBPACK_IMPORTED_MODULE_7__.isEmpty)(value)) return '';\n    var _renderValue = value;\n    var isValidValue = _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_4___default()(options).call(options, function (option) {\n      return option.value === value;\n    });\n    if (!isValidValue) {\n      // TODO\n      // 这里会导致再一次变更值\n      _renderValue = '';\n      /**\n       * 这里有个场景，后端发过来的值有可能在option里不存在，或者option为空\n       * 所以不能触发handleChange更新值\n       */\n      // handleChange(renderValue)\n    }\n    return _renderValue;\n  }\n}\nvar EditorPropertyMultiSelect = function EditorPropertyMultiSelect(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_5___default().createElement(EditorPropertySelect, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n    multiple: true\n  }));\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (EditorPropertySelect);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/SelectPropertyEditor.tsx?");

/***/ }),

/***/ 45928:
/*!***********************************************************!*\
  !*** ../kd-designer/src/editor/StepperPropertyEditor.tsx ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ 97552);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_8__);\n\n\n\n\n\n\n\n\n\nvar StepperPropertyEditor = function StepperPropertyEditor(props) {\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    locked = props.locked,\n    Editor = props.Editor,\n    name = props.Name,\n    tips = props.Tips;\n  var nameHidden = Editor.NameHidden,\n    min = Editor.Min,\n    max = Editor.Max,\n    required = Editor.Required,\n    DataType = Editor.DataType,\n    title = Editor.Title,\n    subTitle = Editor.SubTitle,\n    placeholder = Editor.Placeholder,\n    allowClear = Editor.AllowClear;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_4__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_7__[\"default\"]),\n    setMessage = _useContext.showMessage;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(String(value || '')),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    innerValue = _useState2[0],\n    setInnerValue = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_4__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    isFocused = _useState4[0],\n    setIsFocused = _useState4[1];\n  var timer = (0,react__WEBPACK_IMPORTED_MODULE_4__.useRef)(null);\n  (0,react__WEBPACK_IMPORTED_MODULE_4__.useEffect)(function () {\n    var newValue = !(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(value) ? String(value) : '';\n    if (!isFocused && newValue !== innerValue) {\n      setInnerValue(newValue);\n    }\n  }, [value, isFocused]);\n  var updatePropValue = function updatePropValue(val) {\n    if (val !== '' && DataType === 'Decimal') {\n      val = _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_1___default()(val);\n    }\n    handleChange(val);\n  };\n  var delayUpdateValue = function delayUpdateValue(val) {\n    timer.current && clearTimeout(timer.current);\n    timer.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_2___default()(function () {\n      timer.current = null;\n      updatePropValue(val);\n    }, 300);\n  };\n  var onChange = function onChange(e) {\n    if (locked) return;\n    var targetValue = e.target.value || '';\n    if (isNaN(targetValue)) {\n      targetValue = '';\n    }\n    if (targetValue !== '') {\n      if (e.nativeEvent) {\n        if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(min) && targetValue < Number(min)) {\n          return setInnerValue(targetValue);\n        }\n        if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(max) && targetValue > Number(max)) {\n          targetValue = max;\n        }\n      } else {\n        if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(min) && targetValue < Number(min)) {\n          targetValue = min;\n        }\n        if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(max) && targetValue > Number(max)) {\n          targetValue = max;\n        }\n        // if (!isFocused) {\n        //   setIsFocused(true)\n        // }\n      }\n      if (DataType === 'Integer') {\n        targetValue = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_3___default()(targetValue);\n      }\n      setInnerValue(String(targetValue));\n    } else {\n      setInnerValue('');\n    }\n    delayUpdateValue(targetValue);\n  };\n  var onFocus = function onFocus() {\n    setIsFocused(true);\n  };\n  var onBlur = function onBlur(e) {\n    setIsFocused(false);\n    var inputValue = innerValue;\n    if (inputValue !== '') {\n      if ((min || min == 0) && inputValue < min) {\n        inputValue = min;\n        setInnerValue(String(min));\n        handleChange(min);\n      }\n    } else if (!(0,lodash__WEBPACK_IMPORTED_MODULE_8__.isUndefined)(min)) {\n      inputValue = min;\n      setInnerValue(String(min));\n      handleChange(min);\n    }\n  };\n  var onKeyPress = function onKeyPress(e) {\n    if (min >= 0 && e.key === '-') {\n      e.preventDefault();\n    }\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement((react__WEBPACK_IMPORTED_MODULE_4___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_6__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title,\n    subTitle: subTitle\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-stepper-editor\"),\n    onFocus: onFocus,\n    onBlur: onBlur,\n    tabIndex: -1\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_5__.Stepper, {\n    ref: inputRef,\n    type: \"embed\",\n    value: innerValue,\n    allowClear: !!allowClear,\n    zeroShow: true,\n    onChange: onChange,\n    onKeyPress: onKeyPress,\n    disabled: locked,\n    placeholder: placeholder\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (StepperPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/StepperPropertyEditor.tsx?");

/***/ }),

/***/ 80860:
/*!**********************************************************!*\
  !*** ../kd-designer/src/editor/SwitchPropertyEditor.tsx ***!
  \**********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var _context_select_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../context/select-context */ 23412);\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2024-02-05 16:22:03\n * @Description: ...\n */\n\n\n\n\nvar SwitchPropertyEditor = function SwitchPropertyEditor(props) {\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    locked = props.locked,\n    name = props.Name,\n    tips = props.Tips,\n    id = props.Id,\n    field = props.field,\n    readonly = props.readonly;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title,\n    subTitle = editor.SubTitle;\n  var checked = value || false;\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_3__[\"default\"]);\n  var selection = selectionContext.getSelection();\n  var isMulti = selection.length > 1;\n  if (isMulti && value === '') {\n    // 开关属性值不同，显示最后选中的控件值\n    checked = field[id];\n  }\n  var disabled = locked || readonly;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-switch\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title,\n    subTitle: subTitle\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Switch, {\n    checked: checked,\n    size: \"large\",\n    disabled: disabled,\n    onClick: function onClick() {\n      if (disabled) return;\n      var checked = !value;\n      handleChange(checked);\n    }\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (SwitchPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/SwitchPropertyEditor.tsx?");

/***/ }),

/***/ 80888:
/*!*******************************************************!*\
  !*** ../kd-designer/src/editor/TabPropertyEditor.tsx ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./common/NameTipWrapper */ 42440);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_5__);\n\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-23 15:09:50\n * @Description: ...\n */\n\n\n\n\nvar TabPropertyEditor = function TabPropertyEditor(props) {\n  var _items$;\n  var handleChange = props.handleChange,\n    value = props.value,\n    className = props.className,\n    editor = props.editor,\n    name = props.Name,\n    tips = props.Tips,\n    renderItem = props.renderItem;\n  var _items = editor.Enum,\n    nameHidden = editor.NameHidden,\n    Default = editor.Default,\n    required = editor.Required,\n    title = editor.Title;\n  var items = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(_items).call(_items, function (item) {\n    return (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, item, {\n      Value: item.Value || item.Id\n    });\n  });\n  var activeValue = (0,lodash__WEBPACK_IMPORTED_MODULE_5__.isUndefined)(value) ? Default || ((_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.Value) : String(value);\n  var handleTabChange = function handleTabChange(newVal) {\n    handleChange(newVal);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement((react__WEBPACK_IMPORTED_MODULE_2___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-tab-editor\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1___default()(items).call(items, function (item) {\n    var iconClassName = item.IconClassName,\n      iconTitle = item.IconTitle;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"div\", {\n      key: item.Value,\n      className: classnames__WEBPACK_IMPORTED_MODULE_4___default()([\"\".concat(className, \"-tab-editor-item\"), {\n        'is-active': String(activeValue) === String(item.Value)\n      }]),\n      onClick: function onClick() {\n        return handleTabChange(item.Value);\n      },\n      title: iconClassName && iconTitle\n    }, renderItem ? renderItem(item) : iconClassName ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2___default().createElement(\"i\", {\n      className: iconClassName\n    }) : item.Name);\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (TabPropertyEditor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/TabPropertyEditor.tsx?");

/***/ }),

/***/ 87544:
/*!********************************************************!*\
  !*** ../kd-designer/src/editor/common/ColorPicker.tsx ***!
  \********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ColorPrefixIcon: function() { return /* binding */ ColorPrefixIcon; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/starts-with */ 49464);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ 97552);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../designer-utils */ 89592);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_12__);\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ColorPrefixIcon = function ColorPrefixIcon(props) {\n  var type = props.type,\n    color = props.color,\n    className = props.className,\n    onClick = props.onClick,\n    disabled = props.disabled;\n  var handleClick = function handleClick() {\n    onClick && onClick();\n  };\n  var trueColor = (0,react__WEBPACK_IMPORTED_MODULE_7__.useMemo)(function () {\n    if (!color) return '#ffffff';\n    var rgbaReg = /rgba?\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3})(,([.\\d]+))?\\)/;\n    var reg = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;\n    if (rgbaReg.test(color) || reg.test(color)) {\n      return color;\n    }\n    return '#ffffff';\n  }, [color]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()(\"\".concat(className, \"-prefix\"), {\n      disabled: disabled\n    })\n  }, type === 'foreColor' ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"svg\", {\n    className: \"\".concat(className, \"-prefix-icon\"),\n    width: \"200\",\n    height: \"200\",\n    viewBox: \"0 0 20 20\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"title\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0010')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"g\", {\n    id: \"\\u6587\\u5B57\\u989C\\u8272\",\n    stroke: \"none\",\n    strokeWidth: \"1\",\n    fill: \"none\",\n    fillRule: \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(3.000000, 1.225936)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"path\", {\n    d: \"M7.10199875,0.000488183945 C7.39408208,-0.0100860974 7.67791213,0.151661551 7.80920279,0.433215284 L7.80920279,0.433215284 L13.7258585,13.1215243 C13.9009127,13.4969293 13.7384963,13.9431646 13.3630913,14.1182188 C12.9876863,14.2932731 12.541451,14.1308567 12.3663968,13.7554517 L12.3663968,13.7554517 L10.2754569,9.274 L3.87745688,9.274 L1.7883667,13.7554517 C1.61331249,14.1308567 1.16707714,14.2932731 0.791672168,14.1182188 C0.416267191,13.9431646 0.253850808,13.4969293 0.428905024,13.1215243 L6.34556069,0.433215284 C6.48061111,0.143598729 6.77706251,-0.0192517453 7.07787471,0.00182180938 Z M7.07645688,2.413 L4.57645688,7.774 L9.57645688,7.774 L7.07645688,2.413 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#212121\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\\u5907\\u4EFD-2\",\n    stroke: \"#ccc\",\n    strokeWidth: \"0.5\",\n    fill: trueColor,\n    x: \"-0.25\",\n    y: \"15.5240643\",\n    width: \"14.5\",\n    height: \"2.5\",\n    rx: \"1\"\n  })))) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"svg\", {\n    className: \"\".concat(className, \"-prefix-icon\"),\n    width: \"200\",\n    height: \"200\",\n    viewBox: \"0 0 20 20\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\",\n    onClick: handleClick\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"title\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0011')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"g\", {\n    id: \"\\u6CB9\\u6F06\\u6876\",\n    stroke: \"none\",\n    strokeWidth: \"1\",\n    fill: \"none\",\n    fillRule: \"evenodd\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"g\", {\n    id: \"\\u7F16\\u7EC4\",\n    transform: \"translate(2.810513, 0.777902)\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"path\", {\n    d: \"M7.35237743,0.219669914 L8.05948421,0.926776695 L8.06299995,0.931 L12.8033719,5.58910098 C13.6474203,6.41866449 13.6988871,7.75029176 12.9455484,8.64490829 L12.82651,8.7757058 L7.52324583,14.07897 C6.68640806,14.9158077 5.35438522,14.9556572 4.47038697,14.1985182 L4.34126532,14.07897 L0.658927543,10.3966322 C-0.177910225,9.55979443 -0.217759275,8.22777195 0.539946158,7.34320727 L0.659583703,7.21399633 L6.45599995,1.445 L6.29171726,1.28033009 C5.99882404,0.987436867 5.99882404,0.512563133 6.29171726,0.219669914 C6.58461048,-0.0732233047 7.05948421,-0.0732233047 7.35237743,0.219669914 Z M12.7772674,11.2000162 C12.8448732,11.2253684 12.8982166,11.2787118 12.9235688,11.3463177 L13.6628014,13.3176044 C13.8643815,13.8551514 13.5920265,14.4543322 13.0544796,14.6559123 C12.9377675,14.6996794 12.8141351,14.7220982 12.6894865,14.7220982 C12.1153861,14.7220982 11.6499858,14.2566979 11.6499858,13.6825975 C11.6499858,13.557949 11.6724047,13.4343165 11.7161717,13.3176044 L12.4554042,11.3463177 C12.5038843,11.2170376 12.6479873,11.1515362 12.7772674,11.2000162 Z M7.52128565,2.50147715 L2.77699995,7.222 L11.9757231,7.22266041 C11.9821309,7.05395544 11.9319029,6.8835921 11.8253092,6.74250292 L11.751965,6.65901613 L7.52128565,2.50147715 Z\",\n    id: \"\\u5F62\\u72B6\\u7ED3\\u5408\",\n    fill: \"#212121\"\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"rect\", {\n    id: \"\\u77E9\\u5F62\\u5907\\u4EFD-3\",\n    stroke: \"#ccc\",\n    strokeWidth: \"0.5\",\n    fill: trueColor,\n    x: \"-0.060513479\",\n    y: \"15.9720982\",\n    width: \"14.5\",\n    height: \"2.5\",\n    rx: \"1\"\n  })))));\n};\nvar defaultColorConfig = {\n  colors: [['#45cdff', '#3dccc0', '#40bd6e', '#99d92b', '#ffd52e', '#ffb44a', '#ff854d', '#ff5257', '#ff3b72', '#9a4dff', '#3987ed', '#5797ff'], ['#16b0f1', '#16b8b1', '#1ba854', '#77c404', '#fdc200', '#ff991c', '#ff5f1f', '#fb2323', '#f90d58', '#701df0', '#0e5fd8', '#276ff5'], ['#ffffff', '#fafafa', '#f5f5f5', '#f2f2f2', '#e5e5e5', '#d9d9d9', '#cccccc', '#999999', '#666666', '#404040', '#212121', '#000000']],\n  alpha: 100,\n  color: '#ffffff',\n  defaultColor: '#ffffff'\n};\nvar convertColorToObject = function convertColorToObject(colorValue) {\n  var _colorValue;\n  var color = '';\n  var alpha = 100;\n  var tempReg = /^themeColor/;\n  if (!colorValue) {\n    return {\n      color: color,\n      alpha: alpha\n    };\n  }\n  if (tempReg.test(colorValue)) {\n    var temp = colorValue.split('|');\n    color = temp[0];\n    alpha = Number(temp[1]) || 100;\n    return {\n      color: color,\n      alpha: alpha\n    };\n  }\n  colorValue = (0,lodash__WEBPACK_IMPORTED_MODULE_9__.trim)(colorValue).toLowerCase();\n  // let color='#ffffff',alpha=100;\n  if ((_colorValue = colorValue) !== null && _colorValue !== void 0 && _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(_colorValue).call(_colorValue, '#')) {\n    color = colorValue;\n  } else {\n    var rRgba = /rgba?\\((\\d{1,3}),(\\d{1,3}),(\\d{1,3})(,([.\\d]+))?\\)/;\n    var r;\n    var g;\n    var b;\n    var a;\n    var rsa = colorValue.replace(/\\s+/g, '').match(rRgba);\n    if (rsa) {\n      r = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()(rsa[1]).toString(16);\n      r = r.length === 1 ? '0' + r : r;\n      g = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()(rsa[2]).toString(16);\n      g = g.length === 1 ? '0' + g : g;\n      b = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()(rsa[3]).toString(16);\n      b = b.length === 1 ? '0' + b : b;\n      a = _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_3___default()(rsa[5]);\n      color = '#' + r + g + b;\n      alpha = isNaN(a) ? 100 : _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()(a * 100);\n    }\n  }\n  return {\n    color: color,\n    alpha: alpha\n  };\n};\nvar getColorValue = function getColorValue(_ref) {\n  var color = _ref.color,\n    alpha = _ref.alpha;\n  if (color === 'themeColor' && alpha !== 100) {\n    return \"themeColor|\".concat(alpha);\n  }\n  if (alpha !== 100) {\n    var _context, _context2, _context3;\n    var pattern = /^#[0-9a-fA-F]{3}$/;\n    var r, g, b;\n    if (color.match(pattern)) {\n      r = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + (0,lodash__WEBPACK_IMPORTED_MODULE_9__.repeat)(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1, 2), 2));\n      g = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + (0,lodash__WEBPACK_IMPORTED_MODULE_9__.repeat)(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 2, 3), 2));\n      b = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + (0,lodash__WEBPACK_IMPORTED_MODULE_9__.repeat)(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 3, 4), 2));\n    } else {\n      r = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1, 3));\n      g = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 3, 5));\n      b = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_2___default()('0x' + _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 5, 7));\n    }\n    color = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_5___default()(_context3 = \"rgba(\".concat(r, \",\")).call(_context3, g, \",\")).call(_context2, b, \",\")).call(_context, alpha / 100, \")\");\n  }\n  return color;\n};\nvar ColorPicker = function ColorPicker(props) {\n  var _triggerDom$current$g, _triggerDom$current;\n  var className = props.className,\n    showPanel = props.showPanel,\n    hideThemeBtn = props.hideThemeBtn,\n    hideAlphaInput = props.hideAlphaInput,\n    colorValue = props.colorValue,\n    isCheck = props.isCheck,\n    onChange = props.onChange,\n    onClosePanel = props.onClosePanel,\n    triggerDom = props.triggerDom,\n    disabled = props.disabled;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(!!isCheck),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    checkState = _useState2[0],\n    setCheckState = _useState2[1];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(function () {\n      var _convertColorToObject = convertColorToObject(colorValue),\n        color = _convertColorToObject.color;\n      return _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(color).call(color, '#') ? _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1) : color;\n    }),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    innerColor = _useState4[0],\n    setInnerColor = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(function () {\n      return convertColorToObject(colorValue).alpha;\n    }),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState5, 2),\n    innerAlpha = _useState6[0],\n    setInnerAlpha = _useState6[1];\n  // const colorTextPrefix = useMemo(() => {\n  //   const { color } = convertColorToObject(colorValue)\n  //   return color?.startsWith('#') ? '#' : ''\n  // }, [colorValue])\n  var colorTextPrefix = '#';\n  var colorPickerRef = (0,react__WEBPACK_IMPORTED_MODULE_7__.useRef)(null);\n  var dom = triggerDom === null || triggerDom === void 0 ? void 0 : triggerDom.current;\n  var _ref2 = (_triggerDom$current$g = triggerDom === null || triggerDom === void 0 || (_triggerDom$current = triggerDom.current) === null || _triggerDom$current === void 0 ? void 0 : _triggerDom$current.getBoundingClientRect()) !== null && _triggerDom$current$g !== void 0 ? _triggerDom$current$g : {},\n    _ref2$right = _ref2.right,\n    right = _ref2$right === void 0 ? 0 : _ref2$right,\n    _ref2$top = _ref2.top,\n    top = _ref2$top === void 0 ? 0 : _ref2$top,\n    _ref2$height = _ref2.height,\n    height = _ref2$height === void 0 ? 0 : _ref2$height;\n  var triggerTop = height + 4;\n  var panelHeight = checkState ? 40 : 156;\n  var winWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;\n  var winHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n  var topPos = top + triggerTop + panelHeight > winHeight ? top - panelHeight - 4 : top + triggerTop;\n  (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.useOnClickOutside)([triggerDom, colorPickerRef], function () {\n    onClosePanel();\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    setInnerColor(function () {\n      var _convertColorToObject2 = convertColorToObject(colorValue),\n        color = _convertColorToObject2.color;\n      return _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(color).call(color, '#') ? _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1) : color;\n    });\n    setInnerAlpha(function () {\n      return convertColorToObject(colorValue).alpha;\n    });\n    setCheckState(colorValue === null || colorValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(colorValue).call(colorValue, 'themeColor'));\n  }, [colorValue]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    if (showPanel) {\n      setInnerColor(function () {\n        var _convertColorToObject3 = convertColorToObject(colorValue),\n          color = _convertColorToObject3.color;\n        return _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(color).call(color, '#') ? _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1) : color;\n      });\n      setInnerAlpha(function () {\n        return convertColorToObject(colorValue).alpha;\n      });\n      setCheckState(colorValue === null || colorValue === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(colorValue).call(colorValue, 'themeColor'));\n    }\n  }, [showPanel]);\n  (0,react__WEBPACK_IMPORTED_MODULE_7__.useEffect)(function () {\n    var cb = function cb(evt) {\n      var _triggerDom$current2;\n      var target = evt.target;\n      if (triggerDom.current && (_triggerDom$current2 = triggerDom.current) !== null && _triggerDom$current2 !== void 0 && _triggerDom$current2.contains(target)) return;\n      onClosePanel();\n    };\n    document.addEventListener('scroll', cb, true);\n    return function () {\n      document.removeEventListener('scroll', cb, true);\n    };\n  }, []);\n  var changeColor = function changeColor(_ref3) {\n    var color = _ref3.color,\n      alpha = _ref3.alpha;\n    setInnerColor(function () {\n      return _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_1___default()(color).call(color, '#') ? _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_4___default()(color).call(color, 1) : color;\n    });\n    setInnerAlpha(alpha);\n    var pattern = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;\n    if (color.match(pattern) || /^themeColor/.test(color)) {\n      var newColor = getColorValue({\n        color: color,\n        alpha: alpha\n      });\n      onChange(newColor);\n    }\n  };\n  var changeColorFromItems = function changeColorFromItems(_ref4) {\n    var color = _ref4.color,\n      alpha = _ref4.alpha;\n    if (checkState) return;\n    changeColor({\n      color: color,\n      alpha: alpha\n    });\n  };\n  var handleChangeText = function handleChangeText(e) {\n    var value = colorTextPrefix + e.target.value;\n    changeColor({\n      color: value,\n      alpha: innerAlpha\n    });\n  };\n  var handleChangeAlpha = function handleChangeAlpha(e) {\n    var target = e.target;\n    var value = target.value;\n    // 透明度阈值是[0, 100], 超出则不修改当前值\n    if (value < 0 || value > 100) {\n      return;\n    }\n    changeColor({\n      color: colorTextPrefix + innerColor,\n      alpha: value\n    });\n  };\n  var handleCheck = function handleCheck(e) {\n    var checkedFlag = !checkState;\n    var color = checkedFlag ? 'themeColor' : '';\n    var alpha = checkedFlag ? innerAlpha : 100;\n    setCheckState(checkedFlag);\n    setInnerColor(color);\n    var newColor = getColorValue({\n      color: color,\n      alpha: alpha\n    });\n    onChange(newColor);\n  };\n  var createColorItems = function createColorItems() {\n    if (showPanel) {\n      var cs = (0,lodash__WEBPACK_IMPORTED_MODULE_9__.flatten)(defaultColorConfig.colors);\n      return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_6___default()(cs).call(cs, function (color, idx) {\n        var style = {\n          backgroundColor: color\n        };\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n          key: idx,\n          className: classnames__WEBPACK_IMPORTED_MODULE_12___default()('colorItem', 'kd-cq-color-picker-color-block'),\n          title: color,\n          style: style,\n          onClick: function onClick(e) {\n            return changeColorFromItems({\n              color: color,\n              alpha: innerAlpha\n            });\n          }\n        }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"span\", {\n          className: \"colorItem-hover-box\"\n        }));\n      });\n    } else {\n      return null;\n    }\n  };\n  if (!dom) return null;\n  return /*#__PURE__*/react_dom__WEBPACK_IMPORTED_MODULE_8___default().createPortal( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    ref: colorPickerRef,\n    style: {\n      position: 'absolute',\n      top: topPos,\n      right: winWidth - right,\n      zIndex: 1050\n    },\n    className: className\n  }, showPanel ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()('kdesigner-colorPanel', 'kd-cq-color-picker kd-cq-kdesigner-color-picker')\n  }, !hideThemeBtn && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: \"themeBtn\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0012')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10__.Switch, {\n    size: \"large\",\n    checked: checkState,\n    onClick: handleCheck\n  })), !checkState && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement((react__WEBPACK_IMPORTED_MODULE_7___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: \"textPanel\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: \"textItme\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0013')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10__.Input, {\n    borderType: \"bordered\",\n    value: innerColor,\n    prefix: colorTextPrefix,\n    onChange: handleChangeText\n  })), !hideAlphaInput && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: \"textItme\",\n    title: \"\".concat((0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0014'), \"[0, 100]\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"label\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_11__.getLangMsg)('designer.editor.key0015')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_10__.InputNumber, {\n    borderType: \"bordered\",\n    value: String(innerAlpha),\n    min: 0,\n    max: 100,\n    onChange: handleChangeAlpha\n  }))), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", {\n    className: \"colors\"\n  }, createColorItems()))) : null), document.body);\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ColorPicker);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/common/ColorPicker.tsx?");

/***/ }),

/***/ 57172:
/*!***************************************************************!*\
  !*** ../kd-designer/src/editor/common/CustomInputTrigger.tsx ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./NameTipWrapper */ 42440);\n\n\n\nvar CustomInputTrigger = function CustomInputTrigger(props) {\n  var onClick = props.onClick,\n    className = props.className,\n    editor = props.editor,\n    name = props.Name,\n    tips = props.Tips,\n    value = props.value,\n    disabled = props.disabled,\n    onInputClick = props.onInputClick,\n    _props$placeholder = props.placeholder,\n    placeholder = _props$placeholder === void 0 ? '' : _props$placeholder;\n  var nameHidden = editor.NameHidden,\n    required = editor.Required,\n    title = editor.Title;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    nameHidden: nameHidden,\n    className: className,\n    name: name,\n    tips: tips,\n    required: required,\n    title: title\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Input, {\n    className: \"\".concat(className, \"-custom-input\"),\n    borderType: \"bordered\",\n    readOnly: true,\n    placeholder: placeholder,\n    value: value,\n    disabled: disabled,\n    onClick: onInputClick,\n    suffix: !disabled && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_1__.Icon, {\n      prefix: \"designericon\",\n      type: \"gengduo\",\n      style: {\n        cursor: 'pointer'\n      },\n      onClick: onClick\n    })\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (CustomInputTrigger);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/common/CustomInputTrigger.tsx?");

/***/ }),

/***/ 66000:
/*!*****************************************************************!*\
  !*** ../kd-designer/src/editor/common/NameTipSwitchWrapper.tsx ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/objectWithoutProperties */ 28220);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./NameTipWrapper */ 42440);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__);\n\nvar _excluded = [\"switchValue\", \"onSwitchChange\"];\n/*\n * @Description: 标题带有开关\n * @Author: jianhang_he\n * @Date: 2023-05-11 14:04:18\n * @LastEditTime: 2023-05-11 14:46:25\n * @Last Modified by: jianhang_he\n */\n\n\n\nvar NameTipSwitchWrapper = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_1__.memo)(function (_ref) {\n  var switchValue = _ref.switchValue,\n    onSwitchChange = _ref.onSwitchChange,\n    otherProps = (0,_babel_runtime_corejs3_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_ref, _excluded);\n  var className = otherProps.className;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(className, \"-title-switch\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_NameTipWrapper__WEBPACK_IMPORTED_MODULE_2__[\"default\"], otherProps), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_3__.Switch, {\n    checked: switchValue,\n    onChange: onSwitchChange\n  }));\n});\nNameTipSwitchWrapper.displayName = 'NameTipSwitchWrapper';\n/* harmony default export */ __webpack_exports__[\"default\"] = (NameTipSwitchWrapper);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/common/NameTipSwitchWrapper.tsx?");

/***/ }),

/***/ 42440:
/*!***********************************************************!*\
  !*** ../kd-designer/src/editor/common/NameTipWrapper.tsx ***!
  \***********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ 97552);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/starts-with */ 49464);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../context/global-config-context */ 21708);\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_2___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_3___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context10; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_0___default()(_context10 = Object.prototype.toString.call(o)).call(_context10, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_1___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-06 14:18:10\n * @Last Modified by: fjr\n * @LastEditTime: 2023-12-05 10:20:51\n * @Description: ...\n */\n\n\n\n\n\nvar NameTipWrapper = function NameTipWrapper(_ref) {\n  var tips = _ref.tips,\n    name = _ref.name,\n    className = _ref.className,\n    nameHidden = _ref.nameHidden,\n    required = _ref.required,\n    onLinkClick = _ref.onLinkClick,\n    nameTitle = _ref.title,\n    nameStyle = _ref.nameStyle,\n    subTitle = _ref.subTitle;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_13__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState, 2),\n    iconVisible = _useState2[0],\n    setIconVisible = _useState2[1];\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_13__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n    tipsVisibleByMouse = _useContext.tipsVisibleByMouse,\n    _useContext$tipsPosti = _useContext.tipsPostion,\n    tipsPostion = _useContext$tipsPosti === void 0 ? {\n      placement: 'top'\n    } : _useContext$tipsPosti;\n  var newTips = (0,react__WEBPACK_IMPORTED_MODULE_13__.useMemo)(function () {\n    if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(tips) !== 'object') return tips;\n    var linkData = tips.linkData,\n      content = tips.content,\n      title = tips.title;\n    var warpContent = getWarpContent(content);\n    var tabContent = getTabContent(warpContent);\n    var link = getLinkContent(linkData, tabContent, {\n      handleLinkClick: onLinkClick\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", null, title && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n      className: \"\".concat(className, \"-Tooltip-title\")\n    }, title), link);\n  }, [tips, className, onLinkClick]);\n  var handleMouseEnter = function handleMouseEnter() {\n    tipsVisibleByMouse && setIconVisible(true);\n  };\n  var handleMouseLeave = function handleMouseLeave() {\n    tipsVisibleByMouse && setIconVisible(false);\n  };\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"div\", {\n    style: nameStyle,\n    className: classnames__WEBPACK_IMPORTED_MODULE_14___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({}, \"\".concat(className, \"-title\"), true), \"\".concat(className, \"-placeholder\"), nameHidden)),\n    onMouseEnter: handleMouseEnter,\n    onMouseLeave: handleMouseLeave\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"span\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_14___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({}, \"\".concat(className, \"-title-text\"), true))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"span\", {\n    title: nameTitle || name || ''\n  }, name), subTitle && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"span\", {\n    className: \"\".concat(className, \"-title-sub\")\n  }, subTitle), required && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"span\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_14___default()((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_5__[\"default\"])({}, \"\".concat(className, \"-title-required-text\"), required))\n  }, \"*\")), newTips && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Tooltip, {\n    placement: tipsPostion.placement,\n    tip: newTips,\n    style: {\n      marginLeft: '5px'\n    },\n    scrollHidden: true,\n    popperStyle: tipsPostion.tipsStyle\n  }, (!tipsVisibleByMouse || tipsVisibleByMouse && iconVisible) && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_15__.Icon, {\n    prefix: \"designericon\",\n    type: \"wenhao\"\n  })));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (NameTipWrapper);\n\n/**\n    * 获取包含连接的文本\n    * @param {map} linkData 连接配置信息对象\n    * @param {string} content 内容\n    * @param {string} locale - 当前语言\n    * @param {Object} others - 其他属性值\n    */\nvar getLinkContent = function getLinkContent(linkData, content, others) {\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(content)) {\n    var _context;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(content).call(content, function (item) {\n      return !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isEmpty)(item);\n    })).call(_context, function (item) {\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(item)) {\n        return getLinkContent(linkData, item, others);\n      }\n      return parseLinkContent(linkData, item, others);\n    });\n  }\n  return parseLinkContent(linkData, content, others);\n};\n\n/**\n  * 解析链接\n  */\nvar parseLinkContent = function parseLinkContent(linkData, content, others) {\n  var handleLinkClick = others.handleLinkClick;\n  var flagReg = new RegExp(/(#\\{\\d+\\})/);\n  var indexReg = new RegExp(/\\d+/);\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isString)(content) && flagReg.test(content)) {\n    var _context2, _context3;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(_context3 = content.split(/(#\\{\\d+\\})/g)).call(_context3, function (item) {\n      return !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isEmpty)(item);\n    })).call(_context2, function (item, i) {\n      if (flagReg.test(item)) {\n        var linkIndex = _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_10___default()(item.match(indexReg));\n        var _iterator = _createForOfIteratorHelper(linkData),\n          _step;\n        try {\n          var _loop = function _loop() {\n              var data = _step.value;\n              // element 格式{name: '下一步', code: 'next', index: 0}\n              var index = data.index;\n              var name = data.name;\n              var code = data.code;\n\n              // tips文本中的链接点击方法\n              var handleClick = function handleClick() {\n                handleLinkClick && handleLinkClick(code);\n              };\n              if (index === linkIndex) {\n                var _context4;\n                return {\n                  v: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(Link, {\n                    key: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_11___default()(_context4 = \"link\".concat(i, \"_\")).call(_context4, code),\n                    name: name,\n                    code: code,\n                    index: index,\n                    onClick: handleClick\n                  })\n                };\n              }\n            },\n            _ret;\n          for (_iterator.s(); !(_step = _iterator.n()).done;) {\n            _ret = _loop();\n            if (_ret) return _ret.v;\n          }\n        } catch (err) {\n          _iterator.e(err);\n        } finally {\n          _iterator.f();\n        }\n      }\n      return item;\n    });\n  }\n  return content;\n};\n\n/**\n  * 解析换行文本\n  * @param {array|string} content 内容\n  */\nvar parseWarpContent = function parseWarpContent(content) {\n  var warpReg = new RegExp(/(\\\\r\\\\n)|(\\\\n)|(\\\\r)/g);\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isString)(content) && warpReg.test(content)) {\n    var _context5, _context6;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context5 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(_context6 = content.split(warpReg)).call(_context6, function (item) {\n      return !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isEmpty)(item);\n    })).call(_context5, function (item, i) {\n      if (warpReg.test(item)) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"br\", {\n          key: \"br_\".concat(i)\n        });\n      }\n      return (0,lodash__WEBPACK_IMPORTED_MODULE_16__.trimStart)(item);\n    });\n  }\n  return content;\n};\nvar getWarpContent = function getWarpContent(content) {\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(content)) {\n    var _context7;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context7 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(content).call(content, function (item) {\n      return !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isEmpty)(item);\n    })).call(_context7, function (value) {\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(value)) {\n        return getWarpContent(value);\n      }\n      return parseWarpContent(value);\n    });\n  }\n  return parseWarpContent(content);\n};\n\n/**\n  * 解析缩进\n  * @param {string|array} str 内容\n  */\nvar parseTabContent = function parseTabContent(str) {\n  var tabReg = new RegExp(/(\\\\t)/g);\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isString)(str) && tabReg.test(str)) {\n    var _context8;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context8 = str.split(tabReg)).call(_context8, function (item, i) {\n      if (tabReg.test(item)) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"span\", {\n          style: {\n            paddingLeft: '2em'\n          },\n          key: \"span_\".concat(i)\n        });\n      }\n      return item;\n    });\n  }\n  return str;\n};\nvar getTabContent = function getTabContent(content) {\n  if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(content)) {\n    var _context9;\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context9 = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_9___default()(content).call(content, function (item) {\n      return !(0,lodash__WEBPACK_IMPORTED_MODULE_16__.isEmpty)(item);\n    })).call(_context9, function (value) {\n      if ((0,lodash__WEBPACK_IMPORTED_MODULE_16__.isArray)(value)) {\n        return getTabContent(value);\n      }\n      return parseTabContent(value);\n    });\n  }\n  return parseTabContent(content);\n};\nvar Link = function Link(_ref2) {\n  var name = _ref2.name,\n    code = _ref2.code,\n    handleClick = _ref2.onClick;\n  var isOutsizeLink = _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12___default()(code).call(code, 'www') || _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12___default()(code).call(code, 'http://') || _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12___default()(code).call(code, 'https://');\n  var style = {\n    padding: ' 0px 2px',\n    color: '#5E80EB',\n    cursor: ' pointer'\n  };\n  return isOutsizeLink ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"a\", {\n    className: \"link-color\",\n    style: style,\n    href: _babel_runtime_corejs3_core_js_stable_instance_starts_with__WEBPACK_IMPORTED_MODULE_12___default()(code).call(code, 'www') ? \"http://\".concat(code) : code,\n    target: \"_blank\",\n    rel: \"noreferrer\"\n  }, name) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_13___default().createElement(\"a\", {\n    className: \"link-color\",\n    style: style,\n    href: \"javascript:void(0);\",\n    onClick: handleClick\n  }, name);\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/common/NameTipWrapper.tsx?");

/***/ }),

/***/ 9364:
/*!**********************************************************************!*\
  !*** ../kd-designer/src/editor/default-readonly-property-editor.tsx ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nvar Editor = function Editor(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null, \"title\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, \"prop text\"));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Editor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/default-readonly-property-editor.tsx?");

/***/ }),

/***/ 19696:
/*!******************************************************************!*\
  !*** ../kd-designer/src/editor/default-text-property-editor.tsx ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n// 默认文本编辑器\n\nvar Editor = function Editor(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"span\", null, \"title\"), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"input\", {\n    value: \"please input\"\n  }));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (Editor);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/default-text-property-editor.tsx?");

/***/ }),

/***/ 85076:
/*!******************************************!*\
  !*** ../kd-designer/src/editor/index.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   editorControls: function() { return /* binding */ editorControls; },\n/* harmony export */   editorControlsMap: function() { return /* binding */ editorControlsMap; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _ColorPropertyEditor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ColorPropertyEditor */ 14368);\n/* harmony import */ var _InputPropertyEditor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./InputPropertyEditor */ 33224);\n/* harmony import */ var _SelectPropertyEditor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SelectPropertyEditor */ 17852);\n/* harmony import */ var _CheckboxPropertyEditor__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./CheckboxPropertyEditor */ 98020);\n/* harmony import */ var _CheckboxGroupPropertyEditor__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./CheckboxGroupPropertyEditor */ 78764);\n/* harmony import */ var _SwitchPropertyEditor__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SwitchPropertyEditor */ 80860);\n/* harmony import */ var _DimensionPropertyEditor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./DimensionPropertyEditor */ 84140);\n/* harmony import */ var _TabPropertyEditor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./TabPropertyEditor */ 80888);\n/* harmony import */ var _RadioPropertyEditor__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./RadioPropertyEditor */ 53460);\n/* harmony import */ var _ReadonlyPropertyEditor__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./ReadonlyPropertyEditor */ 81980);\n/* harmony import */ var _CustomPropertyEditor__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./CustomPropertyEditor */ 20616);\n/* harmony import */ var _IconPropertyEditor__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./IconPropertyEditor */ 87332);\n/* harmony import */ var _BorderPropertyEditor__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./BorderPropertyEditor */ 79444);\n/* harmony import */ var _DaterangePropertyEditor__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DaterangePropertyEditor */ 5576);\n/* harmony import */ var _StepperPropertyEditor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./StepperPropertyEditor */ 45928);\n/* harmony import */ var _DatePickerPropertyEditor__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DatePickerPropertyEditor */ 86140);\n\n/*\n * @Author: wbw\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2023-11-14 10:55:20\n * @Description: ...\n */\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar editorControlsMap = {\n  Input: _InputPropertyEditor__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n  TextArea: _InputPropertyEditor__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n  Checkbox: _CheckboxPropertyEditor__WEBPACK_IMPORTED_MODULE_4__[\"default\"],\n  Switch: _SwitchPropertyEditor__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n  Radio: _RadioPropertyEditor__WEBPACK_IMPORTED_MODULE_9__[\"default\"],\n  iconCheck: _IconPropertyEditor__WEBPACK_IMPORTED_MODULE_12__[\"default\"],\n  Select: _SelectPropertyEditor__WEBPACK_IMPORTED_MODULE_3__[\"default\"],\n  MultiSelect: _SelectPropertyEditor__WEBPACK_IMPORTED_MODULE_3__.EditorPropertyMultiSelect,\n  CustomInput: _CustomPropertyEditor__WEBPACK_IMPORTED_MODULE_11__[\"default\"],\n  CheckBoxGroup: _CheckboxGroupPropertyEditor__WEBPACK_IMPORTED_MODULE_5__[\"default\"],\n  Dimension: _DimensionPropertyEditor__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n  Tab: _TabPropertyEditor__WEBPACK_IMPORTED_MODULE_8__[\"default\"],\n  ReadOnly: _ReadonlyPropertyEditor__WEBPACK_IMPORTED_MODULE_10__[\"default\"],\n  Color: _ColorPropertyEditor__WEBPACK_IMPORTED_MODULE_1__[\"default\"],\n  Border: _BorderPropertyEditor__WEBPACK_IMPORTED_MODULE_13__[\"default\"],\n  DateRange: _DaterangePropertyEditor__WEBPACK_IMPORTED_MODULE_14__[\"default\"],\n  Stepper: _StepperPropertyEditor__WEBPACK_IMPORTED_MODULE_15__[\"default\"],\n  TimePicker: _DatePickerPropertyEditor__WEBPACK_IMPORTED_MODULE_16__.EditorPropertyTimePicker,\n  DatePicker: _DatePickerPropertyEditor__WEBPACK_IMPORTED_MODULE_16__[\"default\"]\n};\nvar editorControls = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(editorControlsMap);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/index.ts?");

/***/ }),

/***/ 88108:
/*!***********************************************!*\
  !*** ../kd-designer/src/editor/type/index.ts ***!
  \***********************************************/
/***/ (function() {

eval("\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/editor/type/index.ts?");

/***/ }),

/***/ 56656:
/*!******************************************!*\
  !*** ../kd-designer/src/error/index.tsx ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ create; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../type */ 84460);\n/* harmony import */ var _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../designer-utils/utils/console */ 35132);\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! lodash/cloneDeep */ 2704);\n/* harmony import */ var lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11__);\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2022-02-15 10:15:20\n * @Last Modified by: fjr\n * @LastEditTime: 2023-07-07 15:50:47\n * @Description: ...\n */\n\n\n\n// import {RedoUndoStack} from './data-provider'\n// TODO：考虑拓展接口，并视图层forceUpdate即可？\n// {\n//   id1: {\n//     propsname1: {\n// 方便扩展\n//       message: '不能为空'\n//     },\n//     propsname2: {}\n//   },\n//   id2: {\n//     propsname1: {},\n//     propsname2: {}\n//   }\n// }\nfunction create(globalConfig) {\n  var listeners = [];\n  var error = {};\n  var self = {\n    // 替换错误信息\n    replaceError: function replaceError(data) {\n      var oldError = _objectSpread({}, error);\n      error = data;\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_9__.ErrorEventType.Replace,\n        value: error,\n        oldValue: oldError\n      });\n    },\n    // 设置错误信息\n    setError: function setError(data) {\n      if (!data) return;\n      var oldError = _objectSpread({}, error);\n      error = _objectSpread(_objectSpread({}, error), data);\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_9__.ErrorEventType.Reset,\n        value: error,\n        oldValue: oldError\n      });\n    },\n    // 删除错误信息\n    deleteError: function deleteError(ids) {\n      if (!(ids !== null && ids !== void 0 && ids.length)) return;\n      var newError = lodash_cloneDeep__WEBPACK_IMPORTED_MODULE_11___default()(error);\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(ids).call(ids, function (id) {\n        delete newError[id];\n      });\n      var oldError = error;\n      error = newError;\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_9__.ErrorEventType.Delete,\n        value: error,\n        oldValue: oldError\n      });\n    },\n    // 清空错误信息\n    clearError: function clearError() {\n      var oldError = _objectSpread({}, error);\n      error = {};\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_9__.ErrorEventType.Clear,\n        value: error,\n        oldValue: oldError\n      });\n    },\n    // 获取控件错误信息，默认是全部\n    getError: function getError(id) {\n      if (!id) return error;\n      return error[id] || null;\n    },\n    addErrorChangeListener: function addErrorChangeListener(callback) {\n      listeners.push(callback);\n      return function removeDataChangeListener() {\n        // 待验证纠错:\n        // const index = listeners.indexOf(callback)\n        // listeners.splice(index, 1)\n        // listeners.splice(index, 0)\n        listeners = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_8___default()(listeners).call(listeners, function (cb) {\n          return cb !== callback;\n        });\n      };\n    },\n    // 这里fireEvent看下有几个event都是哪的\n    fireEvent: function fireEvent(event) {\n      _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_10__[\"default\"].log('error fireEvt', event, listeners);\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(listeners).call(listeners, function (listener) {\n        try {\n          listener(event);\n        } catch (error) {\n          _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_10__[\"default\"].error(error);\n        }\n      });\n    }\n  };\n  return self;\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/error/index.tsx?");

/***/ }),

/***/ 9700:
/*!*********************************************************!*\
  !*** ../kd-designer/src/hooks/useActivedSelectedId.tsx ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getActiveSelectedId: function() { return /* binding */ getActiveSelectedId; },\n/* harmony export */   useActivedSelectedId: function() { return /* binding */ useActivedSelectedId; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:45:52\n * @Description: ...\n */\n\n\nvar getActiveSelectedId = function getActiveSelectedId(_ref) {\n  var dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext;\n  return selectionContext.getActiveSelectedId() || dataContext.getRootId();\n};\nvar useActivedSelectedId = function useActivedSelectedId(_ref2) {\n  var dataContext = _ref2.dataContext,\n    selectionContext = _ref2.selectionContext,\n    solidId = _ref2.solidId,\n    timeout = _ref2.timeout;\n  if (solidId) {\n    return {\n      activedSelectId: solidId\n    };\n  }\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(function () {\n      return getActiveSelectedId({\n        dataContext: dataContext,\n        selectionContext: selectionContext\n      });\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    activedSelectId = _useState2[0],\n    setActivedSelectId = _useState2[1];\n  var activedSelectIdRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(activedSelectId);\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    var callback = function callback() {\n      var activedSelectedId = getActiveSelectedId({\n        dataContext: dataContext,\n        selectionContext: selectionContext\n      });\n      if (activedSelectedId !== activedSelectIdRef.current) {\n        _designer_utils__WEBPACK_IMPORTED_MODULE_2__.console.log('setActivedSelectId(activedSelectedId)', activedSelectedId);\n        activedSelectIdRef.current = activedSelectedId;\n        setActivedSelectId(activedSelectedId);\n      }\n    };\n    var prosiblieDelayCallback = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_2__.timerManager)(callback, timeout);\n    var subscribe = selectionContext.addSelectChangeListener(prosiblieDelayCallback);\n    var dataSubscribe = dataContext.addDataChangeListener(prosiblieDelayCallback);\n    return function () {\n      subscribe && subscribe();\n      dataSubscribe && dataSubscribe();\n    };\n  }, []);\n  return {\n    activedSelectId: activedSelectId\n  };\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/hooks/useActivedSelectedId.tsx?");

/***/ }),

/***/ 73604:
/*!***************************************************!*\
  !*** ../kd-designer/src/hooks/useSelectModel.tsx ***!
  \***************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ useSelectModel; },\n/* harmony export */   getModelData: function() { return /* binding */ getModelData; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! immer */ 83789);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _action_index__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../action/index */ 99060);\n/* harmony import */ var _utils_data__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_utils/data */ 15400);\n/* harmony import */ var _meta__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../meta */ 55796);\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context3, _context4; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(_context3 = ownKeys(Object(t), !0)).call(_context3, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_4___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_3___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(_context4 = ownKeys(Object(t))).call(_context4, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_5___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2022-03-22 14:42:15\n * @Description: ...\n */\n\n\n\n\n\nfunction useSelectModel(_ref) {\n  var _context, _propertyViewSetting$;\n  var dataContext = _ref.dataContext,\n    selectionContext = _ref.selectionContext,\n    solidId = _ref.solidId,\n    meta = _ref.meta,\n    activedSelectId = _ref.activedSelectId,\n    modelFactory = _ref.modelFactory,\n    _ref$globalConfig = _ref.globalConfig,\n    globalConfig = _ref$globalConfig === void 0 ? {} : _ref$globalConfig;\n  var keywordMapping = globalConfig.keywordMapping,\n    isRootPropertyEmpty = globalConfig.isRootPropertyEmpty,\n    _globalConfig$designe = globalConfig.designerContextValue,\n    designerContextValue = _globalConfig$designe === void 0 ? {} : _globalConfig$designe,\n    _globalConfig$propert = globalConfig.propertyViewSetting,\n    propertyViewSetting = _globalConfig$propert === void 0 ? {} : _globalConfig$propert;\n  var getModel = designerContextValue.getModel;\n  var selection = selectionContext.getSelection();\n  var rootId = dataContext.getRootId();\n  var data = dataContext.getData();\n  var isRoot = rootId === activedSelectId;\n  var MultiSelect = selection.length > 1;\n  var selectItem = dataContext.findControl(solidId || activedSelectId || rootId) || dataContext.findControl(rootId);\n  var selectItems = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(selection).call(selection, function (id) {\n    return dataContext.findControl(id);\n  })).call(_context, Boolean);\n  var selectItemTypes = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_9___default()(selectItems).call(selectItems, function (item) {\n    return item[keywordMapping.type];\n  });\n  var emptySelect = isRootPropertyEmpty && !solidId && isRoot;\n  var selectItemType = dataContext.getRealControlType(selectItem, keywordMapping.type);\n  var selectModel = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_meta__WEBPACK_IMPORTED_MODULE_13__.getControlMeta)(selectItemType)(meta);\n  }, [selectItemType, meta]);\n  var controlType = selectModel.Id;\n  var defaultData = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_meta__WEBPACK_IMPORTED_MODULE_13__.getControlDefaultData)(selectItemType)(meta, globalConfig);\n  }, [selectItemType, meta, globalConfig]);\n  var field = selectItem;\n  var fieldWithDefaultData = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return _objectSpread(_objectSpread({}, defaultData), field);\n  }, [defaultData, field]);\n  var itemId = selectItem[keywordMapping.id];\n  var modelData = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    var actionArguments = _objectSpread(_objectSpread({}, data), {}, {\n      field: fieldWithDefaultData\n    });\n    var model = getModelData(selectModel.Properties, actionArguments, {\n      getModel: getModel\n    });\n    if (MultiSelect && !solidId) {\n      var commonProperties = (0,_utils_data__WEBPACK_IMPORTED_MODULE_12__.getCommonProperties)(selectItemTypes)(meta, globalConfig);\n      return commonProperties !== null && commonProperties !== void 0 && commonProperties.length ? getModelData(commonProperties, actionArguments, {\n        getModel: getModel\n      }) : model;\n    } else {\n      return model;\n    }\n  }, [selectModel, MultiSelect, fieldWithDefaultData, solidId]);\n  var isEmptyView = (_propertyViewSetting$ = propertyViewSetting.showEmptyView) === null || _propertyViewSetting$ === void 0 ? void 0 : _propertyViewSetting$.call(propertyViewSetting, activedSelectId);\n  return {\n    modelData: modelData,\n    emptySelect: emptySelect,\n    activedSelectId: activedSelectId,\n    field: fieldWithDefaultData,\n    controlType: controlType,\n    itemId: itemId,\n    isEmptyView: isEmptyView\n  };\n}\nfunction getModelData(properties, data) {\n  var _ref2 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n    getModel = _ref2.getModel;\n  var newProperties = (0,immer__WEBPACK_IMPORTED_MODULE_14__[\"default\"])(properties, function (draft) {\n    var _context2;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_8___default()(_context2 = (0,_action_index__WEBPACK_IMPORTED_MODULE_11__.getActionResults)(draft, data, getModel)).call(_context2, function (result) {\n      (0,_action_index__WEBPACK_IMPORTED_MODULE_11__.updateNodeProperty)(draft, result);\n    });\n  });\n  return newProperties;\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/hooks/useSelectModel.tsx?");

/***/ }),

/***/ 46644:
/*!*******************************************!*\
  !*** ../kd-designer/src/hooks/useTab.tsx ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ViewHeader: function() { return /* binding */ ViewHeader; },\n/* harmony export */   \"default\": function() { return /* binding */ ViewTab; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/values */ 41256);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_has__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/has */ 55640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_has__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_reflect_has__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ 6908);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _context_select_context__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../context/select-context */ 23412);\n/* harmony import */ var _context_data_context__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../context/data-context */ 55308);\n/* harmony import */ var _hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../hooks/useActivedSelectedId */ 9700);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// import DesignerIcon from '../../icon'\n\n\n\n\n\n\nvar TabPane = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13__.Tabs.TabPane;\nfunction ViewTab(_ref) {\n  var _Object$values$;\n  var tabViews = _ref.views,\n    meta = _ref.meta,\n    className = _ref.className,\n    portalId = _ref.portalId,\n    position = _ref.position;\n  var dataContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_context_data_context__WEBPACK_IMPORTED_MODULE_15__[\"default\"]);\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_14__[\"default\"]);\n  var _useActivedSelectedId = (0,_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_16__.useActivedSelectedId)({\n      dataContext: dataContext,\n      selectionContext: selectionContext\n    }),\n    activedSelectId = _useActivedSelectedId.activedSelectId;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n    activateTab = _useContext.activateTab,\n    keywordMapping = _useContext.keywordMapping,\n    renderCustomTab = _useContext.renderCustomTab,\n    getViews = _useContext.getViews,\n    viewCollapseState = _useContext.viewCollapseState,\n    viewsStateRef = _useContext.viewsStateRef,\n    onViewCollapseChange = _useContext.onViewCollapseChange,\n    onViewActiveKeyChange = _useContext.onViewActiveKeyChange;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)((viewCollapseState === null || viewCollapseState === void 0 ? void 0 : viewCollapseState[position]) || false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    hide = _useState2[0],\n    setHide = _useState2[1];\n  var isActiveRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(false);\n  var initialFirstValidTabKeyRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)('');\n  initialFirstValidTabKeyRef.current = (_Object$values$ = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_1___default()(tabViews)[0]) === null || _Object$values$ === void 0 || (_Object$values$ = _Object$values$.props) === null || _Object$values$ === void 0 ? void 0 : _Object$values$.tabKey;\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(tabViews),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState3, 2),\n    views = _useState4[0],\n    _setViews = _useState4[1];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      var _views$;\n      return (_views$ = views[0]) === null || _views$ === void 0 || (_views$ = _views$.props) === null || _views$ === void 0 ? void 0 : _views$.tabKey;\n    }),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState5, 2),\n    tabKey = _useState6[0],\n    _setTabKey = _useState6[1];\n  var hasTab = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(views).call(views, function (view) {\n    return tabKey === view.props.tabKey;\n  });\n  var tabPanes = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(views).call(views, function (view) {\n      var _view$props, _view$props2;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(TabPane, {\n        key: (_view$props = view.props) === null || _view$props === void 0 ? void 0 : _view$props.tabKey,\n        tab: (0,lodash__WEBPACK_IMPORTED_MODULE_18__.isFunction)(renderCustomTab) ? renderCustomTab(tabKey, view.props) : (_view$props2 = view.props) === null || _view$props2 === void 0 ? void 0 : _view$props2.tabName\n      }, view);\n    });\n  }, [views]);\n  var setTabKeyCallback = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function (id) {\n    id && _setTabKey(id);\n  }, []);\n  var handleTitleClick = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function (id) {\n    if (id !== tabKey) {\n      _setTabKey(id);\n      isActiveRef.current = true;\n      onViewActiveKeyChange === null || onViewActiveKeyChange === void 0 || onViewActiveKeyChange({\n        position: position,\n        key: id\n      });\n    }\n    if (hide) {\n      setHide(false);\n      onViewCollapseChange === null || onViewCollapseChange === void 0 || onViewCollapseChange({\n        position: position,\n        hide: false\n      });\n    }\n  }, [tabKey, hide, setTabKeyCallback, position]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useLayoutEffect)(function () {\n    viewsStateRef.current[position] = {\n      hide: hide,\n      activeKey: tabKey,\n      setTabKey: function setTabKey(key) {\n        if (key !== tabKey) {\n          isActiveRef.current = true;\n          _setTabKey(key);\n        }\n      },\n      getViewKeys: function getViewKeys() {\n        var _context;\n        return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(views).call(views, function (view) {\n          var _view$props3;\n          return view === null || view === void 0 || (_view$props3 = view.props) === null || _view$props3 === void 0 ? void 0 : _view$props3.tabKey;\n        })).call(_context, Boolean);\n      },\n      setViews: function setViews(viewSetting) {\n        if (_babel_runtime_corejs3_core_js_stable_reflect_has__WEBPACK_IMPORTED_MODULE_5___default()(viewSetting, position) && _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default()(viewSetting[position])) {\n          _setViews(function () {\n            var _context3;\n            var filter = function filter(view) {\n              var _context2;\n              // 这里的tabKey估计很难理解\n              var tabKey = view.props.tabKey;\n              if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = viewSetting[position]).call(_context2, tabKey)) {\n                return true;\n              } else {\n                return false;\n              }\n            };\n            var newViews = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_1___default()(tabViews)).call(_context3, function (view, idx) {\n              var flag = filter(view);\n              return flag;\n            });\n            return _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_8___default()(newViews).call(newViews, function (aView, bView) {\n              var _context4, _context5;\n              var aTabKey = aView.props.aTabKey;\n              var bTabKey = bView.props.bTabKey;\n              return _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9___default()(_context4 = viewSetting[position]).call(_context4, aTabKey) - _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_9___default()(_context5 = viewSetting[position]).call(_context5, bTabKey);\n            });\n          });\n        }\n      },\n      setHide: setHide\n    };\n  }, [hide, tabKey, _setTabKey, setHide, views]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useLayoutEffect)(function () {\n    var activeTabKey = activateTab === null || activateTab === void 0 ? void 0 : activateTab({\n      dataContext: dataContext,\n      selectionContext: selectionContext\n    }, position);\n    if (activateTab && activeTabKey) {\n      _setTabKey(activeTabKey);\n    } else if (!activateTab && !isActiveRef.current) {\n      /**\n        * 修复BT-00538983，主要问题是根节点无首页签，初始加载业务页签没有首页签，切换其他控件又是要首页签的情况\n        * 采用记住第一次未点击前的真正的页签节点，然后每次进来都判断下, 点击之后就完全只看状态，不看交互\n        *\n        */\n      if (tabKey !== initialFirstValidTabKeyRef.current && _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_2___default()(views).call(views, function (view) {\n        return initialFirstValidTabKeyRef.current === view.props.tabKey;\n      })) {\n        _setTabKey(initialFirstValidTabKeyRef.current);\n      }\n    }\n  }, [activedSelectId]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (!hasTab) {\n      var _views$2;\n      setTabKeyCallback((_views$2 = views[0]) === null || _views$2 === void 0 || (_views$2 = _views$2.props) === null || _views$2 === void 0 ? void 0 : _views$2.tabKey);\n    }\n  }, [hasTab, views]);\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_18__.isEqual)(views, tabViews)) {\n      _setViews(tabViews);\n    }\n  }, [tabViews]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()([className, {\n      hide: hide\n    }])\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(ViewHeader, {\n    content: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(TabTitle, {\n      className: className,\n      tabPanes: tabPanes,\n      tabKey: tabKey,\n      handleChange: handleTitleClick,\n      hide: hide,\n      setHide: setHide,\n      onViewCollapseChange: onViewCollapseChange,\n      position: position\n    }),\n    portalId: portalId\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(ViewPane, {\n    activeKey: tabKey,\n    views: views,\n    className: \"\".concat(className, \"-tabs\")\n  }));\n}\nvar ViewPane = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_10__.memo)(function (_ref2) {\n  var activeKey = _ref2.activeKey,\n    views = _ref2.views,\n    className = _ref2.className;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: className\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3___default()(views).call(views, function (view) {\n    var _view$props4, _view$props5;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_12___default()([\"\".concat(className, \"-body\"), {\n        hidden: ((_view$props4 = view.props) === null || _view$props4 === void 0 ? void 0 : _view$props4.tabKey) !== activeKey\n      }]),\n      key: \"\".concat((_view$props5 = view.props) === null || _view$props5 === void 0 ? void 0 : _view$props5.tabKey, \"-wrap\")\n    }, view);\n  }));\n});\nfunction TabTitle(_ref3) {\n  var className = _ref3.className,\n    tabPanes = _ref3.tabPanes,\n    tabKey = _ref3.tabKey,\n    handleChange = _ref3.handleChange,\n    hide = _ref3.hide,\n    setHide = _ref3.setHide,\n    onViewCollapseChange = _ref3.onViewCollapseChange,\n    position = _ref3.position;\n  var handleIconClick = function handleIconClick() {\n    var newHide = !hide;\n    setHide(!hide);\n    onViewCollapseChange === null || onViewCollapseChange === void 0 || onViewCollapseChange({\n      position: position,\n      hide: newHide\n    });\n  };\n  var iconType = position === 'left' ? hide ? 'zuolanzhankai' : 'zuolanshouqi' : hide ? 'youlanzhankai' : 'youlanshouqi';\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement((react__WEBPACK_IMPORTED_MODULE_10___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13__.Tabs, {\n    position: \"top\",\n    defaultActiveKey: tabKey,\n    onChange: handleChange,\n    className: classnames__WEBPACK_IMPORTED_MODULE_12___default()([\"\".concat(className, \"-tabs-title\"), {\n      hide: hide\n    }]),\n    size: \"small\",\n    noContainer: true\n  }, tabPanes), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_13__.Icon, {\n    prefix: \"designericon\",\n    type: iconType,\n    onClick: handleIconClick,\n    title: hide ? (0,_designer_utils__WEBPACK_IMPORTED_MODULE_19__.getLangMsg)('designer.leftView.key0002') : (0,_designer_utils__WEBPACK_IMPORTED_MODULE_19__.getLangMsg)('designer.leftView.key0003')\n  }));\n}\nfunction ViewHeader(_ref4) {\n  var content = _ref4.content,\n    portalId = _ref4.portalId;\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState7, 2),\n    isMounted = _useState8[0],\n    setIsMounted = _useState8[1];\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_17__[\"default\"]),\n    getNode = _useContext2.getNode;\n  var root = getNode();\n  var dom = root && root.querySelector(\"[data-portalId=\".concat(portalId, \"]\"));\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    setIsMounted(true);\n  }, []);\n  return isMounted && dom && /*#__PURE__*/(0,react_dom__WEBPACK_IMPORTED_MODULE_11__.createPortal)(content, dom);\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/hooks/useTab.tsx?");

/***/ }),

/***/ 33856:
/*!************************************!*\
  !*** ../kd-designer/src/index.tsx ***!
  \************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/values */ 41256);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./config-provider/ConfigContext */ 76228);\n/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./_utils */ 78172);\n/* harmony import */ var _view_left_view__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./view/left-view */ 75484);\n/* harmony import */ var _view_main_view__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./view/main-view */ 88445);\n/* harmony import */ var _view_right_view__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./view/right-view */ 55112);\n/* harmony import */ var _view_top_view__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./view/top-view */ 44816);\n/* harmony import */ var _view_control_view__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./view/control-view */ 32884);\n/* harmony import */ var _view_property_view__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./view/property-view */ 2044);\n/* harmony import */ var _context_select_context__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./context/select-context */ 23412);\n/* harmony import */ var _context_error_context__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./context/error-context */ 18440);\n/* harmony import */ var _context_data_context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./context/data-context */ 55308);\n/* harmony import */ var _selection__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./selection */ 70820);\n/* harmony import */ var _data_data_provider__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./data/data-provider */ 43316);\n/* harmony import */ var _error__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./error */ 56656);\n/* harmony import */ var _utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./_utils/property-editor-factory */ 93888);\n/* harmony import */ var _action_factory__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./action/factory */ 26096);\n/* harmony import */ var _editor_default_text_property_editor__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./editor/default-text-property-editor */ 19696);\n/* harmony import */ var _editor_default_readonly_property_editor__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./editor/default-readonly-property-editor */ 9364);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./context/global-config-context */ 21708);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./context */ 10268);\n/* harmony import */ var _utils_data__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./_utils/data */ 15400);\n/* harmony import */ var _type_actionType__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./type/actionType */ 54465);\n/* harmony import */ var _data_data_api__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./data/data-api */ 94408);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! immer */ 83789);\n/* harmony import */ var _create_api_createDesignerApi__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./create-api/createDesignerApi */ 70116);\n/* harmony import */ var _create_api_createViewsApi__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./create-api/createViewsApi */ 17144);\n/* harmony import */ var _constant__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./constant */ 71912);\n/* harmony import */ var _meta_transformMeta__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./meta/transformMeta */ 59499);\n/* harmony import */ var _meta__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./meta */ 55796);\n/* harmony import */ var _alias_data__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./alias-data */ 8744);\n/* harmony import */ var _message__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./message */ 45516);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../designer-utils */ 89592);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nif (!!navigator.userAgent.match(/Trident\\/(\\d+)/)) {\n  (0,immer__WEBPACK_IMPORTED_MODULE_42__.enableES5)();\n  (0,immer__WEBPACK_IMPORTED_MODULE_42__.setAutoFreeze)(true); // process.env.NODE_ENV !== 'production'\n}\nvar KDesigner = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_10__.memo)( /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_10__.forwardRef)(function (props, _forwardedRef) {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_10__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_11__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls,\n    userDefaultProps = _useContext.compDefaultProps;\n  var kdesignerProps = (0,_utils__WEBPACK_IMPORTED_MODULE_12__.getCompProps)('Kdesigner', userDefaultProps, props); // 属性需要合并一遍用户定义的默认属性\n  var _kdesignerProps$globa = kdesignerProps.globalConfig,\n    globalConfig = _kdesignerProps$globa === void 0 ? {} : _kdesignerProps$globa,\n    customPrefixcls = kdesignerProps.prefixCls,\n    _kdesignerProps$data = kdesignerProps.data,\n    data = _kdesignerProps$data === void 0 ? {} : _kdesignerProps$data,\n    onData = kdesignerProps.onData,\n    onApi = kdesignerProps.onApi,\n    dataFtry = kdesignerProps.dataFactory,\n    modelFtry = kdesignerProps.modelFactory;\n  var meta = (0,_meta_transformMeta__WEBPACK_IMPORTED_MODULE_37__[\"default\"])(kdesignerProps.meta);\n  // controlMetaInfo, getControlMetaInfo后面都要移除\n  var controlMetaInfo = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_utils_data__WEBPACK_IMPORTED_MODULE_31__.getControlMetaInfo)(meta);\n  }, [meta]);\n  var kdesignerPrefixCls = getPrefixCls && getPrefixCls(prefixCls, 'kdesigner', customPrefixcls);\n  var newGlobalConfig = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_constant__WEBPACK_IMPORTED_MODULE_36__.createGlobalConfig)(globalConfig);\n  }, [globalConfig]);\n  var viewsStateRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)({});\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      return (0,_selection__WEBPACK_IMPORTED_MODULE_22__[\"default\"])(newGlobalConfig);\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState, 1),\n    selection = _useState2[0];\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      return (0,_error__WEBPACK_IMPORTED_MODULE_24__[\"default\"])(newGlobalConfig);\n    }),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState3, 1),\n    errorApi = _useState4[0];\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      return new _message__WEBPACK_IMPORTED_MODULE_40__[\"default\"]();\n    }),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState5, 1),\n    message = _useState6[0];\n  var modelFactory = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_utils_data__WEBPACK_IMPORTED_MODULE_31__.createControlModel)(meta);\n  }, [meta]);\n  var dataFactory = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_utils_data__WEBPACK_IMPORTED_MODULE_31__.createControlData)(meta, newGlobalConfig);\n  }, [meta]);\n  var metaApi = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return (0,_meta__WEBPACK_IMPORTED_MODULE_38__.createMetaApi)(meta, newGlobalConfig);\n  }, [meta]);\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      return (0,_data_data_provider__WEBPACK_IMPORTED_MODULE_23__[\"default\"])(meta, data, newGlobalConfig, onData);\n    }),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState7, 1),\n    dataApi = _useState8[0];\n  var dataProvider = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    dataApi.setMeta(meta);\n    var api = (0,_data_data_api__WEBPACK_IMPORTED_MODULE_33__[\"default\"])(dataApi, metaApi)(newGlobalConfig, selection, dataFtry || dataFactory, modelFtry || modelFactory, errorApi);\n    return api;\n  }, [meta]);\n\n  // const [dataProvider] = useState(() => {\n  //   const dataProvider = dataCreate(meta, data, newGlobalConfig, onData)\n  //   const api = dataApi(dataProvider, metaApi)(newGlobalConfig, selection, dataFtry || dataFactory, modelFtry || modelFactory)\n  //   return api\n  // })\n  var getNode = (0,react__WEBPACK_IMPORTED_MODULE_10__.useCallback)(function () {\n    return nodeRef.current;\n  }, []);\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      return (0,_alias_data__WEBPACK_IMPORTED_MODULE_39__.createAliasDataApi)(new _alias_data__WEBPACK_IMPORTED_MODULE_39__.AliasDataManage());\n    }),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState9, 1),\n    aliasDataApi = _useState10[0];\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    if (typeof onApi === 'function') {\n      onApi((0,_create_api_createDesignerApi__WEBPACK_IMPORTED_MODULE_34__[\"default\"])({\n        meta: metaApi,\n        data: dataProvider,\n        selection: selection,\n        error: errorApi,\n        getNode: getNode,\n        aliasData: aliasDataApi,\n        message: message,\n        dataFactory: dataFactory,\n        views: (0,_create_api_createViewsApi__WEBPACK_IMPORTED_MODULE_35__[\"default\"])(viewsStateRef)\n      }));\n    }\n  }, [meta]);\n  // useLayoutEffect使得最先添加 listener\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useLayoutEffect)(function () {\n    var callback = function callback() {\n      var selectedIds = selection.getSelection();\n      var exsitSelectedIds = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(selectedIds).call(selectedIds, function (id) {\n        return !!dataProvider.findControl(id);\n      });\n      if (exsitSelectedIds.length !== selectedIds.length) {\n        selection.setSelect(exsitSelectedIds);\n      }\n    };\n    var subscribe = dataProvider.addDataChangeListener(callback);\n    return function () {\n      subscribe && subscribe();\n    };\n  }, []);\n  var nodeRef = (0,react__WEBPACK_IMPORTED_MODULE_10__.useRef)(null);\n  var forwardedRef = _forwardedRef;\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useImperativeHandle)(forwardedRef, function () {\n    return {\n      attrActions: function attrActions(value) {\n        dataProvider.attrActions((0,_type_actionType__WEBPACK_IMPORTED_MODULE_32__.createAttrAction)(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_4___default()(value) ? value : [value]));\n      },\n      selectionContext: selection,\n      dataContext: dataProvider,\n      errorContext: errorApi,\n      getNode: getNode\n    };\n  }, []);\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(function () {\n      var factory = (0,_utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_25__[\"default\"])();\n      factory.rigistPropertyEditor('readonly', _editor_default_readonly_property_editor__WEBPACK_IMPORTED_MODULE_28__[\"default\"]); // 注册默认属性编辑器\n      factory.rigistPropertyEditor('text', _editor_default_text_property_editor__WEBPACK_IMPORTED_MODULE_27__[\"default\"]);\n      if (newGlobalConfig.getPropertyEditors) {\n        // todo： 注册扩展属性编辑器\n        var list = newGlobalConfig.getPropertyEditors();\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(list).call(list, function (list) {\n          factory.rigistPropertyEditor.apply(factory, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(list));\n        });\n      }\n      if (newGlobalConfig.getValue) {\n        factory.getValue = newGlobalConfig.getValue;\n      }\n      return factory;\n    }),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState11, 1),\n    propertyEditorFactory = _useState12[0];\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    var getCustomActions = newGlobalConfig.getCustomActions;\n    if (getCustomActions) {\n      var _getCustomActions = getCustomActions(),\n        _getCustomActions$dat = _getCustomActions.dataActions,\n        dataActions = _getCustomActions$dat === void 0 ? [] : _getCustomActions$dat,\n        _getCustomActions$pro = _getCustomActions.propertyActions,\n        propertyActions = _getCustomActions$pro === void 0 ? [] : _getCustomActions$pro;\n      var rigistAction = _action_factory__WEBPACK_IMPORTED_MODULE_26__[\"default\"].rigistAction;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(dataActions).call(dataActions, function (args) {\n        rigistAction(_action_factory__WEBPACK_IMPORTED_MODULE_26__.DATA_ACTION).apply(void 0, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(args));\n      });\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(propertyActions).call(propertyActions, function (args) {\n        rigistAction(_action_factory__WEBPACK_IMPORTED_MODULE_26__.PROPERTY_ACTION).apply(void 0, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(args));\n      });\n    }\n  }, []);\n  var globalConfigValue = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    var _context;\n    // 提供用户扩展行为api，控件操作前后可以调用，比如：beforeAddControl\n    var value = {};\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_context = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default()(newGlobalConfig)).call(_context, function (key) {\n      var _context2;\n      if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(_context2 = ['getPropertyEditor', 'getValue', 'nodeRef', 'viewsStateRef']).call(_context2, key)) {\n        value[key] = newGlobalConfig[key];\n      }\n    });\n    value.getNode = getNode;\n    value.message = message; //内核模块api通过GlobalConfigContext传递\n    value.viewsStateRef = viewsStateRef;\n    return value;\n  }, [getNode, message, viewsStateRef, newGlobalConfig]);\n  var views = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    var _context3, _context4, _context5;\n    var leftViews = {\n      control: _view_control_view__WEBPACK_IMPORTED_MODULE_17__[\"default\"]\n    };\n    var rightViews = {\n      property: _view_property_view__WEBPACK_IMPORTED_MODULE_18__.PropertyView\n    };\n    var mainViews = {};\n    if (newGlobalConfig.getViews) {\n      if (newGlobalConfig.getViews('left')) {\n        leftViews = filterNullView((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, leftViews, newGlobalConfig.getViews('left')));\n      }\n      if (newGlobalConfig.getViews('right')) {\n        rightViews = filterNullView((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, rightViews, newGlobalConfig.getViews('right')));\n      }\n      if (newGlobalConfig.getViews('main')) {\n        mainViews = filterNullView((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, mainViews, newGlobalConfig.getViews('main')));\n      }\n    }\n    var leftViewInstance = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9___default()(leftViews)).call(_context3, function (View) {\n      var _View$getTabName;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(View, {\n        key: View.tabKey,\n        data: data,\n        meta: meta,\n        tabKey: View.tabKey,\n        tabName: ((_View$getTabName = View.getTabName) === null || _View$getTabName === void 0 ? void 0 : _View$getTabName.call(View)) || View.tabName\n      });\n    });\n    var mainViewInstance = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context4 = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9___default()(mainViews)).call(_context4, function (View) {\n      var _View$getTabName2;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(View, {\n        key: View.tabKey,\n        data: data,\n        meta: meta,\n        tabKey: View.tabKey,\n        tabName: ((_View$getTabName2 = View.getTabName) === null || _View$getTabName2 === void 0 ? void 0 : _View$getTabName2.call(View)) || View.tabName\n      });\n    });\n    var rightViewInstance = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_8___default()(_context5 = _babel_runtime_corejs3_core_js_stable_object_values__WEBPACK_IMPORTED_MODULE_9___default()(rightViews)).call(_context5, function (View) {\n      var _View$getTabName3;\n      return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(View, {\n        key: View.tabKey,\n        data: data,\n        meta: meta,\n        tabKey: View.tabKey,\n        tabName: ((_View$getTabName3 = View.getTabName) === null || _View$getTabName3 === void 0 ? void 0 : _View$getTabName3.call(View)) || View.tabName\n      });\n    });\n    return {\n      leftViews: leftViewInstance,\n      mainViews: mainViewInstance,\n      rightViews: rightViewInstance\n    };\n  }, [data, meta, newGlobalConfig]);\n  var dataFactoryContextValue = (0,react__WEBPACK_IMPORTED_MODULE_10__.useMemo)(function () {\n    return {\n      dataFactory: dataFtry || dataFactory,\n      modelFactory: modelFtry || modelFactory,\n      metaApi: metaApi,\n      controlMetaInfo: controlMetaInfo\n    };\n  }, [dataFtry, dataFactory, modelFtry, modelFactory, metaApi, controlMetaInfo]);\n  var _useState13 = (0,react__WEBPACK_IMPORTED_MODULE_10__.useState)(true),\n    _useState14 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(_useState13, 2),\n    mounted = _useState14[0],\n    setMounted = _useState14[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_10__.useEffect)(function () {\n    setMounted(false);\n    if (newGlobalConfig.getLangMsg) {\n      (0,_designer_utils__WEBPACK_IMPORTED_MODULE_41__.setIntlApi)('getLangMsg', newGlobalConfig.getLangMsg);\n    }\n  }, []);\n  return !mounted && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(RootView, {\n    className: kdesignerPrefixCls,\n    ref: nodeRef\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_context_global_config_context__WEBPACK_IMPORTED_MODULE_29__[\"default\"].Provider, {\n    value: globalConfigValue\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_context__WEBPACK_IMPORTED_MODULE_30__.DataFactoryContext.Provider, {\n    value: dataFactoryContextValue\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_context_data_context__WEBPACK_IMPORTED_MODULE_21__[\"default\"].Provider, {\n    value: dataProvider\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_context_select_context__WEBPACK_IMPORTED_MODULE_19__[\"default\"].Provider, {\n    value: selection\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_context_error_context__WEBPACK_IMPORTED_MODULE_20__[\"default\"].Provider, {\n    value: errorApi\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_25__.PropertyEditorFactoryContext.Provider, {\n    value: propertyEditorFactory\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_alias_data__WEBPACK_IMPORTED_MODULE_39__.AliasDataContext.Provider, {\n    value: aliasDataApi\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_view_top_view__WEBPACK_IMPORTED_MODULE_16__[\"default\"], null), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: \"\".concat(kdesignerPrefixCls, \"-root-main\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_view_left_view__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {\n    views: views.leftViews\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_view_main_view__WEBPACK_IMPORTED_MODULE_14__[\"default\"], {\n    views: views.mainViews\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(_view_right_view__WEBPACK_IMPORTED_MODULE_15__[\"default\"], {\n    views: views.rightViews\n  }))))))))));\n}));\nvar RootView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_10__.memo)( /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_10__.forwardRef)(function (props, forwardedRef) {\n  // style={props.isShow ? {} : { display: 'none' }}\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_10___default().createElement(\"div\", {\n    className: \"\".concat(props.className, \"-root\"),\n    ref: forwardedRef,\n    tabIndex: -1\n  }, props.children);\n}));\n//删除为定义视图\nfunction filterNullView(view) {\n  var _context6;\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(_context6 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_6___default()(view)).call(_context6, function (viewName) {\n    if (view[viewName] == null) {\n      delete view[viewName];\n    }\n  });\n  return view;\n}\nKDesigner.displayName = 'KDesigner';\n// ErrorBoundaryWrap(KDesigner, 'kd-designer')\n/* harmony default export */ __webpack_exports__[\"default\"] = (KDesigner);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/index.tsx?");

/***/ }),

/***/ 3848:
/*!******************************************!*\
  !*** ../kd-designer/src/locale/index.ts ***!
  \******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   CompLangMsgParams: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.CompLangMsgParams; },\n/* harmony export */   ComponentType: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.ComponentType; },\n/* harmony export */   LocaleConfigType: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.LocaleConfigType; },\n/* harmony export */   LocaleDataType: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.LocaleDataType; },\n/* harmony export */   getCompLangMsg: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.getCompLangMsg; },\n/* harmony export */   getLangMsg: function() { return /* reexport safe */ _locale__WEBPACK_IMPORTED_MODULE_0__.getLangMsg; }\n/* harmony export */ });\n/* harmony import */ var _locale__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./locale */ 81916);\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_locale__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/locale/index.ts?");

/***/ }),

/***/ 81916:
/*!********************************************!*\
  !*** ../kd-designer/src/locale/locale.tsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   getCompLangMsg: function() { return /* binding */ getCompLangMsg; },\n/* harmony export */   getLangMsg: function() { return /* binding */ getLangMsg; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _zh_CN__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./zh-CN */ 43532);\n\n\n\n\n\n\n\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof (_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_1___default()) !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_2___default()(o) || o[\"@@iterator\"]; if (!it) { if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3___default()(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\nfunction _unsupportedIterableToArray(o, minLen) { var _context3; if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(_context3 = Object.prototype.toString.call(o)).call(_context3, 8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_0___default()(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\n\n\n\n\n\nvar LocaleCache = /*#__PURE__*/function () {\n  function LocaleCache(localesData, locale) {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(this, LocaleCache);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this, \"localesData\", void 0);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(this, \"locale\", void 0);\n    this.locale = locale || _zh_CN__WEBPACK_IMPORTED_MODULE_12__[\"default\"].locale;\n    this.localesData = localesData;\n  }\n\n  /**\n   * 设置语言包并切换当前语言\n   * @param {LocaleDataType | string} localeData 语言数据集合 | 语言类型\n   * @returns 设置后的语言对应的语言包\n   */\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_6__[\"default\"])(LocaleCache, [{\n    key: \"setLocalesData\",\n    value: function setLocalesData(locale, localeData) {\n      var newLocaleData = localeData || this.localesData[locale];\n      if (!newLocaleData) {\n        console.error(\"\\u7F3A\\u5C11\\u8BED\\u8A00\".concat(locale, \"\\u5BF9\\u5E94\\u7684\\u8BED\\u8A00\\u5305\\uFF0C\\u8BF7\\u68C0\\u67E5\\u540E\\u91CD\\u65B0\\u8BBE\\u7F6E\"));\n        return;\n      }\n      this.locale = locale;\n      this.localesData[locale] = newLocaleData;\n      return localeData;\n    }\n\n    /**\n     * 获取当前语言包数据\n     */\n  }, {\n    key: \"getLocalData\",\n    value: function getLocalData() {\n      return this.localesData[this.locale];\n    }\n\n    /**\n     * 获取当前语言类型\n     */\n  }, {\n    key: \"getLocal\",\n    value: function getLocal() {\n      return this.locale;\n    }\n\n    /**\n     * 获取所有语言包数据\n     */\n  }, {\n    key: \"getLocalesData\",\n    value: function getLocalesData() {\n      return this.localesData;\n    }\n  }]);\n  return LocaleCache;\n}();\nvar localeCacher = new LocaleCache((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7__[\"default\"])({}, _zh_CN__WEBPACK_IMPORTED_MODULE_12__[\"default\"].locale, _zh_CN__WEBPACK_IMPORTED_MODULE_12__[\"default\"]));\n/* harmony default export */ __webpack_exports__[\"default\"] = (localeCacher);\nvar getLangMsg = function getLangMsg(componentName, labelName, params) {\n  var _context;\n  var localData = localeCacher.getLocalData();\n  var msg = localData[_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_9___default()(_context = \"\".concat(componentName, \".\")).call(_context, labelName)] || localData[\"global.\".concat(labelName)] || '';\n  return analysVariables(msg, params);\n};\n\n/**\n * 解析模板字符串中的变量\n * @param {*} msg\n * @param {*} variables\n */\nfunction analysVariables(msg, variables) {\n  var reg = /{[\\w\\W]*?}/g;\n  var matchArr = msg.match(reg) || [];\n  var isObject = function isObject(value) {\n    return (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(value) === 'object' || typeof value === 'function';\n  };\n  var getVarName = function getVarName(str) {\n    var len = str.length;\n    return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8___default()(str).call(str, 1, len - 1);\n  };\n  var stringVar = [];\n  var eleVar = [];\n  var _iterator = _createForOfIteratorHelper(matchArr),\n    _step;\n  try {\n    for (_iterator.s(); !(_step = _iterator.n()).done;) {\n      var item = _step.value;\n      var varName = getVarName(item);\n      var value = variables[varName];\n      if (isObject(value)) {\n        eleVar.push({\n          k: varName,\n          v: value\n        });\n      } else {\n        stringVar.push({\n          k: varName,\n          v: value\n        });\n      }\n    }\n  } catch (err) {\n    _iterator.e(err);\n  } finally {\n    _iterator.f();\n  }\n  msg = formatText(msg, stringVar);\n  var msgArr = [];\n  if (eleVar.length > 0) {\n    msgArr = formatElement(msg, variables);\n  }\n  return eleVar.length > 0 ? msgArr : msg;\n}\n\n/**\n * 替换基本类型的变量\n * @param {*} msg\n * @param {*} stringVar\n */\nfunction formatText(msg, stringVar) {\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(stringVar).call(stringVar, function (item) {\n    var k = item.k,\n      v = item.v;\n    var reg = new RegExp('{' + k + '}', 'g');\n    msg = msg.replace(reg, v);\n  });\n  return msg;\n}\n\n/**\n * 替换React元素类型的变量\n * @param {*} msg\n * @param {*} eleVar\n * @param {*} variables\n */\nfunction formatElement(msg, variables) {\n  var splitByElement = function splitByElement(msg) {\n    var _context2;\n    var array = [];\n    var item = {\n      t: 0,\n      v: ''\n    }; // 0-string 1-react\n    var len = msg.length;\n    _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(_context2 = msg.split('')).call(_context2, function (c, i) {\n      if (c === '{') {\n        array.push(item);\n        item = {\n          t: 1,\n          v: ''\n        };\n      } else if (c === '}') {\n        array.push(item);\n        item = {\n          t: 0,\n          v: ''\n        };\n      } else {\n        item.v = item.v + c;\n      }\n      if (i === len - 1) {\n        array.push(item);\n      }\n    });\n    return array;\n  };\n  var elements = [];\n  var eleArr = splitByElement(msg);\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(eleArr).call(eleArr, function (item, index) {\n    var t = item.t,\n      v = item.v;\n    if (t === 0 && v !== '') {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().createElement(\"span\", {\n        key: index\n      }, v));\n    } else if (t === 1) {\n      elements.push( /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_11___default().cloneElement(variables[v], {\n        key: index\n      }));\n    }\n  });\n  return elements;\n}\nvar getCompLangMsg = function getCompLangMsg(compLangMsgParams, customGetLangMsg, localeDate) {\n  var componentName = compLangMsgParams.componentName,\n    labels = compLangMsgParams.labels,\n    labelParams = compLangMsgParams.labelParams;\n  labels = labels || [];\n  labelParams = labelParams || {};\n  localeDate = localeDate || _zh_CN__WEBPACK_IMPORTED_MODULE_12__[\"default\"];\n  if (!labels.length) {\n    for (var _key in localeDate) {\n      var componentNameAndLabel = _key.split('.');\n      if (componentName === componentNameAndLabel[0] && componentNameAndLabel[1]) {\n        labels.push(componentNameAndLabel[1]);\n      }\n    }\n  }\n  var componentLangMsg = {};\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_10___default()(labels).call(labels, function (label) {\n    if (customGetLangMsg && typeof customGetLangMsg === 'function') {\n      componentLangMsg[label] = customGetLangMsg(componentName, label, labelParams[label] || {});\n    } else {\n      componentLangMsg[label] = getLangMsg(componentName, label, labelParams[label] || {});\n    }\n  });\n  return componentLangMsg;\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/locale/locale.tsx?");

/***/ }),

/***/ 43532:
/*!*******************************************!*\
  !*** ../kd-designer/src/locale/zh-CN.tsx ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar locale = {\n  locale: 'zh-CN',\n  'global.selectholder': '请选择',\n  'global.placeholder': '请输入...',\n  'global.cancel': '取消',\n  'global.confirm': '确定'\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (locale);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/locale/zh-CN.tsx?");

/***/ }),

/***/ 92492:
/*!************************************************!*\
  !*** ../kd-designer/src/memory-cache/index.ts ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ MemoryCache; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-09-14 09:31:23\n * @Last Modified by: fjr\n * @LastEditTime: 2021-09-18 10:55:23\n * @Description: ...\n */\nvar MemoryCache = /*#__PURE__*/function () {\n  function MemoryCache() {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(this, MemoryCache);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(this, \"listeners\", []);\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(MemoryCache, [{\n    key: \"addDataChangeListener\",\n    value: function addDataChangeListener(listener) {\n      var _this = this;\n      this.listeners.push(listener);\n      return function () {\n        var _context;\n        _this.listeners = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_3___default()(_context = _this.listeners).call(_context, function (_listener) {\n          return listener !== _listener;\n        });\n      };\n    }\n  }, {\n    key: \"fireEvent\",\n    value: function fireEvent(event) {\n      var _context2;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = this.listeners).call(_context2, function (listener) {\n        try {\n          listener(event);\n        } catch (error) {\n          console.error(error);\n        }\n      });\n    }\n  }]);\n  return MemoryCache;\n}();\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/memory-cache/index.ts?");

/***/ }),

/***/ 45516:
/*!*******************************************!*\
  !*** ../kd-designer/src/message/index.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ Message; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\n/*\n * @Author: daosheng_chen\n * @Email: daosheng_chen@kingdee.com\n * @Date: 2021-09-22 09:44:47\n * @Last Modified by: daosheng_chen\n * @Last Modified time: 2021-09-22 17:16:23\n * @Description: 定义designer通用消息存取/分发\n */\nvar IMessageType = /*#__PURE__*/function (IMessageType) {\n  IMessageType[\"Info\"] = \"info\";\n  IMessageType[\"Warn\"] = \"warn\";\n  IMessageType[\"Error\"] = \"error\";\n  IMessageType[\"Validate\"] = \"validate\";\n  IMessageType[\"Customer\"] = \"customer\";\n  return IMessageType;\n}(IMessageType || {});\nvar EventType = /*#__PURE__*/function (EventType) {\n  EventType[\"Add\"] = \"add\";\n  EventType[\"Remove\"] = \"remove\";\n  EventType[\"Reset\"] = \"reset\";\n  return EventType;\n}(EventType || {});\nvar Message = /*#__PURE__*/function () {\n  function Message() {\n    (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this, Message);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"listeners\", void 0);\n    (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(this, \"messageList\", void 0);\n    this.messageList = [];\n    this.listeners = [];\n  }\n  (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(Message, [{\n    key: \"addDataChangeListener\",\n    value: function addDataChangeListener(listener) {\n      var _this = this;\n      this.listeners.push(listener);\n      return function () {\n        var _context;\n        _this.listeners = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context = _this.listeners).call(_context, function (_listener) {\n          return listener !== _listener;\n        });\n      };\n    }\n    /**\n     * \n     * @param type 指定消息类型，type=null获取所有消息\n     * @returns 返回指定类型的消息\n     */\n  }, {\n    key: \"getMessage\",\n    value: function getMessage(type) {\n      if (type) {\n        var _context2;\n        return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = this.messageList).call(_context2, function (message) {\n          return message.type === type;\n        });\n      } else {\n        return this.messageList;\n      }\n    }\n    //增加消息对象或消息数组\n  }, {\n    key: \"addMessage\",\n    value: function addMessage(message) {\n      if (typeof message === 'string') {\n        message = {\n          type: IMessageType.Info,\n          content: message\n        };\n      }\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5___default()(message)) {\n        var _this$messageList;\n        (_this$messageList = this.messageList).push.apply(_this$messageList, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(message));\n      } else {\n        this.messageList.push(message);\n      }\n      this.fireEvent(EventType.Add, message); //触发消息，携带新增的消息或消息数组\n    }\n    //删除消息或消息数组\n  }, {\n    key: \"removeMessage\",\n    value: function removeMessage(message) {\n      var _context3;\n      var removeMessageList = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_5___default()(message) ? message : [message];\n      this.messageList = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(_context3 = this.messageList).call(_context3, function (message) {\n        return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_6___default()(removeMessageList).call(removeMessageList, message);\n      });\n      this.fireEvent(EventType.Remove, message); //触发消息，携带被删除的消息或消息数组\n    }\n    //清空消息\n  }, {\n    key: \"reset\",\n    value: function reset() {\n      this.messageList = [];\n      this.fireEvent(EventType.Reset, []);\n    }\n  }, {\n    key: \"fireEvent\",\n    value: function fireEvent(type, value) {\n      var _context4;\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_7___default()(_context4 = this.listeners).call(_context4, function (listener) {\n        try {\n          listener(type, value);\n        } catch (error) {\n          console.error(error);\n        }\n      });\n    }\n  }]);\n  return Message;\n}();\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/message/index.ts?");

/***/ }),

/***/ 55796:
/*!****************************************!*\
  !*** ../kd-designer/src/meta/index.ts ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   canAdd: function() { return /* binding */ canAdd; },\n/* harmony export */   canAddMemo: function() { return /* binding */ canAddMemo; },\n/* harmony export */   createMetaApi: function() { return /* binding */ createMetaApi; },\n/* harmony export */   getControlDefaultData: function() { return /* binding */ getControlDefaultData; },\n/* harmony export */   getControlDefaultDataByPropertyGroups: function() { return /* binding */ _getControlDefaultDataByPropertyGroups; },\n/* harmony export */   getControlDefaultDataMemo: function() { return /* binding */ getControlDefaultDataMemo; },\n/* harmony export */   getControlMeta: function() { return /* binding */ getControlMeta; },\n/* harmony export */   getControlMetaAction: function() { return /* binding */ getControlMetaAction; },\n/* harmony export */   getControlMetaActionMemo: function() { return /* binding */ getControlMetaActionMemo; },\n/* harmony export */   getControlMetaEditor: function() { return /* binding */ getControlMetaEditor; },\n/* harmony export */   getControlMetaEditorMemo: function() { return /* binding */ getControlMetaEditorMemo; },\n/* harmony export */   getControlMetaMemo: function() { return /* binding */ getControlMetaMemo; },\n/* harmony export */   getControlMetaProperty: function() { return /* binding */ getControlMetaProperty; },\n/* harmony export */   getControlMetaPropertyMemo: function() { return /* binding */ getControlMetaPropertyMemo; },\n/* harmony export */   getControlPropertyDefaultValueMemo: function() { return /* binding */ getControlPropertyDefaultValueMemo; },\n/* harmony export */   getControlType: function() { return /* binding */ getControlType; },\n/* harmony export */   getDefaultValueByEditor: function() { return /* binding */ getDefaultValueByEditor; },\n/* harmony export */   getPropertyDefaultValue: function() { return /* binding */ getPropertyDefaultValue; },\n/* harmony export */   mergeEditorValue: function() { return /* binding */ mergeEditorValue; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_9__);\n\n\n\n\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-24 20:07:48\n * @Last Modified by: fjr\n * @LastEditTime: 2023-04-19 15:51:20\n * @Description: meta相关的辅助函数\n */\n\n/**\n * TODO:\n * 1. getDefaultData done\n * 2. getControlMeta done\n * 3. getControlEditor done\n * 4. getControlAction done\n * DO WHAT?...\n */\n\n\n/** 一些辅助函数 start */\n\nfunction defaultValue(type) {\n  switch (type) {\n    case 'String':\n      {\n        return '';\n      }\n    case 'Integer':\n      {\n        return 0;\n      }\n    case 'Boolean':\n      {\n        return false;\n      }\n    case 'Object':\n      {\n        return undefined;\n      }\n    default:\n      {\n        return undefined;\n      }\n  }\n}\nvar getDefaultValueByEditor = function getDefaultValueByEditor(editor) {\n  var DataType = editor.DataType,\n    Default = editor.Default,\n    Enum = editor.Enum;\n  return getDefaultValue(Default, Enum, DataType);\n};\nvar getDefaultValue = function getDefaultValue(Default, Enum, DataType) {\n  if (!(0,lodash__WEBPACK_IMPORTED_MODULE_9__.isUndefined)(Default)) {\n    return Default;\n  } else if (!(0,lodash__WEBPACK_IMPORTED_MODULE_9__.isUndefined)(Enum === null || Enum === void 0 ? void 0 : Enum[0].Value)) {\n    return Enum === null || Enum === void 0 ? void 0 : Enum[0].Value;\n  } else {\n    return defaultValue(DataType);\n  }\n};\nvar getPropertyDefaultValue = function getPropertyDefaultValue(property, processPropertyName) {\n  var nodes = 'Nodes' in property ? property.Nodes : [property];\n  return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(nodes).call(nodes, function (data, innerProperty) {\n    //属性名统一转换\n    var escapeProperty = processPropertyName(innerProperty.Id);\n    if (escapeProperty) {\n      var editor = innerProperty.Editor;\n      if (editor) {\n        data[escapeProperty] = getDefaultValueByEditor(editor);\n      }\n    }\n    return data;\n  }, {});\n};\nvar mergeEditorValue = function mergeEditorValue(property, processPropertyName) {\n  var nodes = 'Nodes' in property ? property.Nodes : [property];\n  return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(nodes).call(nodes, function (data, innerProperty) {\n    //属性名统一转换\n    var escapeProperty = processPropertyName(innerProperty.Id);\n    if (escapeProperty) {\n      var editor = innerProperty.Editor;\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_9__.isUndefined)(editor.Value)) {\n        data[escapeProperty] = editor.Value;\n      }\n    }\n    return data;\n  }, {});\n};\n\n/** 一些辅助函数 end */\n\n// IControlType只在内部用, 方便type传IControl的清空\n// memo的清空不考虑\n\n/** 基础辅助函数 start */\nvar _getControlMeta = function _getControlMeta(type) {\n  return function (meta, globalConfig) {\n    var _context;\n    var _ref = globalConfig || {},\n      keywordMapping = _ref.keywordMapping;\n    var _type = type;\n    if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(type) === 'object' && keywordMapping) {\n      _type = type[keywordMapping.type];\n    }\n    return _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(_context = meta.Controls).call(_context, function (control) {\n      return control.Id === _type;\n    }) || {};\n  };\n};\nvar getControlMeta = function getControlMeta(type) {\n  return function (meta) {\n    if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(type) === 'object') return type;\n    return _getControlMeta(type)(meta);\n  };\n};\nvar _getControlDefaultDataByPropertyGroups = function getControlDefaultDataByPropertyGroups(propertyGroups, globalConfig) {\n  var _ref2 = globalConfig || {},\n    _ref2$processProperty = _ref2.processPropertyName,\n    processPropertyName = _ref2$processProperty === void 0 ? function (value) {\n      return value;\n    } : _ref2$processProperty;\n  var itemData = {};\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_5___default()(propertyGroups).call(propertyGroups, function (property) {\n    // 不要memo\n    (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(itemData, getPropertyDefaultValue(property, processPropertyName));\n  });\n  return itemData;\n};\n\n/**\n * @description: 获取对应控件的默认值数据\n * @param {string} type\n * @return {*}\n */\n// TODO: 非默认数据不需要排除？\n\nvar getControlDefaultData = function getControlDefaultData(type) {\n  return function (meta, globalConfig) {\n    var _ref3 = globalConfig || {},\n      _ref3$processProperty = _ref3.processPropertyName,\n      processPropertyName = _ref3$processProperty === void 0 ? function (value) {\n        return value;\n      } : _ref3$processProperty;\n    // TODO: 这个也可以用WeakMap来缓存\n    var allProps = getControlAllProps(type)(meta);\n    return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(allProps).call(allProps, function (data, prop) {\n      var key = processPropertyName(prop.Id);\n      var editor = prop.Editor;\n      if (editor) {\n        data[key] = getDefaultValueByEditor(editor);\n      }\n      return data;\n    }, {});\n  };\n};\nvar getControlPropertyDefaultValue = function getControlPropertyDefaultValue(type, propName) {\n  return function (meta) {\n    var controlMeta = getControlMeta(type)(meta);\n    for (var i = 0; i < controlMeta.Properties.length; i++) {\n      var property = controlMeta.Properties[i];\n      var nodes = 'Nodes' in property ? property.Nodes : [property];\n      var node = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (node) {\n        return node.Id === propName;\n      });\n      if (node) {\n        return getDefaultValueByEditor(node.Editor);\n      }\n    }\n  };\n};\nvar getControlAllProps = function getControlAllProps(type) {\n  return function (meta) {\n    var _controlMeta$Properti;\n    var controlMeta = getControlMeta(type)(meta);\n    return ((_controlMeta$Properti = controlMeta.Properties) === null || _controlMeta$Properti === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_3___default()(_controlMeta$Properti).call(_controlMeta$Properti, function (props, prop) {\n      if (prop.Nodes) {\n        props.push.apply(props, (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(prop.Nodes));\n      } else {\n        props.push(prop);\n      }\n      return props;\n    }, [])) || [];\n  };\n};\n/**\n * @description: 获取对应控件模型的对应属性描述\n * @param {*}\n * @return {*}\n */\n// propName, 对应模型的，一律大写开头\nvar getControlMetaProperty = function getControlMetaProperty(type, propName) {\n  return function (meta) {\n    var property = {};\n    var controlMeta = getControlMeta(type)(meta);\n    for (var i = 0; i < (controlMeta === null || controlMeta === void 0 || (_controlMeta$Properti2 = controlMeta.Properties) === null || _controlMeta$Properti2 === void 0 ? void 0 : _controlMeta$Properti2.length); i++) {\n      var _controlMeta$Properti2;\n      var _property = controlMeta.Properties[i];\n      // 不要memo\n      var nodes = _property.Nodes || [_property];\n      var innerProperty = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_4___default()(nodes).call(nodes, function (node) {\n        return node.Id === propName;\n      });\n      if (innerProperty) {\n        return innerProperty;\n      }\n    }\n    return property;\n  };\n};\n/**\n * @description:  获取对应控件模型的对应属性的编辑器描述\n * @param {*} type\n * @param {*} propName\n * @return {*}\n */\nvar getControlMetaEditor = function getControlMetaEditor(type, propName) {\n  return function (meta) {\n    return getControlMetaProperty(type, propName)(meta).Editor;\n  };\n};\n/**\n * @description:  获取对应控件模型的对应属性的关联触发器描述\n * @param {*} type\n * @param {*} propName\n * @return {*}\n */\nvar getControlMetaAction = function getControlMetaAction(type, propName) {\n  return function (meta) {\n    return getControlMetaProperty(type, propName)(meta).Action;\n  };\n};\nvar getControlType = function getControlType(type, globalConfig) {\n  var keywordMapping = globalConfig.keywordMapping;\n  return type && (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(type) === 'object' ? type[keywordMapping.type] : type;\n};\n\n/**\n * @description: 根据父子type/field从meta上获取子是否能放入父中\n * @param {*}\n * @param {ITypeOrItem} childType\n * @param {ITypeOrItem} parentType\n * @return {*}\n */\n\nvar canAdd = function canAdd(childType, parentType) {\n  return function (meta, globalConfig) {\n    var childMeta = _getControlMeta(childType)(meta, globalConfig);\n    var parentMeta = _getControlMeta(parentType)(meta, globalConfig);\n    var _childType = getControlType(childType, globalConfig);\n    var _parentType = getControlType(parentType, globalConfig);\n    var canAddCallback = globalConfig.canAddCallback;\n    var parentIsContainer = parentMeta.IsContainer,\n      accept = parentMeta.Accept,\n      notAccept = parentMeta.NotAccept,\n      parentBaseId = parentMeta.BaseId;\n    var childIsContaienr = childMeta.IsContainer,\n      acceptParent = childMeta.AcceptParent,\n      childBaseId = childMeta.BaseId;\n    // if(!('IsContainer' in parentMeta)) return true\n    if (!parentIsContainer) return false;\n    if (accept) {\n      // 兼容套打，后面移除\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_6___default()(accept)) {\n        return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_7___default()(accept).call(accept, _childType);\n      }\n    }\n    if (canAddCallback && typeof canAddCallback === 'function') {\n      var ret = canAddCallback(childType, parentType, childMeta, parentMeta);\n      if ((0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(ret) === 'object') {\n        return ret;\n      }\n      if (!(0,lodash__WEBPACK_IMPORTED_MODULE_9__.isUndefined)(ret)) {\n        return !!ret;\n      }\n    }\n    // 如果 acceptParent notAccept accept都没值，是不是true？\n    // TODO: 确定\n    return true;\n  };\n};\n\n/** 基础辅助函数 end */\n\n/** 经过memo的基础辅助函数 start */\n\n// false 开启 true 关闭\n// 由于一些业务逻辑不止是当前节点类型那么简单，所以必须关闭\nvar UNMEMOIZE_MODE = true;\n/**\n * @description: 根据create创造对应的memo方法\n * @param {IGetMetaDetail} creater\n * @return {IGetMetaDetailRever}\n */\nvar createFunctionMemo = function createFunctionMemo(creater, memoCreater) {\n  return function (meta, globalConfig) {\n    var _memoCreater = function _memoCreater(meta, type, propName) {\n      return _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(propName ? {\n        type: type,\n        propName: propName\n      } : {\n        type: type\n      });\n    };\n    var _createrProxy = function _createrProxy(meta, type, propName) {\n      return creater(type, propName)(meta, globalConfig);\n    };\n    var _createrMemo = (0,lodash__WEBPACK_IMPORTED_MODULE_9__.memoize)(_createrProxy, memoCreater ? memoCreater(globalConfig) : _memoCreater);\n    return function (type, propName) {\n      return UNMEMOIZE_MODE ? _createrProxy(meta, type, propName) : _createrMemo(meta, type, propName);\n    };\n  };\n};\nvar getControlMetaMemo = createFunctionMemo(getControlMeta);\nvar getControlDefaultDataMemo = createFunctionMemo(getControlDefaultData);\nvar getControlMetaPropertyMemo = createFunctionMemo(getControlMetaProperty);\nvar getControlMetaEditorMemo = createFunctionMemo(getControlMetaEditor);\nvar getControlMetaActionMemo = createFunctionMemo(getControlMetaAction);\nvar canAddMemoize = function canAddMemoize(globalConfig) {\n  return function (meta, childType, parentType) {\n    var keywordMapping = globalConfig.keywordMapping;\n    var getType = function getType(childType) {\n      return (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(childType) === 'object' ? childType[keywordMapping.type] : childType;\n    };\n    return _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_8___default()(parentType ? {\n      childType: getType(childType),\n      parentType: getType(parentType)\n    } : {\n      childType: getType(childType)\n    });\n  };\n};\nvar canAddMemo = createFunctionMemo(canAdd, canAddMemoize); // TODO\nvar getControlPropertyDefaultValueMemo = createFunctionMemo(getControlPropertyDefaultValue);\n/** 经过memo的基础辅助函数 end */\n\n// type IGetMetaMoreAnyDetailByType = IGetMetaMoreDetailByType<any>\n\n/** 经过memo并组合成对象对外开放的api start */\n\nvar createMetaApi = function createMetaApi(meta, globalConfig) {\n  var _getMetaDetailMemoByType = getControlMetaMemo(meta, globalConfig);\n  var _getControlDefaultDataMemo = getControlDefaultDataMemo(meta, globalConfig);\n  var _getControlMetaPropertyMemo = getControlMetaPropertyMemo(meta, globalConfig);\n  var _getControlMetaEditorMemo = getControlMetaEditorMemo(meta, globalConfig);\n  var _getControlMetaActionMemo = getControlMetaActionMemo(meta, globalConfig);\n  var _canAddMemo = canAddMemo(meta, globalConfig);\n  var _getControlPropertyDefaultValueMemo = getControlPropertyDefaultValueMemo(meta, globalConfig);\n  return {\n    getMeta: function getMeta() {\n      return meta;\n    },\n    getDefaultData: function getDefaultData(type) {\n      return _getControlDefaultDataMemo(type);\n    },\n    getControlMeta: function getControlMeta(type) {\n      return _getMetaDetailMemoByType(type);\n    },\n    getControlMetaProperty: function getControlMetaProperty(type, propName) {\n      return _getControlMetaPropertyMemo(type, propName);\n    },\n    getControlMetaEditor: function getControlMetaEditor(type, propName) {\n      return _getControlMetaEditorMemo(type, propName);\n    },\n    getControlMetaAction: function getControlMetaAction(type, propName) {\n      return _getControlMetaActionMemo(type, propName);\n    },\n    canAdd: function canAdd(childType, parentType) {\n      return _canAddMemo(childType, parentType);\n    },\n    getControlDefaultDataByPropertyGroups: function getControlDefaultDataByPropertyGroups(groups) {\n      return _getControlDefaultDataByPropertyGroups(groups, globalConfig);\n    },\n    getControlMetaPropertyGroups: function getControlMetaPropertyGroups(type) {\n      var _getMetaDetailMemoByT;\n      return (_getMetaDetailMemoByT = _getMetaDetailMemoByType(type)) === null || _getMetaDetailMemoByT === void 0 ? void 0 : _getMetaDetailMemoByT.Properties;\n    },\n    getControlPropertyDefaultValue: function getControlPropertyDefaultValue(type, propName) {\n      return _getControlPropertyDefaultValueMemo(type, propName);\n    }\n  };\n};\n\n/** 经过memo并组合成对象对外开放的api end */\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/meta/index.ts?");

/***/ }),

/***/ 59499:
/*!************************************************!*\
  !*** ../kd-designer/src/meta/transformMeta.ts ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ transformMeta; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2__);\n\n\n\n/*\n * @Author: daosheng_chen\n * @Email: daosheng_chen@kingdee.com\n * @Date: 2021-08-25 10:08:18\n * @Last Modified by: daosheng_chen\n * @Last Modified time: 2021-08-26 15:48:57\n * @Description: meta数据转换为扁平数据结构，作为核心层顶层通用数据基础 {categories:[...],controls:[...]}\n */\n\nfunction transformMeta() {\n  var _context;\n  var meta = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n  var newMeta = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({\n    Controls: []\n  });\n  _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(meta)).call(_context, function (metaPropName) {\n    if (metaPropName === 'Categories') {\n      var _context2;\n      newMeta[metaPropName] = [];\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context2 = meta[metaPropName]).call(_context2, function (category) {\n        var _context3;\n        var newCategory = {};\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context3 = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_2___default()(category)).call(_context3, function (categoryPropName) {\n          if (categoryPropName === 'Controls') {\n            var _context4;\n            _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_1___default()(_context4 = category[categoryPropName]).call(_context4, function (control) {\n              newMeta.Controls.push((0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, control, {\n                CategoryId: category.Id\n              }));\n            });\n          } else {\n            newCategory[categoryPropName] = category[categoryPropName];\n          }\n        });\n        newMeta[metaPropName].push(newCategory);\n      });\n    } else {\n      newMeta[metaPropName] = meta[metaPropName];\n    }\n  });\n  return newMeta;\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/meta/transformMeta.ts?");

/***/ }),

/***/ 70820:
/*!**********************************************!*\
  !*** ../kd-designer/src/selection/index.tsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ create; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _type__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../type */ 84460);\n/* harmony import */ var _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../designer-utils/utils/console */ 35132);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2022-02-15 10:15:20\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-15 13:42:42\n * @Description: ...\n */\n\n\n\n// import {RedoUndoStack} from './data-provider'\n// TODO：考虑拓展接口，并视图层forceUpdate即可？\nfunction create(globalConfig) {\n  var listeners = [];\n  var selectItems = [];\n  var self = {\n    setSelect: function setSelect(ids) {\n      if (!ids) return;\n      ids = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_0___default()(ids) ? ids : [ids];\n      var oldItems = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(selectItems).call(selectItems);\n      selectItems = ids;\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_5__.SelectEventType.Reset,\n        value: selectItems,\n        oldValue: oldItems\n      });\n    },\n    getSelection: function getSelection() {\n      return selectItems;\n    },\n    getActiveSelectedId: function getActiveSelectedId() {\n      var selectedFn = globalConfig.activeSelectedMode === 'first' ? (lodash__WEBPACK_IMPORTED_MODULE_7___default().first) : (lodash__WEBPACK_IMPORTED_MODULE_7___default().last);\n      return selectedFn(selectItems);\n    },\n    appendSelect: function appendSelect(ids) {\n      // 追加选择项\n      var oldItems = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_1___default()(selectItems).call(selectItems);\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(ids).call(ids, function (id) {\n        if (!_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_3___default()(selectItems).call(selectItems, id)) {\n          selectItems.push(id);\n        }\n      });\n      self.fireEvent({\n        type: _type__WEBPACK_IMPORTED_MODULE_5__.SelectEventType.SelectChange,\n        value: selectItems,\n        oldValue: oldItems\n      });\n    },\n    // subtractSelect: (ids: Array<string>) => {\n    //   const oldItems = selectItems.filter()\n\n    //   self.fireEvent({ type: SelectEventType.SelectChange, value: selectItems, oldValue: oldItems })\n    // },\n    addSelectChangeListener: function addSelectChangeListener(callback) {\n      listeners.push(callback);\n      return function removeDataChangeListener() {\n        // 待验证纠错:\n        // const index = listeners.indexOf(callback)\n        // listeners.splice(index, 1)\n        // listeners.splice(index, 0)\n        listeners = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_4___default()(listeners).call(listeners, function (cb) {\n          return cb !== callback;\n        });\n      };\n    },\n    // 这里fireEvent看下有几个event都是哪的\n    fireEvent: function fireEvent(event) {\n      _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_6__[\"default\"].log('selectCtx fireEvt', event, listeners);\n      _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_2___default()(listeners).call(listeners, function (listener) {\n        try {\n          listener(event);\n        } catch (error) {\n          _designer_utils_utils_console__WEBPACK_IMPORTED_MODULE_6__[\"default\"].error(error);\n        }\n      });\n    }\n  };\n  return self;\n}\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/selection/index.tsx?");

/***/ }),

/***/ 54465:
/*!*********************************************!*\
  !*** ../kd-designer/src/type/actionType.ts ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ActionType: function() { return /* reexport safe */ _index__WEBPACK_IMPORTED_MODULE_9__.ActionType; },\n/* harmony export */   createAddAction: function() { return /* binding */ createAddAction; },\n/* harmony export */   createAttrAction: function() { return /* binding */ createAttrAction; },\n/* harmony export */   createCustomUpdateAction: function() { return /* binding */ createCustomUpdateAction; },\n/* harmony export */   createDeleteAction: function() { return /* binding */ createDeleteAction; },\n/* harmony export */   createInsertAction: function() { return /* binding */ createInsertAction; },\n/* harmony export */   createPasteAction: function() { return /* binding */ createPasteAction; },\n/* harmony export */   createRemovePropAction: function() { return /* binding */ createRemovePropAction; },\n/* harmony export */   createSwapAction: function() { return /* binding */ createSwapAction; },\n/* harmony export */   createUpdateAction: function() { return /* binding */ createUpdateAction; },\n/* harmony export */   isAddAction: function() { return /* binding */ isAddAction; },\n/* harmony export */   isPasteAction: function() { return /* binding */ isPasteAction; },\n/* harmony export */   isUpdateAction: function() { return /* binding */ isUpdateAction; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./index */ 84460);\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_2___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_6___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_5___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4___default()(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_7___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_3___default()(t, r)); }); } return e; }\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-08-02 15:36:17\n * @Last Modified by: fjr\n * @LastEditTime: 2022-04-10 11:13:16\n * @Description: 创建相关action\n */\n\nvar createAction = function createAction(actionType) {\n  return function (value) {\n    var rest = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    // 这里不加isAddAction 兼容\n    return _objectSpread(_objectSpread({}, rest), {}, {\n      type: actionType,\n      value: value\n    });\n  };\n};\nvar createDeleteAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.DELETE);\nvar createAddAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.ADD);\nvar createUpdateAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.UPDATE);\nvar createPasteAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.PASTE);\nvar createAttrAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.Attr);\nvar createCustomUpdateAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.CUSTOMUPDATE);\nvar createRemovePropAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.REMOVEPROP);\nvar createSwapAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.DRAG);\nvar createInsertAction = createAction(_index__WEBPACK_IMPORTED_MODULE_9__.ActionType.INSERT);\n\nvar isAddAction = function isAddAction(_ref) {\n  var type = _ref.type;\n  return type === _index__WEBPACK_IMPORTED_MODULE_9__.ActionType.ADD;\n};\nvar isUpdateAction = function isUpdateAction(_ref2) {\n  var type = _ref2.type;\n  return type === _index__WEBPACK_IMPORTED_MODULE_9__.ActionType.UPDATE;\n};\nvar isPasteAction = function isPasteAction(_ref3) {\n  var type = _ref3.type;\n  return type === _index__WEBPACK_IMPORTED_MODULE_9__.ActionType.PASTE;\n};\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/type/actionType.ts?");

/***/ }),

/***/ 84460:
/*!****************************************!*\
  !*** ../kd-designer/src/type/index.ts ***!
  \****************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ActionType: function() { return /* binding */ ActionType; },\n/* harmony export */   AliasDataChangeEventType: function() { return /* binding */ AliasDataChangeEventType; },\n/* harmony export */   Basetype: function() { return /* reexport safe */ _metaType__WEBPACK_IMPORTED_MODULE_0__.Basetype; },\n/* harmony export */   DataChangeEventType: function() { return /* binding */ DataChangeEventType; },\n/* harmony export */   ErrorEventType: function() { return /* binding */ ErrorEventType; },\n/* harmony export */   IViewType: function() { return /* binding */ IViewType; },\n/* harmony export */   Ids: function() { return /* reexport safe */ _metaType__WEBPACK_IMPORTED_MODULE_0__.Ids; },\n/* harmony export */   SelectEventType: function() { return /* binding */ SelectEventType; }\n/* harmony export */ });\n/* harmony import */ var _metaType__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./metaType */ 93504);\n\n// 定义所有类型\n\n// 前移后移\n\nvar IViewType = /*#__PURE__*/function (IViewType) {\n  IViewType[\"LeftView\"] = \"left\";\n  IViewType[\"MainView\"] = \"main\";\n  IViewType[\"RightView\"] = \"right\";\n  IViewType[\"ToolboxView\"] = \"toolbox\";\n  IViewType[\"OutlineView\"] = \"outline\";\n  IViewType[\"PropertyView\"] = \"property\";\n  IViewType[\"ContorlView\"] = \"control\";\n  return IViewType;\n}({});\nvar SelectEventType = /*#__PURE__*/function (SelectEventType) {\n  SelectEventType[\"SelectChange\"] = \"selectChange\";\n  SelectEventType[\"Reset\"] = \"reset\";\n  return SelectEventType;\n}({});\nvar AliasDataChangeEventType = /*#__PURE__*/function (AliasDataChangeEventType) {\n  AliasDataChangeEventType[\"Set\"] = \"set\";\n  return AliasDataChangeEventType;\n}({});\nvar DataChangeEventType = /*#__PURE__*/function (DataChangeEventType) {\n  DataChangeEventType[\"Add\"] = \"add\";\n  DataChangeEventType[\"Delete\"] = \"delete\";\n  DataChangeEventType[\"Change\"] = \"change\";\n  DataChangeEventType[\"Reset\"] = \"reset\";\n  DataChangeEventType[\"BatchActions\"] = \"BatchActions\";\n  DataChangeEventType[\"Attr\"] = \"Attr\";\n  DataChangeEventType[\"Redo\"] = \"redo\";\n  DataChangeEventType[\"RedoAttr\"] = \"RedoAttr\";\n  DataChangeEventType[\"Undo\"] = \"undo\";\n  DataChangeEventType[\"UndoAttr\"] = \"UndoAttr\";\n  DataChangeEventType[\"MergeData\"] = \"MergeData\";\n  DataChangeEventType[\"Move\"] = \"Move\";\n  return DataChangeEventType;\n}({});\nvar ActionType = /*#__PURE__*/function (ActionType) {\n  ActionType[\"ADD\"] = \"ADD\";\n  ActionType[\"UPDATE\"] = \"UPDATE\";\n  ActionType[\"DELETE\"] = \"DELETE\";\n  ActionType[\"PASTE\"] = \"PASTE\";\n  ActionType[\"Attr\"] = \"Attr\";\n  ActionType[\"CUSTOMUPDATE\"] = \"CUSTOMUPDATE\";\n  ActionType[\"REMOVEPROP\"] = \"REMOVEPROP\";\n  ActionType[\"DRAG\"] = \"DRAG\";\n  ActionType[\"INSERT\"] = \"INSERT\";\n  return ActionType;\n}({});\n\n// 可以不暴露出去\n\nvar ErrorEventType = /*#__PURE__*/function (ErrorEventType) {\n  ErrorEventType[\"Replace\"] = \"replace\";\n  ErrorEventType[\"ErrorChange\"] = \"errorChange\";\n  ErrorEventType[\"Reset\"] = \"reset\";\n  ErrorEventType[\"Delete\"] = \"delete\";\n  ErrorEventType[\"Clear\"] = \"clear\";\n  return ErrorEventType;\n}({});\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/type/index.ts?");

/***/ }),

/***/ 93504:
/*!*******************************************!*\
  !*** ../kd-designer/src/type/metaType.ts ***!
  \*******************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Basetype: function() { return /* binding */ Basetype; },\n/* harmony export */   Ids: function() { return /* binding */ Ids; }\n/* harmony export */ });\n/*\n * @Author: fjr\n * @Date: 2021-08-24 15:19:17\n * @LastEditors: Please set LastEditors\n * @LastEditTime: 2021-11-19 16:22:15\n * @Description: (新) 表单设计器元数据模型\n */\n\n// (新) 表单设计器元数据模型\n\nvar Basetype = ['Field', 'EntryField', 'Container', 'Entry'];\nvar Ids = ['TextField', 'integerField', 'ButtonAp', 'LabelAp', 'FlexPanelAp', 'EntryAp'];\n\n// Validator 属性\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/type/metaType.ts?");

/***/ }),

/***/ 32884:
/*!************************************************!*\
  !*** ../kd-designer/src/view/control-view.tsx ***!
  \************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/toConsumableArray */ 30260);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/every */ 30479);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set-timeout */ 13760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ 2992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/some */ 65624);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var immer__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! immer */ 83789);\n/* harmony import */ var _context_select_context__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../context/select-context */ 23412);\n/* harmony import */ var _context_data_context__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../context/data-context */ 55308);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../context */ 10268);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../hooks/useActivedSelectedId */ 9700);\n/* harmony import */ var _type_actionType__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../type/actionType */ 54465);\n/* harmony import */ var _constant__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../constant */ 71912);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_36___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_36__);\n/* harmony import */ var tiny_pinyin__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! tiny-pinyin */ 57280);\n/* harmony import */ var tiny_pinyin__WEBPACK_IMPORTED_MODULE_37___default = /*#__PURE__*/__webpack_require__.n(tiny_pinyin__WEBPACK_IMPORTED_MODULE_37__);\n/* harmony import */ var _assets_images_control_empty_png__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../assets/images/control-empty.png */ 83904);\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_6___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_6___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_8___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context13, _context14; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context13 = ownKeys(Object(t), !0)).call(_context13, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_10___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_11___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_10___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(_context14 = ownKeys(Object(t))).call(_context14, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_12___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_8___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// TODO 元模型上加容器之类的属性描述 后端加，前端兼容\n// 参考苍穹已有的acceptParent 子找父 父找子 研究下\n\n\n\n// import GlobalContext from '../global-context'\n\n\n\n\n\n\n\n// import { getLangMsg } from '../../../../locale/locale'\nvar Panel = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Collapse.Panel;\nvar Link = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Anchor.Link;\nvar DropdownItem = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Dropdown.Item,\n  DropdownMenu = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Dropdown.Menu;\nvar controlViewDropdownClsName = 'control-view-dropdown';\n\n// TODO: 平铺数据加上每个数据的路径声明来构建树,并优化查询, 操作效率\n// TODO: 分组声明是否后端加上? 暂时新旧版一起更改\nvar ControlView = function ControlView(props) {\n  var _controlViewSetting$g;\n  // controlSelectItemInfo 给到外面设置传入的时机\n  var _props$meta = props.meta,\n    meta = _props$meta === void 0 ? [] : _props$meta,\n    controlSelectItemInfo = props.controlSelectItemInfo;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_31__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(function () {\n      return meta.Controls || [];\n    }),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState, 2),\n    controls = _useState2[0],\n    setControls = _useState2[1];\n  var dataContext = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_data_context__WEBPACK_IMPORTED_MODULE_29__[\"default\"]);\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"]);\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context__WEBPACK_IMPORTED_MODULE_30__.DataFactoryContext),\n    metaApi = _useContext2.metaApi;\n  var _useActivedSelectedId = (0,_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_33__.useActivedSelectedId)({\n      dataContext: dataContext,\n      selectionContext: selectionContext,\n      timeout: 200\n    }),\n    activedSelectId = _useActivedSelectedId.activedSelectId;\n  var _useContext3 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    enableSearch = _useContext3.enableSearch,\n    keywordMapping = _useContext3.keywordMapping,\n    controlViewSetting = _useContext3.controlViewSetting;\n  var customClassName = controlViewSetting.className;\n  // TODO: custom prefixCls\n  var leftViewPrefixCls = getPrefixCls(prefixCls, 'left-view');\n  // const { isContainer, accept: acceptList } = useMemo(() => getControlIsContainer(controlMetaInfo, dataContext.findControl((activedSelectId as string)), keywordMapping), [activedSelectId])\n\n  (0,react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(function () {\n    var _setControls = function _setControls() {\n      return setControls(function () {\n        var _context;\n        var parent = dataContext.findControl(activedSelectId);\n        parent = dataContext.getContainerControl(parent);\n        var realType = dataContext.getRealControlType(parent, keywordMapping.type);\n        var acceptControls = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context = meta.Controls || []).call(_context, function (control) {\n          if (control.Id === 'HiddenControl' || control.Visible === false) return false;\n          var ret = metaApi.canAdd(control.Id, realType);\n          var isAcceptChild = ret === true || (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(ret) === 'object' && ret.success;\n          return isAcceptChild;\n        });\n        return acceptControls;\n      });\n    };\n    _setControls();\n    var dataChangeListenerCallback = function dataChangeListenerCallback(dataChangeEvent) {\n      var _actions$;\n      var _dataChangeEvent$acti = dataChangeEvent.actions,\n        actions = _dataChangeEvent$acti === void 0 ? [] : _dataChangeEvent$acti;\n      if (((_actions$ = actions[0]) === null || _actions$ === void 0 ? void 0 : _actions$.type) === 'UPDATE') {\n        var _value$;\n        var value = actions[0].value || [];\n        var isContainerTypeChange = (_value$ = value[0]) === null || _value$ === void 0 || (_value$ = _value$[1]) === null || _value$ === void 0 ? void 0 : _value$.ContainerType;\n        if (isContainerTypeChange) {\n          _setControls();\n          selectionContext.setSelect([activedSelectId]);\n        }\n      }\n    };\n    var removeDataChangeListener = dataContext.addDataChangeListener(dataChangeListenerCallback);\n    return function () {\n      removeDataChangeListener && removeDataChangeListener();\n    };\n  }, [activedSelectId, controlSelectItemInfo]);\n  var _useSearchArea = useSearchArea({\n      meta: meta,\n      controls: controls,\n      enableSearch: enableSearch,\n      leftViewPrefixCls: leftViewPrefixCls,\n      controlViewSetting: controlViewSetting\n    }),\n    filterData = _useSearchArea.filterControls,\n    searchArea = _useSearchArea.searchArea,\n    controlRelationMap = _useSearchArea.controlRelationMap;\n  var isEmpty = _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_13___default()(filterData).call(filterData, function (category) {\n    return category.Visible === false || !category.Controls || category.Controls.length === 0;\n  });\n  var emptyView = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement((react__WEBPACK_IMPORTED_MODULE_24___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"img\", {\n    src: _assets_images_control_empty_png__WEBPACK_IMPORTED_MODULE_38__[\"default\"]\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"span\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.mainView.key0001')), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"span\", null, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.mainView.key0002')));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-control-tabs\"), customClassName || '')\n  }, searchArea, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-control-collapse-container\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(leftViewPrefixCls, \"-empty-control-collapse-container\"), isEmpty))\n  }, !isEmpty ? _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(filterData).call(filterData, function (group) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(Category, {\n      category: group,\n      controlRelationMap: controlRelationMap,\n      leftViewPrefixCls: leftViewPrefixCls,\n      key: group.Id,\n      activedSelectId: activedSelectId,\n      controls: controls,\n      controlViewSetting: controlViewSetting\n    });\n  }) : (controlViewSetting === null || controlViewSetting === void 0 || (_controlViewSetting$g = controlViewSetting.getEmptyView) === null || _controlViewSetting$g === void 0 ? void 0 : _controlViewSetting$g.call(controlViewSetting)) || emptyView));\n};\nvar Category = function Category(props) {\n  var category = props.category,\n    controlRelationMap = props.controlRelationMap,\n    leftViewPrefixCls = props.leftViewPrefixCls,\n    activedSelectId = props.activedSelectId,\n    controls = props.controls,\n    controlViewSetting = props.controlViewSetting;\n  var Id = category.Id,\n    Visible = category.Visible,\n    cateGoryControls = category.Controls,\n    Name = category.Name;\n  var _controlViewSetting$s = controlViewSetting.showCollapseTop,\n    showCollapseTop = _controlViewSetting$s === void 0 ? true : _controlViewSetting$s,\n    _controlViewSetting$c = controlViewSetting.collapsable,\n    collapsable = _controlViewSetting$c === void 0 ? true : _controlViewSetting$c,\n    hideItemViewList = controlViewSetting.hideItemView;\n  var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(false),\n    _useState4 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState3, 2),\n    isExpand = _useState4[0],\n    setIsExpand = _useState4[1];\n  var toggleExpand = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function () {\n    setIsExpand(function (flag) {\n      return !flag;\n    });\n  }, [isExpand]);\n  var panelComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(Panel, {\n    header: Name,\n    panelKey: Id\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: \"\".concat(leftViewPrefixCls, \"-pane\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(cateGoryControls).call(cateGoryControls, function (control) {\n    // controlRelationMap[control.Id] || [] 防止control.ChildControl生效\n    // data[containerIdx] -> controls\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(ControlItemNode, {\n      key: control.Id,\n      controlRelationMap: controlRelationMap,\n      control: control,\n      activedSelectId: activedSelectId,\n      leftViewPrefixCls: leftViewPrefixCls,\n      controls: controls\n    });\n    // return <ControlViewItem key={control.Id} {...control} className={leftViewPrefixCls} activedSelectId={activedSelectId} controls={controls} childControls={controlRelationMap[control.Id] || []} controlRelationMap={controlRelationMap} />\n  })));\n  if (Id === 'HiddenControl' || Visible === false || (cateGoryControls === null || cateGoryControls === void 0 ? void 0 : cateGoryControls.length) === 0) return null; // 这里要统一修改为Visible为false\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(hideItemViewList) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16___default()(hideItemViewList).call(hideItemViewList, Id)) return null;\n  return collapsable ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    id: Id,\n    key: Id,\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-group-pane\"), {\n      'hide-collapse-top': !showCollapseTop\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Collapse, {\n    name: \"Collapse\",\n    key: Id,\n    defaultActiveKey: Id,\n    expandIconPosition: \"left\",\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-collapse\"), \"\".concat(Id, \"-collapse\"))\n  }, panelComp)) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    id: Id,\n    key: Id,\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-group-pane\"), {\n      'hide-collapse-top': !showCollapseTop\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: \"\".concat(leftViewPrefixCls, \"-control-group-title\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: \"\".concat(leftViewPrefixCls, \"-control-group-title-left\")\n  }, Name)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: \"\".concat(leftViewPrefixCls, \"-pane\")\n  }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(cateGoryControls).call(cateGoryControls, function (control) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(ControlItemNode, {\n      key: control.Id,\n      controlRelationMap: controlRelationMap,\n      control: control,\n      activedSelectId: activedSelectId,\n      leftViewPrefixCls: leftViewPrefixCls,\n      controls: controls\n    });\n  })));\n};\nvar ControlItemNode = function ControlItemNode(props) {\n  var controlRelationMap = props.controlRelationMap,\n    control = props.control,\n    activedSelectId = props.activedSelectId,\n    leftViewPrefixCls = props.leftViewPrefixCls,\n    controls = props.controls,\n    parentGroupType = props.parentGroupType;\n  var name = control.Name || control.Id;\n  if (controlRelationMap[control.Id] && parentGroupType !== control.Id) {\n    var _context2;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(GroupControlItem, {\n      key: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context2 = \"group_\".concat(parentGroupType || '', \"_\")).call(_context2, control.Id),\n      Id: control.Id,\n      Name: name,\n      Tips: control.Tips,\n      ExtendFontClass: control.ExtendFontClass,\n      className: leftViewPrefixCls,\n      activedSelectId: activedSelectId,\n      controls: controls,\n      childControls: controlRelationMap[control.Id] || [],\n      controlRelationMap: controlRelationMap\n    });\n  } else {\n    var _context3;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(ControlItem, {\n      key: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context3 = \"item_\".concat(parentGroupType || '', \"_\")).call(_context3, control.Id),\n      Id: control.Id,\n      Name: name,\n      Tips: control.Tips,\n      disabled: control.Disable,\n      ExtendFontClass: control.ExtendFontClass,\n      className: leftViewPrefixCls,\n      activedSelectId: activedSelectId,\n      controlRelationMap: controlRelationMap\n    });\n  }\n};\nvar GroupControlItem = function GroupControlItem(props) {\n  var _context4, _context5;\n  var _props$childControls = props.childControls,\n    _childControls = _props$childControls === void 0 ? [] : _props$childControls,\n    controls = props.controls,\n    parentGroupType = props.parentGroupType,\n    controlRelationMap = props.controlRelationMap,\n    control = props.control,\n    type = props.Id,\n    className = props.className,\n    activedSelectId = props.activedSelectId,\n    name = props.Name,\n    ExtendFontClass = props.ExtendFontClass;\n  var _useContext4 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    controlViewMode = _useContext4.controlViewMode;\n  var childControls = (0,_babel_runtime_corejs3_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(_childControls);\n  var triggerRef = (0,react__WEBPACK_IMPORTED_MODULE_24__.useRef)(null);\n  var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(false),\n    _useState6 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState5, 2),\n    visible = _useState6[0],\n    setVisible = _useState6[1];\n  var hidePoperTimerRef = (0,react__WEBPACK_IMPORTED_MODULE_24__.useRef)(null);\n  var onRootMouseDown = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function () {\n    hidePoperTimerRef.current && clearTimeout(hidePoperTimerRef.current);\n  }, [type]);\n  (0,react__WEBPACK_IMPORTED_MODULE_24__.useEffect)(function () {\n    var listener = function listener() {\n      hidePoperTimerRef.current && clearTimeout(hidePoperTimerRef.current);\n      hidePoperTimerRef.current = _babel_runtime_corejs3_core_js_stable_set_timeout__WEBPACK_IMPORTED_MODULE_18___default()(function () {\n        return setVisible(false);\n      });\n    };\n    document.body.addEventListener('mousedown', listener, true);\n    document.body.addEventListener('touchstart', listener, true);\n    return function () {\n      document.body.removeEventListener('mousedown', listener, true);\n      document.body.removeEventListener('touchstart', listener, true);\n    };\n  }, [type]);\n  var childControlInfos = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(childControls).call(childControls, function (controlId) {\n    var control = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_19___default()(controls).call(controls, function (control) {\n      return control.Id === controlId;\n    });\n    return [control];\n  });\n  var nodes = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(childControls).call(childControls, function (controlId, idx) {\n    var _childControlInfos$id = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(childControlInfos[idx], 1),\n      control = _childControlInfos$id[0];\n    var node = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(ControlItemNode, {\n      control: control,\n      childControls: controlRelationMap[controlId] || [],\n      parentGroupType: type,\n      leftViewPrefixCls: className,\n      controls: controls,\n      activedSelectId: activedSelectId,\n      controlRelationMap: controlRelationMap\n    });\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(DropdownItem, {\n      key: controlId\n    }, node);\n  });\n  var dropdownMenu = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(DropdownMenu, null, nodes.length > 1 ? nodes : nodes[0]);\n  var isShowDropDown = childControls.length > 0 && type !== parentGroupType;\n  var arrowDownComp = isShowDropDown && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    ref: triggerRef,\n    className: \"\".concat(className, \"-control-switch\"),\n    onClick: function onClick(evt) {\n      // evt.stopPropagation()\n      setVisible(!visible);\n    }\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Icon, {\n    type: \"xialajiantou\",\n    prefix: \"designericon\"\n  }));\n  var dropdownClassName = isShowDropDown && \"\".concat(className, \"-control-content-dropdown\");\n  var componentBtn = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(ControlItem\n  // ref={itemRef}\n  , {\n    Id: type,\n    Name: name,\n    key: type,\n    controlRelationMap: controlRelationMap,\n    control: control,\n    ExtendFontClass: ExtendFontClass,\n    activedSelectId: activedSelectId,\n    className: className,\n    dropdownClassName: dropdownClassName\n  }, arrowDownComp);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    onMouseDown: onRootMouseDown,\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(className, \"-control\"), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context4 = \"\".concat(className, \"-\")).call(_context4, controlViewMode, \"-control\"))\n  }, isShowDropDown ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Dropdown, {\n    menu: dropdownMenu,\n    scrollHidden: true,\n    visible: visible,\n    onVisibleChange: function onVisibleChange(_visible) {\n      setVisible(_visible);\n    },\n    getTriggerElement: function getTriggerElement() {\n      return triggerRef.current;\n    },\n    placement: \"bottomLeft\",\n    trigger: \"click\",\n    popperClassName: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context5 = \"\".concat(className, \"-\")).call(_context5, controlViewDropdownClsName)\n  }, componentBtn) : componentBtn);\n};\nvar isCanAddAction = {\n  current: true\n};\nvar ControlItem = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_24__.forwardRef)(function (props, forwardedRef) {\n  var _icon$props, _icon$props2, _controlViewSetting$c2, _context6, _context7;\n  var _useContext5 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context__WEBPACK_IMPORTED_MODULE_30__.DataFactoryContext),\n    createControlData = _useContext5.dataFactory,\n    metaApi = _useContext5.metaApi;\n  var type = props.Id,\n    name = props.Name,\n    tips = props.Tips,\n    fontClass = props.ExtendFontClass,\n    className = props.className,\n    activedSelectId = props.activedSelectId,\n    children = props.children,\n    dropdownClassName = props.dropdownClassName,\n    onClick = props.onClick,\n    disabled = props.disabled;\n  var _useContext6 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    getOutlineItemIcon = _useContext6.getOutlineItemIcon,\n    env = _useContext6.env,\n    keywordMapping = _useContext6.keywordMapping,\n    controlViewMode = _useContext6.controlViewMode,\n    controlViewSetting = _useContext6.controlViewSetting;\n  var handleItemClick = controlViewSetting.handleItemClick,\n    handleDragStart = controlViewSetting.onDragStart;\n  var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(false),\n    _useState8 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState7, 2),\n    tooltipVisible = _useState8[0],\n    setToolTipVisible = _useState8[1];\n  var dataContext = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_data_context__WEBPACK_IMPORTED_MODULE_29__[\"default\"]);\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_24__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"]);\n  var rootId = dataContext.getRootId();\n  var currentType = type;\n  var currentName = name;\n  var handleClick = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function () {\n    var _metaApi$getControlMe, _parent;\n    if (disabled) return;\n    handleItemClick === null || handleItemClick === void 0 || handleItemClick();\n    //  按理这里应该在组件过滤时就过滤掉了\n    isCanAddAction.current = false;\n    var activedSelectId = (0,_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_33__.getActiveSelectedId)({\n      dataContext: dataContext,\n      selectionContext: selectionContext\n    });\n    var parent = dataContext.findControl(activedSelectId);\n    parent = dataContext.getContainerControl(parent);\n    var parentType = dataContext.getRealControlType(parent, keywordMapping.type);\n    var ret = metaApi.canAdd(currentType, parentType);\n    var isAcceptChild = ret === true || (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(ret) === 'object' && ret.success;\n    if (!isAcceptChild) {\n      return _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_20___default().resolve();\n    }\n    var parentIsContainer = (_metaApi$getControlMe = metaApi.getControlMeta((_parent = parent) === null || _parent === void 0 ? void 0 : _parent[keywordMapping.type])) === null || _metaApi$getControlMe === void 0 ? void 0 : _metaApi$getControlMe.IsContainer;\n    var newControl = createControlData({\n      type: currentType,\n      parentId: parentIsContainer ? parent[keywordMapping.id] : rootId // 判断选中的父能不能添加，顶层根节点作为兜底\n    });\n    var index = parent[keywordMapping.id] === activedSelectId ? -1 : dataContext.findControlIndex(activedSelectId) + 1; // 如果选中的不是容器，即加在后面\n    return new (_babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_20___default())(function (resolve, reject) {\n      dataContext.addControl((0,_type_actionType__WEBPACK_IMPORTED_MODULE_34__.createAddAction)(newControl, {\n        index: index\n      })).then(function (actions) {\n        if (actions !== null && actions !== void 0 && actions.length) {\n          var realControl = actions[0].value;\n          selectionContext.setSelect(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_15___default()(realControl) ? [realControl[0][keywordMapping.id]] : [realControl[keywordMapping.id]]);\n          resolve();\n        } else {\n          resolve();\n        }\n      }).catch(function (err) {\n        return reject(err);\n      });\n    });\n  }, [currentType, activedSelectId]);\n  var onDragStart = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function (e) {\n    if (disabled) return;\n    var dragData = {\n      type: 'control',\n      data: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, props, {\n        Name: currentName,\n        Id: currentType\n      })\n    };\n    env[_constant__WEBPACK_IMPORTED_MODULE_35__.CONTROL_DRAG_DATA] = dragData;\n    setToolTipVisible(false);\n    handleDragStart === null || handleDragStart === void 0 || handleDragStart(e, currentType, currentName);\n  }, [props, currentType, currentName]);\n  var onVisibleChange = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function (visible) {\n    setToolTipVisible(visible);\n  }, []);\n  var _icon = getOutlineItemIcon(currentType);\n  var icon = fontClass ? _icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"i\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(fontClass, (_icon$props = _icon.props) === null || _icon$props === void 0 ? void 0 : _icon$props.className, \"\".concat(className, \"-control-icon\"))\n  }) : _icon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().cloneElement(_icon, {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()((_icon$props2 = _icon.props) === null || _icon$props2 === void 0 ? void 0 : _icon$props2.className, \"\".concat(className, \"-control-icon\"))\n  });\n  var clickAddDisable = controlViewSetting === null || controlViewSetting === void 0 || (_controlViewSetting$c2 = controlViewSetting.clickAddDisable) === null || _controlViewSetting$c2 === void 0 ? void 0 : _controlViewSetting$c2.call(controlViewSetting, currentType);\n  var controlItemDom = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(className, \"-control-content\"), dropdownClassName),\n    draggable: !disabled,\n    onDragStart: onDragStart,\n    onClick: function onClick(evt) {\n      isCanAddAction.current && !clickAddDisable && handleClick().then(function () {\n        isCanAddAction.current = true;\n      }).catch(function () {\n        isCanAddAction.current = true;\n      });\n      // if(parentGroupType) {\n      //   evt.stopPropagation()\n      // }\n    }\n  }, icon, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    title: (controlViewSetting === null || controlViewSetting === void 0 ? void 0 : controlViewSetting.hideTitleTips) !== false ? currentName : '',\n    className: \"\".concat(className, \"-control-name\")\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"span\", null, currentName)));\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(className, \"-control\"), _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context6 = \"\".concat(className, \"-\")).call(_context6, controlViewMode, \"-control\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context7 = \"\".concat(className, \"-\")).call(_context7, controlViewMode, \"-control-disabled\"), disabled)),\n    onClick: onClick,\n    ref: forwardedRef\n  }, tips ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Tooltip, {\n    placement: \"right\",\n    tip: tips || '',\n    visible: tooltipVisible,\n    onVisibleChange: onVisibleChange\n  }, controlItemDom) : controlItemDom, children);\n});\nvar useSearchArea = function useSearchArea(props) {\n  var _context12;\n  var meta = props.meta,\n    leftViewPrefixCls = props.leftViewPrefixCls,\n    controls = props.controls,\n    controlViewSetting = props.controlViewSetting,\n    enableSearch = props.enableSearch;\n  var hideHelpIcon = controlViewSetting.hideHelpIcon,\n    searchInputPlaceholder = controlViewSetting.searchInputPlaceholder,\n    hideAnchorIcon = controlViewSetting.hideAnchorIcon,\n    _controlViewSetting$o = controlViewSetting.onHelpIconClick,\n    onHelpIconClick = _controlViewSetting$o === void 0 ? function () {} : _controlViewSetting$o,\n    _controlViewSetting$f = controlViewSetting.filterCategories,\n    filterCategories = _controlViewSetting$f === void 0 ? function (categories) {\n      return categories;\n    } : _controlViewSetting$f;\n  var _useState9 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(''),\n    _useState10 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState9, 2),\n    searchInputValue = _useState10[0],\n    setSearchInputValue = _useState10[1];\n  var inputRef = (0,react__WEBPACK_IMPORTED_MODULE_24__.useRef)(null);\n  var controlPinyinMap = (0,react__WEBPACK_IMPORTED_MODULE_24__.useMemo)(function () {\n    var _context8;\n    return (0,tiny_pinyin__WEBPACK_IMPORTED_MODULE_37__.isSupported)() ? _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_21___default()(_context8 = meta.Controls).call(_context8, function (map, control) {\n      control.Name && (map[control.Id] = (0,tiny_pinyin__WEBPACK_IMPORTED_MODULE_37__.convertToPinyin)(control.Name, '', true).toLowerCase());\n      return map;\n    }, {}) : {};\n  }, []);\n  var filteredCategories = filterCategories(meta.Categories);\n  // controls处理搜索\n  var searchedControls = (0,react__WEBPACK_IMPORTED_MODULE_24__.useMemo)(function () {\n    if (!searchInputValue) return controls;\n    var filterData = (0,immer__WEBPACK_IMPORTED_MODULE_39__.produce)(controls, function (draft) {\n      var _context9;\n      return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context9 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(draft).call(draft, function (control) {\n        var _context10, _context11;\n        return control.Name && (_babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_22___default()(_context10 = control.Name).call(_context10, searchInputValue) !== -1 || _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_22___default()(_context11 = controlPinyinMap[control.Id]).call(_context11, (0,tiny_pinyin__WEBPACK_IMPORTED_MODULE_37__.convertToPinyin)(searchInputValue, '', true).toLowerCase()) !== -1) && control;\n      })).call(_context9, Boolean);\n    });\n    return filterData;\n  }, [searchInputValue, controls]);\n  var controlGroupsOptions = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(_context12 = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(filteredCategories).call(filteredCategories, function (containerData) {\n    var categoryId = containerData.Id,\n      Name = containerData.Name;\n    if (!_babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default()(searchedControls).call(searchedControls, function (control) {\n      return control.CategoryId === categoryId;\n    })) {\n      return null;\n    }\n    return {\n      value: categoryId,\n      label: Name\n    };\n  })).call(_context12, Boolean);\n  var _controlRelationMap = {};\n  var allChildrenControls = [];\n  !searchInputValue && _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_9___default()(controls).call(controls, function (control) {\n    var OwnTypeId = control.OwnerTypeId,\n      Id = control.Id;\n    if (OwnTypeId) {\n      _controlRelationMap[OwnTypeId] = _controlRelationMap[OwnTypeId] || [];\n      _controlRelationMap[OwnTypeId].push(Id);\n      allChildrenControls.push(Id);\n    }\n  });\n  var _ref = !!searchInputValue ? [_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(filteredCategories).call(filteredCategories, function (Category) {\n      var categoryId = Category.Id;\n      return _objectSpread(_objectSpread({}, Category), {}, {\n        Controls: _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(searchedControls).call(searchedControls, function (control) {\n          var elementGroupId = control.CategoryId;\n          return elementGroupId === categoryId;\n        })\n      });\n    }), _controlRelationMap] : [_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(filteredCategories).call(filteredCategories, function (Category) {\n      var categoryId = Category.Id;\n      return _objectSpread(_objectSpread({}, Category), {}, {\n        Controls: _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_7___default()(searchedControls).call(searchedControls, function (control) {\n          if (_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_16___default()(allChildrenControls).call(allChildrenControls, control.Id)) {\n            return false;\n          }\n          var elementGroupId = control.CategoryId;\n          return elementGroupId === categoryId;\n        })\n      });\n    }), _controlRelationMap],\n    _ref2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_ref, 2),\n    filterData = _ref2[0],\n    controlRelationMap = _ref2[1];\n  var _handleControlSearch = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function (value) {\n    setSearchInputValue(value);\n  }, []);\n  var debounceHandleControlSearch = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)((0,lodash__WEBPACK_IMPORTED_MODULE_27__.debounce)(_handleControlSearch, 250), []);\n  // const debounceHandleControlSearch = _handleControlSearch\n  var handleControlSearch = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function (value) {\n    var _inputRef$current;\n    debounceHandleControlSearch(typeof value === 'string' ? value : (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || (_inputRef$current = _inputRef$current.input) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.value);\n  }, [meta, controls]);\n  return {\n    filterControls: filterData,\n    controlRelationMap: controlRelationMap,\n    searchArea: enableSearch && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n      className: \"\".concat(leftViewPrefixCls, \"-control-search\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Input, {\n      className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-control-search-input\")),\n      ref: inputRef,\n      placeholder: searchInputPlaceholder || (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.leftView.key0001'),\n      borderType: \"bordered\",\n      onChange: function onChange(e) {\n        return _handleControlSearch(e.target.value);\n      },\n      allowClear: true,\n      prefix:\n      /*#__PURE__*/\n      // <div onClick={handleControlSearch}>\n      react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Icon, {\n        prefix: \"designericon\",\n        type: \"sousuo\",\n        onClick: handleControlSearch\n      })\n      // </div>\n      ,\n      value: searchInputValue\n    }), !hideAnchorIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(DropDownControlGroup, {\n      options: controlGroupsOptions,\n      disabled: controlGroupsOptions.length === 0,\n      className: leftViewPrefixCls,\n      handleClick: function handleClick(value) {\n        // const node = document.querySelector(`.${value}-collapse`)\n        var node = document.getElementsByClassName(\"\".concat(value, \"-collapse\"));\n        if (node !== null && node !== void 0 && node[0]) {\n          // TODO: 兼容浏览器\n          // TODO: 必定为滚动, 改为自己实现\n          node[0].scrollIntoView({\n            behavior: 'smooth',\n            block: 'nearest',\n            inline: 'nearest'\n          });\n          // node[0].scrollIntoViewIfNeeded(false)\n        }\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n      title: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.leftView.key0004'),\n      className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(\"\".concat(leftViewPrefixCls, \"-control-search-icon\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(leftViewPrefixCls, \"-control-search-icon-unclickable\"), controlGroupsOptions.length === 0))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(LocationIcon, {\n      disabled: controlGroupsOptions.length === 0\n    }))), !hideHelpIcon && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"div\", {\n      title: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.leftView.key0005'),\n      className: \"\".concat(leftViewPrefixCls, \"-control-search-icon\"),\n      onClick: function onClick() {\n        onHelpIconClick();\n      }\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Icon, {\n      type: \"tips\"\n    })))\n  };\n};\nfunction isInViewPort(el) {\n  var SCROLL_CONTAINER_MIN_TOP = 128 - 44; // title的高\n  var viewPortHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;\n  var top = el.getBoundingClientRect() && el.getBoundingClientRect().top;\n  return top >= SCROLL_CONTAINER_MIN_TOP && top <= viewPortHeight; //\n}\nvar DropDownControlGroup = function DropDownControlGroup(props) {\n  var _children$props;\n  var children = props.children,\n    options = props.options,\n    handleClick = props.handleClick,\n    disabled = props.disabled,\n    leftViewPrefixCls = props.className;\n  var menu = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_14___default()(options).call(options, function (option) {\n    var value = option.value,\n      label = option.label;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(Link, {\n      href: \"#\".concat(value),\n      title: label,\n      key: value\n    });\n    // return {\n    //   key: value,\n    //   label\n    // }\n  });\n  var _useState11 = (0,react__WEBPACK_IMPORTED_MODULE_24__.useState)(false),\n    _useState12 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_useState11, 2),\n    visible = _useState12[0],\n    setVisible = _useState12[1];\n  var handler = (0,react__WEBPACK_IMPORTED_MODULE_24__.useCallback)(function () {\n    return setVisible(false);\n  }, []);\n  var onRootMouseDown = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.useOnClickOutsideByRootClick)(handler, true);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement((react__WEBPACK_IMPORTED_MODULE_24___default().Fragment), null, !!children && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().cloneElement(children, {\n    onClick: function onClick() {\n      !disabled && setVisible(!visible); // 这里会导致点击之后关闭, 看需求\n      onRootMouseDown();\n    },\n    className: classnames__WEBPACK_IMPORTED_MODULE_36___default()(children === null || children === void 0 || (_children$props = children.props) === null || _children$props === void 0 ? void 0 : _children$props.className, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__[\"default\"])({}, \"\".concat(leftViewPrefixCls, \"-control-search-icon-focus\"), visible))\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement((react__WEBPACK_IMPORTED_MODULE_24___default().Fragment), null, children.props.children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_25__.Anchor, {\n    type: \"advanced\",\n    offsetTop: 70,\n    visible: !disabled && visible,\n    lockedIcon: false,\n    onVisibleChange: function onVisibleChange(_visible) {\n      // !disabled && setVisible(_visible)\n    },\n    getCurrentAnchor: function getCurrentAnchor() {\n      var res = \"#\".concat(options[0] && options[0].value);\n      _babel_runtime_corejs3_core_js_stable_instance_some__WEBPACK_IMPORTED_MODULE_23___default()(options).call(options, function (option) {\n        var value = option.value;\n        var href = \"#\".concat(value);\n        try {\n          var node = document.getElementById(value);\n          if (node && isInViewPort(node)) {\n            res = href;\n            return true;\n          }\n        } catch (error) {\n          _designer_utils__WEBPACK_IMPORTED_MODULE_26__.console.log('getCurrentAnchor error: ', error);\n        }\n      });\n      return res;\n    },\n    getContainer: function getContainer() {\n      var container = document.getElementsByClassName('kdesigner-left-view-control-collapse-container')[0];\n      return container || window;\n    }\n  }, menu))));\n};\nvar LocationIcon = function LocationIcon(_ref3) {\n  var disabled = _ref3.disabled;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"svg\", {\n    class: \"icon\",\n    fill: disabled ? '#CCCCCC' : '#212121',\n    width: \"200\",\n    height: \"200\",\n    viewBox: \"0 0 1024 1024\",\n    version: \"1.1\",\n    xmlns: \"http://www.w3.org/2000/svg\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_24___default().createElement(\"path\", {\n    d: \"M500 562.5C430.964406 562.5 375 506.535594 375 437.5C375 368.464406 430.964406 312.5 500 312.5C569.035594 312.5 625 368.464406 625 437.5C625 506.535594 569.035594 562.5 500 562.5zM500 500C534.517797 500 562.5 472.017797 562.5 437.5C562.5 402.982203 534.517797 375 500 375C465.482203 375 437.5 402.982203 437.5 437.5C437.5 472.017797 465.482203 500 500 500zM516.777359 932.614422C506.540909 939.128525 493.459091 939.128525 483.222641 932.614422C245.934398 781.612813 125 616.702269 125 437.5C125 230.393219 292.893219 62.5 500 62.5C707.106781 62.5 875 230.393219 875 437.5C875 616.702269 754.065603 781.612813 516.777359 932.614422zM187.5 437.5C187.5 587.679863 290.254255 731.649213 500 869.053947C709.745744 731.649213 812.5 587.679863 812.5 437.5C812.5 264.911016 672.588984 125 500 125C327.411016 125 187.5 264.911016 187.5 437.5z\"\n  }));\n};\nControlView.tabKey = 'ControlView';\n// ControlView.tabName = '控件'\nControlView.getTabName = function () {\n  return (0,_designer_utils__WEBPACK_IMPORTED_MODULE_26__.getLangMsg)('designer.leftView.key0006');\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ControlView);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/control-view.tsx?");

/***/ }),

/***/ 32596:
/*!******************************************************!*\
  !*** ../kd-designer/src/view/errorboundary-wrap.tsx ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/construct */ 11984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/classCallCheck */ 3460);\n/* harmony import */ var _babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/createClass */ 27688);\n/* harmony import */ var _babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/possibleConstructorReturn */ 54895);\n/* harmony import */ var _babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/getPrototypeOf */ 77284);\n/* harmony import */ var _babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/inherits */ 50024);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\nfunction _callSuper(t, o, e) { return o = (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(o), (0,_babel_runtime_corejs3_helpers_possibleConstructorReturn__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(t, _isNativeReflectConstruct() ? _babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(o, e || [], (0,_babel_runtime_corejs3_helpers_getPrototypeOf__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(t).constructor) : o.apply(t, e)); }\nfunction _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_babel_runtime_corejs3_core_js_stable_reflect_construct__WEBPACK_IMPORTED_MODULE_0___default()(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-11-05 13:29:38\n * @Last Modified by: fjr\n * @LastEditTime: 2021-11-05 14:08:41\n * @Description: 错误边界捕获组件\n */\n\nvar ErrorBoundaryWrap = function ErrorBoundaryWrap(WrappedComponent) {\n  var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n  return /*#__PURE__*/function (_React$Component) {\n    (0,_babel_runtime_corejs3_helpers_inherits__WEBPACK_IMPORTED_MODULE_5__[\"default\"])(ErrorBoundary, _React$Component);\n    function ErrorBoundary(props) {\n      var _this;\n      (0,_babel_runtime_corejs3_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(this, ErrorBoundary);\n      _this = _callSuper(this, ErrorBoundary, [props]);\n      _this.state = {\n        errorInfo: null\n      };\n      return _this;\n    }\n    (0,_babel_runtime_corejs3_helpers_createClass__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(ErrorBoundary, [{\n      key: \"componentDidCatch\",\n      value: function componentDidCatch(error, info) {\n        this.setState({\n          errorInfo: [error, info]\n        });\n      }\n    }, {\n      key: \"render\",\n      value: function render() {\n        var _context, _context2;\n        var errorInfo = this.state.errorInfo;\n        if (!errorInfo) {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(WrappedComponent, this.props);\n        }\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement(\"div\", null, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_6___default()(_context2 = \"\".concat(name, \" view has an error: \")).call(_context2, errorInfo[0], \", \")).call(_context, errorInfo[1]));\n      }\n    }]);\n    return ErrorBoundary;\n  }((react__WEBPACK_IMPORTED_MODULE_7___default().Component));\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ErrorBoundaryWrap);\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/errorboundary-wrap.tsx?");

/***/ }),

/***/ 75484:
/*!*********************************************!*\
  !*** ../kd-designer/src/view/left-view.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _hooks_useTab__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/useTab */ 46644);\n/* harmony import */ var _errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errorboundary-wrap */ 32596);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-29 15:54:24\n * @Last Modified by: fjr\n * @LastEditTime: 2022-08-11 13:44:14\n * @Description: ...\n */\n\n\n\n\n\nvar LeftView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref) {\n  var views = _ref.views;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var topViewPrefixCls = getPrefixCls(prefixCls, 'top-view');\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    controlViewSetting = _useContext2.controlViewSetting,\n    _useContext2$dataPort = _useContext2.dataPortalIdPrefix,\n    dataPortalIdPrefix = _useContext2$dataPort === void 0 ? topViewPrefixCls : _useContext2$dataPort;\n  if ((controlViewSetting === null || controlViewSetting === void 0 ? void 0 : controlViewSetting.hideItemView) === true) return null;\n  var leftViewPrefixCls = getPrefixCls(prefixCls, 'left-view');\n  var portalId = \"\".concat(dataPortalIdPrefix, \"-left\");\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_hooks_useTab__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    views: views,\n    className: leftViewPrefixCls,\n    portalId: portalId,\n    position: \"left\"\n  });\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(LeftView, 'kdesigner-left-view'));\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/left-view.tsx?");

/***/ }),

/***/ 88445:
/*!*********************************************!*\
  !*** ../kd-designer/src/view/main-view.tsx ***!
  \*********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _hooks_useTab__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hooks/useTab */ 46644);\n/* harmony import */ var _errorboundary_wrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./errorboundary-wrap */ 32596);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-29 15:54:24\n * @Last Modified by: fjr\n * @LastEditTime: 2021-11-05 13:48:48\n * @Description: ...\n */\n\n\n\n\nvar MainView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref) {\n  var views = _ref.views;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var leftViewPrefixCls = getPrefixCls(prefixCls, 'main-view');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: leftViewPrefixCls\n  }, views.length < 2 ? views : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_hooks_useTab__WEBPACK_IMPORTED_MODULE_2__[\"default\"], {\n    views: views,\n    className: leftViewPrefixCls\n  }));\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_3__[\"default\"])(MainView, 'kdesigner-main-view'));\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/main-view.tsx?");

/***/ }),

/***/ 2044:
/*!*************************************************!*\
  !*** ../kd-designer/src/view/property-view.tsx ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   PropertyView: function() { return /* binding */ PropertyView; },\n/* harmony export */   PropertyViewItem: function() { return /* binding */ PropertyViewItem; },\n/* harmony export */   PropertyViewItemGroup: function() { return /* binding */ PropertyViewItemGroup; },\n/* harmony export */   PropertyViewRoot: function() { return /* binding */ PropertyViewRoot; },\n/* harmony export */   filterNodes: function() { return /* binding */ filterNodes; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-properties */ 63808);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var _babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/defineProperty */ 30112);\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/find */ 47332);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/every */ 30479);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/includes */ 82600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/sort */ 6908);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @kdcloudjs/kdesign */ 54116);\n/* harmony import */ var _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! lodash */ 67928);\n/* harmony import */ var lodash__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var _context_select_context__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../context/select-context */ 23412);\n/* harmony import */ var _context_data_context__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../context/data-context */ 55308);\n/* harmony import */ var _context_error_context__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../context/error-context */ 18440);\n/* harmony import */ var _hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../hooks/useActivedSelectedId */ 9700);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _context__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../context */ 10268);\n/* harmony import */ var _utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../_utils/property-editor-factory */ 93888);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var _assets_images_property_empty_png__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../assets/images/property-empty.png */ 75940);\n/* harmony import */ var _action_index__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../action/index */ 99060);\n/* harmony import */ var _hooks_useSelectModel__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../hooks/useSelectModel */ 73604);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _type_actionType__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../type/actionType */ 54465);\n/* harmony import */ var _meta__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../meta */ 55796);\n/* harmony import */ var _designer_utils__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../../designer-utils */ 89592);\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(e, r) { var t = _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_0___default()(e); if ((_babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default())) { var o = _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_1___default()(e); r && (o = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default()(o).call(o, function (r) { return _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context5, _context6; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default()(_context5 = ownKeys(Object(t), !0)).call(_context5, function (r) { (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])(e, r, t[r]); }) : (_babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()) ? _babel_runtime_corejs3_core_js_stable_object_define_properties__WEBPACK_IMPORTED_MODULE_5___default()(e, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_4___default()(t)) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_3___default()(_context6 = ownKeys(Object(t))).call(_context6, function (r) { _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_6___default()(e, r, _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_2___default()(t, r)); }); } return e; }\n\n\n\n\n\n\n\n\n\n\n\n// import { getLangMsg } from '../../../../locale/locale'\n\n\n\n// import GlobalContext from '../global-context'\n\n\n\n\n\n\n\n\n\n\n\n\nvar Panel = _kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_19__.Collapse.Panel;\n\n//\n// 严谨来说应该根据filterPropertyHandler来进行过滤\n// include exclude为了可以硬编码设置\n\nvar PropertyViewRoot = function PropertyViewRoot(props) {\n  var children = props.children,\n    field = props.field,\n    className = props.className;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_25__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    keywordMapping = _useContext2.keywordMapping;\n  var rightViewPrefixCls = getPrefixCls(prefixCls, 'right-view');\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_28___default()(\"\".concat(rightViewPrefixCls, \"-props-tabs\"), className)\n  }, children);\n};\nvar noopConst = function noopConst(nodes) {\n  return nodes;\n};\nvar PropertyView = function PropertyView(props) {\n  var _propertyViewSetting$;\n  var className = props.className,\n    _props$PropertyViewIt = props.PropertyViewItemRender,\n    PropertyViewItemRender = _props$PropertyViewIt === void 0 ? PropertyViewItem : _props$PropertyViewIt,\n    _props$PropertyViewIt2 = props.PropertyViewItemGroupRender,\n    PropertyViewItemGroupRender = _props$PropertyViewIt2 === void 0 ? PropertyViewItemGroup : _props$PropertyViewIt2,\n    header = props.header,\n    footer = props.footer,\n    children = props.children,\n    _props$meta = props.meta,\n    meta = _props$meta === void 0 ? {} : _props$meta,\n    _props$data = props.data,\n    data = _props$data === void 0 ? {} : _props$data,\n    solidId = props.id,\n    _props$filterProperty = props.filterPropertyHandler,\n    filterPropertyHandler = _props$filterProperty === void 0 ? noopConst : _props$filterProperty,\n    _props$include = props.include,\n    include = _props$include === void 0 ? [] : _props$include,\n    _props$exclude = props.exclude,\n    exclude = _props$exclude === void 0 ? [] : _props$exclude,\n    selectId = props.solidSelectedId;\n  // 这里需要data中有meta的类型\n  var dataContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_data_context__WEBPACK_IMPORTED_MODULE_22__[\"default\"]);\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_21__[\"default\"]);\n  var selection = selectionContext.getSelection();\n  // 这个事件总线分发还是存在问题，外界的onData可能会导致React刷新\n  // 所以需要把onData放后面\n  var _useActivedSelectedId = (0,_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_24__.useActivedSelectedId)({\n      dataContext: dataContext,\n      selectionContext: selectionContext,\n      solidId: solidId || selectId\n    }),\n    activedSelectId = _useActivedSelectedId.activedSelectId; // timeout: 200 删除会有问题, 数据先于选中触发\n  var _useContext3 = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context__WEBPACK_IMPORTED_MODULE_26__.DataFactoryContext),\n    modelFactory = _useContext3.modelFactory;\n  var globalConfig = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]);\n  var keywordMapping = globalConfig.keywordMapping,\n    propertyViewSetting = globalConfig.propertyViewSetting;\n  var customClassName = propertyViewSetting.className;\n  var _useSelectModel = (0,_hooks_useSelectModel__WEBPACK_IMPORTED_MODULE_31__[\"default\"])({\n      dataContext: dataContext,\n      selectionContext: selectionContext,\n      solidId: solidId,\n      meta: meta,\n      activedSelectId: activedSelectId,\n      modelFactory: modelFactory,\n      globalConfig: globalConfig\n    }),\n    _modelData = _useSelectModel.modelData,\n    emptySelect = _useSelectModel.emptySelect,\n    field = _useSelectModel.field,\n    controlType = _useSelectModel.controlType,\n    itemId = _useSelectModel.itemId,\n    isEmptyView = _useSelectModel.isEmptyView;\n  var _useContext4 = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_25__[\"default\"]),\n    getPrefixCls = _useContext4.getPrefixCls,\n    prefixCls = _useContext4.prefixCls;\n  var rightViewPrefixCls = getPrefixCls(prefixCls, 'right-view');\n  var activedSelectIdRef = (0,react__WEBPACK_IMPORTED_MODULE_18__.useRef)('');\n  activedSelectIdRef.current = activedSelectId;\n  var previousActivedSelectIdRef = (0,react__WEBPACK_IMPORTED_MODULE_18__.useRef)('');\n  var previousActivedSelectItemRef = (0,react__WEBPACK_IMPORTED_MODULE_18__.useRef)({});\n  previousActivedSelectIdRef.current = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_35__.usePrevious)(activedSelectId);\n  previousActivedSelectItemRef.current = (0,_designer_utils__WEBPACK_IMPORTED_MODULE_35__.usePrevious)(field);\n  var forceUpdate = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(0)[1];\n  // 这里写这么复杂是为了新增时不要reRender\n  (0,react__WEBPACK_IMPORTED_MODULE_18__.useEffect)(function () {\n    var dataSubscribe = dataContext.addDataChangeListener(function (_ref) {\n      var value = _ref.value,\n        actions = _ref.actions;\n      if (previousActivedSelectIdRef.current === activedSelectIdRef.current) {\n        var _context;\n        var currentActivedSelectItem = _babel_runtime_corejs3_core_js_stable_instance_find__WEBPACK_IMPORTED_MODULE_11___default()(_context = value[keywordMapping.items]).call(_context, function (item) {\n          return item[keywordMapping.id] === activedSelectIdRef.current;\n        });\n        if (currentActivedSelectItem && currentActivedSelectItem === previousActivedSelectItemRef.current) {\n          return;\n        } else {\n          forceUpdate(function (n) {\n            return n + 1;\n          });\n        }\n      } else {\n        if (!actions || !_babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_12___default()(actions).call(actions, function (action) {\n          return action.type === 'ADD';\n        })) {\n          forceUpdate(function (n) {\n            return n + 1;\n          });\n        }\n      }\n    });\n    return function () {\n      dataSubscribe && dataSubscribe();\n    };\n  }, []);\n  if (emptySelect) {\n    var emptySelectView = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n      className: \"\".concat(rightViewPrefixCls, \"-props-empty\")\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"img\", {\n      className: \"\".concat(rightViewPrefixCls, \"-props-empty-img\"),\n      src: _assets_images_property_empty_png__WEBPACK_IMPORTED_MODULE_29__[\"default\"],\n      width: \"168\",\n      height: \"96\",\n      alt: (0,_designer_utils__WEBPACK_IMPORTED_MODULE_35__.getLangMsg)('designer.propertyView.key0001')\n    }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n      className: \"\".concat(rightViewPrefixCls, \"-props-empty-desc\")\n    }, (0,_designer_utils__WEBPACK_IMPORTED_MODULE_35__.getLangMsg)('designer.propertyView.key0001')));\n    return emptySelectView;\n  }\n  var modelData = filterPropertyHandler(_modelData);\n  var propertyEmpty = propertyViewSetting === null || propertyViewSetting === void 0 || (_propertyViewSetting$ = propertyViewSetting.getEmptyView) === null || _propertyViewSetting$ === void 0 ? void 0 : _propertyViewSetting$.call(propertyViewSetting);\n  if (propertyEmpty && !modelData.length || isEmptyView) {\n    return propertyEmpty;\n  }\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(PropertyViewRoot, {\n    field: field,\n    className: classnames__WEBPACK_IMPORTED_MODULE_28___default()(rightViewPrefixCls, customClassName || '', className)\n  }, header, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(PropertyViewItemGroupRender, {\n    modelData: modelData,\n    include: include,\n    exclude: exclude,\n    PropertyViewItemRender: PropertyViewItemRender,\n    className: rightViewPrefixCls,\n    field: field\n  }), footer);\n};\n// include 只通过Id是否不够严谨？\nvar filterNodes = function filterNodes(nodes, include, exclude) {\n  var validateArrayExistElement = function validateArrayExistElement(array, callback) {\n    if (!_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13___default()(array) || array.length === 0) return true;\n    return callback(array);\n  };\n  return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default()(nodes).call(nodes, function (node) {\n    return !!node.Editor && node.Visible !== false && validateArrayExistElement(include, function (include) {\n      return _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(include).call(include, node.Id);\n    }) && validateArrayExistElement(exclude, function (exclude) {\n      return !_babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(exclude).call(exclude, node.Id);\n    });\n  });\n};\nvar PropertyViewItemGroup = function PropertyViewItemGroup(props) {\n  var _useContext5 = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    filterProperty = _useContext5.filterProperty,\n    propertyViewSetting = _useContext5.propertyViewSetting;\n  var _propertyViewSetting$2 = propertyViewSetting.collapsable,\n    collapsable = _propertyViewSetting$2 === void 0 ? true : _propertyViewSetting$2,\n    hideItemViewList = propertyViewSetting.hideItemView;\n  var modelData = props.modelData,\n    include = props.include,\n    exclude = props.exclude,\n    _props$PropertyViewIt3 = props.PropertyViewItemRender,\n    PropertyViewItemRender = _props$PropertyViewIt3 === void 0 ? PropertyViewItem : _props$PropertyViewIt3,\n    rightViewPrefixCls = props.className,\n    field = props.field;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement((react__WEBPACK_IMPORTED_MODULE_18___default().Fragment), null, modelData === null || modelData === void 0 ? void 0 : _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(modelData).call(modelData, function (propertyData) {\n    var key = propertyData.Id;\n    if (propertyData.Visible === false) return null;\n    if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_13___default()(hideItemViewList) && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(hideItemViewList).call(hideItemViewList, propertyData.Key)) return null;\n    if (propertyData.Nodes) {\n      var _context2, _context3;\n      var _nodes = _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_10___default()(_context2 = _babel_runtime_corejs3_core_js_stable_instance_sort__WEBPACK_IMPORTED_MODULE_16___default()(_context3 = filterNodes(propertyData.Nodes, include, exclude)).call(_context3, function (nodeA, nodeB) {\n        return (nodeA.GroupSubSeq || 0) - (nodeB.GroupSubSeq || 0);\n      })).call(_context2, function (node) {\n        return !filterProperty(field, node);\n      });\n      // nodes = nodes.filter(node => {\n      //   const hideConfig = node.Hide\n      //   if (hideConfig && typeof hideConfig === 'object') {\n      //     const { Types, FieldTypes, Hide } = hideConfig\n      //     const { FieldType, _Type_ } = field\n      //     if (Types && FieldTypes) {\n      //       if (Hide == undefined || Hide == true) {\n      //         return !(Types.includes(_Type_) && FieldTypes.includes(FieldType))\n      //       } else {\n      //         return Types.includes(_Type_) && FieldTypes.includes(FieldType)\n      //       }\n      //     } else {\n      //       return Hide\n      //     }\n      //   }\n      //   return true\n      // })\n      var hasProperty = !!_nodes.length;\n      var panelContentComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n        className: \"\".concat(rightViewPrefixCls, \"-pane\")\n      }, _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(_nodes).call(_nodes, function (control) {\n        return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(PropertyViewItemRender, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, control, {\n          key: \"\".concat(control.Id),\n          field: field,\n          className: rightViewPrefixCls\n        }));\n      }));\n      var panelComp = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(Panel, {\n        header: propertyData.Name,\n        panelKey: key\n      }, panelContentComp, props.children);\n      if (hasProperty) {\n        var isAllReadOnly = _babel_runtime_corejs3_core_js_stable_instance_every__WEBPACK_IMPORTED_MODULE_12___default()(_nodes).call(_nodes, function (node) {\n          return node.Editor && node.ReadOnly === true;\n        });\n        if (!collapsable) {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n            key: key,\n            className: classnames__WEBPACK_IMPORTED_MODULE_28___default()(\"\".concat(rightViewPrefixCls, \"-collapse\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, \"\".concat(rightViewPrefixCls, \"-collapse-readonly\"), isAllReadOnly))\n          }, !isAllReadOnly && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n            className: \"\".concat(rightViewPrefixCls, \"-property-group-title\")\n          }, propertyData.Name), panelContentComp);\n        } else {\n          return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(_kdcloudjs_kdesign__WEBPACK_IMPORTED_MODULE_19__.Collapse, {\n            key: key,\n            name: \"Collapse\",\n            className: \"\".concat(rightViewPrefixCls, \"-collapse\"),\n            expandIconPosition: \"left\",\n            defaultActiveKey: propertyData.DefaultCollapse === true ? '' : key\n          }, panelComp);\n        }\n      } else {\n        return null;\n      }\n    }\n  }));\n};\n// 细粒度的属性编辑器\n// 这里Memo下\n// 由于特殊需求: 一个控件的属性依赖其他控件，导致这里不能memo不然无法更新\nvar PropertyViewItem = function PropertyViewItem(props) {\n  var _errorContext$getErro;\n  // Locked是套打用\n  // ReadOnly是表单用\n  // TODO: ReadOnly在适配层改为Locked\n  var editor = props.Editor,\n    field = props.field,\n    propertyName = props.Id,\n    className = props.className,\n    _props$Locked = props.Locked,\n    locked = _props$Locked === void 0 ? false : _props$Locked,\n    readOnly = props.ReadOnly,\n    onPropertyChange = props.onPropertyChange,\n    _props$Actions = props.Actions,\n    actions = _props$Actions === void 0 ? [] : _props$Actions,\n    _props$enableMutiSele = props.enableMutiSelect,\n    enableMutiSelect = _props$enableMutiSele === void 0 ? true : _props$enableMutiSele,\n    renderCustomError = props.renderCustomError;\n  var _useContext6 = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_32__[\"default\"]),\n    keywordMapping = _useContext6.keywordMapping,\n    processPropertyName = _useContext6.processPropertyName,\n    processPropertyValue = _useContext6.processPropertyValue,\n    enableError = _useContext6.enableError,\n    globalHandleChange = _useContext6.globalHandleChange,\n    _useContext6$designer = _useContext6.designerContextValue,\n    designerContextValue = _useContext6$designer === void 0 ? {} : _useContext6$designer;\n  var getModel = designerContextValue.getModel;\n  var id = field[keywordMapping.id];\n  var controlType = field[keywordMapping.type];\n  var propertyEditorFactoryContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_27__.PropertyEditorFactoryContext);\n  if (!editor) {\n    return null;\n    // dev环境:\n    // return <div style={{ overflow: 'auto' }}>{JSON.stringify(props)} </div>\n  }\n  var type = editor.Type,\n    dataType = editor.DataType,\n    Enum = editor.Enum,\n    Span = editor.Span;\n  var propName = processPropertyName(propertyName);\n  var Component = propertyEditorFactoryContext.getPropertyEditor(type, controlType) || propertyEditorFactoryContext.getPropertyEditor('Input');\n  var dataContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_data_context__WEBPACK_IMPORTED_MODULE_22__[\"default\"]);\n  var selectionContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_select_context__WEBPACK_IMPORTED_MODULE_21__[\"default\"]);\n  var selection = selectionContext.getSelection();\n  var errorContext = (0,react__WEBPACK_IMPORTED_MODULE_18__.useContext)(_context_error_context__WEBPACK_IMPORTED_MODULE_23__[\"default\"]);\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_18__.useState)(((_errorContext$getErro = errorContext.getError(id)) === null || _errorContext$getErro === void 0 ? void 0 : _errorContext$getErro[propName]) || null),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_7__[\"default\"])(_useState, 2),\n    propError = _useState2[0],\n    setpPropError = _useState2[1];\n  var MultiSelect = enableMutiSelect && selection.length > 1 && _babel_runtime_corejs3_core_js_stable_instance_includes__WEBPACK_IMPORTED_MODULE_14___default()(selection).call(selection, id);\n  var updateValue = propertyEditorFactoryContext.getValue && propertyEditorFactoryContext.getValue({\n    isMultiSelected: MultiSelect,\n    field: (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, propName, (0,_meta__WEBPACK_IMPORTED_MODULE_34__.getDefaultValueByEditor)(editor)), field),\n    dataContext: dataContext,\n    selectionContext: selectionContext,\n    propName: propName,\n    editor: editor\n  });\n  var value = (0,lodash__WEBPACK_IMPORTED_MODULE_20__.isUndefined)(updateValue) ? (0,lodash__WEBPACK_IMPORTED_MODULE_20__.isUndefined)(field[propName]) ? (0,_meta__WEBPACK_IMPORTED_MODULE_34__.getDefaultValueByEditor)(editor) : field[propName] : updateValue;\n  var rootId = dataContext.getRootId();\n  // TODO: 内联到propertyEditorFactoryContext下的Map对应的编辑器组件里\n  var handleChange = (0,react__WEBPACK_IMPORTED_MODULE_18__.useCallback)(function (newVal) {\n    var otherProps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var processedValue = (processPropertyValue === null || processPropertyValue === void 0 ? void 0 : processPropertyValue(propertyName, newVal, dataContext)) || newVal;\n    if (!(0,lodash__WEBPACK_IMPORTED_MODULE_20__.isEqual)(value, newVal)) {\n      // 属性拦截处理\n      var isHandleByProperty = (onPropertyChange === null || onPropertyChange === void 0 ? void 0 : onPropertyChange(field, propertyName, newVal, editor, actions)) || false;\n      if (isHandleByProperty) return;\n\n      // 拦截处理\n      var isHandleByOutside = (globalHandleChange === null || globalHandleChange === void 0 ? void 0 : globalHandleChange(field, propertyName, newVal, editor, actions)) || false;\n      if (isHandleByOutside) return;\n      if (!MultiSelect) {\n        // const newField = { ...field, [propName]: newVal }\n        var newProperties = _objectSpread(_objectSpread({}, (0,_action_index__WEBPACK_IMPORTED_MODULE_30__.createPropertyChangeByActions)(actions, propName, newVal, processedValue, field, dataContext, getModel)), otherProps);\n        dataContext.batchUpdateControlPropertyValues((0,_type_actionType__WEBPACK_IMPORTED_MODULE_33__.createUpdateAction)([[id, newProperties]]));\n      } else {\n        var batchUpdateValue = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_15___default()(selection).call(selection, function (id) {\n          return [id, (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, propName, newVal)];\n        });\n        // 多选批量属性更新\n        dataContext.batchUpdateControlPropertyValues((0,_type_actionType__WEBPACK_IMPORTED_MODULE_33__.createUpdateAction)(batchUpdateValue));\n      }\n    }\n  }, [id, value, propName, actions, field, selection, editor, onPropertyChange]);\n\n  // const debounceHandleChange = useDebounce(handleChange)\n\n  (0,react__WEBPACK_IMPORTED_MODULE_18__.useEffect)(function () {\n    var _errorContext$getErro2;\n    if (!enableError) return;\n    setpPropError((_errorContext$getErro2 = errorContext.getError(id)) === null || _errorContext$getErro2 === void 0 ? void 0 : _errorContext$getErro2[propName]);\n    var removeErrorListener = errorContext.addErrorChangeListener(function (error) {\n      var _errorContext$getErro3;\n      var curPropError = (_errorContext$getErro3 = errorContext.getError(id)) === null || _errorContext$getErro3 === void 0 ? void 0 : _errorContext$getErro3[propName];\n      setpPropError(curPropError);\n      // console.log('addErrorChangeListener 错误改变了', curPropError);\n    });\n    return function () {\n      removeErrorListener();\n    };\n  }, [id, propName]);\n  var customErrorDom = (0,react__WEBPACK_IMPORTED_MODULE_18__.useMemo)(function () {\n    if (!propError || !enableError) return;\n    var customError = (renderCustomError === null || renderCustomError === void 0 ? void 0 : renderCustomError(propError)) || false;\n    if (customError) return;\n    var defaultErrorDom = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"span\", {\n      className: \"\".concat(className, \"-editor-control-error-msg\")\n    }, propError.msg);\n    return defaultErrorDom;\n  }, [propError, renderCustomError, enableError]);\n  if (Component) {\n    var _context4;\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(\"div\", {\n      className: classnames__WEBPACK_IMPORTED_MODULE_28___default()(\"\".concat(className, \"-editor-control\"), (0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])((0,_babel_runtime_corejs3_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8__[\"default\"])({}, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_17___default()(_context4 = \"\".concat(className, \"-span-\")).call(_context4, Span), Span), \"\".concat(className, \"-no-span\"), Span === undefined), \"\".concat(className, \"-editor-control-error\"), !!customErrorDom))\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_18___default().createElement(Component, (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_9__[\"default\"])({}, props, {\n      key: id,\n      field: field,\n      id: id,\n      locked: locked || readOnly,\n      handleChange: handleChange,\n      value: value,\n      className: className,\n      propName: propName,\n      editor: editor,\n      dataContext: dataContext,\n      selectionContext: selectionContext,\n      rootId: rootId,\n      error: propError\n    })), customErrorDom);\n  }\n  return null;\n  // return <div style={{ overflow: 'auto' }}>{JSON.stringify(props)} </div>\n};\nPropertyView.tabKey = 'PropertyView';\n// PropertyView.tabName = '控件属性'\nPropertyView.getTabName = function () {\n  return (0,_designer_utils__WEBPACK_IMPORTED_MODULE_35__.getLangMsg)('designer.propertyView.key0002');\n};\n\n\n// export default PropertyView\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/property-view.tsx?");

/***/ }),

/***/ 55112:
/*!**********************************************!*\
  !*** ../kd-designer/src/view/right-view.tsx ***!
  \**********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _hooks_useTab__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hooks/useTab */ 46644);\n/* harmony import */ var _errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errorboundary-wrap */ 32596);\n/*\n * @Author: fjr\n * @Email: jinrui_fang@kingdee.com\n * @Date: 2021-10-29 15:54:24\n * @Last Modified by: fjr\n * @LastEditTime: 2022-08-11 13:44:35\n * @Description: ...\n */\n\n\n\n\n\nvar RightView = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref) {\n  var views = _ref.views;\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_1__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var topViewPrefixCls = getPrefixCls(prefixCls, 'top-view');\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    propertyViewSetting = _useContext2.propertyViewSetting,\n    _useContext2$dataPort = _useContext2.dataPortalIdPrefix,\n    dataPortalIdPrefix = _useContext2$dataPort === void 0 ? topViewPrefixCls : _useContext2$dataPort;\n  if ((propertyViewSetting === null || propertyViewSetting === void 0 ? void 0 : propertyViewSetting.hideItemView) === true) return null;\n  var rightViewPrefixCls = getPrefixCls(prefixCls, 'right-view');\n  var portalId = \"\".concat(dataPortalIdPrefix, \"-right\");\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_hooks_useTab__WEBPACK_IMPORTED_MODULE_3__[\"default\"], {\n    views: views,\n    className: rightViewPrefixCls,\n    portalId: portalId,\n    position: \"right\"\n  });\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(RightView, 'kdesigner-right-view'));\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/right-view.tsx?");

/***/ }),

/***/ 44816:
/*!********************************************!*\
  !*** ../kd-designer/src/view/top-view.tsx ***!
  \********************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/slicedToArray */ 95992);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../config-provider/ConfigContext */ 76228);\n/* harmony import */ var _context_global_config_context__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../context/global-config-context */ 21708);\n/* harmony import */ var _errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./errorboundary-wrap */ 32596);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! classnames */ 71252);\n/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_5__);\n\n/*\n * @Author: wubowen\n * @Email: wubowen@kingdee.com\n * @Date: 2021-10-29 15:54:24\n * @Last Modified by: fjr\n * @LastEditTime: 2022-08-11 13:44:47\n * @Description: ...\n */\n\n\n\n\n\nfunction TopView() {\n  var _useContext = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_2__[\"default\"]),\n    getPrefixCls = _useContext.getPrefixCls,\n    prefixCls = _useContext.prefixCls;\n  var topViewPrefixCls = getPrefixCls(prefixCls, 'top-view');\n  var _useContext2 = (0,react__WEBPACK_IMPORTED_MODULE_1__.useContext)(_context_global_config_context__WEBPACK_IMPORTED_MODULE_3__[\"default\"]),\n    controlViewSetting = _useContext2.controlViewSetting,\n    propertyViewSetting = _useContext2.propertyViewSetting,\n    viewsStateRef = _useContext2.viewsStateRef,\n    _useContext2$dataPort = _useContext2.dataPortalIdPrefix,\n    dataPortalIdPrefix = _useContext2$dataPort === void 0 ? topViewPrefixCls : _useContext2$dataPort;\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false),\n    _useState2 = (0,_babel_runtime_corejs3_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_useState, 2),\n    hide = _useState2[0],\n    setHide = _useState2[1];\n  (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function () {\n    viewsStateRef.current['top'] = {\n      hide: hide,\n      setHide: setHide\n    };\n  }, [hide]);\n  var hideLeftTopView = (controlViewSetting === null || controlViewSetting === void 0 ? void 0 : controlViewSetting.hideItemView) !== void 0 && (controlViewSetting === null || controlViewSetting === void 0 ? void 0 : controlViewSetting.hideItemView) === true;\n  var hideRightTopView = (propertyViewSetting === null || propertyViewSetting === void 0 ? void 0 : propertyViewSetting.hideItemView) !== void 0 && (propertyViewSetting === null || propertyViewSetting === void 0 ? void 0 : propertyViewSetting.hideItemView) === true;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: classnames__WEBPACK_IMPORTED_MODULE_5___default()([topViewPrefixCls, {\n      'hide': hide\n    }])\n  }, !hideLeftTopView && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(topViewPrefixCls, \"-left\"),\n    \"data-portalid\": \"\".concat(dataPortalIdPrefix, \"-left\")\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(topViewPrefixCls, \"-main\"),\n    \"data-portalid\": \"\".concat(dataPortalIdPrefix, \"-main\")\n  }), !hideRightTopView && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(\"div\", {\n    className: \"\".concat(topViewPrefixCls, \"-right\"),\n    \"data-portalid\": \"\".concat(dataPortalIdPrefix, \"-right\")\n  }));\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(TopView, 'kdesigner-top-view'));\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/view/top-view.tsx?");

/***/ }),

/***/ 84912:
/*!*****************************************!*\
  !*** ../../node_modules/dagre/index.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/*\nCopyright (c) 2012-2014 Chris Pettitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n\nmodule.exports = {\n  graphlib: __webpack_require__(/*! ./lib/graphlib */ 19648),\n\n  layout: __webpack_require__(/*! ./lib/layout */ 65908),\n  debug: __webpack_require__(/*! ./lib/debug */ 78460),\n  util: {\n    time: (__webpack_require__(/*! ./lib/util */ 48456).time),\n    notime: (__webpack_require__(/*! ./lib/util */ 48456).notime)\n  },\n  version: __webpack_require__(/*! ./lib/version */ 94428)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/index.js?");

/***/ }),

/***/ 74732:
/*!***********************************************!*\
  !*** ../../node_modules/dagre/lib/acyclic.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ./lodash */ 95464);\nvar greedyFAS = __webpack_require__(/*! ./greedy-fas */ 10704);\n\nmodule.exports = {\n  run: run,\n  undo: undo\n};\n\nfunction run(g) {\n  var fas = (g.graph().acyclicer === \"greedy\"\n    ? greedyFAS(g, weightFn(g))\n    : dfsFAS(g));\n  _.forEach(fas, function(e) {\n    var label = g.edge(e);\n    g.removeEdge(e);\n    label.forwardName = e.name;\n    label.reversed = true;\n    g.setEdge(e.w, e.v, label, _.uniqueId(\"rev\"));\n  });\n\n  function weightFn(g) {\n    return function(e) {\n      return g.edge(e).weight;\n    };\n  }\n}\n\nfunction dfsFAS(g) {\n  var fas = [];\n  var stack = {};\n  var visited = {};\n\n  function dfs(v) {\n    if (_.has(visited, v)) {\n      return;\n    }\n    visited[v] = true;\n    stack[v] = true;\n    _.forEach(g.outEdges(v), function(e) {\n      if (_.has(stack, e.w)) {\n        fas.push(e);\n      } else {\n        dfs(e.w);\n      }\n    });\n    delete stack[v];\n  }\n\n  _.forEach(g.nodes(), dfs);\n  return fas;\n}\n\nfunction undo(g) {\n  _.forEach(g.edges(), function(e) {\n    var label = g.edge(e);\n    if (label.reversed) {\n      g.removeEdge(e);\n\n      var forwardName = label.forwardName;\n      delete label.reversed;\n      delete label.forwardName;\n      g.setEdge(e.w, e.v, label, forwardName);\n    }\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/acyclic.js?");

/***/ }),

/***/ 93512:
/*!***********************************************************!*\
  !*** ../../node_modules/dagre/lib/add-border-segments.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 95464);\nvar util = __webpack_require__(/*! ./util */ 48456);\n\nmodule.exports = addBorderSegments;\n\nfunction addBorderSegments(g) {\n  function dfs(v) {\n    var children = g.children(v);\n    var node = g.node(v);\n    if (children.length) {\n      _.forEach(children, dfs);\n    }\n\n    if (_.has(node, \"minRank\")) {\n      node.borderLeft = [];\n      node.borderRight = [];\n      for (var rank = node.minRank, maxRank = node.maxRank + 1;\n        rank < maxRank;\n        ++rank) {\n        addBorderNode(g, \"borderLeft\", \"_bl\", v, node, rank);\n        addBorderNode(g, \"borderRight\", \"_br\", v, node, rank);\n      }\n    }\n  }\n\n  _.forEach(g.children(), dfs);\n}\n\nfunction addBorderNode(g, prop, prefix, sg, sgNode, rank) {\n  var label = { width: 0, height: 0, rank: rank, borderType: prop };\n  var prev = sgNode[prop][rank - 1];\n  var curr = util.addDummyNode(g, \"border\", label, prefix);\n  sgNode[prop][rank] = curr;\n  g.setParent(curr, sg);\n  if (prev) {\n    g.setEdge(prev, curr, { weight: 1 });\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/add-border-segments.js?");

/***/ }),

/***/ 63900:
/*!*********************************************************!*\
  !*** ../../node_modules/dagre/lib/coordinate-system.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ./lodash */ 95464);\n\nmodule.exports = {\n  adjust: adjust,\n  undo: undo\n};\n\nfunction adjust(g) {\n  var rankDir = g.graph().rankdir.toLowerCase();\n  if (rankDir === \"lr\" || rankDir === \"rl\") {\n    swapWidthHeight(g);\n  }\n}\n\nfunction undo(g) {\n  var rankDir = g.graph().rankdir.toLowerCase();\n  if (rankDir === \"bt\" || rankDir === \"rl\") {\n    reverseY(g);\n  }\n\n  if (rankDir === \"lr\" || rankDir === \"rl\") {\n    swapXY(g);\n    swapWidthHeight(g);\n  }\n}\n\nfunction swapWidthHeight(g) {\n  _.forEach(g.nodes(), function(v) { swapWidthHeightOne(g.node(v)); });\n  _.forEach(g.edges(), function(e) { swapWidthHeightOne(g.edge(e)); });\n}\n\nfunction swapWidthHeightOne(attrs) {\n  var w = attrs.width;\n  attrs.width = attrs.height;\n  attrs.height = w;\n}\n\nfunction reverseY(g) {\n  _.forEach(g.nodes(), function(v) { reverseYOne(g.node(v)); });\n\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    _.forEach(edge.points, reverseYOne);\n    if (_.has(edge, \"y\")) {\n      reverseYOne(edge);\n    }\n  });\n}\n\nfunction reverseYOne(attrs) {\n  attrs.y = -attrs.y;\n}\n\nfunction swapXY(g) {\n  _.forEach(g.nodes(), function(v) { swapXYOne(g.node(v)); });\n\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    _.forEach(edge.points, swapXYOne);\n    if (_.has(edge, \"x\")) {\n      swapXYOne(edge);\n    }\n  });\n}\n\nfunction swapXYOne(attrs) {\n  var x = attrs.x;\n  attrs.x = attrs.y;\n  attrs.y = x;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/coordinate-system.js?");

/***/ }),

/***/ 24076:
/*!*************************************************!*\
  !*** ../../node_modules/dagre/lib/data/list.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/*\n * Simple doubly linked list implementation derived from Cormen, et al.,\n * \"Introduction to Algorithms\".\n */\n\nmodule.exports = List;\n\nfunction List() {\n  var sentinel = {};\n  sentinel._next = sentinel._prev = sentinel;\n  this._sentinel = sentinel;\n}\n\nList.prototype.dequeue = function() {\n  var sentinel = this._sentinel;\n  var entry = sentinel._prev;\n  if (entry !== sentinel) {\n    unlink(entry);\n    return entry;\n  }\n};\n\nList.prototype.enqueue = function(entry) {\n  var sentinel = this._sentinel;\n  if (entry._prev && entry._next) {\n    unlink(entry);\n  }\n  entry._next = sentinel._next;\n  sentinel._next._prev = entry;\n  sentinel._next = entry;\n  entry._prev = sentinel;\n};\n\nList.prototype.toString = function() {\n  var strs = [];\n  var sentinel = this._sentinel;\n  var curr = sentinel._prev;\n  while (curr !== sentinel) {\n    strs.push(JSON.stringify(curr, filterOutLinks));\n    curr = curr._prev;\n  }\n  return \"[\" + strs.join(\", \") + \"]\";\n};\n\nfunction unlink(entry) {\n  entry._prev._next = entry._next;\n  entry._next._prev = entry._prev;\n  delete entry._next;\n  delete entry._prev;\n}\n\nfunction filterOutLinks(k, v) {\n  if (k !== \"_next\" && k !== \"_prev\") {\n    return v;\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/data/list.js?");

/***/ }),

/***/ 78460:
/*!*********************************************!*\
  !*** ../../node_modules/dagre/lib/debug.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 95464);\nvar util = __webpack_require__(/*! ./util */ 48456);\nvar Graph = (__webpack_require__(/*! ./graphlib */ 19648).Graph);\n\nmodule.exports = {\n  debugOrdering: debugOrdering\n};\n\n/* istanbul ignore next */\nfunction debugOrdering(g) {\n  var layerMatrix = util.buildLayerMatrix(g);\n\n  var h = new Graph({ compound: true, multigraph: true }).setGraph({});\n\n  _.forEach(g.nodes(), function(v) {\n    h.setNode(v, { label: v });\n    h.setParent(v, \"layer\" + g.node(v).rank);\n  });\n\n  _.forEach(g.edges(), function(e) {\n    h.setEdge(e.v, e.w, {}, e.name);\n  });\n\n  _.forEach(layerMatrix, function(layer, i) {\n    var layerV = \"layer\" + i;\n    h.setNode(layerV, { rank: \"same\" });\n    _.reduce(layer, function(u, v) {\n      h.setEdge(u, v, { style: \"invis\" });\n      return v;\n    });\n  });\n\n  return h;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/debug.js?");

/***/ }),

/***/ 19648:
/*!************************************************!*\
  !*** ../../node_modules/dagre/lib/graphlib.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* global window */\n\nvar graphlib;\n\nif (true) {\n  try {\n    graphlib = __webpack_require__(/*! graphlib */ 56269);\n  } catch (e) {\n    // continue regardless of error\n  }\n}\n\nif (!graphlib) {\n  graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/graphlib.js?");

/***/ }),

/***/ 10704:
/*!**************************************************!*\
  !*** ../../node_modules/dagre/lib/greedy-fas.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 95464);\nvar Graph = (__webpack_require__(/*! ./graphlib */ 19648).Graph);\nvar List = __webpack_require__(/*! ./data/list */ 24076);\n\n/*\n * A greedy heuristic for finding a feedback arc set for a graph. A feedback\n * arc set is a set of edges that can be removed to make a graph acyclic.\n * The algorithm comes from: P. Eades, X. Lin, and W. F. Smyth, \"A fast and\n * effective heuristic for the feedback arc set problem.\" This implementation\n * adjusts that from the paper to allow for weighted edges.\n */\nmodule.exports = greedyFAS;\n\nvar DEFAULT_WEIGHT_FN = _.constant(1);\n\nfunction greedyFAS(g, weightFn) {\n  if (g.nodeCount() <= 1) {\n    return [];\n  }\n  var state = buildState(g, weightFn || DEFAULT_WEIGHT_FN);\n  var results = doGreedyFAS(state.graph, state.buckets, state.zeroIdx);\n\n  // Expand multi-edges\n  return _.flatten(_.map(results, function(e) {\n    return g.outEdges(e.v, e.w);\n  }), true);\n}\n\nfunction doGreedyFAS(g, buckets, zeroIdx) {\n  var results = [];\n  var sources = buckets[buckets.length - 1];\n  var sinks = buckets[0];\n\n  var entry;\n  while (g.nodeCount()) {\n    while ((entry = sinks.dequeue()))   { removeNode(g, buckets, zeroIdx, entry); }\n    while ((entry = sources.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n    if (g.nodeCount()) {\n      for (var i = buckets.length - 2; i > 0; --i) {\n        entry = buckets[i].dequeue();\n        if (entry) {\n          results = results.concat(removeNode(g, buckets, zeroIdx, entry, true));\n          break;\n        }\n      }\n    }\n  }\n\n  return results;\n}\n\nfunction removeNode(g, buckets, zeroIdx, entry, collectPredecessors) {\n  var results = collectPredecessors ? [] : undefined;\n\n  _.forEach(g.inEdges(entry.v), function(edge) {\n    var weight = g.edge(edge);\n    var uEntry = g.node(edge.v);\n\n    if (collectPredecessors) {\n      results.push({ v: edge.v, w: edge.w });\n    }\n\n    uEntry.out -= weight;\n    assignBucket(buckets, zeroIdx, uEntry);\n  });\n\n  _.forEach(g.outEdges(entry.v), function(edge) {\n    var weight = g.edge(edge);\n    var w = edge.w;\n    var wEntry = g.node(w);\n    wEntry[\"in\"] -= weight;\n    assignBucket(buckets, zeroIdx, wEntry);\n  });\n\n  g.removeNode(entry.v);\n\n  return results;\n}\n\nfunction buildState(g, weightFn) {\n  var fasGraph = new Graph();\n  var maxIn = 0;\n  var maxOut = 0;\n\n  _.forEach(g.nodes(), function(v) {\n    fasGraph.setNode(v, { v: v, \"in\": 0, out: 0 });\n  });\n\n  // Aggregate weights on nodes, but also sum the weights across multi-edges\n  // into a single edge for the fasGraph.\n  _.forEach(g.edges(), function(e) {\n    var prevWeight = fasGraph.edge(e.v, e.w) || 0;\n    var weight = weightFn(e);\n    var edgeWeight = prevWeight + weight;\n    fasGraph.setEdge(e.v, e.w, edgeWeight);\n    maxOut = Math.max(maxOut, fasGraph.node(e.v).out += weight);\n    maxIn  = Math.max(maxIn,  fasGraph.node(e.w)[\"in\"]  += weight);\n  });\n\n  var buckets = _.range(maxOut + maxIn + 3).map(function() { return new List(); });\n  var zeroIdx = maxIn + 1;\n\n  _.forEach(fasGraph.nodes(), function(v) {\n    assignBucket(buckets, zeroIdx, fasGraph.node(v));\n  });\n\n  return { graph: fasGraph, buckets: buckets, zeroIdx: zeroIdx };\n}\n\nfunction assignBucket(buckets, zeroIdx, entry) {\n  if (!entry.out) {\n    buckets[0].enqueue(entry);\n  } else if (!entry[\"in\"]) {\n    buckets[buckets.length - 1].enqueue(entry);\n  } else {\n    buckets[entry.out - entry[\"in\"] + zeroIdx].enqueue(entry);\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/greedy-fas.js?");

/***/ }),

/***/ 65908:
/*!**********************************************!*\
  !*** ../../node_modules/dagre/lib/layout.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ./lodash */ 95464);\nvar acyclic = __webpack_require__(/*! ./acyclic */ 74732);\nvar normalize = __webpack_require__(/*! ./normalize */ 11364);\nvar rank = __webpack_require__(/*! ./rank */ 95476);\nvar normalizeRanks = (__webpack_require__(/*! ./util */ 48456).normalizeRanks);\nvar parentDummyChains = __webpack_require__(/*! ./parent-dummy-chains */ 22028);\nvar removeEmptyRanks = (__webpack_require__(/*! ./util */ 48456).removeEmptyRanks);\nvar nestingGraph = __webpack_require__(/*! ./nesting-graph */ 98276);\nvar addBorderSegments = __webpack_require__(/*! ./add-border-segments */ 93512);\nvar coordinateSystem = __webpack_require__(/*! ./coordinate-system */ 63900);\nvar order = __webpack_require__(/*! ./order */ 85576);\nvar position = __webpack_require__(/*! ./position */ 63740);\nvar util = __webpack_require__(/*! ./util */ 48456);\nvar Graph = (__webpack_require__(/*! ./graphlib */ 19648).Graph);\n\nmodule.exports = layout;\n\nfunction layout(g, opts) {\n  var time = opts && opts.debugTiming ? util.time : util.notime;\n  time(\"layout\", function() {\n    var layoutGraph = \n      time(\"  buildLayoutGraph\", function() { return buildLayoutGraph(g); });\n    time(\"  runLayout\",        function() { runLayout(layoutGraph, time); });\n    time(\"  updateInputGraph\", function() { updateInputGraph(g, layoutGraph); });\n  });\n}\n\nfunction runLayout(g, time) {\n  time(\"    makeSpaceForEdgeLabels\", function() { makeSpaceForEdgeLabels(g); });\n  time(\"    removeSelfEdges\",        function() { removeSelfEdges(g); });\n  time(\"    acyclic\",                function() { acyclic.run(g); });\n  time(\"    nestingGraph.run\",       function() { nestingGraph.run(g); });\n  time(\"    rank\",                   function() { rank(util.asNonCompoundGraph(g)); });\n  time(\"    injectEdgeLabelProxies\", function() { injectEdgeLabelProxies(g); });\n  time(\"    removeEmptyRanks\",       function() { removeEmptyRanks(g); });\n  time(\"    nestingGraph.cleanup\",   function() { nestingGraph.cleanup(g); });\n  time(\"    normalizeRanks\",         function() { normalizeRanks(g); });\n  time(\"    assignRankMinMax\",       function() { assignRankMinMax(g); });\n  time(\"    removeEdgeLabelProxies\", function() { removeEdgeLabelProxies(g); });\n  time(\"    normalize.run\",          function() { normalize.run(g); });\n  time(\"    parentDummyChains\",      function() { parentDummyChains(g); });\n  time(\"    addBorderSegments\",      function() { addBorderSegments(g); });\n  time(\"    order\",                  function() { order(g); });\n  time(\"    insertSelfEdges\",        function() { insertSelfEdges(g); });\n  time(\"    adjustCoordinateSystem\", function() { coordinateSystem.adjust(g); });\n  time(\"    position\",               function() { position(g); });\n  time(\"    positionSelfEdges\",      function() { positionSelfEdges(g); });\n  time(\"    removeBorderNodes\",      function() { removeBorderNodes(g); });\n  time(\"    normalize.undo\",         function() { normalize.undo(g); });\n  time(\"    fixupEdgeLabelCoords\",   function() { fixupEdgeLabelCoords(g); });\n  time(\"    undoCoordinateSystem\",   function() { coordinateSystem.undo(g); });\n  time(\"    translateGraph\",         function() { translateGraph(g); });\n  time(\"    assignNodeIntersects\",   function() { assignNodeIntersects(g); });\n  time(\"    reversePoints\",          function() { reversePointsForReversedEdges(g); });\n  time(\"    acyclic.undo\",           function() { acyclic.undo(g); });\n}\n\n/*\n * Copies final layout information from the layout graph back to the input\n * graph. This process only copies whitelisted attributes from the layout graph\n * to the input graph, so it serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction updateInputGraph(inputGraph, layoutGraph) {\n  _.forEach(inputGraph.nodes(), function(v) {\n    var inputLabel = inputGraph.node(v);\n    var layoutLabel = layoutGraph.node(v);\n\n    if (inputLabel) {\n      inputLabel.x = layoutLabel.x;\n      inputLabel.y = layoutLabel.y;\n\n      if (layoutGraph.children(v).length) {\n        inputLabel.width = layoutLabel.width;\n        inputLabel.height = layoutLabel.height;\n      }\n    }\n  });\n\n  _.forEach(inputGraph.edges(), function(e) {\n    var inputLabel = inputGraph.edge(e);\n    var layoutLabel = layoutGraph.edge(e);\n\n    inputLabel.points = layoutLabel.points;\n    if (_.has(layoutLabel, \"x\")) {\n      inputLabel.x = layoutLabel.x;\n      inputLabel.y = layoutLabel.y;\n    }\n  });\n\n  inputGraph.graph().width = layoutGraph.graph().width;\n  inputGraph.graph().height = layoutGraph.graph().height;\n}\n\nvar graphNumAttrs = [\"nodesep\", \"edgesep\", \"ranksep\", \"marginx\", \"marginy\"];\nvar graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: \"tb\" };\nvar graphAttrs = [\"acyclicer\", \"ranker\", \"rankdir\", \"align\"];\nvar nodeNumAttrs = [\"width\", \"height\"];\nvar nodeDefaults = { width: 0, height: 0 };\nvar edgeNumAttrs = [\"minlen\", \"weight\", \"width\", \"height\", \"labeloffset\"];\nvar edgeDefaults = {\n  minlen: 1, weight: 1, width: 0, height: 0,\n  labeloffset: 10, labelpos: \"r\"\n};\nvar edgeAttrs = [\"labelpos\"];\n\n/*\n * Constructs a new graph from the input graph, which can be used for layout.\n * This process copies only whitelisted attributes from the input graph to the\n * layout graph. Thus this function serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction buildLayoutGraph(inputGraph) {\n  var g = new Graph({ multigraph: true, compound: true });\n  var graph = canonicalize(inputGraph.graph());\n\n  g.setGraph(_.merge({},\n    graphDefaults,\n    selectNumberAttrs(graph, graphNumAttrs),\n    _.pick(graph, graphAttrs)));\n\n  _.forEach(inputGraph.nodes(), function(v) {\n    var node = canonicalize(inputGraph.node(v));\n    g.setNode(v, _.defaults(selectNumberAttrs(node, nodeNumAttrs), nodeDefaults));\n    g.setParent(v, inputGraph.parent(v));\n  });\n\n  _.forEach(inputGraph.edges(), function(e) {\n    var edge = canonicalize(inputGraph.edge(e));\n    g.setEdge(e, _.merge({},\n      edgeDefaults,\n      selectNumberAttrs(edge, edgeNumAttrs),\n      _.pick(edge, edgeAttrs)));\n  });\n\n  return g;\n}\n\n/*\n * This idea comes from the Gansner paper: to account for edge labels in our\n * layout we split each rank in half by doubling minlen and halving ranksep.\n * Then we can place labels at these mid-points between nodes.\n *\n * We also add some minimal padding to the width to push the label for the edge\n * away from the edge itself a bit.\n */\nfunction makeSpaceForEdgeLabels(g) {\n  var graph = g.graph();\n  graph.ranksep /= 2;\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    edge.minlen *= 2;\n    if (edge.labelpos.toLowerCase() !== \"c\") {\n      if (graph.rankdir === \"TB\" || graph.rankdir === \"BT\") {\n        edge.width += edge.labeloffset;\n      } else {\n        edge.height += edge.labeloffset;\n      }\n    }\n  });\n}\n\n/*\n * Creates temporary dummy nodes that capture the rank in which each edge's\n * label is going to, if it has one of non-zero width and height. We do this\n * so that we can safely remove empty ranks while preserving balance for the\n * label's position.\n */\nfunction injectEdgeLabelProxies(g) {\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    if (edge.width && edge.height) {\n      var v = g.node(e.v);\n      var w = g.node(e.w);\n      var label = { rank: (w.rank - v.rank) / 2 + v.rank, e: e };\n      util.addDummyNode(g, \"edge-proxy\", label, \"_ep\");\n    }\n  });\n}\n\nfunction assignRankMinMax(g) {\n  var maxRank = 0;\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    if (node.borderTop) {\n      node.minRank = g.node(node.borderTop).rank;\n      node.maxRank = g.node(node.borderBottom).rank;\n      maxRank = _.max(maxRank, node.maxRank);\n    }\n  });\n  g.graph().maxRank = maxRank;\n}\n\nfunction removeEdgeLabelProxies(g) {\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    if (node.dummy === \"edge-proxy\") {\n      g.edge(node.e).labelRank = node.rank;\n      g.removeNode(v);\n    }\n  });\n}\n\nfunction translateGraph(g) {\n  var minX = Number.POSITIVE_INFINITY;\n  var maxX = 0;\n  var minY = Number.POSITIVE_INFINITY;\n  var maxY = 0;\n  var graphLabel = g.graph();\n  var marginX = graphLabel.marginx || 0;\n  var marginY = graphLabel.marginy || 0;\n\n  function getExtremes(attrs) {\n    var x = attrs.x;\n    var y = attrs.y;\n    var w = attrs.width;\n    var h = attrs.height;\n    minX = Math.min(minX, x - w / 2);\n    maxX = Math.max(maxX, x + w / 2);\n    minY = Math.min(minY, y - h / 2);\n    maxY = Math.max(maxY, y + h / 2);\n  }\n\n  _.forEach(g.nodes(), function(v) { getExtremes(g.node(v)); });\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    if (_.has(edge, \"x\")) {\n      getExtremes(edge);\n    }\n  });\n\n  minX -= marginX;\n  minY -= marginY;\n\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    node.x -= minX;\n    node.y -= minY;\n  });\n\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    _.forEach(edge.points, function(p) {\n      p.x -= minX;\n      p.y -= minY;\n    });\n    if (_.has(edge, \"x\")) { edge.x -= minX; }\n    if (_.has(edge, \"y\")) { edge.y -= minY; }\n  });\n\n  graphLabel.width = maxX - minX + marginX;\n  graphLabel.height = maxY - minY + marginY;\n}\n\nfunction assignNodeIntersects(g) {\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    var nodeV = g.node(e.v);\n    var nodeW = g.node(e.w);\n    var p1, p2;\n    if (!edge.points) {\n      edge.points = [];\n      p1 = nodeW;\n      p2 = nodeV;\n    } else {\n      p1 = edge.points[0];\n      p2 = edge.points[edge.points.length - 1];\n    }\n    edge.points.unshift(util.intersectRect(nodeV, p1));\n    edge.points.push(util.intersectRect(nodeW, p2));\n  });\n}\n\nfunction fixupEdgeLabelCoords(g) {\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    if (_.has(edge, \"x\")) {\n      if (edge.labelpos === \"l\" || edge.labelpos === \"r\") {\n        edge.width -= edge.labeloffset;\n      }\n      switch (edge.labelpos) {\n      case \"l\": edge.x -= edge.width / 2 + edge.labeloffset; break;\n      case \"r\": edge.x += edge.width / 2 + edge.labeloffset; break;\n      }\n    }\n  });\n}\n\nfunction reversePointsForReversedEdges(g) {\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    if (edge.reversed) {\n      edge.points.reverse();\n    }\n  });\n}\n\nfunction removeBorderNodes(g) {\n  _.forEach(g.nodes(), function(v) {\n    if (g.children(v).length) {\n      var node = g.node(v);\n      var t = g.node(node.borderTop);\n      var b = g.node(node.borderBottom);\n      var l = g.node(_.last(node.borderLeft));\n      var r = g.node(_.last(node.borderRight));\n\n      node.width = Math.abs(r.x - l.x);\n      node.height = Math.abs(b.y - t.y);\n      node.x = l.x + node.width / 2;\n      node.y = t.y + node.height / 2;\n    }\n  });\n\n  _.forEach(g.nodes(), function(v) {\n    if (g.node(v).dummy === \"border\") {\n      g.removeNode(v);\n    }\n  });\n}\n\nfunction removeSelfEdges(g) {\n  _.forEach(g.edges(), function(e) {\n    if (e.v === e.w) {\n      var node = g.node(e.v);\n      if (!node.selfEdges) {\n        node.selfEdges = [];\n      }\n      node.selfEdges.push({ e: e, label: g.edge(e) });\n      g.removeEdge(e);\n    }\n  });\n}\n\nfunction insertSelfEdges(g) {\n  var layers = util.buildLayerMatrix(g);\n  _.forEach(layers, function(layer) {\n    var orderShift = 0;\n    _.forEach(layer, function(v, i) {\n      var node = g.node(v);\n      node.order = i + orderShift;\n      _.forEach(node.selfEdges, function(selfEdge) {\n        util.addDummyNode(g, \"selfedge\", {\n          width: selfEdge.label.width,\n          height: selfEdge.label.height,\n          rank: node.rank,\n          order: i + (++orderShift),\n          e: selfEdge.e,\n          label: selfEdge.label\n        }, \"_se\");\n      });\n      delete node.selfEdges;\n    });\n  });\n}\n\nfunction positionSelfEdges(g) {\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    if (node.dummy === \"selfedge\") {\n      var selfNode = g.node(node.e.v);\n      var x = selfNode.x + selfNode.width / 2;\n      var y = selfNode.y;\n      var dx = node.x - x;\n      var dy = selfNode.height / 2;\n      g.setEdge(node.e, node.label);\n      g.removeNode(v);\n      node.label.points = [\n        { x: x + 2 * dx / 3, y: y - dy },\n        { x: x + 5 * dx / 6, y: y - dy },\n        { x: x +     dx    , y: y },\n        { x: x + 5 * dx / 6, y: y + dy },\n        { x: x + 2 * dx / 3, y: y + dy }\n      ];\n      node.label.x = node.x;\n      node.label.y = node.y;\n    }\n  });\n}\n\nfunction selectNumberAttrs(obj, attrs) {\n  return _.mapValues(_.pick(obj, attrs), Number);\n}\n\nfunction canonicalize(attrs) {\n  var newAttrs = {};\n  _.forEach(attrs, function(v, k) {\n    newAttrs[k.toLowerCase()] = v;\n  });\n  return newAttrs;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/layout.js?");

/***/ }),

/***/ 95464:
/*!**********************************************!*\
  !*** ../../node_modules/dagre/lib/lodash.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* global window */\n\nvar lodash;\n\nif (true) {\n  try {\n    lodash = {\n      cloneDeep: __webpack_require__(/*! lodash/cloneDeep */ 2704),\n      constant: __webpack_require__(/*! lodash/constant */ 4528),\n      defaults: __webpack_require__(/*! lodash/defaults */ 63344),\n      each: __webpack_require__(/*! lodash/each */ 65520),\n      filter: __webpack_require__(/*! lodash/filter */ 74952),\n      find: __webpack_require__(/*! lodash/find */ 18972),\n      flatten: __webpack_require__(/*! lodash/flatten */ 68628),\n      forEach: __webpack_require__(/*! lodash/forEach */ 42900),\n      forIn: __webpack_require__(/*! lodash/forIn */ 87160),\n      has:  __webpack_require__(/*! lodash/has */ 76683),\n      isUndefined: __webpack_require__(/*! lodash/isUndefined */ 10352),\n      last: __webpack_require__(/*! lodash/last */ 38860),\n      map: __webpack_require__(/*! lodash/map */ 60768),\n      mapValues: __webpack_require__(/*! lodash/mapValues */ 79884),\n      max: __webpack_require__(/*! lodash/max */ 93636),\n      merge: __webpack_require__(/*! lodash/merge */ 896),\n      min: __webpack_require__(/*! lodash/min */ 39280),\n      minBy: __webpack_require__(/*! lodash/minBy */ 14696),\n      now: __webpack_require__(/*! lodash/now */ 21192),\n      pick: __webpack_require__(/*! lodash/pick */ 81860),\n      range: __webpack_require__(/*! lodash/range */ 10020),\n      reduce: __webpack_require__(/*! lodash/reduce */ 49360),\n      sortBy: __webpack_require__(/*! lodash/sortBy */ 38120),\n      uniqueId: __webpack_require__(/*! lodash/uniqueId */ 3904),\n      values: __webpack_require__(/*! lodash/values */ 84724),\n      zipObject: __webpack_require__(/*! lodash/zipObject */ 8864),\n    };\n  } catch (e) {\n    // continue regardless of error\n  }\n}\n\nif (!lodash) {\n  lodash = window._;\n}\n\nmodule.exports = lodash;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/lodash.js?");

/***/ }),

/***/ 98276:
/*!*****************************************************!*\
  !*** ../../node_modules/dagre/lib/nesting-graph.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 95464);\nvar util = __webpack_require__(/*! ./util */ 48456);\n\nmodule.exports = {\n  run: run,\n  cleanup: cleanup\n};\n\n/*\n * A nesting graph creates dummy nodes for the tops and bottoms of subgraphs,\n * adds appropriate edges to ensure that all cluster nodes are placed between\n * these boundries, and ensures that the graph is connected.\n *\n * In addition we ensure, through the use of the minlen property, that nodes\n * and subgraph border nodes to not end up on the same rank.\n *\n * Preconditions:\n *\n *    1. Input graph is a DAG\n *    2. Nodes in the input graph has a minlen attribute\n *\n * Postconditions:\n *\n *    1. Input graph is connected.\n *    2. Dummy nodes are added for the tops and bottoms of subgraphs.\n *    3. The minlen attribute for nodes is adjusted to ensure nodes do not\n *       get placed on the same rank as subgraph border nodes.\n *\n * The nesting graph idea comes from Sander, \"Layout of Compound Directed\n * Graphs.\"\n */\nfunction run(g) {\n  var root = util.addDummyNode(g, \"root\", {}, \"_root\");\n  var depths = treeDepths(g);\n  var height = _.max(_.values(depths)) - 1; // Note: depths is an Object not an array\n  var nodeSep = 2 * height + 1;\n\n  g.graph().nestingRoot = root;\n\n  // Multiply minlen by nodeSep to align nodes on non-border ranks.\n  _.forEach(g.edges(), function(e) { g.edge(e).minlen *= nodeSep; });\n\n  // Calculate a weight that is sufficient to keep subgraphs vertically compact\n  var weight = sumWeights(g) + 1;\n\n  // Create border nodes and link them up\n  _.forEach(g.children(), function(child) {\n    dfs(g, root, nodeSep, weight, height, depths, child);\n  });\n\n  // Save the multiplier for node layers for later removal of empty border\n  // layers.\n  g.graph().nodeRankFactor = nodeSep;\n}\n\nfunction dfs(g, root, nodeSep, weight, height, depths, v) {\n  var children = g.children(v);\n  if (!children.length) {\n    if (v !== root) {\n      g.setEdge(root, v, { weight: 0, minlen: nodeSep });\n    }\n    return;\n  }\n\n  var top = util.addBorderNode(g, \"_bt\");\n  var bottom = util.addBorderNode(g, \"_bb\");\n  var label = g.node(v);\n\n  g.setParent(top, v);\n  label.borderTop = top;\n  g.setParent(bottom, v);\n  label.borderBottom = bottom;\n\n  _.forEach(children, function(child) {\n    dfs(g, root, nodeSep, weight, height, depths, child);\n\n    var childNode = g.node(child);\n    var childTop = childNode.borderTop ? childNode.borderTop : child;\n    var childBottom = childNode.borderBottom ? childNode.borderBottom : child;\n    var thisWeight = childNode.borderTop ? weight : 2 * weight;\n    var minlen = childTop !== childBottom ? 1 : height - depths[v] + 1;\n\n    g.setEdge(top, childTop, {\n      weight: thisWeight,\n      minlen: minlen,\n      nestingEdge: true\n    });\n\n    g.setEdge(childBottom, bottom, {\n      weight: thisWeight,\n      minlen: minlen,\n      nestingEdge: true\n    });\n  });\n\n  if (!g.parent(v)) {\n    g.setEdge(root, top, { weight: 0, minlen: height + depths[v] });\n  }\n}\n\nfunction treeDepths(g) {\n  var depths = {};\n  function dfs(v, depth) {\n    var children = g.children(v);\n    if (children && children.length) {\n      _.forEach(children, function(child) {\n        dfs(child, depth + 1);\n      });\n    }\n    depths[v] = depth;\n  }\n  _.forEach(g.children(), function(v) { dfs(v, 1); });\n  return depths;\n}\n\nfunction sumWeights(g) {\n  return _.reduce(g.edges(), function(acc, e) {\n    return acc + g.edge(e).weight;\n  }, 0);\n}\n\nfunction cleanup(g) {\n  var graphLabel = g.graph();\n  g.removeNode(graphLabel.nestingRoot);\n  delete graphLabel.nestingRoot;\n  _.forEach(g.edges(), function(e) {\n    var edge = g.edge(e);\n    if (edge.nestingEdge) {\n      g.removeEdge(e);\n    }\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/nesting-graph.js?");

/***/ }),

/***/ 11364:
/*!*************************************************!*\
  !*** ../../node_modules/dagre/lib/normalize.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ./lodash */ 95464);\nvar util = __webpack_require__(/*! ./util */ 48456);\n\nmodule.exports = {\n  run: run,\n  undo: undo\n};\n\n/*\n * Breaks any long edges in the graph into short segments that span 1 layer\n * each. This operation is undoable with the denormalize function.\n *\n * Pre-conditions:\n *\n *    1. The input graph is a DAG.\n *    2. Each node in the graph has a \"rank\" property.\n *\n * Post-condition:\n *\n *    1. All edges in the graph have a length of 1.\n *    2. Dummy nodes are added where edges have been split into segments.\n *    3. The graph is augmented with a \"dummyChains\" attribute which contains\n *       the first dummy in each chain of dummy nodes produced.\n */\nfunction run(g) {\n  g.graph().dummyChains = [];\n  _.forEach(g.edges(), function(edge) { normalizeEdge(g, edge); });\n}\n\nfunction normalizeEdge(g, e) {\n  var v = e.v;\n  var vRank = g.node(v).rank;\n  var w = e.w;\n  var wRank = g.node(w).rank;\n  var name = e.name;\n  var edgeLabel = g.edge(e);\n  var labelRank = edgeLabel.labelRank;\n\n  if (wRank === vRank + 1) return;\n\n  g.removeEdge(e);\n\n  var dummy, attrs, i;\n  for (i = 0, ++vRank; vRank < wRank; ++i, ++vRank) {\n    edgeLabel.points = [];\n    attrs = {\n      width: 0, height: 0,\n      edgeLabel: edgeLabel, edgeObj: e,\n      rank: vRank\n    };\n    dummy = util.addDummyNode(g, \"edge\", attrs, \"_d\");\n    if (vRank === labelRank) {\n      attrs.width = edgeLabel.width;\n      attrs.height = edgeLabel.height;\n      attrs.dummy = \"edge-label\";\n      attrs.labelpos = edgeLabel.labelpos;\n    }\n    g.setEdge(v, dummy, { weight: edgeLabel.weight }, name);\n    if (i === 0) {\n      g.graph().dummyChains.push(dummy);\n    }\n    v = dummy;\n  }\n\n  g.setEdge(v, w, { weight: edgeLabel.weight }, name);\n}\n\nfunction undo(g) {\n  _.forEach(g.graph().dummyChains, function(v) {\n    var node = g.node(v);\n    var origLabel = node.edgeLabel;\n    var w;\n    g.setEdge(node.edgeObj, origLabel);\n    while (node.dummy) {\n      w = g.successors(v)[0];\n      g.removeNode(v);\n      origLabel.points.push({ x: node.x, y: node.y });\n      if (node.dummy === \"edge-label\") {\n        origLabel.x = node.x;\n        origLabel.y = node.y;\n        origLabel.width = node.width;\n        origLabel.height = node.height;\n      }\n      v = w;\n      node = g.node(v);\n    }\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/normalize.js?");

/***/ }),

/***/ 12424:
/*!**********************************************************************!*\
  !*** ../../node_modules/dagre/lib/order/add-subgraph-constraints.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = addSubgraphConstraints;\n\nfunction addSubgraphConstraints(g, cg, vs) {\n  var prev = {},\n    rootPrev;\n\n  _.forEach(vs, function(v) {\n    var child = g.parent(v),\n      parent,\n      prevChild;\n    while (child) {\n      parent = g.parent(child);\n      if (parent) {\n        prevChild = prev[parent];\n        prev[parent] = child;\n      } else {\n        prevChild = rootPrev;\n        rootPrev = child;\n      }\n      if (prevChild && prevChild !== child) {\n        cg.setEdge(prevChild, child);\n        return;\n      }\n      child = parent;\n    }\n  });\n\n  /*\n  function dfs(v) {\n    var children = v ? g.children(v) : g.children();\n    if (children.length) {\n      var min = Number.POSITIVE_INFINITY,\n          subgraphs = [];\n      _.each(children, function(child) {\n        var childMin = dfs(child);\n        if (g.children(child).length) {\n          subgraphs.push({ v: child, order: childMin });\n        }\n        min = Math.min(min, childMin);\n      });\n      _.reduce(_.sortBy(subgraphs, \"order\"), function(prev, curr) {\n        cg.setEdge(prev.v, curr.v);\n        return curr;\n      });\n      return min;\n    }\n    return g.node(v).order;\n  }\n  dfs(undefined);\n  */\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/add-subgraph-constraints.js?");

/***/ }),

/***/ 98824:
/*!********************************************************!*\
  !*** ../../node_modules/dagre/lib/order/barycenter.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = barycenter;\n\nfunction barycenter(g, movable) {\n  return _.map(movable, function(v) {\n    var inV = g.inEdges(v);\n    if (!inV.length) {\n      return { v: v };\n    } else {\n      var result = _.reduce(inV, function(acc, e) {\n        var edge = g.edge(e),\n          nodeU = g.node(e.v);\n        return {\n          sum: acc.sum + (edge.weight * nodeU.order),\n          weight: acc.weight + edge.weight\n        };\n      }, { sum: 0, weight: 0 });\n\n      return {\n        v: v,\n        barycenter: result.sum / result.weight,\n        weight: result.weight\n      };\n    }\n  });\n}\n\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/barycenter.js?");

/***/ }),

/***/ 73504:
/*!***************************************************************!*\
  !*** ../../node_modules/dagre/lib/order/build-layer-graph.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 95464);\nvar Graph = (__webpack_require__(/*! ../graphlib */ 19648).Graph);\n\nmodule.exports = buildLayerGraph;\n\n/*\n * Constructs a graph that can be used to sort a layer of nodes. The graph will\n * contain all base and subgraph nodes from the request layer in their original\n * hierarchy and any edges that are incident on these nodes and are of the type\n * requested by the \"relationship\" parameter.\n *\n * Nodes from the requested rank that do not have parents are assigned a root\n * node in the output graph, which is set in the root graph attribute. This\n * makes it easy to walk the hierarchy of movable nodes during ordering.\n *\n * Pre-conditions:\n *\n *    1. Input graph is a DAG\n *    2. Base nodes in the input graph have a rank attribute\n *    3. Subgraph nodes in the input graph has minRank and maxRank attributes\n *    4. Edges have an assigned weight\n *\n * Post-conditions:\n *\n *    1. Output graph has all nodes in the movable rank with preserved\n *       hierarchy.\n *    2. Root nodes in the movable layer are made children of the node\n *       indicated by the root attribute of the graph.\n *    3. Non-movable nodes incident on movable nodes, selected by the\n *       relationship parameter, are included in the graph (without hierarchy).\n *    4. Edges incident on movable nodes, selected by the relationship\n *       parameter, are added to the output graph.\n *    5. The weights for copied edges are aggregated as need, since the output\n *       graph is not a multi-graph.\n */\nfunction buildLayerGraph(g, rank, relationship) {\n  var root = createRootNode(g),\n    result = new Graph({ compound: true }).setGraph({ root: root })\n      .setDefaultNodeLabel(function(v) { return g.node(v); });\n\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v),\n      parent = g.parent(v);\n\n    if (node.rank === rank || node.minRank <= rank && rank <= node.maxRank) {\n      result.setNode(v);\n      result.setParent(v, parent || root);\n\n      // This assumes we have only short edges!\n      _.forEach(g[relationship](v), function(e) {\n        var u = e.v === v ? e.w : e.v,\n          edge = result.edge(u, v),\n          weight = !_.isUndefined(edge) ? edge.weight : 0;\n        result.setEdge(u, v, { weight: g.edge(e).weight + weight });\n      });\n\n      if (_.has(node, \"minRank\")) {\n        result.setNode(v, {\n          borderLeft: node.borderLeft[rank],\n          borderRight: node.borderRight[rank]\n        });\n      }\n    }\n  });\n\n  return result;\n}\n\nfunction createRootNode(g) {\n  var v;\n  while (g.hasNode((v = _.uniqueId(\"_root\"))));\n  return v;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/build-layer-graph.js?");

/***/ }),

/***/ 36496:
/*!*********************************************************!*\
  !*** ../../node_modules/dagre/lib/order/cross-count.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = crossCount;\n\n/*\n * A function that takes a layering (an array of layers, each with an array of\n * ordererd nodes) and a graph and returns a weighted crossing count.\n *\n * Pre-conditions:\n *\n *    1. Input graph must be simple (not a multigraph), directed, and include\n *       only simple edges.\n *    2. Edges in the input graph must have assigned weights.\n *\n * Post-conditions:\n *\n *    1. The graph and layering matrix are left unchanged.\n *\n * This algorithm is derived from Barth, et al., \"Bilayer Cross Counting.\"\n */\nfunction crossCount(g, layering) {\n  var cc = 0;\n  for (var i = 1; i < layering.length; ++i) {\n    cc += twoLayerCrossCount(g, layering[i-1], layering[i]);\n  }\n  return cc;\n}\n\nfunction twoLayerCrossCount(g, northLayer, southLayer) {\n  // Sort all of the edges between the north and south layers by their position\n  // in the north layer and then the south. Map these edges to the position of\n  // their head in the south layer.\n  var southPos = _.zipObject(southLayer,\n    _.map(southLayer, function (v, i) { return i; }));\n  var southEntries = _.flatten(_.map(northLayer, function(v) {\n    return _.sortBy(_.map(g.outEdges(v), function(e) {\n      return { pos: southPos[e.w], weight: g.edge(e).weight };\n    }), \"pos\");\n  }), true);\n\n  // Build the accumulator tree\n  var firstIndex = 1;\n  while (firstIndex < southLayer.length) firstIndex <<= 1;\n  var treeSize = 2 * firstIndex - 1;\n  firstIndex -= 1;\n  var tree = _.map(new Array(treeSize), function() { return 0; });\n\n  // Calculate the weighted crossings\n  var cc = 0;\n  _.forEach(southEntries.forEach(function(entry) {\n    var index = entry.pos + firstIndex;\n    tree[index] += entry.weight;\n    var weightSum = 0;\n    while (index > 0) {\n      if (index % 2) {\n        weightSum += tree[index + 1];\n      }\n      index = (index - 1) >> 1;\n      tree[index] += entry.weight;\n    }\n    cc += entry.weight * weightSum;\n  }));\n\n  return cc;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/cross-count.js?");

/***/ }),

/***/ 85576:
/*!***************************************************!*\
  !*** ../../node_modules/dagre/lib/order/index.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\nvar initOrder = __webpack_require__(/*! ./init-order */ 28956);\nvar crossCount = __webpack_require__(/*! ./cross-count */ 36496);\nvar sortSubgraph = __webpack_require__(/*! ./sort-subgraph */ 75400);\nvar buildLayerGraph = __webpack_require__(/*! ./build-layer-graph */ 73504);\nvar addSubgraphConstraints = __webpack_require__(/*! ./add-subgraph-constraints */ 12424);\nvar Graph = (__webpack_require__(/*! ../graphlib */ 19648).Graph);\nvar util = __webpack_require__(/*! ../util */ 48456);\n\nmodule.exports = order;\n\n/*\n * Applies heuristics to minimize edge crossings in the graph and sets the best\n * order solution as an order attribute on each node.\n *\n * Pre-conditions:\n *\n *    1. Graph must be DAG\n *    2. Graph nodes must be objects with a \"rank\" attribute\n *    3. Graph edges must have the \"weight\" attribute\n *\n * Post-conditions:\n *\n *    1. Graph nodes will have an \"order\" attribute based on the results of the\n *       algorithm.\n */\nfunction order(g) {\n  var maxRank = util.maxRank(g),\n    downLayerGraphs = buildLayerGraphs(g, _.range(1, maxRank + 1), \"inEdges\"),\n    upLayerGraphs = buildLayerGraphs(g, _.range(maxRank - 1, -1, -1), \"outEdges\");\n\n  var layering = initOrder(g);\n  assignOrder(g, layering);\n\n  var bestCC = Number.POSITIVE_INFINITY,\n    best;\n\n  for (var i = 0, lastBest = 0; lastBest < 4; ++i, ++lastBest) {\n    sweepLayerGraphs(i % 2 ? downLayerGraphs : upLayerGraphs, i % 4 >= 2);\n\n    layering = util.buildLayerMatrix(g);\n    var cc = crossCount(g, layering);\n    if (cc < bestCC) {\n      lastBest = 0;\n      best = _.cloneDeep(layering);\n      bestCC = cc;\n    }\n  }\n\n  assignOrder(g, best);\n}\n\nfunction buildLayerGraphs(g, ranks, relationship) {\n  return _.map(ranks, function(rank) {\n    return buildLayerGraph(g, rank, relationship);\n  });\n}\n\nfunction sweepLayerGraphs(layerGraphs, biasRight) {\n  var cg = new Graph();\n  _.forEach(layerGraphs, function(lg) {\n    var root = lg.graph().root;\n    var sorted = sortSubgraph(lg, root, cg, biasRight);\n    _.forEach(sorted.vs, function(v, i) {\n      lg.node(v).order = i;\n    });\n    addSubgraphConstraints(lg, cg, sorted.vs);\n  });\n}\n\nfunction assignOrder(g, layering) {\n  _.forEach(layering, function(layer) {\n    _.forEach(layer, function(v, i) {\n      g.node(v).order = i;\n    });\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/index.js?");

/***/ }),

/***/ 28956:
/*!********************************************************!*\
  !*** ../../node_modules/dagre/lib/order/init-order.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = initOrder;\n\n/*\n * Assigns an initial order value for each node by performing a DFS search\n * starting from nodes in the first rank. Nodes are assigned an order in their\n * rank as they are first visited.\n *\n * This approach comes from Gansner, et al., \"A Technique for Drawing Directed\n * Graphs.\"\n *\n * Returns a layering matrix with an array per layer and each layer sorted by\n * the order of its nodes.\n */\nfunction initOrder(g) {\n  var visited = {};\n  var simpleNodes = _.filter(g.nodes(), function(v) {\n    return !g.children(v).length;\n  });\n  var maxRank = _.max(_.map(simpleNodes, function(v) { return g.node(v).rank; }));\n  var layers = _.map(_.range(maxRank + 1), function() { return []; });\n\n  function dfs(v) {\n    if (_.has(visited, v)) return;\n    visited[v] = true;\n    var node = g.node(v);\n    layers[node.rank].push(v);\n    _.forEach(g.successors(v), dfs);\n  }\n\n  var orderedVs = _.sortBy(simpleNodes, function(v) { return g.node(v).rank; });\n  _.forEach(orderedVs, dfs);\n\n  return layers;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/init-order.js?");

/***/ }),

/***/ 29715:
/*!***************************************************************!*\
  !*** ../../node_modules/dagre/lib/order/resolve-conflicts.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = resolveConflicts;\n\n/*\n * Given a list of entries of the form {v, barycenter, weight} and a\n * constraint graph this function will resolve any conflicts between the\n * constraint graph and the barycenters for the entries. If the barycenters for\n * an entry would violate a constraint in the constraint graph then we coalesce\n * the nodes in the conflict into a new node that respects the contraint and\n * aggregates barycenter and weight information.\n *\n * This implementation is based on the description in Forster, \"A Fast and\n * Simple Hueristic for Constrained Two-Level Crossing Reduction,\" thought it\n * differs in some specific details.\n *\n * Pre-conditions:\n *\n *    1. Each entry has the form {v, barycenter, weight}, or if the node has\n *       no barycenter, then {v}.\n *\n * Returns:\n *\n *    A new list of entries of the form {vs, i, barycenter, weight}. The list\n *    `vs` may either be a singleton or it may be an aggregation of nodes\n *    ordered such that they do not violate constraints from the constraint\n *    graph. The property `i` is the lowest original index of any of the\n *    elements in `vs`.\n */\nfunction resolveConflicts(entries, cg) {\n  var mappedEntries = {};\n  _.forEach(entries, function(entry, i) {\n    var tmp = mappedEntries[entry.v] = {\n      indegree: 0,\n      \"in\": [],\n      out: [],\n      vs: [entry.v],\n      i: i\n    };\n    if (!_.isUndefined(entry.barycenter)) {\n      tmp.barycenter = entry.barycenter;\n      tmp.weight = entry.weight;\n    }\n  });\n\n  _.forEach(cg.edges(), function(e) {\n    var entryV = mappedEntries[e.v];\n    var entryW = mappedEntries[e.w];\n    if (!_.isUndefined(entryV) && !_.isUndefined(entryW)) {\n      entryW.indegree++;\n      entryV.out.push(mappedEntries[e.w]);\n    }\n  });\n\n  var sourceSet = _.filter(mappedEntries, function(entry) {\n    return !entry.indegree;\n  });\n\n  return doResolveConflicts(sourceSet);\n}\n\nfunction doResolveConflicts(sourceSet) {\n  var entries = [];\n\n  function handleIn(vEntry) {\n    return function(uEntry) {\n      if (uEntry.merged) {\n        return;\n      }\n      if (_.isUndefined(uEntry.barycenter) ||\n          _.isUndefined(vEntry.barycenter) ||\n          uEntry.barycenter >= vEntry.barycenter) {\n        mergeEntries(vEntry, uEntry);\n      }\n    };\n  }\n\n  function handleOut(vEntry) {\n    return function(wEntry) {\n      wEntry[\"in\"].push(vEntry);\n      if (--wEntry.indegree === 0) {\n        sourceSet.push(wEntry);\n      }\n    };\n  }\n\n  while (sourceSet.length) {\n    var entry = sourceSet.pop();\n    entries.push(entry);\n    _.forEach(entry[\"in\"].reverse(), handleIn(entry));\n    _.forEach(entry.out, handleOut(entry));\n  }\n\n  return _.map(_.filter(entries, function(entry) { return !entry.merged; }),\n    function(entry) {\n      return _.pick(entry, [\"vs\", \"i\", \"barycenter\", \"weight\"]);\n    });\n\n}\n\nfunction mergeEntries(target, source) {\n  var sum = 0;\n  var weight = 0;\n\n  if (target.weight) {\n    sum += target.barycenter * target.weight;\n    weight += target.weight;\n  }\n\n  if (source.weight) {\n    sum += source.barycenter * source.weight;\n    weight += source.weight;\n  }\n\n  target.vs = source.vs.concat(target.vs);\n  target.barycenter = sum / weight;\n  target.weight = weight;\n  target.i = Math.min(source.i, target.i);\n  source.merged = true;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/resolve-conflicts.js?");

/***/ }),

/***/ 75400:
/*!***********************************************************!*\
  !*** ../../node_modules/dagre/lib/order/sort-subgraph.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 95464);\nvar barycenter = __webpack_require__(/*! ./barycenter */ 98824);\nvar resolveConflicts = __webpack_require__(/*! ./resolve-conflicts */ 29715);\nvar sort = __webpack_require__(/*! ./sort */ 79240);\n\nmodule.exports = sortSubgraph;\n\nfunction sortSubgraph(g, v, cg, biasRight) {\n  var movable = g.children(v);\n  var node = g.node(v);\n  var bl = node ? node.borderLeft : undefined;\n  var br = node ? node.borderRight: undefined;\n  var subgraphs = {};\n\n  if (bl) {\n    movable = _.filter(movable, function(w) {\n      return w !== bl && w !== br;\n    });\n  }\n\n  var barycenters = barycenter(g, movable);\n  _.forEach(barycenters, function(entry) {\n    if (g.children(entry.v).length) {\n      var subgraphResult = sortSubgraph(g, entry.v, cg, biasRight);\n      subgraphs[entry.v] = subgraphResult;\n      if (_.has(subgraphResult, \"barycenter\")) {\n        mergeBarycenters(entry, subgraphResult);\n      }\n    }\n  });\n\n  var entries = resolveConflicts(barycenters, cg);\n  expandSubgraphs(entries, subgraphs);\n\n  var result = sort(entries, biasRight);\n\n  if (bl) {\n    result.vs = _.flatten([bl, result.vs, br], true);\n    if (g.predecessors(bl).length) {\n      var blPred = g.node(g.predecessors(bl)[0]),\n        brPred = g.node(g.predecessors(br)[0]);\n      if (!_.has(result, \"barycenter\")) {\n        result.barycenter = 0;\n        result.weight = 0;\n      }\n      result.barycenter = (result.barycenter * result.weight +\n                           blPred.order + brPred.order) / (result.weight + 2);\n      result.weight += 2;\n    }\n  }\n\n  return result;\n}\n\nfunction expandSubgraphs(entries, subgraphs) {\n  _.forEach(entries, function(entry) {\n    entry.vs = _.flatten(entry.vs.map(function(v) {\n      if (subgraphs[v]) {\n        return subgraphs[v].vs;\n      }\n      return v;\n    }), true);\n  });\n}\n\nfunction mergeBarycenters(target, other) {\n  if (!_.isUndefined(target.barycenter)) {\n    target.barycenter = (target.barycenter * target.weight +\n                         other.barycenter * other.weight) /\n                        (target.weight + other.weight);\n    target.weight += other.weight;\n  } else {\n    target.barycenter = other.barycenter;\n    target.weight = other.weight;\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/sort-subgraph.js?");

/***/ }),

/***/ 79240:
/*!**************************************************!*\
  !*** ../../node_modules/dagre/lib/order/sort.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 95464);\nvar util = __webpack_require__(/*! ../util */ 48456);\n\nmodule.exports = sort;\n\nfunction sort(entries, biasRight) {\n  var parts = util.partition(entries, function(entry) {\n    return _.has(entry, \"barycenter\");\n  });\n  var sortable = parts.lhs,\n    unsortable = _.sortBy(parts.rhs, function(entry) { return -entry.i; }),\n    vs = [],\n    sum = 0,\n    weight = 0,\n    vsIndex = 0;\n\n  sortable.sort(compareWithBias(!!biasRight));\n\n  vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n\n  _.forEach(sortable, function (entry) {\n    vsIndex += entry.vs.length;\n    vs.push(entry.vs);\n    sum += entry.barycenter * entry.weight;\n    weight += entry.weight;\n    vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n  });\n\n  var result = { vs: _.flatten(vs, true) };\n  if (weight) {\n    result.barycenter = sum / weight;\n    result.weight = weight;\n  }\n  return result;\n}\n\nfunction consumeUnsortable(vs, unsortable, index) {\n  var last;\n  while (unsortable.length && (last = _.last(unsortable)).i <= index) {\n    unsortable.pop();\n    vs.push(last.vs);\n    index++;\n  }\n  return index;\n}\n\nfunction compareWithBias(bias) {\n  return function(entryV, entryW) {\n    if (entryV.barycenter < entryW.barycenter) {\n      return -1;\n    } else if (entryV.barycenter > entryW.barycenter) {\n      return 1;\n    }\n\n    return !bias ? entryV.i - entryW.i : entryW.i - entryV.i;\n  };\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/order/sort.js?");

/***/ }),

/***/ 22028:
/*!***********************************************************!*\
  !*** ../../node_modules/dagre/lib/parent-dummy-chains.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 95464);\n\nmodule.exports = parentDummyChains;\n\nfunction parentDummyChains(g) {\n  var postorderNums = postorder(g);\n\n  _.forEach(g.graph().dummyChains, function(v) {\n    var node = g.node(v);\n    var edgeObj = node.edgeObj;\n    var pathData = findPath(g, postorderNums, edgeObj.v, edgeObj.w);\n    var path = pathData.path;\n    var lca = pathData.lca;\n    var pathIdx = 0;\n    var pathV = path[pathIdx];\n    var ascending = true;\n\n    while (v !== edgeObj.w) {\n      node = g.node(v);\n\n      if (ascending) {\n        while ((pathV = path[pathIdx]) !== lca &&\n               g.node(pathV).maxRank < node.rank) {\n          pathIdx++;\n        }\n\n        if (pathV === lca) {\n          ascending = false;\n        }\n      }\n\n      if (!ascending) {\n        while (pathIdx < path.length - 1 &&\n               g.node(pathV = path[pathIdx + 1]).minRank <= node.rank) {\n          pathIdx++;\n        }\n        pathV = path[pathIdx];\n      }\n\n      g.setParent(v, pathV);\n      v = g.successors(v)[0];\n    }\n  });\n}\n\n// Find a path from v to w through the lowest common ancestor (LCA). Return the\n// full path and the LCA.\nfunction findPath(g, postorderNums, v, w) {\n  var vPath = [];\n  var wPath = [];\n  var low = Math.min(postorderNums[v].low, postorderNums[w].low);\n  var lim = Math.max(postorderNums[v].lim, postorderNums[w].lim);\n  var parent;\n  var lca;\n\n  // Traverse up from v to find the LCA\n  parent = v;\n  do {\n    parent = g.parent(parent);\n    vPath.push(parent);\n  } while (parent &&\n           (postorderNums[parent].low > low || lim > postorderNums[parent].lim));\n  lca = parent;\n\n  // Traverse from w to LCA\n  parent = w;\n  while ((parent = g.parent(parent)) !== lca) {\n    wPath.push(parent);\n  }\n\n  return { path: vPath.concat(wPath.reverse()), lca: lca };\n}\n\nfunction postorder(g) {\n  var result = {};\n  var lim = 0;\n\n  function dfs(v) {\n    var low = lim;\n    _.forEach(g.children(v), dfs);\n    result[v] = { low: low, lim: lim++ };\n  }\n  _.forEach(g.children(), dfs);\n\n  return result;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/parent-dummy-chains.js?");

/***/ }),

/***/ 37456:
/*!***************************************************!*\
  !*** ../../node_modules/dagre/lib/position/bk.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\nvar Graph = (__webpack_require__(/*! ../graphlib */ 19648).Graph);\nvar util = __webpack_require__(/*! ../util */ 48456);\n\n/*\n * This module provides coordinate assignment based on Brandes and Köpf, \"Fast\n * and Simple Horizontal Coordinate Assignment.\"\n */\n\nmodule.exports = {\n  positionX: positionX,\n  findType1Conflicts: findType1Conflicts,\n  findType2Conflicts: findType2Conflicts,\n  addConflict: addConflict,\n  hasConflict: hasConflict,\n  verticalAlignment: verticalAlignment,\n  horizontalCompaction: horizontalCompaction,\n  alignCoordinates: alignCoordinates,\n  findSmallestWidthAlignment: findSmallestWidthAlignment,\n  balance: balance\n};\n\n/*\n * Marks all edges in the graph with a type-1 conflict with the \"type1Conflict\"\n * property. A type-1 conflict is one where a non-inner segment crosses an\n * inner segment. An inner segment is an edge with both incident nodes marked\n * with the \"dummy\" property.\n *\n * This algorithm scans layer by layer, starting with the second, for type-1\n * conflicts between the current layer and the previous layer. For each layer\n * it scans the nodes from left to right until it reaches one that is incident\n * on an inner segment. It then scans predecessors to determine if they have\n * edges that cross that inner segment. At the end a final scan is done for all\n * nodes on the current rank to see if they cross the last visited inner\n * segment.\n *\n * This algorithm (safely) assumes that a dummy node will only be incident on a\n * single node in the layers being scanned.\n */\nfunction findType1Conflicts(g, layering) {\n  var conflicts = {};\n\n  function visitLayer(prevLayer, layer) {\n    var\n      // last visited node in the previous layer that is incident on an inner\n      // segment.\n      k0 = 0,\n      // Tracks the last node in this layer scanned for crossings with a type-1\n      // segment.\n      scanPos = 0,\n      prevLayerLength = prevLayer.length,\n      lastNode = _.last(layer);\n\n    _.forEach(layer, function(v, i) {\n      var w = findOtherInnerSegmentNode(g, v),\n        k1 = w ? g.node(w).order : prevLayerLength;\n\n      if (w || v === lastNode) {\n        _.forEach(layer.slice(scanPos, i +1), function(scanNode) {\n          _.forEach(g.predecessors(scanNode), function(u) {\n            var uLabel = g.node(u),\n              uPos = uLabel.order;\n            if ((uPos < k0 || k1 < uPos) &&\n                !(uLabel.dummy && g.node(scanNode).dummy)) {\n              addConflict(conflicts, u, scanNode);\n            }\n          });\n        });\n        scanPos = i + 1;\n        k0 = k1;\n      }\n    });\n\n    return layer;\n  }\n\n  _.reduce(layering, visitLayer);\n  return conflicts;\n}\n\nfunction findType2Conflicts(g, layering) {\n  var conflicts = {};\n\n  function scan(south, southPos, southEnd, prevNorthBorder, nextNorthBorder) {\n    var v;\n    _.forEach(_.range(southPos, southEnd), function(i) {\n      v = south[i];\n      if (g.node(v).dummy) {\n        _.forEach(g.predecessors(v), function(u) {\n          var uNode = g.node(u);\n          if (uNode.dummy &&\n              (uNode.order < prevNorthBorder || uNode.order > nextNorthBorder)) {\n            addConflict(conflicts, u, v);\n          }\n        });\n      }\n    });\n  }\n\n\n  function visitLayer(north, south) {\n    var prevNorthPos = -1,\n      nextNorthPos,\n      southPos = 0;\n\n    _.forEach(south, function(v, southLookahead) {\n      if (g.node(v).dummy === \"border\") {\n        var predecessors = g.predecessors(v);\n        if (predecessors.length) {\n          nextNorthPos = g.node(predecessors[0]).order;\n          scan(south, southPos, southLookahead, prevNorthPos, nextNorthPos);\n          southPos = southLookahead;\n          prevNorthPos = nextNorthPos;\n        }\n      }\n      scan(south, southPos, south.length, nextNorthPos, north.length);\n    });\n\n    return south;\n  }\n\n  _.reduce(layering, visitLayer);\n  return conflicts;\n}\n\nfunction findOtherInnerSegmentNode(g, v) {\n  if (g.node(v).dummy) {\n    return _.find(g.predecessors(v), function(u) {\n      return g.node(u).dummy;\n    });\n  }\n}\n\nfunction addConflict(conflicts, v, w) {\n  if (v > w) {\n    var tmp = v;\n    v = w;\n    w = tmp;\n  }\n\n  var conflictsV = conflicts[v];\n  if (!conflictsV) {\n    conflicts[v] = conflictsV = {};\n  }\n  conflictsV[w] = true;\n}\n\nfunction hasConflict(conflicts, v, w) {\n  if (v > w) {\n    var tmp = v;\n    v = w;\n    w = tmp;\n  }\n  return _.has(conflicts[v], w);\n}\n\n/*\n * Try to align nodes into vertical \"blocks\" where possible. This algorithm\n * attempts to align a node with one of its median neighbors. If the edge\n * connecting a neighbor is a type-1 conflict then we ignore that possibility.\n * If a previous node has already formed a block with a node after the node\n * we're trying to form a block with, we also ignore that possibility - our\n * blocks would be split in that scenario.\n */\nfunction verticalAlignment(g, layering, conflicts, neighborFn) {\n  var root = {},\n    align = {},\n    pos = {};\n\n  // We cache the position here based on the layering because the graph and\n  // layering may be out of sync. The layering matrix is manipulated to\n  // generate different extreme alignments.\n  _.forEach(layering, function(layer) {\n    _.forEach(layer, function(v, order) {\n      root[v] = v;\n      align[v] = v;\n      pos[v] = order;\n    });\n  });\n\n  _.forEach(layering, function(layer) {\n    var prevIdx = -1;\n    _.forEach(layer, function(v) {\n      var ws = neighborFn(v);\n      if (ws.length) {\n        ws = _.sortBy(ws, function(w) { return pos[w]; });\n        var mp = (ws.length - 1) / 2;\n        for (var i = Math.floor(mp), il = Math.ceil(mp); i <= il; ++i) {\n          var w = ws[i];\n          if (align[v] === v &&\n              prevIdx < pos[w] &&\n              !hasConflict(conflicts, v, w)) {\n            align[w] = v;\n            align[v] = root[v] = root[w];\n            prevIdx = pos[w];\n          }\n        }\n      }\n    });\n  });\n\n  return { root: root, align: align };\n}\n\nfunction horizontalCompaction(g, layering, root, align, reverseSep) {\n  // This portion of the algorithm differs from BK due to a number of problems.\n  // Instead of their algorithm we construct a new block graph and do two\n  // sweeps. The first sweep places blocks with the smallest possible\n  // coordinates. The second sweep removes unused space by moving blocks to the\n  // greatest coordinates without violating separation.\n  var xs = {},\n    blockG = buildBlockGraph(g, layering, root, reverseSep),\n    borderType = reverseSep ? \"borderLeft\" : \"borderRight\";\n\n  function iterate(setXsFunc, nextNodesFunc) {\n    var stack = blockG.nodes();\n    var elem = stack.pop();\n    var visited = {};\n    while (elem) {\n      if (visited[elem]) {\n        setXsFunc(elem);\n      } else {\n        visited[elem] = true;\n        stack.push(elem);\n        stack = stack.concat(nextNodesFunc(elem));\n      }\n\n      elem = stack.pop();\n    }\n  }\n\n  // First pass, assign smallest coordinates\n  function pass1(elem) {\n    xs[elem] = blockG.inEdges(elem).reduce(function(acc, e) {\n      return Math.max(acc, xs[e.v] + blockG.edge(e));\n    }, 0);\n  }\n\n  // Second pass, assign greatest coordinates\n  function pass2(elem) {\n    var min = blockG.outEdges(elem).reduce(function(acc, e) {\n      return Math.min(acc, xs[e.w] - blockG.edge(e));\n    }, Number.POSITIVE_INFINITY);\n\n    var node = g.node(elem);\n    if (min !== Number.POSITIVE_INFINITY && node.borderType !== borderType) {\n      xs[elem] = Math.max(xs[elem], min);\n    }\n  }\n\n  iterate(pass1, blockG.predecessors.bind(blockG));\n  iterate(pass2, blockG.successors.bind(blockG));\n\n  // Assign x coordinates to all nodes\n  _.forEach(align, function(v) {\n    xs[v] = xs[root[v]];\n  });\n\n  return xs;\n}\n\n\nfunction buildBlockGraph(g, layering, root, reverseSep) {\n  var blockGraph = new Graph(),\n    graphLabel = g.graph(),\n    sepFn = sep(graphLabel.nodesep, graphLabel.edgesep, reverseSep);\n\n  _.forEach(layering, function(layer) {\n    var u;\n    _.forEach(layer, function(v) {\n      var vRoot = root[v];\n      blockGraph.setNode(vRoot);\n      if (u) {\n        var uRoot = root[u],\n          prevMax = blockGraph.edge(uRoot, vRoot);\n        blockGraph.setEdge(uRoot, vRoot, Math.max(sepFn(g, v, u), prevMax || 0));\n      }\n      u = v;\n    });\n  });\n\n  return blockGraph;\n}\n\n/*\n * Returns the alignment that has the smallest width of the given alignments.\n */\nfunction findSmallestWidthAlignment(g, xss) {\n  return _.minBy(_.values(xss), function (xs) {\n    var max = Number.NEGATIVE_INFINITY;\n    var min = Number.POSITIVE_INFINITY;\n\n    _.forIn(xs, function (x, v) {\n      var halfWidth = width(g, v) / 2;\n\n      max = Math.max(x + halfWidth, max);\n      min = Math.min(x - halfWidth, min);\n    });\n\n    return max - min;\n  });\n}\n\n/*\n * Align the coordinates of each of the layout alignments such that\n * left-biased alignments have their minimum coordinate at the same point as\n * the minimum coordinate of the smallest width alignment and right-biased\n * alignments have their maximum coordinate at the same point as the maximum\n * coordinate of the smallest width alignment.\n */\nfunction alignCoordinates(xss, alignTo) {\n  var alignToVals = _.values(alignTo),\n    alignToMin = _.min(alignToVals),\n    alignToMax = _.max(alignToVals);\n\n  _.forEach([\"u\", \"d\"], function(vert) {\n    _.forEach([\"l\", \"r\"], function(horiz) {\n      var alignment = vert + horiz,\n        xs = xss[alignment],\n        delta;\n      if (xs === alignTo) return;\n\n      var xsVals = _.values(xs);\n      delta = horiz === \"l\" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);\n\n      if (delta) {\n        xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });\n      }\n    });\n  });\n}\n\nfunction balance(xss, align) {\n  return _.mapValues(xss.ul, function(ignore, v) {\n    if (align) {\n      return xss[align.toLowerCase()][v];\n    } else {\n      var xs = _.sortBy(_.map(xss, v));\n      return (xs[1] + xs[2]) / 2;\n    }\n  });\n}\n\nfunction positionX(g) {\n  var layering = util.buildLayerMatrix(g);\n  var conflicts = _.merge(\n    findType1Conflicts(g, layering),\n    findType2Conflicts(g, layering));\n\n  var xss = {};\n  var adjustedLayering;\n  _.forEach([\"u\", \"d\"], function(vert) {\n    adjustedLayering = vert === \"u\" ? layering : _.values(layering).reverse();\n    _.forEach([\"l\", \"r\"], function(horiz) {\n      if (horiz === \"r\") {\n        adjustedLayering = _.map(adjustedLayering, function(inner) {\n          return _.values(inner).reverse();\n        });\n      }\n\n      var neighborFn = (vert === \"u\" ? g.predecessors : g.successors).bind(g);\n      var align = verticalAlignment(g, adjustedLayering, conflicts, neighborFn);\n      var xs = horizontalCompaction(g, adjustedLayering,\n        align.root, align.align, horiz === \"r\");\n      if (horiz === \"r\") {\n        xs = _.mapValues(xs, function(x) { return -x; });\n      }\n      xss[vert + horiz] = xs;\n    });\n  });\n\n  var smallestWidth = findSmallestWidthAlignment(g, xss);\n  alignCoordinates(xss, smallestWidth);\n  return balance(xss, g.graph().align);\n}\n\nfunction sep(nodeSep, edgeSep, reverseSep) {\n  return function(g, v, w) {\n    var vLabel = g.node(v);\n    var wLabel = g.node(w);\n    var sum = 0;\n    var delta;\n\n    sum += vLabel.width / 2;\n    if (_.has(vLabel, \"labelpos\")) {\n      switch (vLabel.labelpos.toLowerCase()) {\n      case \"l\": delta = -vLabel.width / 2; break;\n      case \"r\": delta = vLabel.width / 2; break;\n      }\n    }\n    if (delta) {\n      sum += reverseSep ? delta : -delta;\n    }\n    delta = 0;\n\n    sum += (vLabel.dummy ? edgeSep : nodeSep) / 2;\n    sum += (wLabel.dummy ? edgeSep : nodeSep) / 2;\n\n    sum += wLabel.width / 2;\n    if (_.has(wLabel, \"labelpos\")) {\n      switch (wLabel.labelpos.toLowerCase()) {\n      case \"l\": delta = wLabel.width / 2; break;\n      case \"r\": delta = -wLabel.width / 2; break;\n      }\n    }\n    if (delta) {\n      sum += reverseSep ? delta : -delta;\n    }\n    delta = 0;\n\n    return sum;\n  };\n}\n\nfunction width(g, v) {\n  return g.node(v).width;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/position/bk.js?");

/***/ }),

/***/ 63740:
/*!******************************************************!*\
  !*** ../../node_modules/dagre/lib/position/index.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\nvar util = __webpack_require__(/*! ../util */ 48456);\nvar positionX = (__webpack_require__(/*! ./bk */ 37456).positionX);\n\nmodule.exports = position;\n\nfunction position(g) {\n  g = util.asNonCompoundGraph(g);\n\n  positionY(g);\n  _.forEach(positionX(g), function(x, v) {\n    g.node(v).x = x;\n  });\n}\n\nfunction positionY(g) {\n  var layering = util.buildLayerMatrix(g);\n  var rankSep = g.graph().ranksep;\n  var prevY = 0;\n  _.forEach(layering, function(layer) {\n    var maxHeight = _.max(_.map(layer, function(v) { return g.node(v).height; }));\n    _.forEach(layer, function(v) {\n      g.node(v).y = prevY + maxHeight / 2;\n    });\n    prevY += maxHeight + rankSep;\n  });\n}\n\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/position/index.js?");

/***/ }),

/***/ 18060:
/*!**********************************************************!*\
  !*** ../../node_modules/dagre/lib/rank/feasible-tree.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\nvar Graph = (__webpack_require__(/*! ../graphlib */ 19648).Graph);\nvar slack = (__webpack_require__(/*! ./util */ 6784).slack);\n\nmodule.exports = feasibleTree;\n\n/*\n * Constructs a spanning tree with tight edges and adjusted the input node's\n * ranks to achieve this. A tight edge is one that is has a length that matches\n * its \"minlen\" attribute.\n *\n * The basic structure for this function is derived from Gansner, et al., \"A\n * Technique for Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n *    1. Graph must be a DAG.\n *    2. Graph must be connected.\n *    3. Graph must have at least one node.\n *    5. Graph nodes must have been previously assigned a \"rank\" property that\n *       respects the \"minlen\" property of incident edges.\n *    6. Graph edges must have a \"minlen\" property.\n *\n * Post-conditions:\n *\n *    - Graph nodes will have their rank adjusted to ensure that all edges are\n *      tight.\n *\n * Returns a tree (undirected graph) that is constructed using only \"tight\"\n * edges.\n */\nfunction feasibleTree(g) {\n  var t = new Graph({ directed: false });\n\n  // Choose arbitrary node from which to start our tree\n  var start = g.nodes()[0];\n  var size = g.nodeCount();\n  t.setNode(start, {});\n\n  var edge, delta;\n  while (tightTree(t, g) < size) {\n    edge = findMinSlackEdge(t, g);\n    delta = t.hasNode(edge.v) ? slack(g, edge) : -slack(g, edge);\n    shiftRanks(t, g, delta);\n  }\n\n  return t;\n}\n\n/*\n * Finds a maximal tree of tight edges and returns the number of nodes in the\n * tree.\n */\nfunction tightTree(t, g) {\n  function dfs(v) {\n    _.forEach(g.nodeEdges(v), function(e) {\n      var edgeV = e.v,\n        w = (v === edgeV) ? e.w : edgeV;\n      if (!t.hasNode(w) && !slack(g, e)) {\n        t.setNode(w, {});\n        t.setEdge(v, w, {});\n        dfs(w);\n      }\n    });\n  }\n\n  _.forEach(t.nodes(), dfs);\n  return t.nodeCount();\n}\n\n/*\n * Finds the edge with the smallest slack that is incident on tree and returns\n * it.\n */\nfunction findMinSlackEdge(t, g) {\n  return _.minBy(g.edges(), function(e) {\n    if (t.hasNode(e.v) !== t.hasNode(e.w)) {\n      return slack(g, e);\n    }\n  });\n}\n\nfunction shiftRanks(t, g, delta) {\n  _.forEach(t.nodes(), function(v) {\n    g.node(v).rank += delta;\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/rank/feasible-tree.js?");

/***/ }),

/***/ 95476:
/*!**************************************************!*\
  !*** ../../node_modules/dagre/lib/rank/index.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar rankUtil = __webpack_require__(/*! ./util */ 6784);\nvar longestPath = rankUtil.longestPath;\nvar feasibleTree = __webpack_require__(/*! ./feasible-tree */ 18060);\nvar networkSimplex = __webpack_require__(/*! ./network-simplex */ 31296);\n\nmodule.exports = rank;\n\n/*\n * Assigns a rank to each node in the input graph that respects the \"minlen\"\n * constraint specified on edges between nodes.\n *\n * This basic structure is derived from Gansner, et al., \"A Technique for\n * Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n *    1. Graph must be a connected DAG\n *    2. Graph nodes must be objects\n *    3. Graph edges must have \"weight\" and \"minlen\" attributes\n *\n * Post-conditions:\n *\n *    1. Graph nodes will have a \"rank\" attribute based on the results of the\n *       algorithm. Ranks can start at any index (including negative), we'll\n *       fix them up later.\n */\nfunction rank(g) {\n  switch(g.graph().ranker) {\n  case \"network-simplex\": networkSimplexRanker(g); break;\n  case \"tight-tree\": tightTreeRanker(g); break;\n  case \"longest-path\": longestPathRanker(g); break;\n  default: networkSimplexRanker(g);\n  }\n}\n\n// A fast and simple ranker, but results are far from optimal.\nvar longestPathRanker = longestPath;\n\nfunction tightTreeRanker(g) {\n  longestPath(g);\n  feasibleTree(g);\n}\n\nfunction networkSimplexRanker(g) {\n  networkSimplex(g);\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/rank/index.js?");

/***/ }),

/***/ 31296:
/*!************************************************************!*\
  !*** ../../node_modules/dagre/lib/rank/network-simplex.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\nvar feasibleTree = __webpack_require__(/*! ./feasible-tree */ 18060);\nvar slack = (__webpack_require__(/*! ./util */ 6784).slack);\nvar initRank = (__webpack_require__(/*! ./util */ 6784).longestPath);\nvar preorder = (__webpack_require__(/*! ../graphlib */ 19648).alg).preorder;\nvar postorder = (__webpack_require__(/*! ../graphlib */ 19648).alg).postorder;\nvar simplify = (__webpack_require__(/*! ../util */ 48456).simplify);\n\nmodule.exports = networkSimplex;\n\n// Expose some internals for testing purposes\nnetworkSimplex.initLowLimValues = initLowLimValues;\nnetworkSimplex.initCutValues = initCutValues;\nnetworkSimplex.calcCutValue = calcCutValue;\nnetworkSimplex.leaveEdge = leaveEdge;\nnetworkSimplex.enterEdge = enterEdge;\nnetworkSimplex.exchangeEdges = exchangeEdges;\n\n/*\n * The network simplex algorithm assigns ranks to each node in the input graph\n * and iteratively improves the ranking to reduce the length of edges.\n *\n * Preconditions:\n *\n *    1. The input graph must be a DAG.\n *    2. All nodes in the graph must have an object value.\n *    3. All edges in the graph must have \"minlen\" and \"weight\" attributes.\n *\n * Postconditions:\n *\n *    1. All nodes in the graph will have an assigned \"rank\" attribute that has\n *       been optimized by the network simplex algorithm. Ranks start at 0.\n *\n *\n * A rough sketch of the algorithm is as follows:\n *\n *    1. Assign initial ranks to each node. We use the longest path algorithm,\n *       which assigns ranks to the lowest position possible. In general this\n *       leads to very wide bottom ranks and unnecessarily long edges.\n *    2. Construct a feasible tight tree. A tight tree is one such that all\n *       edges in the tree have no slack (difference between length of edge\n *       and minlen for the edge). This by itself greatly improves the assigned\n *       rankings by shorting edges.\n *    3. Iteratively find edges that have negative cut values. Generally a\n *       negative cut value indicates that the edge could be removed and a new\n *       tree edge could be added to produce a more compact graph.\n *\n * Much of the algorithms here are derived from Gansner, et al., \"A Technique\n * for Drawing Directed Graphs.\" The structure of the file roughly follows the\n * structure of the overall algorithm.\n */\nfunction networkSimplex(g) {\n  g = simplify(g);\n  initRank(g);\n  var t = feasibleTree(g);\n  initLowLimValues(t);\n  initCutValues(t, g);\n\n  var e, f;\n  while ((e = leaveEdge(t))) {\n    f = enterEdge(t, g, e);\n    exchangeEdges(t, g, e, f);\n  }\n}\n\n/*\n * Initializes cut values for all edges in the tree.\n */\nfunction initCutValues(t, g) {\n  var vs = postorder(t, t.nodes());\n  vs = vs.slice(0, vs.length - 1);\n  _.forEach(vs, function(v) {\n    assignCutValue(t, g, v);\n  });\n}\n\nfunction assignCutValue(t, g, child) {\n  var childLab = t.node(child);\n  var parent = childLab.parent;\n  t.edge(child, parent).cutvalue = calcCutValue(t, g, child);\n}\n\n/*\n * Given the tight tree, its graph, and a child in the graph calculate and\n * return the cut value for the edge between the child and its parent.\n */\nfunction calcCutValue(t, g, child) {\n  var childLab = t.node(child);\n  var parent = childLab.parent;\n  // True if the child is on the tail end of the edge in the directed graph\n  var childIsTail = true;\n  // The graph's view of the tree edge we're inspecting\n  var graphEdge = g.edge(child, parent);\n  // The accumulated cut value for the edge between this node and its parent\n  var cutValue = 0;\n\n  if (!graphEdge) {\n    childIsTail = false;\n    graphEdge = g.edge(parent, child);\n  }\n\n  cutValue = graphEdge.weight;\n\n  _.forEach(g.nodeEdges(child), function(e) {\n    var isOutEdge = e.v === child,\n      other = isOutEdge ? e.w : e.v;\n\n    if (other !== parent) {\n      var pointsToHead = isOutEdge === childIsTail,\n        otherWeight = g.edge(e).weight;\n\n      cutValue += pointsToHead ? otherWeight : -otherWeight;\n      if (isTreeEdge(t, child, other)) {\n        var otherCutValue = t.edge(child, other).cutvalue;\n        cutValue += pointsToHead ? -otherCutValue : otherCutValue;\n      }\n    }\n  });\n\n  return cutValue;\n}\n\nfunction initLowLimValues(tree, root) {\n  if (arguments.length < 2) {\n    root = tree.nodes()[0];\n  }\n  dfsAssignLowLim(tree, {}, 1, root);\n}\n\nfunction dfsAssignLowLim(tree, visited, nextLim, v, parent) {\n  var low = nextLim;\n  var label = tree.node(v);\n\n  visited[v] = true;\n  _.forEach(tree.neighbors(v), function(w) {\n    if (!_.has(visited, w)) {\n      nextLim = dfsAssignLowLim(tree, visited, nextLim, w, v);\n    }\n  });\n\n  label.low = low;\n  label.lim = nextLim++;\n  if (parent) {\n    label.parent = parent;\n  } else {\n    // TODO should be able to remove this when we incrementally update low lim\n    delete label.parent;\n  }\n\n  return nextLim;\n}\n\nfunction leaveEdge(tree) {\n  return _.find(tree.edges(), function(e) {\n    return tree.edge(e).cutvalue < 0;\n  });\n}\n\nfunction enterEdge(t, g, edge) {\n  var v = edge.v;\n  var w = edge.w;\n\n  // For the rest of this function we assume that v is the tail and w is the\n  // head, so if we don't have this edge in the graph we should flip it to\n  // match the correct orientation.\n  if (!g.hasEdge(v, w)) {\n    v = edge.w;\n    w = edge.v;\n  }\n\n  var vLabel = t.node(v);\n  var wLabel = t.node(w);\n  var tailLabel = vLabel;\n  var flip = false;\n\n  // If the root is in the tail of the edge then we need to flip the logic that\n  // checks for the head and tail nodes in the candidates function below.\n  if (vLabel.lim > wLabel.lim) {\n    tailLabel = wLabel;\n    flip = true;\n  }\n\n  var candidates = _.filter(g.edges(), function(edge) {\n    return flip === isDescendant(t, t.node(edge.v), tailLabel) &&\n           flip !== isDescendant(t, t.node(edge.w), tailLabel);\n  });\n\n  return _.minBy(candidates, function(edge) { return slack(g, edge); });\n}\n\nfunction exchangeEdges(t, g, e, f) {\n  var v = e.v;\n  var w = e.w;\n  t.removeEdge(v, w);\n  t.setEdge(f.v, f.w, {});\n  initLowLimValues(t);\n  initCutValues(t, g);\n  updateRanks(t, g);\n}\n\nfunction updateRanks(t, g) {\n  var root = _.find(t.nodes(), function(v) { return !g.node(v).parent; });\n  var vs = preorder(t, root);\n  vs = vs.slice(1);\n  _.forEach(vs, function(v) {\n    var parent = t.node(v).parent,\n      edge = g.edge(v, parent),\n      flipped = false;\n\n    if (!edge) {\n      edge = g.edge(parent, v);\n      flipped = true;\n    }\n\n    g.node(v).rank = g.node(parent).rank + (flipped ? edge.minlen : -edge.minlen);\n  });\n}\n\n/*\n * Returns true if the edge is in the tree.\n */\nfunction isTreeEdge(tree, u, v) {\n  return tree.hasEdge(u, v);\n}\n\n/*\n * Returns true if the specified node is descendant of the root node per the\n * assigned low and lim attributes in the tree.\n */\nfunction isDescendant(tree, vLabel, rootLabel) {\n  return rootLabel.low <= vLabel.lim && vLabel.lim <= rootLabel.lim;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/rank/network-simplex.js?");

/***/ }),

/***/ 6784:
/*!*************************************************!*\
  !*** ../../node_modules/dagre/lib/rank/util.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ../lodash */ 95464);\n\nmodule.exports = {\n  longestPath: longestPath,\n  slack: slack\n};\n\n/*\n * Initializes ranks for the input graph using the longest path algorithm. This\n * algorithm scales well and is fast in practice, it yields rather poor\n * solutions. Nodes are pushed to the lowest layer possible, leaving the bottom\n * ranks wide and leaving edges longer than necessary. However, due to its\n * speed, this algorithm is good for getting an initial ranking that can be fed\n * into other algorithms.\n *\n * This algorithm does not normalize layers because it will be used by other\n * algorithms in most cases. If using this algorithm directly, be sure to\n * run normalize at the end.\n *\n * Pre-conditions:\n *\n *    1. Input graph is a DAG.\n *    2. Input graph node labels can be assigned properties.\n *\n * Post-conditions:\n *\n *    1. Each node will be assign an (unnormalized) \"rank\" property.\n */\nfunction longestPath(g) {\n  var visited = {};\n\n  function dfs(v) {\n    var label = g.node(v);\n    if (_.has(visited, v)) {\n      return label.rank;\n    }\n    visited[v] = true;\n\n    var rank = _.min(_.map(g.outEdges(v), function(e) {\n      return dfs(e.w) - g.edge(e).minlen;\n    }));\n\n    if (rank === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3\n        rank === undefined || // return value of _.map([]) for Lodash 4\n        rank === null) { // return value of _.map([null])\n      rank = 0;\n    }\n\n    return (label.rank = rank);\n  }\n\n  _.forEach(g.sources(), dfs);\n}\n\n/*\n * Returns the amount of slack for the given edge. The slack is defined as the\n * difference between the length of the edge and its minimum length.\n */\nfunction slack(g, e) {\n  return g.node(e.w).rank - g.node(e.v).rank - g.edge(e).minlen;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/rank/util.js?");

/***/ }),

/***/ 48456:
/*!********************************************!*\
  !*** ../../node_modules/dagre/lib/util.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("/* eslint \"no-console\": off */\n\n\n\nvar _ = __webpack_require__(/*! ./lodash */ 95464);\nvar Graph = (__webpack_require__(/*! ./graphlib */ 19648).Graph);\n\nmodule.exports = {\n  addDummyNode: addDummyNode,\n  simplify: simplify,\n  asNonCompoundGraph: asNonCompoundGraph,\n  successorWeights: successorWeights,\n  predecessorWeights: predecessorWeights,\n  intersectRect: intersectRect,\n  buildLayerMatrix: buildLayerMatrix,\n  normalizeRanks: normalizeRanks,\n  removeEmptyRanks: removeEmptyRanks,\n  addBorderNode: addBorderNode,\n  maxRank: maxRank,\n  partition: partition,\n  time: time,\n  notime: notime\n};\n\n/*\n * Adds a dummy node to the graph and return v.\n */\nfunction addDummyNode(g, type, attrs, name) {\n  var v;\n  do {\n    v = _.uniqueId(name);\n  } while (g.hasNode(v));\n\n  attrs.dummy = type;\n  g.setNode(v, attrs);\n  return v;\n}\n\n/*\n * Returns a new graph with only simple edges. Handles aggregation of data\n * associated with multi-edges.\n */\nfunction simplify(g) {\n  var simplified = new Graph().setGraph(g.graph());\n  _.forEach(g.nodes(), function(v) { simplified.setNode(v, g.node(v)); });\n  _.forEach(g.edges(), function(e) {\n    var simpleLabel = simplified.edge(e.v, e.w) || { weight: 0, minlen: 1 };\n    var label = g.edge(e);\n    simplified.setEdge(e.v, e.w, {\n      weight: simpleLabel.weight + label.weight,\n      minlen: Math.max(simpleLabel.minlen, label.minlen)\n    });\n  });\n  return simplified;\n}\n\nfunction asNonCompoundGraph(g) {\n  var simplified = new Graph({ multigraph: g.isMultigraph() }).setGraph(g.graph());\n  _.forEach(g.nodes(), function(v) {\n    if (!g.children(v).length) {\n      simplified.setNode(v, g.node(v));\n    }\n  });\n  _.forEach(g.edges(), function(e) {\n    simplified.setEdge(e, g.edge(e));\n  });\n  return simplified;\n}\n\nfunction successorWeights(g) {\n  var weightMap = _.map(g.nodes(), function(v) {\n    var sucs = {};\n    _.forEach(g.outEdges(v), function(e) {\n      sucs[e.w] = (sucs[e.w] || 0) + g.edge(e).weight;\n    });\n    return sucs;\n  });\n  return _.zipObject(g.nodes(), weightMap);\n}\n\nfunction predecessorWeights(g) {\n  var weightMap = _.map(g.nodes(), function(v) {\n    var preds = {};\n    _.forEach(g.inEdges(v), function(e) {\n      preds[e.v] = (preds[e.v] || 0) + g.edge(e).weight;\n    });\n    return preds;\n  });\n  return _.zipObject(g.nodes(), weightMap);\n}\n\n/*\n * Finds where a line starting at point ({x, y}) would intersect a rectangle\n * ({x, y, width, height}) if it were pointing at the rectangle's center.\n */\nfunction intersectRect(rect, point) {\n  var x = rect.x;\n  var y = rect.y;\n\n  // Rectangle intersection algorithm from:\n  // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n  var dx = point.x - x;\n  var dy = point.y - y;\n  var w = rect.width / 2;\n  var h = rect.height / 2;\n\n  if (!dx && !dy) {\n    throw new Error(\"Not possible to find intersection inside of the rectangle\");\n  }\n\n  var sx, sy;\n  if (Math.abs(dy) * w > Math.abs(dx) * h) {\n    // Intersection is top or bottom of rect.\n    if (dy < 0) {\n      h = -h;\n    }\n    sx = h * dx / dy;\n    sy = h;\n  } else {\n    // Intersection is left or right of rect.\n    if (dx < 0) {\n      w = -w;\n    }\n    sx = w;\n    sy = w * dy / dx;\n  }\n\n  return { x: x + sx, y: y + sy };\n}\n\n/*\n * Given a DAG with each node assigned \"rank\" and \"order\" properties, this\n * function will produce a matrix with the ids of each node.\n */\nfunction buildLayerMatrix(g) {\n  var layering = _.map(_.range(maxRank(g) + 1), function() { return []; });\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    var rank = node.rank;\n    if (!_.isUndefined(rank)) {\n      layering[rank][node.order] = v;\n    }\n  });\n  return layering;\n}\n\n/*\n * Adjusts the ranks for all nodes in the graph such that all nodes v have\n * rank(v) >= 0 and at least one node w has rank(w) = 0.\n */\nfunction normalizeRanks(g) {\n  var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n  _.forEach(g.nodes(), function(v) {\n    var node = g.node(v);\n    if (_.has(node, \"rank\")) {\n      node.rank -= min;\n    }\n  });\n}\n\nfunction removeEmptyRanks(g) {\n  // Ranks may not start at 0, so we need to offset them\n  var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n\n  var layers = [];\n  _.forEach(g.nodes(), function(v) {\n    var rank = g.node(v).rank - offset;\n    if (!layers[rank]) {\n      layers[rank] = [];\n    }\n    layers[rank].push(v);\n  });\n\n  var delta = 0;\n  var nodeRankFactor = g.graph().nodeRankFactor;\n  _.forEach(layers, function(vs, i) {\n    if (_.isUndefined(vs) && i % nodeRankFactor !== 0) {\n      --delta;\n    } else if (delta) {\n      _.forEach(vs, function(v) { g.node(v).rank += delta; });\n    }\n  });\n}\n\nfunction addBorderNode(g, prefix, rank, order) {\n  var node = {\n    width: 0,\n    height: 0\n  };\n  if (arguments.length >= 4) {\n    node.rank = rank;\n    node.order = order;\n  }\n  return addDummyNode(g, \"border\", node, prefix);\n}\n\nfunction maxRank(g) {\n  return _.max(_.map(g.nodes(), function(v) {\n    var rank = g.node(v).rank;\n    if (!_.isUndefined(rank)) {\n      return rank;\n    }\n  }));\n}\n\n/*\n * Partition a collection into two groups: `lhs` and `rhs`. If the supplied\n * function returns true for an entry it goes into `lhs`. Otherwise it goes\n * into `rhs.\n */\nfunction partition(collection, fn) {\n  var result = { lhs: [], rhs: [] };\n  _.forEach(collection, function(value) {\n    if (fn(value)) {\n      result.lhs.push(value);\n    } else {\n      result.rhs.push(value);\n    }\n  });\n  return result;\n}\n\n/*\n * Returns a new function that wraps `fn` with a timer. The wrapper logs the\n * time it takes to execute the function.\n */\nfunction time(name, fn) {\n  var start = _.now();\n  try {\n    return fn();\n  } finally {\n    console.log(name + \" time: \" + (_.now() - start) + \"ms\");\n  }\n}\n\nfunction notime(name, fn) {\n  return fn();\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/util.js?");

/***/ }),

/***/ 94428:
/*!***********************************************!*\
  !*** ../../node_modules/dagre/lib/version.js ***!
  \***********************************************/
/***/ (function(module) {

eval("module.exports = \"0.8.5\";\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dagre/lib/version.js?");

/***/ }),

/***/ 46595:
/*!***************************************************!*\
  !*** ../../node_modules/dompurify/dist/purify.js ***!
  \***************************************************/
/***/ (function(module) {

eval("/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */\n\n(function (global, factory) {\n   true ? module.exports = factory() :\n  0;\n})(this, (function () { 'use strict';\n\n  function _typeof(obj) {\n    \"@babel/helpers - typeof\";\n\n    return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n      return typeof obj;\n    } : function (obj) {\n      return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n    }, _typeof(obj);\n  }\n\n  function _setPrototypeOf(o, p) {\n    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n      o.__proto__ = p;\n      return o;\n    };\n\n    return _setPrototypeOf(o, p);\n  }\n\n  function _isNativeReflectConstruct() {\n    if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n    if (Reflect.construct.sham) return false;\n    if (typeof Proxy === \"function\") return true;\n\n    try {\n      Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n\n  function _construct(Parent, args, Class) {\n    if (_isNativeReflectConstruct()) {\n      _construct = Reflect.construct;\n    } else {\n      _construct = function _construct(Parent, args, Class) {\n        var a = [null];\n        a.push.apply(a, args);\n        var Constructor = Function.bind.apply(Parent, a);\n        var instance = new Constructor();\n        if (Class) _setPrototypeOf(instance, Class.prototype);\n        return instance;\n      };\n    }\n\n    return _construct.apply(null, arguments);\n  }\n\n  function _toConsumableArray(arr) {\n    return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n  }\n\n  function _arrayWithoutHoles(arr) {\n    if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n  }\n\n  function _iterableToArray(iter) {\n    if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n  }\n\n  function _unsupportedIterableToArray(o, minLen) {\n    if (!o) return;\n    if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n    var n = Object.prototype.toString.call(o).slice(8, -1);\n    if (n === \"Object\" && o.constructor) n = o.constructor.name;\n    if (n === \"Map\" || n === \"Set\") return Array.from(o);\n    if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n  }\n\n  function _arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n\n    for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n\n    return arr2;\n  }\n\n  function _nonIterableSpread() {\n    throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n  }\n\n  var hasOwnProperty = Object.hasOwnProperty,\n      setPrototypeOf = Object.setPrototypeOf,\n      isFrozen = Object.isFrozen,\n      getPrototypeOf = Object.getPrototypeOf,\n      getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n  var freeze = Object.freeze,\n      seal = Object.seal,\n      create = Object.create; // eslint-disable-line import/no-mutable-exports\n\n  var _ref = typeof Reflect !== 'undefined' && Reflect,\n      apply = _ref.apply,\n      construct = _ref.construct;\n\n  if (!apply) {\n    apply = function apply(fun, thisValue, args) {\n      return fun.apply(thisValue, args);\n    };\n  }\n\n  if (!freeze) {\n    freeze = function freeze(x) {\n      return x;\n    };\n  }\n\n  if (!seal) {\n    seal = function seal(x) {\n      return x;\n    };\n  }\n\n  if (!construct) {\n    construct = function construct(Func, args) {\n      return _construct(Func, _toConsumableArray(args));\n    };\n  }\n\n  var arrayForEach = unapply(Array.prototype.forEach);\n  var arrayPop = unapply(Array.prototype.pop);\n  var arrayPush = unapply(Array.prototype.push);\n  var stringToLowerCase = unapply(String.prototype.toLowerCase);\n  var stringToString = unapply(String.prototype.toString);\n  var stringMatch = unapply(String.prototype.match);\n  var stringReplace = unapply(String.prototype.replace);\n  var stringIndexOf = unapply(String.prototype.indexOf);\n  var stringTrim = unapply(String.prototype.trim);\n  var regExpTest = unapply(RegExp.prototype.test);\n  var typeErrorCreate = unconstruct(TypeError);\n  function unapply(func) {\n    return function (thisArg) {\n      for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n        args[_key - 1] = arguments[_key];\n      }\n\n      return apply(func, thisArg, args);\n    };\n  }\n  function unconstruct(func) {\n    return function () {\n      for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n        args[_key2] = arguments[_key2];\n      }\n\n      return construct(func, args);\n    };\n  }\n  /* Add properties to a lookup table */\n\n  function addToSet(set, array, transformCaseFunc) {\n    var _transformCaseFunc;\n\n    transformCaseFunc = (_transformCaseFunc = transformCaseFunc) !== null && _transformCaseFunc !== void 0 ? _transformCaseFunc : stringToLowerCase;\n\n    if (setPrototypeOf) {\n      // Make 'in' and truthy checks like Boolean(set.constructor)\n      // independent of any properties defined on Object.prototype.\n      // Prevent prototype setters from intercepting set as a this value.\n      setPrototypeOf(set, null);\n    }\n\n    var l = array.length;\n\n    while (l--) {\n      var element = array[l];\n\n      if (typeof element === 'string') {\n        var lcElement = transformCaseFunc(element);\n\n        if (lcElement !== element) {\n          // Config presets (e.g. tags.js, attrs.js) are immutable.\n          if (!isFrozen(array)) {\n            array[l] = lcElement;\n          }\n\n          element = lcElement;\n        }\n      }\n\n      set[element] = true;\n    }\n\n    return set;\n  }\n  /* Shallow clone an object */\n\n  function clone(object) {\n    var newObject = create(null);\n    var property;\n\n    for (property in object) {\n      if (apply(hasOwnProperty, object, [property]) === true) {\n        newObject[property] = object[property];\n      }\n    }\n\n    return newObject;\n  }\n  /* IE10 doesn't support __lookupGetter__ so lets'\n   * simulate it. It also automatically checks\n   * if the prop is function or getter and behaves\n   * accordingly. */\n\n  function lookupGetter(object, prop) {\n    while (object !== null) {\n      var desc = getOwnPropertyDescriptor(object, prop);\n\n      if (desc) {\n        if (desc.get) {\n          return unapply(desc.get);\n        }\n\n        if (typeof desc.value === 'function') {\n          return unapply(desc.value);\n        }\n      }\n\n      object = getPrototypeOf(object);\n    }\n\n    function fallbackValue(element) {\n      console.warn('fallback value for', element);\n      return null;\n    }\n\n    return fallbackValue;\n  }\n\n  var html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']); // SVG\n\n  var svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);\n  var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']); // List of SVG elements that are disallowed by default.\n  // We still need to know them so that we can do namespace\n  // checks properly in case one wants to add them to\n  // allow-list.\n\n  var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);\n  var mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover']); // Similarly to SVG, we want to know all MathML elements,\n  // even those that we disallow by default.\n\n  var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);\n  var text = freeze(['#text']);\n\n  var html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'xmlns', 'slot']);\n  var svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);\n  var mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);\n  var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);\n\n  var MUSTACHE_EXPR = seal(/\\{\\{[\\w\\W]*|[\\w\\W]*\\}\\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode\n\n  var ERB_EXPR = seal(/<%[\\w\\W]*|[\\w\\W]*%>/gm);\n  var TMPLIT_EXPR = seal(/\\${[\\w\\W]*}/gm);\n  var DATA_ATTR = seal(/^data-[\\-\\w.\\u00B7-\\uFFFF]/); // eslint-disable-line no-useless-escape\n\n  var ARIA_ATTR = seal(/^aria-[\\-\\w]+$/); // eslint-disable-line no-useless-escape\n\n  var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\\-]+(?:[^a-z+.\\-:]|$))/i // eslint-disable-line no-useless-escape\n  );\n  var IS_SCRIPT_OR_DATA = seal(/^(?:\\w+script|data):/i);\n  var ATTR_WHITESPACE = seal(/[\\u0000-\\u0020\\u00A0\\u1680\\u180E\\u2000-\\u2029\\u205F\\u3000]/g // eslint-disable-line no-control-regex\n  );\n  var DOCTYPE_NAME = seal(/^html$/i);\n\n  var getGlobal = function getGlobal() {\n    return typeof window === 'undefined' ? null : window;\n  };\n  /**\n   * Creates a no-op policy for internal use only.\n   * Don't export this function outside this module!\n   * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.\n   * @param {Document} document The document object (to determine policy name suffix)\n   * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types\n   * are not supported).\n   */\n\n\n  var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {\n    if (_typeof(trustedTypes) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {\n      return null;\n    } // Allow the callers to control the unique policy name\n    // by adding a data-tt-policy-suffix to the script element with the DOMPurify.\n    // Policy creation with duplicate names throws in Trusted Types.\n\n\n    var suffix = null;\n    var ATTR_NAME = 'data-tt-policy-suffix';\n\n    if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {\n      suffix = document.currentScript.getAttribute(ATTR_NAME);\n    }\n\n    var policyName = 'dompurify' + (suffix ? '#' + suffix : '');\n\n    try {\n      return trustedTypes.createPolicy(policyName, {\n        createHTML: function createHTML(html) {\n          return html;\n        },\n        createScriptURL: function createScriptURL(scriptUrl) {\n          return scriptUrl;\n        }\n      });\n    } catch (_) {\n      // Policy creation failed (most likely another DOMPurify script has\n      // already run). Skip creating the policy, as this will only cause errors\n      // if TT are enforced.\n      console.warn('TrustedTypes policy ' + policyName + ' could not be created.');\n      return null;\n    }\n  };\n\n  function createDOMPurify() {\n    var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();\n\n    var DOMPurify = function DOMPurify(root) {\n      return createDOMPurify(root);\n    };\n    /**\n     * Version label, exposed for easier checks\n     * if DOMPurify is up to date or not\n     */\n\n\n    DOMPurify.version = '2.4.7';\n    /**\n     * Array of elements that DOMPurify removed during sanitation.\n     * Empty if nothing was removed.\n     */\n\n    DOMPurify.removed = [];\n\n    if (!window || !window.document || window.document.nodeType !== 9) {\n      // Not running in a browser, provide a factory function\n      // so that you can pass your own Window\n      DOMPurify.isSupported = false;\n      return DOMPurify;\n    }\n\n    var originalDocument = window.document;\n    var document = window.document;\n    var DocumentFragment = window.DocumentFragment,\n        HTMLTemplateElement = window.HTMLTemplateElement,\n        Node = window.Node,\n        Element = window.Element,\n        NodeFilter = window.NodeFilter,\n        _window$NamedNodeMap = window.NamedNodeMap,\n        NamedNodeMap = _window$NamedNodeMap === void 0 ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,\n        HTMLFormElement = window.HTMLFormElement,\n        DOMParser = window.DOMParser,\n        trustedTypes = window.trustedTypes;\n    var ElementPrototype = Element.prototype;\n    var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');\n    var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');\n    var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');\n    var getParentNode = lookupGetter(ElementPrototype, 'parentNode'); // As per issue #47, the web-components registry is inherited by a\n    // new document created via createHTMLDocument. As per the spec\n    // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)\n    // a new empty registry is used when creating a template contents owner\n    // document, so we use that as our parent document to ensure nothing\n    // is inherited.\n\n    if (typeof HTMLTemplateElement === 'function') {\n      var template = document.createElement('template');\n\n      if (template.content && template.content.ownerDocument) {\n        document = template.content.ownerDocument;\n      }\n    }\n\n    var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);\n\n    var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';\n    var _document = document,\n        implementation = _document.implementation,\n        createNodeIterator = _document.createNodeIterator,\n        createDocumentFragment = _document.createDocumentFragment,\n        getElementsByTagName = _document.getElementsByTagName;\n    var importNode = originalDocument.importNode;\n    var documentMode = {};\n\n    try {\n      documentMode = clone(document).documentMode ? document.documentMode : {};\n    } catch (_) {}\n\n    var hooks = {};\n    /**\n     * Expose whether this browser supports running the full DOMPurify.\n     */\n\n    DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined && documentMode !== 9;\n    var MUSTACHE_EXPR$1 = MUSTACHE_EXPR,\n        ERB_EXPR$1 = ERB_EXPR,\n        TMPLIT_EXPR$1 = TMPLIT_EXPR,\n        DATA_ATTR$1 = DATA_ATTR,\n        ARIA_ATTR$1 = ARIA_ATTR,\n        IS_SCRIPT_OR_DATA$1 = IS_SCRIPT_OR_DATA,\n        ATTR_WHITESPACE$1 = ATTR_WHITESPACE;\n    var IS_ALLOWED_URI$1 = IS_ALLOWED_URI;\n    /**\n     * We consider the elements and attributes below to be safe. Ideally\n     * don't add any new ones but feel free to remove unwanted ones.\n     */\n\n    /* allowed element names */\n\n    var ALLOWED_TAGS = null;\n    var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray(html$1), _toConsumableArray(svg$1), _toConsumableArray(svgFilters), _toConsumableArray(mathMl$1), _toConsumableArray(text)));\n    /* Allowed attribute names */\n\n    var ALLOWED_ATTR = null;\n    var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray(html), _toConsumableArray(svg), _toConsumableArray(mathMl), _toConsumableArray(xml)));\n    /*\n     * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.\n     * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)\n     * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)\n     * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.\n     */\n\n    var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {\n      tagNameCheck: {\n        writable: true,\n        configurable: false,\n        enumerable: true,\n        value: null\n      },\n      attributeNameCheck: {\n        writable: true,\n        configurable: false,\n        enumerable: true,\n        value: null\n      },\n      allowCustomizedBuiltInElements: {\n        writable: true,\n        configurable: false,\n        enumerable: true,\n        value: false\n      }\n    }));\n    /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */\n\n    var FORBID_TAGS = null;\n    /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */\n\n    var FORBID_ATTR = null;\n    /* Decide if ARIA attributes are okay */\n\n    var ALLOW_ARIA_ATTR = true;\n    /* Decide if custom data attributes are okay */\n\n    var ALLOW_DATA_ATTR = true;\n    /* Decide if unknown protocols are okay */\n\n    var ALLOW_UNKNOWN_PROTOCOLS = false;\n    /* Decide if self-closing tags in attributes are allowed.\n     * Usually removed due to a mXSS issue in jQuery 3.0 */\n\n    var ALLOW_SELF_CLOSE_IN_ATTR = true;\n    /* Output should be safe for common template engines.\n     * This means, DOMPurify removes data attributes, mustaches and ERB\n     */\n\n    var SAFE_FOR_TEMPLATES = false;\n    /* Decide if document with <html>... should be returned */\n\n    var WHOLE_DOCUMENT = false;\n    /* Track whether config is already set on this instance of DOMPurify. */\n\n    var SET_CONFIG = false;\n    /* Decide if all elements (e.g. style, script) must be children of\n     * document.body. By default, browsers might move them to document.head */\n\n    var FORCE_BODY = false;\n    /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html\n     * string (or a TrustedHTML object if Trusted Types are supported).\n     * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead\n     */\n\n    var RETURN_DOM = false;\n    /* Decide if a DOM `DocumentFragment` should be returned, instead of a html\n     * string  (or a TrustedHTML object if Trusted Types are supported) */\n\n    var RETURN_DOM_FRAGMENT = false;\n    /* Try to return a Trusted Type object instead of a string, return a string in\n     * case Trusted Types are not supported  */\n\n    var RETURN_TRUSTED_TYPE = false;\n    /* Output should be free from DOM clobbering attacks?\n     * This sanitizes markups named with colliding, clobberable built-in DOM APIs.\n     */\n\n    var SANITIZE_DOM = true;\n    /* Achieve full DOM Clobbering protection by isolating the namespace of named\n     * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.\n     *\n     * HTML/DOM spec rules that enable DOM Clobbering:\n     *   - Named Access on Window (§7.3.3)\n     *   - DOM Tree Accessors (§3.1.5)\n     *   - Form Element Parent-Child Relations (§4.10.3)\n     *   - Iframe srcdoc / Nested WindowProxies (§4.8.5)\n     *   - HTMLCollection (§4.2.10.2)\n     *\n     * Namespace isolation is implemented by prefixing `id` and `name` attributes\n     * with a constant string, i.e., `user-content-`\n     */\n\n    var SANITIZE_NAMED_PROPS = false;\n    var SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';\n    /* Keep element content when removing element? */\n\n    var KEEP_CONTENT = true;\n    /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead\n     * of importing it into a new Document and returning a sanitized copy */\n\n    var IN_PLACE = false;\n    /* Allow usage of profiles like html, svg and mathMl */\n\n    var USE_PROFILES = {};\n    /* Tags to ignore content of when KEEP_CONTENT is true */\n\n    var FORBID_CONTENTS = null;\n    var DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);\n    /* Tags that are safe for data: URIs */\n\n    var DATA_URI_TAGS = null;\n    var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);\n    /* Attributes safe for values like \"javascript:\" */\n\n    var URI_SAFE_ATTRIBUTES = null;\n    var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);\n    var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';\n    var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';\n    var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';\n    /* Document namespace */\n\n    var NAMESPACE = HTML_NAMESPACE;\n    var IS_EMPTY_INPUT = false;\n    /* Allowed XHTML+XML namespaces */\n\n    var ALLOWED_NAMESPACES = null;\n    var DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);\n    /* Parsing of strict XHTML documents */\n\n    var PARSER_MEDIA_TYPE;\n    var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];\n    var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';\n    var transformCaseFunc;\n    /* Keep a reference to config to pass to hooks */\n\n    var CONFIG = null;\n    /* Ideally, do not touch anything below this line */\n\n    /* ______________________________________________ */\n\n    var formElement = document.createElement('form');\n\n    var isRegexOrFunction = function isRegexOrFunction(testValue) {\n      return testValue instanceof RegExp || testValue instanceof Function;\n    };\n    /**\n     * _parseConfig\n     *\n     * @param  {Object} cfg optional config literal\n     */\n    // eslint-disable-next-line complexity\n\n\n    var _parseConfig = function _parseConfig(cfg) {\n      if (CONFIG && CONFIG === cfg) {\n        return;\n      }\n      /* Shield configuration object from tampering */\n\n\n      if (!cfg || _typeof(cfg) !== 'object') {\n        cfg = {};\n      }\n      /* Shield configuration object from prototype pollution */\n\n\n      cfg = clone(cfg);\n      PARSER_MEDIA_TYPE = // eslint-disable-next-line unicorn/prefer-includes\n      SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE; // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.\n\n      transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;\n      /* Set configuration parameters */\n\n      ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;\n      ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;\n      ALLOWED_NAMESPACES = 'ALLOWED_NAMESPACES' in cfg ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;\n      URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), // eslint-disable-line indent\n      cfg.ADD_URI_SAFE_ATTR, // eslint-disable-line indent\n      transformCaseFunc // eslint-disable-line indent\n      ) // eslint-disable-line indent\n      : DEFAULT_URI_SAFE_ATTRIBUTES;\n      DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), // eslint-disable-line indent\n      cfg.ADD_DATA_URI_TAGS, // eslint-disable-line indent\n      transformCaseFunc // eslint-disable-line indent\n      ) // eslint-disable-line indent\n      : DEFAULT_DATA_URI_TAGS;\n      FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;\n      FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};\n      FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};\n      USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;\n      ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true\n\n      ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true\n\n      ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false\n\n      ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true\n\n      SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false\n\n      WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false\n\n      RETURN_DOM = cfg.RETURN_DOM || false; // Default false\n\n      RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false\n\n      RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false\n\n      FORCE_BODY = cfg.FORCE_BODY || false; // Default false\n\n      SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true\n\n      SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false\n\n      KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true\n\n      IN_PLACE = cfg.IN_PLACE || false; // Default false\n\n      IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$1;\n      NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;\n      CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};\n\n      if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {\n        CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;\n      }\n\n      if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {\n        CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;\n      }\n\n      if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {\n        CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;\n      }\n\n      if (SAFE_FOR_TEMPLATES) {\n        ALLOW_DATA_ATTR = false;\n      }\n\n      if (RETURN_DOM_FRAGMENT) {\n        RETURN_DOM = true;\n      }\n      /* Parse profile info */\n\n\n      if (USE_PROFILES) {\n        ALLOWED_TAGS = addToSet({}, _toConsumableArray(text));\n        ALLOWED_ATTR = [];\n\n        if (USE_PROFILES.html === true) {\n          addToSet(ALLOWED_TAGS, html$1);\n          addToSet(ALLOWED_ATTR, html);\n        }\n\n        if (USE_PROFILES.svg === true) {\n          addToSet(ALLOWED_TAGS, svg$1);\n          addToSet(ALLOWED_ATTR, svg);\n          addToSet(ALLOWED_ATTR, xml);\n        }\n\n        if (USE_PROFILES.svgFilters === true) {\n          addToSet(ALLOWED_TAGS, svgFilters);\n          addToSet(ALLOWED_ATTR, svg);\n          addToSet(ALLOWED_ATTR, xml);\n        }\n\n        if (USE_PROFILES.mathMl === true) {\n          addToSet(ALLOWED_TAGS, mathMl$1);\n          addToSet(ALLOWED_ATTR, mathMl);\n          addToSet(ALLOWED_ATTR, xml);\n        }\n      }\n      /* Merge configuration parameters */\n\n\n      if (cfg.ADD_TAGS) {\n        if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {\n          ALLOWED_TAGS = clone(ALLOWED_TAGS);\n        }\n\n        addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);\n      }\n\n      if (cfg.ADD_ATTR) {\n        if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {\n          ALLOWED_ATTR = clone(ALLOWED_ATTR);\n        }\n\n        addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);\n      }\n\n      if (cfg.ADD_URI_SAFE_ATTR) {\n        addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);\n      }\n\n      if (cfg.FORBID_CONTENTS) {\n        if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {\n          FORBID_CONTENTS = clone(FORBID_CONTENTS);\n        }\n\n        addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);\n      }\n      /* Add #text in case KEEP_CONTENT is set to true */\n\n\n      if (KEEP_CONTENT) {\n        ALLOWED_TAGS['#text'] = true;\n      }\n      /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */\n\n\n      if (WHOLE_DOCUMENT) {\n        addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);\n      }\n      /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */\n\n\n      if (ALLOWED_TAGS.table) {\n        addToSet(ALLOWED_TAGS, ['tbody']);\n        delete FORBID_TAGS.tbody;\n      } // Prevent further manipulation of configuration.\n      // Not available in IE8, Safari 5, etc.\n\n\n      if (freeze) {\n        freeze(cfg);\n      }\n\n      CONFIG = cfg;\n    };\n\n    var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);\n    var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']); // Certain elements are allowed in both SVG and HTML\n    // namespace. We need to specify them explicitly\n    // so that they don't get erroneously deleted from\n    // HTML namespace.\n\n    var COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);\n    /* Keep track of all possible SVG and MathML tags\n     * so that we can perform the namespace checks\n     * correctly. */\n\n    var ALL_SVG_TAGS = addToSet({}, svg$1);\n    addToSet(ALL_SVG_TAGS, svgFilters);\n    addToSet(ALL_SVG_TAGS, svgDisallowed);\n    var ALL_MATHML_TAGS = addToSet({}, mathMl$1);\n    addToSet(ALL_MATHML_TAGS, mathMlDisallowed);\n    /**\n     *\n     *\n     * @param  {Element} element a DOM element whose namespace is being checked\n     * @returns {boolean} Return false if the element has a\n     *  namespace that a spec-compliant parser would never\n     *  return. Return true otherwise.\n     */\n\n    var _checkValidNamespace = function _checkValidNamespace(element) {\n      var parent = getParentNode(element); // In JSDOM, if we're inside shadow DOM, then parentNode\n      // can be null. We just simulate parent in this case.\n\n      if (!parent || !parent.tagName) {\n        parent = {\n          namespaceURI: NAMESPACE,\n          tagName: 'template'\n        };\n      }\n\n      var tagName = stringToLowerCase(element.tagName);\n      var parentTagName = stringToLowerCase(parent.tagName);\n\n      if (!ALLOWED_NAMESPACES[element.namespaceURI]) {\n        return false;\n      }\n\n      if (element.namespaceURI === SVG_NAMESPACE) {\n        // The only way to switch from HTML namespace to SVG\n        // is via <svg>. If it happens via any other tag, then\n        // it should be killed.\n        if (parent.namespaceURI === HTML_NAMESPACE) {\n          return tagName === 'svg';\n        } // The only way to switch from MathML to SVG is via`\n        // svg if parent is either <annotation-xml> or MathML\n        // text integration points.\n\n\n        if (parent.namespaceURI === MATHML_NAMESPACE) {\n          return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);\n        } // We only allow elements that are defined in SVG\n        // spec. All others are disallowed in SVG namespace.\n\n\n        return Boolean(ALL_SVG_TAGS[tagName]);\n      }\n\n      if (element.namespaceURI === MATHML_NAMESPACE) {\n        // The only way to switch from HTML namespace to MathML\n        // is via <math>. If it happens via any other tag, then\n        // it should be killed.\n        if (parent.namespaceURI === HTML_NAMESPACE) {\n          return tagName === 'math';\n        } // The only way to switch from SVG to MathML is via\n        // <math> and HTML integration points\n\n\n        if (parent.namespaceURI === SVG_NAMESPACE) {\n          return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];\n        } // We only allow elements that are defined in MathML\n        // spec. All others are disallowed in MathML namespace.\n\n\n        return Boolean(ALL_MATHML_TAGS[tagName]);\n      }\n\n      if (element.namespaceURI === HTML_NAMESPACE) {\n        // The only way to switch from SVG to HTML is via\n        // HTML integration points, and from MathML to HTML\n        // is via MathML text integration points\n        if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {\n          return false;\n        }\n\n        if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {\n          return false;\n        } // We disallow tags that are specific for MathML\n        // or SVG and should never appear in HTML namespace\n\n\n        return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);\n      } // For XHTML and XML documents that support custom namespaces\n\n\n      if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {\n        return true;\n      } // The code should never reach this place (this means\n      // that the element somehow got namespace that is not\n      // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).\n      // Return false just in case.\n\n\n      return false;\n    };\n    /**\n     * _forceRemove\n     *\n     * @param  {Node} node a DOM node\n     */\n\n\n    var _forceRemove = function _forceRemove(node) {\n      arrayPush(DOMPurify.removed, {\n        element: node\n      });\n\n      try {\n        // eslint-disable-next-line unicorn/prefer-dom-node-remove\n        node.parentNode.removeChild(node);\n      } catch (_) {\n        try {\n          node.outerHTML = emptyHTML;\n        } catch (_) {\n          node.remove();\n        }\n      }\n    };\n    /**\n     * _removeAttribute\n     *\n     * @param  {String} name an Attribute name\n     * @param  {Node} node a DOM node\n     */\n\n\n    var _removeAttribute = function _removeAttribute(name, node) {\n      try {\n        arrayPush(DOMPurify.removed, {\n          attribute: node.getAttributeNode(name),\n          from: node\n        });\n      } catch (_) {\n        arrayPush(DOMPurify.removed, {\n          attribute: null,\n          from: node\n        });\n      }\n\n      node.removeAttribute(name); // We void attribute values for unremovable \"is\"\" attributes\n\n      if (name === 'is' && !ALLOWED_ATTR[name]) {\n        if (RETURN_DOM || RETURN_DOM_FRAGMENT) {\n          try {\n            _forceRemove(node);\n          } catch (_) {}\n        } else {\n          try {\n            node.setAttribute(name, '');\n          } catch (_) {}\n        }\n      }\n    };\n    /**\n     * _initDocument\n     *\n     * @param  {String} dirty a string of dirty markup\n     * @return {Document} a DOM, filled with the dirty markup\n     */\n\n\n    var _initDocument = function _initDocument(dirty) {\n      /* Create a HTML document */\n      var doc;\n      var leadingWhitespace;\n\n      if (FORCE_BODY) {\n        dirty = '<remove></remove>' + dirty;\n      } else {\n        /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */\n        var matches = stringMatch(dirty, /^[\\r\\n\\t ]+/);\n        leadingWhitespace = matches && matches[0];\n      }\n\n      if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {\n        // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)\n        dirty = '<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>' + dirty + '</body></html>';\n      }\n\n      var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;\n      /*\n       * Use the DOMParser API by default, fallback later if needs be\n       * DOMParser not work for svg when has multiple root element.\n       */\n\n      if (NAMESPACE === HTML_NAMESPACE) {\n        try {\n          doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);\n        } catch (_) {}\n      }\n      /* Use createHTMLDocument in case DOMParser is not available */\n\n\n      if (!doc || !doc.documentElement) {\n        doc = implementation.createDocument(NAMESPACE, 'template', null);\n\n        try {\n          doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;\n        } catch (_) {// Syntax error if dirtyPayload is invalid xml\n        }\n      }\n\n      var body = doc.body || doc.documentElement;\n\n      if (dirty && leadingWhitespace) {\n        body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);\n      }\n      /* Work on whole document or just its body */\n\n\n      if (NAMESPACE === HTML_NAMESPACE) {\n        return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];\n      }\n\n      return WHOLE_DOCUMENT ? doc.documentElement : body;\n    };\n    /**\n     * _createIterator\n     *\n     * @param  {Document} root document/fragment to create iterator for\n     * @return {Iterator} iterator instance\n     */\n\n\n    var _createIterator = function _createIterator(root) {\n      return createNodeIterator.call(root.ownerDocument || root, root, // eslint-disable-next-line no-bitwise\n      NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null, false);\n    };\n    /**\n     * _isClobbered\n     *\n     * @param  {Node} elm element to check for clobbering attacks\n     * @return {Boolean} true if clobbered, false if safe\n     */\n\n\n    var _isClobbered = function _isClobbered(elm) {\n      return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function' || typeof elm.hasChildNodes !== 'function');\n    };\n    /**\n     * _isNode\n     *\n     * @param  {Node} obj object to check whether it's a DOM node\n     * @return {Boolean} true is object is a DOM node\n     */\n\n\n    var _isNode = function _isNode(object) {\n      return _typeof(Node) === 'object' ? object instanceof Node : object && _typeof(object) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';\n    };\n    /**\n     * _executeHook\n     * Execute user configurable hooks\n     *\n     * @param  {String} entryPoint  Name of the hook's entry point\n     * @param  {Node} currentNode node to work on with the hook\n     * @param  {Object} data additional hook parameters\n     */\n\n\n    var _executeHook = function _executeHook(entryPoint, currentNode, data) {\n      if (!hooks[entryPoint]) {\n        return;\n      }\n\n      arrayForEach(hooks[entryPoint], function (hook) {\n        hook.call(DOMPurify, currentNode, data, CONFIG);\n      });\n    };\n    /**\n     * _sanitizeElements\n     *\n     * @protect nodeName\n     * @protect textContent\n     * @protect removeChild\n     *\n     * @param   {Node} currentNode to check for permission to exist\n     * @return  {Boolean} true if node was killed, false if left alive\n     */\n\n\n    var _sanitizeElements = function _sanitizeElements(currentNode) {\n      var content;\n      /* Execute a hook if present */\n\n      _executeHook('beforeSanitizeElements', currentNode, null);\n      /* Check if element is clobbered or can clobber */\n\n\n      if (_isClobbered(currentNode)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Check if tagname contains Unicode */\n\n\n      if (regExpTest(/[\\u0080-\\uFFFF]/, currentNode.nodeName)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Now let's check the element's type and name */\n\n\n      var tagName = transformCaseFunc(currentNode.nodeName);\n      /* Execute a hook if present */\n\n      _executeHook('uponSanitizeElement', currentNode, {\n        tagName: tagName,\n        allowedTags: ALLOWED_TAGS\n      });\n      /* Detect mXSS attempts abusing namespace confusion */\n\n\n      if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\\w]/g, currentNode.innerHTML) && regExpTest(/<[/\\w]/g, currentNode.textContent)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Mitigate a problem with templates inside select */\n\n\n      if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Remove element if anything forbids its presence */\n\n\n      if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n        /* Check if we have a custom element to handle */\n        if (!FORBID_TAGS[tagName] && _basicCustomElementTest(tagName)) {\n          if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;\n          if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;\n        }\n        /* Keep content except for bad-listed elements */\n\n\n        if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {\n          var parentNode = getParentNode(currentNode) || currentNode.parentNode;\n          var childNodes = getChildNodes(currentNode) || currentNode.childNodes;\n\n          if (childNodes && parentNode) {\n            var childCount = childNodes.length;\n\n            for (var i = childCount - 1; i >= 0; --i) {\n              parentNode.insertBefore(cloneNode(childNodes[i], true), getNextSibling(currentNode));\n            }\n          }\n        }\n\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Check whether element has a valid namespace */\n\n\n      if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Make sure that older browsers don't get fallback-tag mXSS */\n\n\n      if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\\/no(script|embed|frames)/i, currentNode.innerHTML)) {\n        _forceRemove(currentNode);\n\n        return true;\n      }\n      /* Sanitize element content to be template-safe */\n\n\n      if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {\n        /* Get the element's text content */\n        content = currentNode.textContent;\n        content = stringReplace(content, MUSTACHE_EXPR$1, ' ');\n        content = stringReplace(content, ERB_EXPR$1, ' ');\n        content = stringReplace(content, TMPLIT_EXPR$1, ' ');\n\n        if (currentNode.textContent !== content) {\n          arrayPush(DOMPurify.removed, {\n            element: currentNode.cloneNode()\n          });\n          currentNode.textContent = content;\n        }\n      }\n      /* Execute a hook if present */\n\n\n      _executeHook('afterSanitizeElements', currentNode, null);\n\n      return false;\n    };\n    /**\n     * _isValidAttribute\n     *\n     * @param  {string} lcTag Lowercase tag name of containing element.\n     * @param  {string} lcName Lowercase attribute name.\n     * @param  {string} value Attribute value.\n     * @return {Boolean} Returns true if `value` is valid, otherwise false.\n     */\n    // eslint-disable-next-line complexity\n\n\n    var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {\n      /* Make sure attribute cannot clobber */\n      if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {\n        return false;\n      }\n      /* Allow valid data-* attributes: At least one character after \"-\"\n          (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)\n          XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)\n          We don't need to check the value; it's always URI safe. */\n\n\n      if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$1, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {\n        if ( // First condition does a very basic check if a) it's basically a valid custom element tagname AND\n        // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n        // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck\n        _basicCustomElementTest(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND\n        // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck\n        lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {\n          return false;\n        }\n        /* Check value is safe. First, is attr inert? If so, is safe */\n\n      } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$1, stringReplace(value, ATTR_WHITESPACE$1, ''))) ; else if (value) {\n        return false;\n      } else ;\n\n      return true;\n    };\n    /**\n     * _basicCustomElementCheck\n     * checks if at least one dash is included in tagName, and it's not the first char\n     * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name\n     * @param {string} tagName name of the tag of the node to sanitize\n     */\n\n\n    var _basicCustomElementTest = function _basicCustomElementTest(tagName) {\n      return tagName.indexOf('-') > 0;\n    };\n    /**\n     * _sanitizeAttributes\n     *\n     * @protect attributes\n     * @protect nodeName\n     * @protect removeAttribute\n     * @protect setAttribute\n     *\n     * @param  {Node} currentNode to sanitize\n     */\n\n\n    var _sanitizeAttributes = function _sanitizeAttributes(currentNode) {\n      var attr;\n      var value;\n      var lcName;\n      var l;\n      /* Execute a hook if present */\n\n      _executeHook('beforeSanitizeAttributes', currentNode, null);\n\n      var attributes = currentNode.attributes;\n      /* Check if we have attributes; if not we might have a text node */\n\n      if (!attributes) {\n        return;\n      }\n\n      var hookEvent = {\n        attrName: '',\n        attrValue: '',\n        keepAttr: true,\n        allowedAttributes: ALLOWED_ATTR\n      };\n      l = attributes.length;\n      /* Go backwards over all attributes; safely remove bad ones */\n\n      while (l--) {\n        attr = attributes[l];\n        var _attr = attr,\n            name = _attr.name,\n            namespaceURI = _attr.namespaceURI;\n        value = name === 'value' ? attr.value : stringTrim(attr.value);\n        lcName = transformCaseFunc(name);\n        /* Execute a hook if present */\n\n        hookEvent.attrName = lcName;\n        hookEvent.attrValue = value;\n        hookEvent.keepAttr = true;\n        hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set\n\n        _executeHook('uponSanitizeAttribute', currentNode, hookEvent);\n\n        value = hookEvent.attrValue;\n        /* Did the hooks approve of the attribute? */\n\n        if (hookEvent.forceKeepAttr) {\n          continue;\n        }\n        /* Remove attribute */\n\n\n        _removeAttribute(name, currentNode);\n        /* Did the hooks approve of the attribute? */\n\n\n        if (!hookEvent.keepAttr) {\n          continue;\n        }\n        /* Work around a security issue in jQuery 3.0 */\n\n\n        if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\\/>/i, value)) {\n          _removeAttribute(name, currentNode);\n\n          continue;\n        }\n        /* Sanitize attribute content to be template-safe */\n\n\n        if (SAFE_FOR_TEMPLATES) {\n          value = stringReplace(value, MUSTACHE_EXPR$1, ' ');\n          value = stringReplace(value, ERB_EXPR$1, ' ');\n          value = stringReplace(value, TMPLIT_EXPR$1, ' ');\n        }\n        /* Is `value` valid for this attribute? */\n\n\n        var lcTag = transformCaseFunc(currentNode.nodeName);\n\n        if (!_isValidAttribute(lcTag, lcName, value)) {\n          continue;\n        }\n        /* Full DOM Clobbering protection via namespace isolation,\n         * Prefix id and name attributes with `user-content-`\n         */\n\n\n        if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {\n          // Remove the attribute with this value\n          _removeAttribute(name, currentNode); // Prefix the value and later re-create the attribute with the sanitized value\n\n\n          value = SANITIZE_NAMED_PROPS_PREFIX + value;\n        }\n        /* Handle attributes that require Trusted Types */\n\n\n        if (trustedTypesPolicy && _typeof(trustedTypes) === 'object' && typeof trustedTypes.getAttributeType === 'function') {\n          if (namespaceURI) ; else {\n            switch (trustedTypes.getAttributeType(lcTag, lcName)) {\n              case 'TrustedHTML':\n                {\n                  value = trustedTypesPolicy.createHTML(value);\n                  break;\n                }\n\n              case 'TrustedScriptURL':\n                {\n                  value = trustedTypesPolicy.createScriptURL(value);\n                  break;\n                }\n            }\n          }\n        }\n        /* Handle invalid data-* attribute set by try-catching it */\n\n\n        try {\n          if (namespaceURI) {\n            currentNode.setAttributeNS(namespaceURI, name, value);\n          } else {\n            /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. \"x-schema\". */\n            currentNode.setAttribute(name, value);\n          }\n\n          arrayPop(DOMPurify.removed);\n        } catch (_) {}\n      }\n      /* Execute a hook if present */\n\n\n      _executeHook('afterSanitizeAttributes', currentNode, null);\n    };\n    /**\n     * _sanitizeShadowDOM\n     *\n     * @param  {DocumentFragment} fragment to iterate over recursively\n     */\n\n\n    var _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {\n      var shadowNode;\n\n      var shadowIterator = _createIterator(fragment);\n      /* Execute a hook if present */\n\n\n      _executeHook('beforeSanitizeShadowDOM', fragment, null);\n\n      while (shadowNode = shadowIterator.nextNode()) {\n        /* Execute a hook if present */\n        _executeHook('uponSanitizeShadowNode', shadowNode, null);\n        /* Sanitize tags and elements */\n\n\n        if (_sanitizeElements(shadowNode)) {\n          continue;\n        }\n        /* Deep shadow DOM detected */\n\n\n        if (shadowNode.content instanceof DocumentFragment) {\n          _sanitizeShadowDOM(shadowNode.content);\n        }\n        /* Check attributes, sanitize if necessary */\n\n\n        _sanitizeAttributes(shadowNode);\n      }\n      /* Execute a hook if present */\n\n\n      _executeHook('afterSanitizeShadowDOM', fragment, null);\n    };\n    /**\n     * Sanitize\n     * Public method providing core sanitation functionality\n     *\n     * @param {String|Node} dirty string or DOM node\n     * @param {Object} configuration object\n     */\n    // eslint-disable-next-line complexity\n\n\n    DOMPurify.sanitize = function (dirty) {\n      var cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n      var body;\n      var importedNode;\n      var currentNode;\n      var oldNode;\n      var returnNode;\n      /* Make sure we have a string to sanitize.\n        DO NOT return early, as this will return the wrong type if\n        the user has requested a DOM object rather than a string */\n\n      IS_EMPTY_INPUT = !dirty;\n\n      if (IS_EMPTY_INPUT) {\n        dirty = '<!-->';\n      }\n      /* Stringify, in case dirty is an object */\n\n\n      if (typeof dirty !== 'string' && !_isNode(dirty)) {\n        if (typeof dirty.toString === 'function') {\n          dirty = dirty.toString();\n\n          if (typeof dirty !== 'string') {\n            throw typeErrorCreate('dirty is not a string, aborting');\n          }\n        } else {\n          throw typeErrorCreate('toString is not a function');\n        }\n      }\n      /* Check we can run. Otherwise fall back or ignore */\n\n\n      if (!DOMPurify.isSupported) {\n        if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {\n          if (typeof dirty === 'string') {\n            return window.toStaticHTML(dirty);\n          }\n\n          if (_isNode(dirty)) {\n            return window.toStaticHTML(dirty.outerHTML);\n          }\n        }\n\n        return dirty;\n      }\n      /* Assign config vars */\n\n\n      if (!SET_CONFIG) {\n        _parseConfig(cfg);\n      }\n      /* Clean up removed elements */\n\n\n      DOMPurify.removed = [];\n      /* Check if dirty is correctly typed for IN_PLACE */\n\n      if (typeof dirty === 'string') {\n        IN_PLACE = false;\n      }\n\n      if (IN_PLACE) {\n        /* Do some early pre-sanitization to avoid unsafe root nodes */\n        if (dirty.nodeName) {\n          var tagName = transformCaseFunc(dirty.nodeName);\n\n          if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {\n            throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');\n          }\n        }\n      } else if (dirty instanceof Node) {\n        /* If dirty is a DOM element, append to an empty document to avoid\n           elements being stripped by the parser */\n        body = _initDocument('<!---->');\n        importedNode = body.ownerDocument.importNode(dirty, true);\n\n        if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {\n          /* Node is already a body, use as is */\n          body = importedNode;\n        } else if (importedNode.nodeName === 'HTML') {\n          body = importedNode;\n        } else {\n          // eslint-disable-next-line unicorn/prefer-dom-node-append\n          body.appendChild(importedNode);\n        }\n      } else {\n        /* Exit directly if we have nothing to do */\n        if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT && // eslint-disable-next-line unicorn/prefer-includes\n        dirty.indexOf('<') === -1) {\n          return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;\n        }\n        /* Initialize the document to work on */\n\n\n        body = _initDocument(dirty);\n        /* Check we have a DOM node from the data */\n\n        if (!body) {\n          return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';\n        }\n      }\n      /* Remove first element node (ours) if FORCE_BODY is set */\n\n\n      if (body && FORCE_BODY) {\n        _forceRemove(body.firstChild);\n      }\n      /* Get node iterator */\n\n\n      var nodeIterator = _createIterator(IN_PLACE ? dirty : body);\n      /* Now start iterating over the created document */\n\n\n      while (currentNode = nodeIterator.nextNode()) {\n        /* Fix IE's strange behavior with manipulated textNodes #89 */\n        if (currentNode.nodeType === 3 && currentNode === oldNode) {\n          continue;\n        }\n        /* Sanitize tags and elements */\n\n\n        if (_sanitizeElements(currentNode)) {\n          continue;\n        }\n        /* Shadow DOM detected, sanitize it */\n\n\n        if (currentNode.content instanceof DocumentFragment) {\n          _sanitizeShadowDOM(currentNode.content);\n        }\n        /* Check attributes, sanitize if necessary */\n\n\n        _sanitizeAttributes(currentNode);\n\n        oldNode = currentNode;\n      }\n\n      oldNode = null;\n      /* If we sanitized `dirty` in-place, return it. */\n\n      if (IN_PLACE) {\n        return dirty;\n      }\n      /* Return sanitized string or DOM */\n\n\n      if (RETURN_DOM) {\n        if (RETURN_DOM_FRAGMENT) {\n          returnNode = createDocumentFragment.call(body.ownerDocument);\n\n          while (body.firstChild) {\n            // eslint-disable-next-line unicorn/prefer-dom-node-append\n            returnNode.appendChild(body.firstChild);\n          }\n        } else {\n          returnNode = body;\n        }\n\n        if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmod) {\n          /*\n            AdoptNode() is not used because internal state is not reset\n            (e.g. the past names map of a HTMLFormElement), this is safe\n            in theory but we would rather not risk another attack vector.\n            The state that is cloned by importNode() is explicitly defined\n            by the specs.\n          */\n          returnNode = importNode.call(originalDocument, returnNode, true);\n        }\n\n        return returnNode;\n      }\n\n      var serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;\n      /* Serialize doctype if allowed */\n\n      if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {\n        serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\\n' + serializedHTML;\n      }\n      /* Sanitize final string template-safe */\n\n\n      if (SAFE_FOR_TEMPLATES) {\n        serializedHTML = stringReplace(serializedHTML, MUSTACHE_EXPR$1, ' ');\n        serializedHTML = stringReplace(serializedHTML, ERB_EXPR$1, ' ');\n        serializedHTML = stringReplace(serializedHTML, TMPLIT_EXPR$1, ' ');\n      }\n\n      return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;\n    };\n    /**\n     * Public method to set the configuration once\n     * setConfig\n     *\n     * @param {Object} cfg configuration object\n     */\n\n\n    DOMPurify.setConfig = function (cfg) {\n      _parseConfig(cfg);\n\n      SET_CONFIG = true;\n    };\n    /**\n     * Public method to remove the configuration\n     * clearConfig\n     *\n     */\n\n\n    DOMPurify.clearConfig = function () {\n      CONFIG = null;\n      SET_CONFIG = false;\n    };\n    /**\n     * Public method to check if an attribute value is valid.\n     * Uses last set config, if any. Otherwise, uses config defaults.\n     * isValidAttribute\n     *\n     * @param  {string} tag Tag name of containing element.\n     * @param  {string} attr Attribute name.\n     * @param  {string} value Attribute value.\n     * @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.\n     */\n\n\n    DOMPurify.isValidAttribute = function (tag, attr, value) {\n      /* Initialize shared config vars if necessary. */\n      if (!CONFIG) {\n        _parseConfig({});\n      }\n\n      var lcTag = transformCaseFunc(tag);\n      var lcName = transformCaseFunc(attr);\n      return _isValidAttribute(lcTag, lcName, value);\n    };\n    /**\n     * AddHook\n     * Public method to add DOMPurify hooks\n     *\n     * @param {String} entryPoint entry point for the hook to add\n     * @param {Function} hookFunction function to execute\n     */\n\n\n    DOMPurify.addHook = function (entryPoint, hookFunction) {\n      if (typeof hookFunction !== 'function') {\n        return;\n      }\n\n      hooks[entryPoint] = hooks[entryPoint] || [];\n      arrayPush(hooks[entryPoint], hookFunction);\n    };\n    /**\n     * RemoveHook\n     * Public method to remove a DOMPurify hook at a given entryPoint\n     * (pops it from the stack of hooks if more are present)\n     *\n     * @param {String} entryPoint entry point for the hook to remove\n     * @return {Function} removed(popped) hook\n     */\n\n\n    DOMPurify.removeHook = function (entryPoint) {\n      if (hooks[entryPoint]) {\n        return arrayPop(hooks[entryPoint]);\n      }\n    };\n    /**\n     * RemoveHooks\n     * Public method to remove all DOMPurify hooks at a given entryPoint\n     *\n     * @param  {String} entryPoint entry point for the hooks to remove\n     */\n\n\n    DOMPurify.removeHooks = function (entryPoint) {\n      if (hooks[entryPoint]) {\n        hooks[entryPoint] = [];\n      }\n    };\n    /**\n     * RemoveAllHooks\n     * Public method to remove all DOMPurify hooks\n     *\n     */\n\n\n    DOMPurify.removeAllHooks = function () {\n      hooks = {};\n    };\n\n    return DOMPurify;\n  }\n\n  var purify = createDOMPurify();\n\n  return purify;\n\n}));\n//# sourceMappingURL=purify.js.map\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/dompurify/dist/purify.js?");

/***/ }),

/***/ 56269:
/*!********************************************!*\
  !*** ../../node_modules/graphlib/index.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/**\n * Copyright (c) 2014, Chris Pettitt\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar lib = __webpack_require__(/*! ./lib */ 22852);\n\nmodule.exports = {\n  Graph: lib.Graph,\n  json: __webpack_require__(/*! ./lib/json */ 68088),\n  alg: __webpack_require__(/*! ./lib/alg */ 91732),\n  version: lib.version\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/index.js?");

/***/ }),

/***/ 42168:
/*!*********************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/components.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = components;\n\nfunction components(g) {\n  var visited = {};\n  var cmpts = [];\n  var cmpt;\n\n  function dfs(v) {\n    if (_.has(visited, v)) return;\n    visited[v] = true;\n    cmpt.push(v);\n    _.each(g.successors(v), dfs);\n    _.each(g.predecessors(v), dfs);\n  }\n\n  _.each(g.nodes(), function(v) {\n    cmpt = [];\n    dfs(v);\n    if (cmpt.length) {\n      cmpts.push(cmpt);\n    }\n  });\n\n  return cmpts;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/components.js?");

/***/ }),

/***/ 77780:
/*!**************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/dfs.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = dfs;\n\n/*\n * A helper that preforms a pre- or post-order traversal on the input graph\n * and returns the nodes in the order they were visited. If the graph is\n * undirected then this algorithm will navigate using neighbors. If the graph\n * is directed then this algorithm will navigate using successors.\n *\n * Order must be one of \"pre\" or \"post\".\n */\nfunction dfs(g, vs, order) {\n  if (!_.isArray(vs)) {\n    vs = [vs];\n  }\n\n  var navigation = (g.isDirected() ? g.successors : g.neighbors).bind(g);\n\n  var acc = [];\n  var visited = {};\n  _.each(vs, function(v) {\n    if (!g.hasNode(v)) {\n      throw new Error(\"Graph does not have node: \" + v);\n    }\n\n    doDfs(g, v, order === \"post\", visited, navigation, acc);\n  });\n  return acc;\n}\n\nfunction doDfs(g, v, postorder, visited, navigation, acc) {\n  if (!_.has(visited, v)) {\n    visited[v] = true;\n\n    if (!postorder) { acc.push(v); }\n    _.each(navigation(v), function(w) {\n      doDfs(g, w, postorder, visited, navigation, acc);\n    });\n    if (postorder) { acc.push(v); }\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/dfs.js?");

/***/ }),

/***/ 86924:
/*!***********************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/dijkstra-all.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var dijkstra = __webpack_require__(/*! ./dijkstra */ 9604);\nvar _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = dijkstraAll;\n\nfunction dijkstraAll(g, weightFunc, edgeFunc) {\n  return _.transform(g.nodes(), function(acc, v) {\n    acc[v] = dijkstra(g, v, weightFunc, edgeFunc);\n  }, {});\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/dijkstra-all.js?");

/***/ }),

/***/ 9604:
/*!*******************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/dijkstra.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\nvar PriorityQueue = __webpack_require__(/*! ../data/priority-queue */ 29756);\n\nmodule.exports = dijkstra;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction dijkstra(g, source, weightFn, edgeFn) {\n  return runDijkstra(g, String(source),\n    weightFn || DEFAULT_WEIGHT_FUNC,\n    edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runDijkstra(g, source, weightFn, edgeFn) {\n  var results = {};\n  var pq = new PriorityQueue();\n  var v, vEntry;\n\n  var updateNeighbors = function(edge) {\n    var w = edge.v !== v ? edge.v : edge.w;\n    var wEntry = results[w];\n    var weight = weightFn(edge);\n    var distance = vEntry.distance + weight;\n\n    if (weight < 0) {\n      throw new Error(\"dijkstra does not allow negative edge weights. \" +\n                      \"Bad edge: \" + edge + \" Weight: \" + weight);\n    }\n\n    if (distance < wEntry.distance) {\n      wEntry.distance = distance;\n      wEntry.predecessor = v;\n      pq.decrease(w, distance);\n    }\n  };\n\n  g.nodes().forEach(function(v) {\n    var distance = v === source ? 0 : Number.POSITIVE_INFINITY;\n    results[v] = { distance: distance };\n    pq.add(v, distance);\n  });\n\n  while (pq.size() > 0) {\n    v = pq.removeMin();\n    vEntry = results[v];\n    if (vEntry.distance === Number.POSITIVE_INFINITY) {\n      break;\n    }\n\n    edgeFn(v).forEach(updateNeighbors);\n  }\n\n  return results;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/dijkstra.js?");

/***/ }),

/***/ 33976:
/*!**********************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/find-cycles.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\nvar tarjan = __webpack_require__(/*! ./tarjan */ 1940);\n\nmodule.exports = findCycles;\n\nfunction findCycles(g) {\n  return _.filter(tarjan(g), function(cmpt) {\n    return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/find-cycles.js?");

/***/ }),

/***/ 90756:
/*!*************************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/floyd-warshall.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = floydWarshall;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction floydWarshall(g, weightFn, edgeFn) {\n  return runFloydWarshall(g,\n    weightFn || DEFAULT_WEIGHT_FUNC,\n    edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runFloydWarshall(g, weightFn, edgeFn) {\n  var results = {};\n  var nodes = g.nodes();\n\n  nodes.forEach(function(v) {\n    results[v] = {};\n    results[v][v] = { distance: 0 };\n    nodes.forEach(function(w) {\n      if (v !== w) {\n        results[v][w] = { distance: Number.POSITIVE_INFINITY };\n      }\n    });\n    edgeFn(v).forEach(function(edge) {\n      var w = edge.v === v ? edge.w : edge.v;\n      var d = weightFn(edge);\n      results[v][w] = { distance: d, predecessor: v };\n    });\n  });\n\n  nodes.forEach(function(k) {\n    var rowK = results[k];\n    nodes.forEach(function(i) {\n      var rowI = results[i];\n      nodes.forEach(function(j) {\n        var ik = rowI[k];\n        var kj = rowK[j];\n        var ij = rowI[j];\n        var altDistance = ik.distance + kj.distance;\n        if (altDistance < ij.distance) {\n          ij.distance = altDistance;\n          ij.predecessor = kj.predecessor;\n        }\n      });\n    });\n  });\n\n  return results;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/floyd-warshall.js?");

/***/ }),

/***/ 91732:
/*!****************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/index.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = {\n  components: __webpack_require__(/*! ./components */ 42168),\n  dijkstra: __webpack_require__(/*! ./dijkstra */ 9604),\n  dijkstraAll: __webpack_require__(/*! ./dijkstra-all */ 86924),\n  findCycles: __webpack_require__(/*! ./find-cycles */ 33976),\n  floydWarshall: __webpack_require__(/*! ./floyd-warshall */ 90756),\n  isAcyclic: __webpack_require__(/*! ./is-acyclic */ 33776),\n  postorder: __webpack_require__(/*! ./postorder */ 77392),\n  preorder: __webpack_require__(/*! ./preorder */ 78809),\n  prim: __webpack_require__(/*! ./prim */ 55976),\n  tarjan: __webpack_require__(/*! ./tarjan */ 1940),\n  topsort: __webpack_require__(/*! ./topsort */ 69604)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/index.js?");

/***/ }),

/***/ 33776:
/*!*********************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/is-acyclic.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var topsort = __webpack_require__(/*! ./topsort */ 69604);\n\nmodule.exports = isAcyclic;\n\nfunction isAcyclic(g) {\n  try {\n    topsort(g);\n  } catch (e) {\n    if (e instanceof topsort.CycleException) {\n      return false;\n    }\n    throw e;\n  }\n  return true;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/is-acyclic.js?");

/***/ }),

/***/ 77392:
/*!********************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/postorder.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var dfs = __webpack_require__(/*! ./dfs */ 77780);\n\nmodule.exports = postorder;\n\nfunction postorder(g, vs) {\n  return dfs(g, vs, \"post\");\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/postorder.js?");

/***/ }),

/***/ 78809:
/*!*******************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/preorder.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var dfs = __webpack_require__(/*! ./dfs */ 77780);\n\nmodule.exports = preorder;\n\nfunction preorder(g, vs) {\n  return dfs(g, vs, \"pre\");\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/preorder.js?");

/***/ }),

/***/ 55976:
/*!***************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/prim.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\nvar Graph = __webpack_require__(/*! ../graph */ 18948);\nvar PriorityQueue = __webpack_require__(/*! ../data/priority-queue */ 29756);\n\nmodule.exports = prim;\n\nfunction prim(g, weightFunc) {\n  var result = new Graph();\n  var parents = {};\n  var pq = new PriorityQueue();\n  var v;\n\n  function updateNeighbors(edge) {\n    var w = edge.v === v ? edge.w : edge.v;\n    var pri = pq.priority(w);\n    if (pri !== undefined) {\n      var edgeWeight = weightFunc(edge);\n      if (edgeWeight < pri) {\n        parents[w] = v;\n        pq.decrease(w, edgeWeight);\n      }\n    }\n  }\n\n  if (g.nodeCount() === 0) {\n    return result;\n  }\n\n  _.each(g.nodes(), function(v) {\n    pq.add(v, Number.POSITIVE_INFINITY);\n    result.setNode(v);\n  });\n\n  // Start from an arbitrary node\n  pq.decrease(g.nodes()[0], 0);\n\n  var init = false;\n  while (pq.size() > 0) {\n    v = pq.removeMin();\n    if (_.has(parents, v)) {\n      result.setEdge(v, parents[v]);\n    } else if (init) {\n      throw new Error(\"Input graph is not connected: \" + g);\n    } else {\n      init = true;\n    }\n\n    g.nodeEdges(v).forEach(updateNeighbors);\n  }\n\n  return result;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/prim.js?");

/***/ }),

/***/ 1940:
/*!*****************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/tarjan.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = tarjan;\n\nfunction tarjan(g) {\n  var index = 0;\n  var stack = [];\n  var visited = {}; // node id -> { onStack, lowlink, index }\n  var results = [];\n\n  function dfs(v) {\n    var entry = visited[v] = {\n      onStack: true,\n      lowlink: index,\n      index: index++\n    };\n    stack.push(v);\n\n    g.successors(v).forEach(function(w) {\n      if (!_.has(visited, w)) {\n        dfs(w);\n        entry.lowlink = Math.min(entry.lowlink, visited[w].lowlink);\n      } else if (visited[w].onStack) {\n        entry.lowlink = Math.min(entry.lowlink, visited[w].index);\n      }\n    });\n\n    if (entry.lowlink === entry.index) {\n      var cmpt = [];\n      var w;\n      do {\n        w = stack.pop();\n        visited[w].onStack = false;\n        cmpt.push(w);\n      } while (v !== w);\n      results.push(cmpt);\n    }\n  }\n\n  g.nodes().forEach(function(v) {\n    if (!_.has(visited, v)) {\n      dfs(v);\n    }\n  });\n\n  return results;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/tarjan.js?");

/***/ }),

/***/ 69604:
/*!******************************************************!*\
  !*** ../../node_modules/graphlib/lib/alg/topsort.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = topsort;\ntopsort.CycleException = CycleException;\n\nfunction topsort(g) {\n  var visited = {};\n  var stack = {};\n  var results = [];\n\n  function visit(node) {\n    if (_.has(stack, node)) {\n      throw new CycleException();\n    }\n\n    if (!_.has(visited, node)) {\n      stack[node] = true;\n      visited[node] = true;\n      _.each(g.predecessors(node), visit);\n      delete stack[node];\n      results.push(node);\n    }\n  }\n\n  _.each(g.sinks(), visit);\n\n  if (_.size(visited) !== g.nodeCount()) {\n    throw new CycleException();\n  }\n\n  return results;\n}\n\nfunction CycleException() {}\nCycleException.prototype = new Error(); // must be an instance of Error to pass testing\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/alg/topsort.js?");

/***/ }),

/***/ 29756:
/*!**************************************************************!*\
  !*** ../../node_modules/graphlib/lib/data/priority-queue.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ../lodash */ 75488);\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n  this._arr = [];\n  this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n  return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n  return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n  return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n  var index = this._keyIndices[key];\n  if (index !== undefined) {\n    return this._arr[index].priority;\n  }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n  if (this.size() === 0) {\n    throw new Error(\"Queue underflow\");\n  }\n  return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n  var keyIndices = this._keyIndices;\n  key = String(key);\n  if (!_.has(keyIndices, key)) {\n    var arr = this._arr;\n    var index = arr.length;\n    keyIndices[key] = index;\n    arr.push({key: key, priority: priority});\n    this._decrease(index);\n    return true;\n  }\n  return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n  this._swap(0, this._arr.length - 1);\n  var min = this._arr.pop();\n  delete this._keyIndices[min.key];\n  this._heapify(0);\n  return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n  var index = this._keyIndices[key];\n  if (priority > this._arr[index].priority) {\n    throw new Error(\"New priority is greater than current priority. \" +\n        \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n  }\n  this._arr[index].priority = priority;\n  this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n  var arr = this._arr;\n  var l = 2 * i;\n  var r = l + 1;\n  var largest = i;\n  if (l < arr.length) {\n    largest = arr[l].priority < arr[largest].priority ? l : largest;\n    if (r < arr.length) {\n      largest = arr[r].priority < arr[largest].priority ? r : largest;\n    }\n    if (largest !== i) {\n      this._swap(i, largest);\n      this._heapify(largest);\n    }\n  }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n  var arr = this._arr;\n  var priority = arr[index].priority;\n  var parent;\n  while (index !== 0) {\n    parent = index >> 1;\n    if (arr[parent].priority < priority) {\n      break;\n    }\n    this._swap(index, parent);\n    index = parent;\n  }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n  var arr = this._arr;\n  var keyIndices = this._keyIndices;\n  var origArrI = arr[i];\n  var origArrJ = arr[j];\n  arr[i] = origArrJ;\n  arr[j] = origArrI;\n  keyIndices[origArrJ.key] = i;\n  keyIndices[origArrI.key] = j;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/data/priority-queue.js?");

/***/ }),

/***/ 18948:
/*!************************************************!*\
  !*** ../../node_modules/graphlib/lib/graph.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _ = __webpack_require__(/*! ./lodash */ 75488);\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n//  * Node id query functions should return string ids for the nodes\n//  * Edge id query functions should return an \"edgeObj\", edge object, that is\n//    composed of enough information to uniquely identify an edge: {v, w, name}.\n//  * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n//    reference edges. This is because we need a performant way to look these\n//    edges up and, object properties, which have string keys, are the closest\n//    we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n  this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n  this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n  this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n  // Label for the graph itself\n  this._label = undefined;\n\n  // Defaults to be set when creating a new node\n  this._defaultNodeLabelFn = _.constant(undefined);\n\n  // Defaults to be set when creating a new edge\n  this._defaultEdgeLabelFn = _.constant(undefined);\n\n  // v -> label\n  this._nodes = {};\n\n  if (this._isCompound) {\n    // v -> parent\n    this._parent = {};\n\n    // v -> children\n    this._children = {};\n    this._children[GRAPH_NODE] = {};\n  }\n\n  // v -> edgeObj\n  this._in = {};\n\n  // u -> v -> Number\n  this._preds = {};\n\n  // v -> edgeObj\n  this._out = {};\n\n  // v -> w -> Number\n  this._sucs = {};\n\n  // e -> edgeObj\n  this._edgeObjs = {};\n\n  // e -> label\n  this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n  return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n  return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n  return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n  this._label = label;\n  return this;\n};\n\nGraph.prototype.graph = function() {\n  return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n  if (!_.isFunction(newDefault)) {\n    newDefault = _.constant(newDefault);\n  }\n  this._defaultNodeLabelFn = newDefault;\n  return this;\n};\n\nGraph.prototype.nodeCount = function() {\n  return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n  return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n  var self = this;\n  return _.filter(this.nodes(), function(v) {\n    return _.isEmpty(self._in[v]);\n  });\n};\n\nGraph.prototype.sinks = function() {\n  var self = this;\n  return _.filter(this.nodes(), function(v) {\n    return _.isEmpty(self._out[v]);\n  });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n  var args = arguments;\n  var self = this;\n  _.each(vs, function(v) {\n    if (args.length > 1) {\n      self.setNode(v, value);\n    } else {\n      self.setNode(v);\n    }\n  });\n  return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n  if (_.has(this._nodes, v)) {\n    if (arguments.length > 1) {\n      this._nodes[v] = value;\n    }\n    return this;\n  }\n\n  this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n  if (this._isCompound) {\n    this._parent[v] = GRAPH_NODE;\n    this._children[v] = {};\n    this._children[GRAPH_NODE][v] = true;\n  }\n  this._in[v] = {};\n  this._preds[v] = {};\n  this._out[v] = {};\n  this._sucs[v] = {};\n  ++this._nodeCount;\n  return this;\n};\n\nGraph.prototype.node = function(v) {\n  return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n  return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode =  function(v) {\n  var self = this;\n  if (_.has(this._nodes, v)) {\n    var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n    delete this._nodes[v];\n    if (this._isCompound) {\n      this._removeFromParentsChildList(v);\n      delete this._parent[v];\n      _.each(this.children(v), function(child) {\n        self.setParent(child);\n      });\n      delete this._children[v];\n    }\n    _.each(_.keys(this._in[v]), removeEdge);\n    delete this._in[v];\n    delete this._preds[v];\n    _.each(_.keys(this._out[v]), removeEdge);\n    delete this._out[v];\n    delete this._sucs[v];\n    --this._nodeCount;\n  }\n  return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n  if (!this._isCompound) {\n    throw new Error(\"Cannot set parent in a non-compound graph\");\n  }\n\n  if (_.isUndefined(parent)) {\n    parent = GRAPH_NODE;\n  } else {\n    // Coerce parent to string\n    parent += \"\";\n    for (var ancestor = parent;\n      !_.isUndefined(ancestor);\n      ancestor = this.parent(ancestor)) {\n      if (ancestor === v) {\n        throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n                        \" would create a cycle\");\n      }\n    }\n\n    this.setNode(parent);\n  }\n\n  this.setNode(v);\n  this._removeFromParentsChildList(v);\n  this._parent[v] = parent;\n  this._children[parent][v] = true;\n  return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n  delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n  if (this._isCompound) {\n    var parent = this._parent[v];\n    if (parent !== GRAPH_NODE) {\n      return parent;\n    }\n  }\n};\n\nGraph.prototype.children = function(v) {\n  if (_.isUndefined(v)) {\n    v = GRAPH_NODE;\n  }\n\n  if (this._isCompound) {\n    var children = this._children[v];\n    if (children) {\n      return _.keys(children);\n    }\n  } else if (v === GRAPH_NODE) {\n    return this.nodes();\n  } else if (this.hasNode(v)) {\n    return [];\n  }\n};\n\nGraph.prototype.predecessors = function(v) {\n  var predsV = this._preds[v];\n  if (predsV) {\n    return _.keys(predsV);\n  }\n};\n\nGraph.prototype.successors = function(v) {\n  var sucsV = this._sucs[v];\n  if (sucsV) {\n    return _.keys(sucsV);\n  }\n};\n\nGraph.prototype.neighbors = function(v) {\n  var preds = this.predecessors(v);\n  if (preds) {\n    return _.union(preds, this.successors(v));\n  }\n};\n\nGraph.prototype.isLeaf = function (v) {\n  var neighbors;\n  if (this.isDirected()) {\n    neighbors = this.successors(v);\n  } else {\n    neighbors = this.neighbors(v);\n  }\n  return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n  var copy = new this.constructor({\n    directed: this._isDirected,\n    multigraph: this._isMultigraph,\n    compound: this._isCompound\n  });\n\n  copy.setGraph(this.graph());\n\n  var self = this;\n  _.each(this._nodes, function(value, v) {\n    if (filter(v)) {\n      copy.setNode(v, value);\n    }\n  });\n\n  _.each(this._edgeObjs, function(e) {\n    if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n      copy.setEdge(e, self.edge(e));\n    }\n  });\n\n  var parents = {};\n  function findParent(v) {\n    var parent = self.parent(v);\n    if (parent === undefined || copy.hasNode(parent)) {\n      parents[v] = parent;\n      return parent;\n    } else if (parent in parents) {\n      return parents[parent];\n    } else {\n      return findParent(parent);\n    }\n  }\n\n  if (this._isCompound) {\n    _.each(copy.nodes(), function(v) {\n      copy.setParent(v, findParent(v));\n    });\n  }\n\n  return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n  if (!_.isFunction(newDefault)) {\n    newDefault = _.constant(newDefault);\n  }\n  this._defaultEdgeLabelFn = newDefault;\n  return this;\n};\n\nGraph.prototype.edgeCount = function() {\n  return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n  return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n  var self = this;\n  var args = arguments;\n  _.reduce(vs, function(v, w) {\n    if (args.length > 1) {\n      self.setEdge(v, w, value);\n    } else {\n      self.setEdge(v, w);\n    }\n    return w;\n  });\n  return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n  var v, w, name, value;\n  var valueSpecified = false;\n  var arg0 = arguments[0];\n\n  if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n    v = arg0.v;\n    w = arg0.w;\n    name = arg0.name;\n    if (arguments.length === 2) {\n      value = arguments[1];\n      valueSpecified = true;\n    }\n  } else {\n    v = arg0;\n    w = arguments[1];\n    name = arguments[3];\n    if (arguments.length > 2) {\n      value = arguments[2];\n      valueSpecified = true;\n    }\n  }\n\n  v = \"\" + v;\n  w = \"\" + w;\n  if (!_.isUndefined(name)) {\n    name = \"\" + name;\n  }\n\n  var e = edgeArgsToId(this._isDirected, v, w, name);\n  if (_.has(this._edgeLabels, e)) {\n    if (valueSpecified) {\n      this._edgeLabels[e] = value;\n    }\n    return this;\n  }\n\n  if (!_.isUndefined(name) && !this._isMultigraph) {\n    throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n  }\n\n  // It didn't exist, so we need to create it.\n  // First ensure the nodes exist.\n  this.setNode(v);\n  this.setNode(w);\n\n  this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n  var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n  // Ensure we add undirected edges in a consistent way.\n  v = edgeObj.v;\n  w = edgeObj.w;\n\n  Object.freeze(edgeObj);\n  this._edgeObjs[e] = edgeObj;\n  incrementOrInitEntry(this._preds[w], v);\n  incrementOrInitEntry(this._sucs[v], w);\n  this._in[w][e] = edgeObj;\n  this._out[v][e] = edgeObj;\n  this._edgeCount++;\n  return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n  var e = (arguments.length === 1\n    ? edgeObjToId(this._isDirected, arguments[0])\n    : edgeArgsToId(this._isDirected, v, w, name));\n  return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n  var e = (arguments.length === 1\n    ? edgeObjToId(this._isDirected, arguments[0])\n    : edgeArgsToId(this._isDirected, v, w, name));\n  return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n  var e = (arguments.length === 1\n    ? edgeObjToId(this._isDirected, arguments[0])\n    : edgeArgsToId(this._isDirected, v, w, name));\n  var edge = this._edgeObjs[e];\n  if (edge) {\n    v = edge.v;\n    w = edge.w;\n    delete this._edgeLabels[e];\n    delete this._edgeObjs[e];\n    decrementOrRemoveEntry(this._preds[w], v);\n    decrementOrRemoveEntry(this._sucs[v], w);\n    delete this._in[w][e];\n    delete this._out[v][e];\n    this._edgeCount--;\n  }\n  return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n  var inV = this._in[v];\n  if (inV) {\n    var edges = _.values(inV);\n    if (!u) {\n      return edges;\n    }\n    return _.filter(edges, function(edge) { return edge.v === u; });\n  }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n  var outV = this._out[v];\n  if (outV) {\n    var edges = _.values(outV);\n    if (!w) {\n      return edges;\n    }\n    return _.filter(edges, function(edge) { return edge.w === w; });\n  }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n  var inEdges = this.inEdges(v, w);\n  if (inEdges) {\n    return inEdges.concat(this.outEdges(v, w));\n  }\n};\n\nfunction incrementOrInitEntry(map, k) {\n  if (map[k]) {\n    map[k]++;\n  } else {\n    map[k] = 1;\n  }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n  if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n  var v = \"\" + v_;\n  var w = \"\" + w_;\n  if (!isDirected && v > w) {\n    var tmp = v;\n    v = w;\n    w = tmp;\n  }\n  return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n             (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n  var v = \"\" + v_;\n  var w = \"\" + w_;\n  if (!isDirected && v > w) {\n    var tmp = v;\n    v = w;\n    w = tmp;\n  }\n  var edgeObj =  { v: v, w: w };\n  if (name) {\n    edgeObj.name = name;\n  }\n  return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n  return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/graph.js?");

/***/ }),

/***/ 22852:
/*!************************************************!*\
  !*** ../../node_modules/graphlib/lib/index.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("// Includes only the \"core\" of graphlib\nmodule.exports = {\n  Graph: __webpack_require__(/*! ./graph */ 18948),\n  version: __webpack_require__(/*! ./version */ 76248)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/index.js?");

/***/ }),

/***/ 68088:
/*!***********************************************!*\
  !*** ../../node_modules/graphlib/lib/json.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var _ = __webpack_require__(/*! ./lodash */ 75488);\nvar Graph = __webpack_require__(/*! ./graph */ 18948);\n\nmodule.exports = {\n  write: write,\n  read: read\n};\n\nfunction write(g) {\n  var json = {\n    options: {\n      directed: g.isDirected(),\n      multigraph: g.isMultigraph(),\n      compound: g.isCompound()\n    },\n    nodes: writeNodes(g),\n    edges: writeEdges(g)\n  };\n  if (!_.isUndefined(g.graph())) {\n    json.value = _.clone(g.graph());\n  }\n  return json;\n}\n\nfunction writeNodes(g) {\n  return _.map(g.nodes(), function(v) {\n    var nodeValue = g.node(v);\n    var parent = g.parent(v);\n    var node = { v: v };\n    if (!_.isUndefined(nodeValue)) {\n      node.value = nodeValue;\n    }\n    if (!_.isUndefined(parent)) {\n      node.parent = parent;\n    }\n    return node;\n  });\n}\n\nfunction writeEdges(g) {\n  return _.map(g.edges(), function(e) {\n    var edgeValue = g.edge(e);\n    var edge = { v: e.v, w: e.w };\n    if (!_.isUndefined(e.name)) {\n      edge.name = e.name;\n    }\n    if (!_.isUndefined(edgeValue)) {\n      edge.value = edgeValue;\n    }\n    return edge;\n  });\n}\n\nfunction read(json) {\n  var g = new Graph(json.options).setGraph(json.value);\n  _.each(json.nodes, function(entry) {\n    g.setNode(entry.v, entry.value);\n    if (entry.parent) {\n      g.setParent(entry.v, entry.parent);\n    }\n  });\n  _.each(json.edges, function(entry) {\n    g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n  });\n  return g;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/json.js?");

/***/ }),

/***/ 75488:
/*!*************************************************!*\
  !*** ../../node_modules/graphlib/lib/lodash.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/* global window */\n\nvar lodash;\n\nif (true) {\n  try {\n    lodash = {\n      clone: __webpack_require__(/*! lodash/clone */ 56352),\n      constant: __webpack_require__(/*! lodash/constant */ 4528),\n      each: __webpack_require__(/*! lodash/each */ 65520),\n      filter: __webpack_require__(/*! lodash/filter */ 74952),\n      has:  __webpack_require__(/*! lodash/has */ 76683),\n      isArray: __webpack_require__(/*! lodash/isArray */ 71648),\n      isEmpty: __webpack_require__(/*! lodash/isEmpty */ 58568),\n      isFunction: __webpack_require__(/*! lodash/isFunction */ 87464),\n      isUndefined: __webpack_require__(/*! lodash/isUndefined */ 10352),\n      keys: __webpack_require__(/*! lodash/keys */ 2820),\n      map: __webpack_require__(/*! lodash/map */ 60768),\n      reduce: __webpack_require__(/*! lodash/reduce */ 49360),\n      size: __webpack_require__(/*! lodash/size */ 70851),\n      transform: __webpack_require__(/*! lodash/transform */ 2984),\n      union: __webpack_require__(/*! lodash/union */ 41872),\n      values: __webpack_require__(/*! lodash/values */ 84724)\n    };\n  } catch (e) {\n    // continue regardless of error\n  }\n}\n\nif (!lodash) {\n  lodash = window._;\n}\n\nmodule.exports = lodash;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/lodash.js?");

/***/ }),

/***/ 76248:
/*!**************************************************!*\
  !*** ../../node_modules/graphlib/lib/version.js ***!
  \**************************************************/
/***/ (function(module) {

eval("module.exports = '2.1.8';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/graphlib/lib/version.js?");

/***/ }),

/***/ 79408:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_DataView.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676),\n    root = __webpack_require__(/*! ./_root */ 99088);\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_DataView.js?");

/***/ }),

/***/ 69728:
/*!******************************************!*\
  !*** ../../node_modules/lodash/_Hash.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var hashClear = __webpack_require__(/*! ./_hashClear */ 47152),\n    hashDelete = __webpack_require__(/*! ./_hashDelete */ 61372),\n    hashGet = __webpack_require__(/*! ./_hashGet */ 21084),\n    hashHas = __webpack_require__(/*! ./_hashHas */ 63516),\n    hashSet = __webpack_require__(/*! ./_hashSet */ 31836);\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Hash.js?");

/***/ }),

/***/ 44920:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_ListCache.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ 42444),\n    listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ 98776),\n    listCacheGet = __webpack_require__(/*! ./_listCacheGet */ 13580),\n    listCacheHas = __webpack_require__(/*! ./_listCacheHas */ 51776),\n    listCacheSet = __webpack_require__(/*! ./_listCacheSet */ 54688);\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_ListCache.js?");

/***/ }),

/***/ 8192:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/_Map.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676),\n    root = __webpack_require__(/*! ./_root */ 99088);\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Map.js?");

/***/ }),

/***/ 79892:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_MapCache.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ 4112),\n    mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ 51928),\n    mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ 78976),\n    mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ 69336),\n    mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ 43976);\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n  var index = -1,\n      length = entries == null ? 0 : entries.length;\n\n  this.clear();\n  while (++index < length) {\n    var entry = entries[index];\n    this.set(entry[0], entry[1]);\n  }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_MapCache.js?");

/***/ }),

/***/ 5092:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_Promise.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676),\n    root = __webpack_require__(/*! ./_root */ 99088);\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Promise.js?");

/***/ }),

/***/ 97968:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/_Set.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676),\n    root = __webpack_require__(/*! ./_root */ 99088);\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Set.js?");

/***/ }),

/***/ 34920:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_SetCache.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var MapCache = __webpack_require__(/*! ./_MapCache */ 79892),\n    setCacheAdd = __webpack_require__(/*! ./_setCacheAdd */ 50520),\n    setCacheHas = __webpack_require__(/*! ./_setCacheHas */ 96240);\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n  var index = -1,\n      length = values == null ? 0 : values.length;\n\n  this.__data__ = new MapCache;\n  while (++index < length) {\n    this.add(values[index]);\n  }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_SetCache.js?");

/***/ }),

/***/ 33288:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/_Stack.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var ListCache = __webpack_require__(/*! ./_ListCache */ 44920),\n    stackClear = __webpack_require__(/*! ./_stackClear */ 10816),\n    stackDelete = __webpack_require__(/*! ./_stackDelete */ 84040),\n    stackGet = __webpack_require__(/*! ./_stackGet */ 73304),\n    stackHas = __webpack_require__(/*! ./_stackHas */ 46696),\n    stackSet = __webpack_require__(/*! ./_stackSet */ 62968);\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n  var data = this.__data__ = new ListCache(entries);\n  this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Stack.js?");

/***/ }),

/***/ 73972:
/*!********************************************!*\
  !*** ../../node_modules/lodash/_Symbol.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var root = __webpack_require__(/*! ./_root */ 99088);\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Symbol.js?");

/***/ }),

/***/ 20400:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_Uint8Array.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var root = __webpack_require__(/*! ./_root */ 99088);\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_Uint8Array.js?");

/***/ }),

/***/ 21432:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_WeakMap.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676),\n    root = __webpack_require__(/*! ./_root */ 99088);\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_WeakMap.js?");

/***/ }),

/***/ 75088:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/_apply.js ***!
  \*******************************************/
/***/ (function(module) {

eval("/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n  switch (args.length) {\n    case 0: return func.call(thisArg);\n    case 1: return func.call(thisArg, args[0]);\n    case 2: return func.call(thisArg, args[0], args[1]);\n    case 3: return func.call(thisArg, args[0], args[1], args[2]);\n  }\n  return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_apply.js?");

/***/ }),

/***/ 33972:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_arrayEach.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (iteratee(array[index], index, array) === false) {\n      break;\n    }\n  }\n  return array;\n}\n\nmodule.exports = arrayEach;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayEach.js?");

/***/ }),

/***/ 92856:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_arrayFilter.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      resIndex = 0,\n      result = [];\n\n  while (++index < length) {\n    var value = array[index];\n    if (predicate(value, index, array)) {\n      result[resIndex++] = value;\n    }\n  }\n  return result;\n}\n\nmodule.exports = arrayFilter;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayFilter.js?");

/***/ }),

/***/ 94092:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_arrayIncludes.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIndexOf = __webpack_require__(/*! ./_baseIndexOf */ 86088);\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n  var length = array == null ? 0 : array.length;\n  return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayIncludes.js?");

/***/ }),

/***/ 28156:
/*!*******************************************************!*\
  !*** ../../node_modules/lodash/_arrayIncludesWith.js ***!
  \*******************************************************/
/***/ (function(module) {

eval("/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (comparator(value, array[index])) {\n      return true;\n    }\n  }\n  return false;\n}\n\nmodule.exports = arrayIncludesWith;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayIncludesWith.js?");

/***/ }),

/***/ 30192:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_arrayLikeKeys.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseTimes = __webpack_require__(/*! ./_baseTimes */ 79664),\n    isArguments = __webpack_require__(/*! ./isArguments */ 43396),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isIndex = __webpack_require__(/*! ./_isIndex */ 1640),\n    isTypedArray = __webpack_require__(/*! ./isTypedArray */ 25692);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n  var isArr = isArray(value),\n      isArg = !isArr && isArguments(value),\n      isBuff = !isArr && !isArg && isBuffer(value),\n      isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n      skipIndexes = isArr || isArg || isBuff || isType,\n      result = skipIndexes ? baseTimes(value.length, String) : [],\n      length = result.length;\n\n  for (var key in value) {\n    if ((inherited || hasOwnProperty.call(value, key)) &&\n        !(skipIndexes && (\n           // Safari 9 has enumerable `arguments.length` in strict mode.\n           key == 'length' ||\n           // Node.js 0.10 has enumerable non-index properties on buffers.\n           (isBuff && (key == 'offset' || key == 'parent')) ||\n           // PhantomJS 2 has enumerable non-index properties on typed arrays.\n           (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n           // Skip index properties.\n           isIndex(key, length)\n        ))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = arrayLikeKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayLikeKeys.js?");

/***/ }),

/***/ 89376:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_arrayMap.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n  var index = -1,\n      length = array == null ? 0 : array.length,\n      result = Array(length);\n\n  while (++index < length) {\n    result[index] = iteratee(array[index], index, array);\n  }\n  return result;\n}\n\nmodule.exports = arrayMap;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayMap.js?");

/***/ }),

/***/ 44972:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_arrayPush.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n  var index = -1,\n      length = values.length,\n      offset = array.length;\n\n  while (++index < length) {\n    array[offset + index] = values[index];\n  }\n  return array;\n}\n\nmodule.exports = arrayPush;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayPush.js?");

/***/ }),

/***/ 49048:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_arrayReduce.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n *  the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  if (initAccum && length) {\n    accumulator = array[++index];\n  }\n  while (++index < length) {\n    accumulator = iteratee(accumulator, array[index], index, array);\n  }\n  return accumulator;\n}\n\nmodule.exports = arrayReduce;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arrayReduce.js?");

/***/ }),

/***/ 13464:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_arraySome.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n *  else `false`.\n */\nfunction arraySome(array, predicate) {\n  var index = -1,\n      length = array == null ? 0 : array.length;\n\n  while (++index < length) {\n    if (predicate(array[index], index, array)) {\n      return true;\n    }\n  }\n  return false;\n}\n\nmodule.exports = arraySome;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_arraySome.js?");

/***/ }),

/***/ 76148:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_asciiSize.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseProperty = __webpack_require__(/*! ./_baseProperty */ 49056);\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_asciiSize.js?");

/***/ }),

/***/ 4056:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/_assignMergeValue.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 86437),\n    eq = __webpack_require__(/*! ./eq */ 44684);\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n  if ((value !== undefined && !eq(object[key], value)) ||\n      (value === undefined && !(key in object))) {\n    baseAssignValue(object, key, value);\n  }\n}\n\nmodule.exports = assignMergeValue;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_assignMergeValue.js?");

/***/ }),

/***/ 38156:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_assignValue.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 86437),\n    eq = __webpack_require__(/*! ./eq */ 44684);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n  var objValue = object[key];\n  if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n      (value === undefined && !(key in object))) {\n    baseAssignValue(object, key, value);\n  }\n}\n\nmodule.exports = assignValue;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_assignValue.js?");

/***/ }),

/***/ 1840:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_assocIndexOf.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var eq = __webpack_require__(/*! ./eq */ 44684);\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n  var length = array.length;\n  while (length--) {\n    if (eq(array[length][0], key)) {\n      return length;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_assocIndexOf.js?");

/***/ }),

/***/ 91908:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseAssign.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var copyObject = __webpack_require__(/*! ./_copyObject */ 92024),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n  return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseAssign.js?");

/***/ }),

/***/ 17840:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseAssignIn.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var copyObject = __webpack_require__(/*! ./_copyObject */ 92024),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n  return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseAssignIn.js?");

/***/ }),

/***/ 86437:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_baseAssignValue.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var defineProperty = __webpack_require__(/*! ./_defineProperty */ 97848);\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n  if (key == '__proto__' && defineProperty) {\n    defineProperty(object, key, {\n      'configurable': true,\n      'enumerable': true,\n      'value': value,\n      'writable': true\n    });\n  } else {\n    object[key] = value;\n  }\n}\n\nmodule.exports = baseAssignValue;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseAssignValue.js?");

/***/ }),

/***/ 14776:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseClone.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Stack = __webpack_require__(/*! ./_Stack */ 33288),\n    arrayEach = __webpack_require__(/*! ./_arrayEach */ 33972),\n    assignValue = __webpack_require__(/*! ./_assignValue */ 38156),\n    baseAssign = __webpack_require__(/*! ./_baseAssign */ 91908),\n    baseAssignIn = __webpack_require__(/*! ./_baseAssignIn */ 17840),\n    cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ 98528),\n    copyArray = __webpack_require__(/*! ./_copyArray */ 49924),\n    copySymbols = __webpack_require__(/*! ./_copySymbols */ 1588),\n    copySymbolsIn = __webpack_require__(/*! ./_copySymbolsIn */ 73256),\n    getAllKeys = __webpack_require__(/*! ./_getAllKeys */ 22892),\n    getAllKeysIn = __webpack_require__(/*! ./_getAllKeysIn */ 34800),\n    getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    initCloneArray = __webpack_require__(/*! ./_initCloneArray */ 39100),\n    initCloneByTag = __webpack_require__(/*! ./_initCloneByTag */ 70224),\n    initCloneObject = __webpack_require__(/*! ./_initCloneObject */ 23128),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isMap = __webpack_require__(/*! ./isMap */ 73888),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    isSet = __webpack_require__(/*! ./isSet */ 57944),\n    keys = __webpack_require__(/*! ./keys */ 2820),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n    CLONE_FLAT_FLAG = 2,\n    CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    objectTag = '[object Object]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]',\n    weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n *  1 - Deep clone\n *  2 - Flatten inherited properties\n *  4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n  var result,\n      isDeep = bitmask & CLONE_DEEP_FLAG,\n      isFlat = bitmask & CLONE_FLAT_FLAG,\n      isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n  if (customizer) {\n    result = object ? customizer(value, key, object, stack) : customizer(value);\n  }\n  if (result !== undefined) {\n    return result;\n  }\n  if (!isObject(value)) {\n    return value;\n  }\n  var isArr = isArray(value);\n  if (isArr) {\n    result = initCloneArray(value);\n    if (!isDeep) {\n      return copyArray(value, result);\n    }\n  } else {\n    var tag = getTag(value),\n        isFunc = tag == funcTag || tag == genTag;\n\n    if (isBuffer(value)) {\n      return cloneBuffer(value, isDeep);\n    }\n    if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n      result = (isFlat || isFunc) ? {} : initCloneObject(value);\n      if (!isDeep) {\n        return isFlat\n          ? copySymbolsIn(value, baseAssignIn(result, value))\n          : copySymbols(value, baseAssign(result, value));\n      }\n    } else {\n      if (!cloneableTags[tag]) {\n        return object ? value : {};\n      }\n      result = initCloneByTag(value, tag, isDeep);\n    }\n  }\n  // Check for circular references and return its corresponding clone.\n  stack || (stack = new Stack);\n  var stacked = stack.get(value);\n  if (stacked) {\n    return stacked;\n  }\n  stack.set(value, result);\n\n  if (isSet(value)) {\n    value.forEach(function(subValue) {\n      result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n    });\n  } else if (isMap(value)) {\n    value.forEach(function(subValue, key) {\n      result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n    });\n  }\n\n  var keysFunc = isFull\n    ? (isFlat ? getAllKeysIn : getAllKeys)\n    : (isFlat ? keysIn : keys);\n\n  var props = isArr ? undefined : keysFunc(value);\n  arrayEach(props || value, function(subValue, key) {\n    if (props) {\n      key = subValue;\n      subValue = value[key];\n    }\n    // Recursively populate clone (susceptible to call stack limits).\n    assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n  });\n  return result;\n}\n\nmodule.exports = baseClone;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseClone.js?");

/***/ }),

/***/ 3188:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseCreate.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isObject = __webpack_require__(/*! ./isObject */ 50636);\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n  function object() {}\n  return function(proto) {\n    if (!isObject(proto)) {\n      return {};\n    }\n    if (objectCreate) {\n      return objectCreate(proto);\n    }\n    object.prototype = proto;\n    var result = new object;\n    object.prototype = undefined;\n    return result;\n  };\n}());\n\nmodule.exports = baseCreate;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseCreate.js?");

/***/ }),

/***/ 82580:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_baseEach.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 86704),\n    createBaseEach = __webpack_require__(/*! ./_createBaseEach */ 13808);\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseEach.js?");

/***/ }),

/***/ 37684:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseExtremum.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n  var index = -1,\n      length = array.length;\n\n  while (++index < length) {\n    var value = array[index],\n        current = iteratee(value);\n\n    if (current != null && (computed === undefined\n          ? (current === current && !isSymbol(current))\n          : comparator(current, computed)\n        )) {\n      var computed = current,\n          result = value;\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseExtremum;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseExtremum.js?");

/***/ }),

/***/ 82744:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseFilter.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseEach = __webpack_require__(/*! ./_baseEach */ 82580);\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n  var result = [];\n  baseEach(collection, function(value, index, collection) {\n    if (predicate(value, index, collection)) {\n      result.push(value);\n    }\n  });\n  return result;\n}\n\nmodule.exports = baseFilter;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseFilter.js?");

/***/ }),

/***/ 10528:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_baseFindIndex.js ***!
  \***************************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n  var length = array.length,\n      index = fromIndex + (fromRight ? 1 : -1);\n\n  while ((fromRight ? index-- : ++index < length)) {\n    if (predicate(array[index], index, array)) {\n      return index;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = baseFindIndex;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseFindIndex.js?");

/***/ }),

/***/ 13776:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseFlatten.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayPush = __webpack_require__(/*! ./_arrayPush */ 44972),\n    isFlattenable = __webpack_require__(/*! ./_isFlattenable */ 17552);\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n  var index = -1,\n      length = array.length;\n\n  predicate || (predicate = isFlattenable);\n  result || (result = []);\n\n  while (++index < length) {\n    var value = array[index];\n    if (depth > 0 && predicate(value)) {\n      if (depth > 1) {\n        // Recursively flatten arrays (susceptible to call stack limits).\n        baseFlatten(value, depth - 1, predicate, isStrict, result);\n      } else {\n        arrayPush(result, value);\n      }\n    } else if (!isStrict) {\n      result[result.length] = value;\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseFlatten;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseFlatten.js?");

/***/ }),

/***/ 20284:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_baseFor.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var createBaseFor = __webpack_require__(/*! ./_createBaseFor */ 41988);\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseFor.js?");

/***/ }),

/***/ 86704:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseForOwn.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFor = __webpack_require__(/*! ./_baseFor */ 20284),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n  return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseForOwn.js?");

/***/ }),

/***/ 54280:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_baseGet.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var castPath = __webpack_require__(/*! ./_castPath */ 24996),\n    toKey = __webpack_require__(/*! ./_toKey */ 82104);\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n  path = castPath(path, object);\n\n  var index = 0,\n      length = path.length;\n\n  while (object != null && index < length) {\n    object = object[toKey(path[index++])];\n  }\n  return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseGet.js?");

/***/ }),

/***/ 69476:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_baseGetAllKeys.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayPush = __webpack_require__(/*! ./_arrayPush */ 44972),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n  var result = keysFunc(object);\n  return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseGetAllKeys.js?");

/***/ }),

/***/ 57596:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseGetTag.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972),\n    getRawTag = __webpack_require__(/*! ./_getRawTag */ 30712),\n    objectToString = __webpack_require__(/*! ./_objectToString */ 22640);\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n    undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n  if (value == null) {\n    return value === undefined ? undefinedTag : nullTag;\n  }\n  return (symToStringTag && symToStringTag in Object(value))\n    ? getRawTag(value)\n    : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseGetTag.js?");

/***/ }),

/***/ 78412:
/*!********************************************!*\
  !*** ../../node_modules/lodash/_baseGt.js ***!
  \********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n *  else `false`.\n */\nfunction baseGt(value, other) {\n  return value > other;\n}\n\nmodule.exports = baseGt;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseGt.js?");

/***/ }),

/***/ 77232:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_baseHas.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n  return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseHas.js?");

/***/ }),

/***/ 28928:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseHasIn.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n  return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseHasIn.js?");

/***/ }),

/***/ 86088:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseIndexOf.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFindIndex = __webpack_require__(/*! ./_baseFindIndex */ 10528),\n    baseIsNaN = __webpack_require__(/*! ./_baseIsNaN */ 91688),\n    strictIndexOf = __webpack_require__(/*! ./_strictIndexOf */ 41688);\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n  return value === value\n    ? strictIndexOf(array, value, fromIndex)\n    : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIndexOf.js?");

/***/ }),

/***/ 15064:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_baseIsArguments.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n  return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsArguments.js?");

/***/ }),

/***/ 27816:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseIsEqual.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsEqualDeep = __webpack_require__(/*! ./_baseIsEqualDeep */ 54480),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n *  1 - Unordered comparison\n *  2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n  if (value === other) {\n    return true;\n  }\n  if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n    return value !== value && other !== other;\n  }\n  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsEqual.js?");

/***/ }),

/***/ 54480:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_baseIsEqualDeep.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Stack = __webpack_require__(/*! ./_Stack */ 33288),\n    equalArrays = __webpack_require__(/*! ./_equalArrays */ 67227),\n    equalByTag = __webpack_require__(/*! ./_equalByTag */ 51872),\n    equalObjects = __webpack_require__(/*! ./_equalObjects */ 63980),\n    getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isTypedArray = __webpack_require__(/*! ./isTypedArray */ 25692);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n  var objIsArr = isArray(object),\n      othIsArr = isArray(other),\n      objTag = objIsArr ? arrayTag : getTag(object),\n      othTag = othIsArr ? arrayTag : getTag(other);\n\n  objTag = objTag == argsTag ? objectTag : objTag;\n  othTag = othTag == argsTag ? objectTag : othTag;\n\n  var objIsObj = objTag == objectTag,\n      othIsObj = othTag == objectTag,\n      isSameTag = objTag == othTag;\n\n  if (isSameTag && isBuffer(object)) {\n    if (!isBuffer(other)) {\n      return false;\n    }\n    objIsArr = true;\n    objIsObj = false;\n  }\n  if (isSameTag && !objIsObj) {\n    stack || (stack = new Stack);\n    return (objIsArr || isTypedArray(object))\n      ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n      : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n  }\n  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n    var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n        othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n    if (objIsWrapped || othIsWrapped) {\n      var objUnwrapped = objIsWrapped ? object.value() : object,\n          othUnwrapped = othIsWrapped ? other.value() : other;\n\n      stack || (stack = new Stack);\n      return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n    }\n  }\n  if (!isSameTag) {\n    return false;\n  }\n  stack || (stack = new Stack);\n  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsEqualDeep.js?");

/***/ }),

/***/ 4464:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseIsMap.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n  return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsMap.js?");

/***/ }),

/***/ 45232:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseIsMatch.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Stack = __webpack_require__(/*! ./_Stack */ 33288),\n    baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 27816);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n    COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n  var index = matchData.length,\n      length = index,\n      noCustomizer = !customizer;\n\n  if (object == null) {\n    return !length;\n  }\n  object = Object(object);\n  while (index--) {\n    var data = matchData[index];\n    if ((noCustomizer && data[2])\n          ? data[1] !== object[data[0]]\n          : !(data[0] in object)\n        ) {\n      return false;\n    }\n  }\n  while (++index < length) {\n    data = matchData[index];\n    var key = data[0],\n        objValue = object[key],\n        srcValue = data[1];\n\n    if (noCustomizer && data[2]) {\n      if (objValue === undefined && !(key in object)) {\n        return false;\n      }\n    } else {\n      var stack = new Stack;\n      if (customizer) {\n        var result = customizer(objValue, srcValue, key, object, source, stack);\n      }\n      if (!(result === undefined\n            ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n            : result\n          )) {\n        return false;\n      }\n    }\n  }\n  return true;\n}\n\nmodule.exports = baseIsMatch;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsMatch.js?");

/***/ }),

/***/ 91688:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseIsNaN.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n  return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsNaN.js?");

/***/ }),

/***/ 7376:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseIsNative.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isFunction = __webpack_require__(/*! ./isFunction */ 87464),\n    isMasked = __webpack_require__(/*! ./_isMasked */ 9008),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    toSource = __webpack_require__(/*! ./_toSource */ 64776);\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n    objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n  funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n  .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n *  else `false`.\n */\nfunction baseIsNative(value) {\n  if (!isObject(value) || isMasked(value)) {\n    return false;\n  }\n  var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n  return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsNative.js?");

/***/ }),

/***/ 272:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseIsSet.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n  return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsSet.js?");

/***/ }),

/***/ 90420:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/_baseIsTypedArray.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isLength = __webpack_require__(/*! ./isLength */ 49912),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n    arrayTag = '[object Array]',\n    boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    funcTag = '[object Function]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    objectTag = '[object Object]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n  return isObjectLike(value) &&\n    isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIsTypedArray.js?");

/***/ }),

/***/ 27840:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseIteratee.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseMatches = __webpack_require__(/*! ./_baseMatches */ 99696),\n    baseMatchesProperty = __webpack_require__(/*! ./_baseMatchesProperty */ 58140),\n    identity = __webpack_require__(/*! ./identity */ 85992),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    property = __webpack_require__(/*! ./property */ 38144);\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n  // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n  // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n  if (typeof value == 'function') {\n    return value;\n  }\n  if (value == null) {\n    return identity;\n  }\n  if (typeof value == 'object') {\n    return isArray(value)\n      ? baseMatchesProperty(value[0], value[1])\n      : baseMatches(value);\n  }\n  return property(value);\n}\n\nmodule.exports = baseIteratee;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseIteratee.js?");

/***/ }),

/***/ 72144:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_baseKeys.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isPrototype = __webpack_require__(/*! ./_isPrototype */ 34084),\n    nativeKeys = __webpack_require__(/*! ./_nativeKeys */ 77532);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n  if (!isPrototype(object)) {\n    return nativeKeys(object);\n  }\n  var result = [];\n  for (var key in Object(object)) {\n    if (hasOwnProperty.call(object, key) && key != 'constructor') {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseKeys.js?");

/***/ }),

/***/ 78553:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseKeysIn.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isObject = __webpack_require__(/*! ./isObject */ 50636),\n    isPrototype = __webpack_require__(/*! ./_isPrototype */ 34084),\n    nativeKeysIn = __webpack_require__(/*! ./_nativeKeysIn */ 24904);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n  if (!isObject(object)) {\n    return nativeKeysIn(object);\n  }\n  var isProto = isPrototype(object),\n      result = [];\n\n  for (var key in object) {\n    if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseKeysIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseKeysIn.js?");

/***/ }),

/***/ 7448:
/*!********************************************!*\
  !*** ../../node_modules/lodash/_baseLt.js ***!
  \********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n *  else `false`.\n */\nfunction baseLt(value, other) {\n  return value < other;\n}\n\nmodule.exports = baseLt;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseLt.js?");

/***/ }),

/***/ 27448:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_baseMap.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseEach = __webpack_require__(/*! ./_baseEach */ 82580),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468);\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n  var index = -1,\n      result = isArrayLike(collection) ? Array(collection.length) : [];\n\n  baseEach(collection, function(value, key, collection) {\n    result[++index] = iteratee(value, key, collection);\n  });\n  return result;\n}\n\nmodule.exports = baseMap;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseMap.js?");

/***/ }),

/***/ 99696:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseMatches.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsMatch = __webpack_require__(/*! ./_baseIsMatch */ 45232),\n    getMatchData = __webpack_require__(/*! ./_getMatchData */ 46720),\n    matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 2656);\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n  var matchData = getMatchData(source);\n  if (matchData.length == 1 && matchData[0][2]) {\n    return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n  }\n  return function(object) {\n    return object === source || baseIsMatch(object, source, matchData);\n  };\n}\n\nmodule.exports = baseMatches;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseMatches.js?");

/***/ }),

/***/ 58140:
/*!*********************************************************!*\
  !*** ../../node_modules/lodash/_baseMatchesProperty.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsEqual = __webpack_require__(/*! ./_baseIsEqual */ 27816),\n    get = __webpack_require__(/*! ./get */ 34268),\n    hasIn = __webpack_require__(/*! ./hasIn */ 58464),\n    isKey = __webpack_require__(/*! ./_isKey */ 93968),\n    isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 25107),\n    matchesStrictComparable = __webpack_require__(/*! ./_matchesStrictComparable */ 2656),\n    toKey = __webpack_require__(/*! ./_toKey */ 82104);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n    COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n  if (isKey(path) && isStrictComparable(srcValue)) {\n    return matchesStrictComparable(toKey(path), srcValue);\n  }\n  return function(object) {\n    var objValue = get(object, path);\n    return (objValue === undefined && objValue === srcValue)\n      ? hasIn(object, path)\n      : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n  };\n}\n\nmodule.exports = baseMatchesProperty;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseMatchesProperty.js?");

/***/ }),

/***/ 4224:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseMerge.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Stack = __webpack_require__(/*! ./_Stack */ 33288),\n    assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ 4056),\n    baseFor = __webpack_require__(/*! ./_baseFor */ 20284),\n    baseMergeDeep = __webpack_require__(/*! ./_baseMergeDeep */ 91731),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264),\n    safeGet = __webpack_require__(/*! ./_safeGet */ 18336);\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n *  counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n  if (object === source) {\n    return;\n  }\n  baseFor(source, function(srcValue, key) {\n    stack || (stack = new Stack);\n    if (isObject(srcValue)) {\n      baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n    }\n    else {\n      var newValue = customizer\n        ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n        : undefined;\n\n      if (newValue === undefined) {\n        newValue = srcValue;\n      }\n      assignMergeValue(object, key, newValue);\n    }\n  }, keysIn);\n}\n\nmodule.exports = baseMerge;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseMerge.js?");

/***/ }),

/***/ 91731:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_baseMergeDeep.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assignMergeValue = __webpack_require__(/*! ./_assignMergeValue */ 4056),\n    cloneBuffer = __webpack_require__(/*! ./_cloneBuffer */ 98528),\n    cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ 34832),\n    copyArray = __webpack_require__(/*! ./_copyArray */ 49924),\n    initCloneObject = __webpack_require__(/*! ./_initCloneObject */ 23128),\n    isArguments = __webpack_require__(/*! ./isArguments */ 43396),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ 79308),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isFunction = __webpack_require__(/*! ./isFunction */ 87464),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    isPlainObject = __webpack_require__(/*! ./isPlainObject */ 63532),\n    isTypedArray = __webpack_require__(/*! ./isTypedArray */ 25692),\n    safeGet = __webpack_require__(/*! ./_safeGet */ 18336),\n    toPlainObject = __webpack_require__(/*! ./toPlainObject */ 82092);\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n *  counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n  var objValue = safeGet(object, key),\n      srcValue = safeGet(source, key),\n      stacked = stack.get(srcValue);\n\n  if (stacked) {\n    assignMergeValue(object, key, stacked);\n    return;\n  }\n  var newValue = customizer\n    ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n    : undefined;\n\n  var isCommon = newValue === undefined;\n\n  if (isCommon) {\n    var isArr = isArray(srcValue),\n        isBuff = !isArr && isBuffer(srcValue),\n        isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n    newValue = srcValue;\n    if (isArr || isBuff || isTyped) {\n      if (isArray(objValue)) {\n        newValue = objValue;\n      }\n      else if (isArrayLikeObject(objValue)) {\n        newValue = copyArray(objValue);\n      }\n      else if (isBuff) {\n        isCommon = false;\n        newValue = cloneBuffer(srcValue, true);\n      }\n      else if (isTyped) {\n        isCommon = false;\n        newValue = cloneTypedArray(srcValue, true);\n      }\n      else {\n        newValue = [];\n      }\n    }\n    else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n      newValue = objValue;\n      if (isArguments(objValue)) {\n        newValue = toPlainObject(objValue);\n      }\n      else if (!isObject(objValue) || isFunction(objValue)) {\n        newValue = initCloneObject(srcValue);\n      }\n    }\n    else {\n      isCommon = false;\n    }\n  }\n  if (isCommon) {\n    // Recursively merge objects and arrays (susceptible to call stack limits).\n    stack.set(srcValue, newValue);\n    mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n    stack['delete'](srcValue);\n  }\n  assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseMergeDeep.js?");

/***/ }),

/***/ 89461:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_baseOrderBy.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayMap = __webpack_require__(/*! ./_arrayMap */ 89376),\n    baseGet = __webpack_require__(/*! ./_baseGet */ 54280),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    baseMap = __webpack_require__(/*! ./_baseMap */ 27448),\n    baseSortBy = __webpack_require__(/*! ./_baseSortBy */ 35612),\n    baseUnary = __webpack_require__(/*! ./_baseUnary */ 15792),\n    compareMultiple = __webpack_require__(/*! ./_compareMultiple */ 25888),\n    identity = __webpack_require__(/*! ./identity */ 85992),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n  if (iteratees.length) {\n    iteratees = arrayMap(iteratees, function(iteratee) {\n      if (isArray(iteratee)) {\n        return function(value) {\n          return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n        }\n      }\n      return iteratee;\n    });\n  } else {\n    iteratees = [identity];\n  }\n\n  var index = -1;\n  iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n  var result = baseMap(collection, function(value, key, collection) {\n    var criteria = arrayMap(iteratees, function(iteratee) {\n      return iteratee(value);\n    });\n    return { 'criteria': criteria, 'index': ++index, 'value': value };\n  });\n\n  return baseSortBy(result, function(object, other) {\n    return compareMultiple(object, other, orders);\n  });\n}\n\nmodule.exports = baseOrderBy;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseOrderBy.js?");

/***/ }),

/***/ 80956:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_basePick.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var basePickBy = __webpack_require__(/*! ./_basePickBy */ 55532),\n    hasIn = __webpack_require__(/*! ./hasIn */ 58464);\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n  return basePickBy(object, paths, function(value, path) {\n    return hasIn(object, path);\n  });\n}\n\nmodule.exports = basePick;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_basePick.js?");

/***/ }),

/***/ 55532:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_basePickBy.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGet = __webpack_require__(/*! ./_baseGet */ 54280),\n    baseSet = __webpack_require__(/*! ./_baseSet */ 5572),\n    castPath = __webpack_require__(/*! ./_castPath */ 24996);\n\n/**\n * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n  var index = -1,\n      length = paths.length,\n      result = {};\n\n  while (++index < length) {\n    var path = paths[index],\n        value = baseGet(object, path);\n\n    if (predicate(value, path)) {\n      baseSet(result, castPath(path, object), value);\n    }\n  }\n  return result;\n}\n\nmodule.exports = basePickBy;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_basePickBy.js?");

/***/ }),

/***/ 49056:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseProperty.js ***!
  \**************************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n  return function(object) {\n    return object == null ? undefined : object[key];\n  };\n}\n\nmodule.exports = baseProperty;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseProperty.js?");

/***/ }),

/***/ 40176:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/_basePropertyDeep.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGet = __webpack_require__(/*! ./_baseGet */ 54280);\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n  return function(object) {\n    return baseGet(object, path);\n  };\n}\n\nmodule.exports = basePropertyDeep;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_basePropertyDeep.js?");

/***/ }),

/***/ 21068:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseRange.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n    nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n  var index = -1,\n      length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n      result = Array(length);\n\n  while (length--) {\n    result[fromRight ? length : ++index] = start;\n    start += step;\n  }\n  return result;\n}\n\nmodule.exports = baseRange;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseRange.js?");

/***/ }),

/***/ 34024:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseReduce.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n *  `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n  eachFunc(collection, function(value, index, collection) {\n    accumulator = initAccum\n      ? (initAccum = false, value)\n      : iteratee(accumulator, value, index, collection);\n  });\n  return accumulator;\n}\n\nmodule.exports = baseReduce;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseReduce.js?");

/***/ }),

/***/ 24828:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_baseRest.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var identity = __webpack_require__(/*! ./identity */ 85992),\n    overRest = __webpack_require__(/*! ./_overRest */ 2184),\n    setToString = __webpack_require__(/*! ./_setToString */ 72568);\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n  return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseRest.js?");

/***/ }),

/***/ 5572:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_baseSet.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assignValue = __webpack_require__(/*! ./_assignValue */ 38156),\n    castPath = __webpack_require__(/*! ./_castPath */ 24996),\n    isIndex = __webpack_require__(/*! ./_isIndex */ 1640),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    toKey = __webpack_require__(/*! ./_toKey */ 82104);\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n  if (!isObject(object)) {\n    return object;\n  }\n  path = castPath(path, object);\n\n  var index = -1,\n      length = path.length,\n      lastIndex = length - 1,\n      nested = object;\n\n  while (nested != null && ++index < length) {\n    var key = toKey(path[index]),\n        newValue = value;\n\n    if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n      return object;\n    }\n\n    if (index != lastIndex) {\n      var objValue = nested[key];\n      newValue = customizer ? customizer(objValue, key, nested) : undefined;\n      if (newValue === undefined) {\n        newValue = isObject(objValue)\n          ? objValue\n          : (isIndex(path[index + 1]) ? [] : {});\n      }\n    }\n    assignValue(nested, key, newValue);\n    nested = nested[key];\n  }\n  return object;\n}\n\nmodule.exports = baseSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseSet.js?");

/***/ }),

/***/ 26999:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_baseSetToString.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var constant = __webpack_require__(/*! ./constant */ 4528),\n    defineProperty = __webpack_require__(/*! ./_defineProperty */ 97848),\n    identity = __webpack_require__(/*! ./identity */ 85992);\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n  return defineProperty(func, 'toString', {\n    'configurable': true,\n    'enumerable': false,\n    'value': constant(string),\n    'writable': true\n  });\n};\n\nmodule.exports = baseSetToString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseSetToString.js?");

/***/ }),

/***/ 35612:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseSortBy.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n  var length = array.length;\n\n  array.sort(comparer);\n  while (length--) {\n    array[length] = array[length].value;\n  }\n  return array;\n}\n\nmodule.exports = baseSortBy;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseSortBy.js?");

/***/ }),

/***/ 79664:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseTimes.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n  var index = -1,\n      result = Array(n);\n\n  while (++index < n) {\n    result[index] = iteratee(index);\n  }\n  return result;\n}\n\nmodule.exports = baseTimes;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseTimes.js?");

/***/ }),

/***/ 93060:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_baseToString.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972),\n    arrayMap = __webpack_require__(/*! ./_arrayMap */ 89376),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n  // Exit early for strings to avoid a performance hit in some environments.\n  if (typeof value == 'string') {\n    return value;\n  }\n  if (isArray(value)) {\n    // Recursively convert values (susceptible to call stack limits).\n    return arrayMap(value, baseToString) + '';\n  }\n  if (isSymbol(value)) {\n    return symbolToString ? symbolToString.call(value) : '';\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseToString.js?");

/***/ }),

/***/ 83900:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_baseTrim.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var trimmedEndIndex = __webpack_require__(/*! ./_trimmedEndIndex */ 63296);\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n  return string\n    ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n    : string;\n}\n\nmodule.exports = baseTrim;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseTrim.js?");

/***/ }),

/***/ 15792:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_baseUnary.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n  return function(value) {\n    return func(value);\n  };\n}\n\nmodule.exports = baseUnary;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseUnary.js?");

/***/ }),

/***/ 91456:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_baseUniq.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var SetCache = __webpack_require__(/*! ./_SetCache */ 34920),\n    arrayIncludes = __webpack_require__(/*! ./_arrayIncludes */ 94092),\n    arrayIncludesWith = __webpack_require__(/*! ./_arrayIncludesWith */ 28156),\n    cacheHas = __webpack_require__(/*! ./_cacheHas */ 62844),\n    createSet = __webpack_require__(/*! ./_createSet */ 80388),\n    setToArray = __webpack_require__(/*! ./_setToArray */ 77280);\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n  var index = -1,\n      includes = arrayIncludes,\n      length = array.length,\n      isCommon = true,\n      result = [],\n      seen = result;\n\n  if (comparator) {\n    isCommon = false;\n    includes = arrayIncludesWith;\n  }\n  else if (length >= LARGE_ARRAY_SIZE) {\n    var set = iteratee ? null : createSet(array);\n    if (set) {\n      return setToArray(set);\n    }\n    isCommon = false;\n    includes = cacheHas;\n    seen = new SetCache;\n  }\n  else {\n    seen = iteratee ? [] : result;\n  }\n  outer:\n  while (++index < length) {\n    var value = array[index],\n        computed = iteratee ? iteratee(value) : value;\n\n    value = (comparator || value !== 0) ? value : 0;\n    if (isCommon && computed === computed) {\n      var seenIndex = seen.length;\n      while (seenIndex--) {\n        if (seen[seenIndex] === computed) {\n          continue outer;\n        }\n      }\n      if (iteratee) {\n        seen.push(computed);\n      }\n      result.push(value);\n    }\n    else if (!includes(seen, computed, comparator)) {\n      if (seen !== result) {\n        seen.push(computed);\n      }\n      result.push(value);\n    }\n  }\n  return result;\n}\n\nmodule.exports = baseUniq;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseUniq.js?");

/***/ }),

/***/ 2668:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_baseValues.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayMap = __webpack_require__(/*! ./_arrayMap */ 89376);\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n  return arrayMap(props, function(key) {\n    return object[key];\n  });\n}\n\nmodule.exports = baseValues;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseValues.js?");

/***/ }),

/***/ 46192:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_baseZipObject.js ***!
  \***************************************************/
/***/ (function(module) {

eval("/**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\nfunction baseZipObject(props, values, assignFunc) {\n  var index = -1,\n      length = props.length,\n      valsLength = values.length,\n      result = {};\n\n  while (++index < length) {\n    var value = index < valsLength ? values[index] : undefined;\n    assignFunc(result, props[index], value);\n  }\n  return result;\n}\n\nmodule.exports = baseZipObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_baseZipObject.js?");

/***/ }),

/***/ 62844:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_cacheHas.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n  return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cacheHas.js?");

/***/ }),

/***/ 69024:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_castFunction.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var identity = __webpack_require__(/*! ./identity */ 85992);\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n  return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_castFunction.js?");

/***/ }),

/***/ 24996:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_castPath.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isKey = __webpack_require__(/*! ./_isKey */ 93968),\n    stringToPath = __webpack_require__(/*! ./_stringToPath */ 26712),\n    toString = __webpack_require__(/*! ./toString */ 57216);\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n  if (isArray(value)) {\n    return value;\n  }\n  return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_castPath.js?");

/***/ }),

/***/ 89899:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/_cloneArrayBuffer.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 20400);\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n  var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n  new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n  return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneArrayBuffer.js?");

/***/ }),

/***/ 98528:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_cloneBuffer.js ***!
  \*************************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar root = __webpack_require__(/*! ./_root */ 99088);\n\n/** Detect free variable `exports`. */\nvar freeExports =  true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && \"object\" == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n    allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of  `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n  if (isDeep) {\n    return buffer.slice();\n  }\n  var length = buffer.length,\n      result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n  buffer.copy(result);\n  return result;\n}\n\nmodule.exports = cloneBuffer;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneBuffer.js?");

/***/ }),

/***/ 9315:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_cloneDataView.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ 89899);\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n  return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneDataView.js?");

/***/ }),

/***/ 26148:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_cloneRegExp.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n  var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n  result.lastIndex = regexp.lastIndex;\n  return result;\n}\n\nmodule.exports = cloneRegExp;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneRegExp.js?");

/***/ }),

/***/ 90864:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_cloneSymbol.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972);\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneSymbol.js?");

/***/ }),

/***/ 34832:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_cloneTypedArray.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ 89899);\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n  var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n  return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_cloneTypedArray.js?");

/***/ }),

/***/ 4408:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/_compareAscending.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n  if (value !== other) {\n    var valIsDefined = value !== undefined,\n        valIsNull = value === null,\n        valIsReflexive = value === value,\n        valIsSymbol = isSymbol(value);\n\n    var othIsDefined = other !== undefined,\n        othIsNull = other === null,\n        othIsReflexive = other === other,\n        othIsSymbol = isSymbol(other);\n\n    if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n        (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n        (valIsNull && othIsDefined && othIsReflexive) ||\n        (!valIsDefined && othIsReflexive) ||\n        !valIsReflexive) {\n      return 1;\n    }\n    if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n        (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n        (othIsNull && valIsDefined && valIsReflexive) ||\n        (!othIsDefined && valIsReflexive) ||\n        !othIsReflexive) {\n      return -1;\n    }\n  }\n  return 0;\n}\n\nmodule.exports = compareAscending;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_compareAscending.js?");

/***/ }),

/***/ 25888:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_compareMultiple.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var compareAscending = __webpack_require__(/*! ./_compareAscending */ 4408);\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n  var index = -1,\n      objCriteria = object.criteria,\n      othCriteria = other.criteria,\n      length = objCriteria.length,\n      ordersLength = orders.length;\n\n  while (++index < length) {\n    var result = compareAscending(objCriteria[index], othCriteria[index]);\n    if (result) {\n      if (index >= ordersLength) {\n        return result;\n      }\n      var order = orders[index];\n      return result * (order == 'desc' ? -1 : 1);\n    }\n  }\n  // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n  // that causes it, under certain circumstances, to provide the same value for\n  // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n  // for more details.\n  //\n  // This also ensures a stable sort in V8 and other engines.\n  // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n  return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_compareMultiple.js?");

/***/ }),

/***/ 49924:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_copyArray.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n  var index = -1,\n      length = source.length;\n\n  array || (array = Array(length));\n  while (++index < length) {\n    array[index] = source[index];\n  }\n  return array;\n}\n\nmodule.exports = copyArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_copyArray.js?");

/***/ }),

/***/ 92024:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_copyObject.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assignValue = __webpack_require__(/*! ./_assignValue */ 38156),\n    baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 86437);\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n  var isNew = !object;\n  object || (object = {});\n\n  var index = -1,\n      length = props.length;\n\n  while (++index < length) {\n    var key = props[index];\n\n    var newValue = customizer\n      ? customizer(object[key], source[key], key, object, source)\n      : undefined;\n\n    if (newValue === undefined) {\n      newValue = source[key];\n    }\n    if (isNew) {\n      baseAssignValue(object, key, newValue);\n    } else {\n      assignValue(object, key, newValue);\n    }\n  }\n  return object;\n}\n\nmodule.exports = copyObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_copyObject.js?");

/***/ }),

/***/ 1588:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_copySymbols.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var copyObject = __webpack_require__(/*! ./_copyObject */ 92024),\n    getSymbols = __webpack_require__(/*! ./_getSymbols */ 17112);\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n  return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_copySymbols.js?");

/***/ }),

/***/ 73256:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_copySymbolsIn.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var copyObject = __webpack_require__(/*! ./_copyObject */ 92024),\n    getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ 39232);\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n  return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_copySymbolsIn.js?");

/***/ }),

/***/ 11812:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_coreJsData.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var root = __webpack_require__(/*! ./_root */ 99088);\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_coreJsData.js?");

/***/ }),

/***/ 76656:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_createAssigner.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseRest = __webpack_require__(/*! ./_baseRest */ 24828),\n    isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ 8400);\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n  return baseRest(function(object, sources) {\n    var index = -1,\n        length = sources.length,\n        customizer = length > 1 ? sources[length - 1] : undefined,\n        guard = length > 2 ? sources[2] : undefined;\n\n    customizer = (assigner.length > 3 && typeof customizer == 'function')\n      ? (length--, customizer)\n      : undefined;\n\n    if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n      customizer = length < 3 ? undefined : customizer;\n      length = 1;\n    }\n    object = Object(object);\n    while (++index < length) {\n      var source = sources[index];\n      if (source) {\n        assigner(object, source, index, customizer);\n      }\n    }\n    return object;\n  });\n}\n\nmodule.exports = createAssigner;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createAssigner.js?");

/***/ }),

/***/ 13808:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_createBaseEach.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468);\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n  return function(collection, iteratee) {\n    if (collection == null) {\n      return collection;\n    }\n    if (!isArrayLike(collection)) {\n      return eachFunc(collection, iteratee);\n    }\n    var length = collection.length,\n        index = fromRight ? length : -1,\n        iterable = Object(collection);\n\n    while ((fromRight ? index-- : ++index < length)) {\n      if (iteratee(iterable[index], index, iterable) === false) {\n        break;\n      }\n    }\n    return collection;\n  };\n}\n\nmodule.exports = createBaseEach;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createBaseEach.js?");

/***/ }),

/***/ 41988:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_createBaseFor.js ***!
  \***************************************************/
/***/ (function(module) {

eval("/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n  return function(object, iteratee, keysFunc) {\n    var index = -1,\n        iterable = Object(object),\n        props = keysFunc(object),\n        length = props.length;\n\n    while (length--) {\n      var key = props[fromRight ? length : ++index];\n      if (iteratee(iterable[key], key, iterable) === false) {\n        break;\n      }\n    }\n    return object;\n  };\n}\n\nmodule.exports = createBaseFor;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createBaseFor.js?");

/***/ }),

/***/ 87956:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_createFind.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n  return function(collection, predicate, fromIndex) {\n    var iterable = Object(collection);\n    if (!isArrayLike(collection)) {\n      var iteratee = baseIteratee(predicate, 3);\n      collection = keys(collection);\n      predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n    }\n    var index = findIndexFunc(collection, predicate, fromIndex);\n    return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n  };\n}\n\nmodule.exports = createFind;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createFind.js?");

/***/ }),

/***/ 98232:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_createRange.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseRange = __webpack_require__(/*! ./_baseRange */ 21068),\n    isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ 8400),\n    toFinite = __webpack_require__(/*! ./toFinite */ 64168);\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n  return function(start, end, step) {\n    if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n      end = step = undefined;\n    }\n    // Ensure the sign of `-0` is preserved.\n    start = toFinite(start);\n    if (end === undefined) {\n      end = start;\n      start = 0;\n    } else {\n      end = toFinite(end);\n    }\n    step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n    return baseRange(start, end, step, fromRight);\n  };\n}\n\nmodule.exports = createRange;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createRange.js?");

/***/ }),

/***/ 80388:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_createSet.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Set = __webpack_require__(/*! ./_Set */ 97968),\n    noop = __webpack_require__(/*! ./noop */ 53284),\n    setToArray = __webpack_require__(/*! ./_setToArray */ 77280);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n  return new Set(values);\n};\n\nmodule.exports = createSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_createSet.js?");

/***/ }),

/***/ 97848:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_defineProperty.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676);\n\nvar defineProperty = (function() {\n  try {\n    var func = getNative(Object, 'defineProperty');\n    func({}, '', {});\n    return func;\n  } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_defineProperty.js?");

/***/ }),

/***/ 67227:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_equalArrays.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var SetCache = __webpack_require__(/*! ./_SetCache */ 34920),\n    arraySome = __webpack_require__(/*! ./_arraySome */ 13464),\n    cacheHas = __webpack_require__(/*! ./_cacheHas */ 62844);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n    COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n      arrLength = array.length,\n      othLength = other.length;\n\n  if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n    return false;\n  }\n  // Check that cyclic values are equal.\n  var arrStacked = stack.get(array);\n  var othStacked = stack.get(other);\n  if (arrStacked && othStacked) {\n    return arrStacked == other && othStacked == array;\n  }\n  var index = -1,\n      result = true,\n      seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n  stack.set(array, other);\n  stack.set(other, array);\n\n  // Ignore non-index properties.\n  while (++index < arrLength) {\n    var arrValue = array[index],\n        othValue = other[index];\n\n    if (customizer) {\n      var compared = isPartial\n        ? customizer(othValue, arrValue, index, other, array, stack)\n        : customizer(arrValue, othValue, index, array, other, stack);\n    }\n    if (compared !== undefined) {\n      if (compared) {\n        continue;\n      }\n      result = false;\n      break;\n    }\n    // Recursively compare arrays (susceptible to call stack limits).\n    if (seen) {\n      if (!arraySome(other, function(othValue, othIndex) {\n            if (!cacheHas(seen, othIndex) &&\n                (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n              return seen.push(othIndex);\n            }\n          })) {\n        result = false;\n        break;\n      }\n    } else if (!(\n          arrValue === othValue ||\n            equalFunc(arrValue, othValue, bitmask, customizer, stack)\n        )) {\n      result = false;\n      break;\n    }\n  }\n  stack['delete'](array);\n  stack['delete'](other);\n  return result;\n}\n\nmodule.exports = equalArrays;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_equalArrays.js?");

/***/ }),

/***/ 51872:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_equalByTag.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972),\n    Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 20400),\n    eq = __webpack_require__(/*! ./eq */ 44684),\n    equalArrays = __webpack_require__(/*! ./_equalArrays */ 67227),\n    mapToArray = __webpack_require__(/*! ./_mapToArray */ 68788),\n    setToArray = __webpack_require__(/*! ./_setToArray */ 77280);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n    COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    errorTag = '[object Error]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n    symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n  switch (tag) {\n    case dataViewTag:\n      if ((object.byteLength != other.byteLength) ||\n          (object.byteOffset != other.byteOffset)) {\n        return false;\n      }\n      object = object.buffer;\n      other = other.buffer;\n\n    case arrayBufferTag:\n      if ((object.byteLength != other.byteLength) ||\n          !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n        return false;\n      }\n      return true;\n\n    case boolTag:\n    case dateTag:\n    case numberTag:\n      // Coerce booleans to `1` or `0` and dates to milliseconds.\n      // Invalid dates are coerced to `NaN`.\n      return eq(+object, +other);\n\n    case errorTag:\n      return object.name == other.name && object.message == other.message;\n\n    case regexpTag:\n    case stringTag:\n      // Coerce regexes to strings and treat strings, primitives and objects,\n      // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n      // for more details.\n      return object == (other + '');\n\n    case mapTag:\n      var convert = mapToArray;\n\n    case setTag:\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n      convert || (convert = setToArray);\n\n      if (object.size != other.size && !isPartial) {\n        return false;\n      }\n      // Assume cyclic values are equal.\n      var stacked = stack.get(object);\n      if (stacked) {\n        return stacked == other;\n      }\n      bitmask |= COMPARE_UNORDERED_FLAG;\n\n      // Recursively compare objects (susceptible to call stack limits).\n      stack.set(object, other);\n      var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n      stack['delete'](object);\n      return result;\n\n    case symbolTag:\n      if (symbolValueOf) {\n        return symbolValueOf.call(object) == symbolValueOf.call(other);\n      }\n  }\n  return false;\n}\n\nmodule.exports = equalByTag;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_equalByTag.js?");

/***/ }),

/***/ 63980:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_equalObjects.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getAllKeys = __webpack_require__(/*! ./_getAllKeys */ 22892);\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n  var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n      objProps = getAllKeys(object),\n      objLength = objProps.length,\n      othProps = getAllKeys(other),\n      othLength = othProps.length;\n\n  if (objLength != othLength && !isPartial) {\n    return false;\n  }\n  var index = objLength;\n  while (index--) {\n    var key = objProps[index];\n    if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n      return false;\n    }\n  }\n  // Check that cyclic values are equal.\n  var objStacked = stack.get(object);\n  var othStacked = stack.get(other);\n  if (objStacked && othStacked) {\n    return objStacked == other && othStacked == object;\n  }\n  var result = true;\n  stack.set(object, other);\n  stack.set(other, object);\n\n  var skipCtor = isPartial;\n  while (++index < objLength) {\n    key = objProps[index];\n    var objValue = object[key],\n        othValue = other[key];\n\n    if (customizer) {\n      var compared = isPartial\n        ? customizer(othValue, objValue, key, other, object, stack)\n        : customizer(objValue, othValue, key, object, other, stack);\n    }\n    // Recursively compare objects (susceptible to call stack limits).\n    if (!(compared === undefined\n          ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n          : compared\n        )) {\n      result = false;\n      break;\n    }\n    skipCtor || (skipCtor = key == 'constructor');\n  }\n  if (result && !skipCtor) {\n    var objCtor = object.constructor,\n        othCtor = other.constructor;\n\n    // Non `Object` object instances with different constructors are not equal.\n    if (objCtor != othCtor &&\n        ('constructor' in object && 'constructor' in other) &&\n        !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n          typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n      result = false;\n    }\n  }\n  stack['delete'](object);\n  stack['delete'](other);\n  return result;\n}\n\nmodule.exports = equalObjects;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_equalObjects.js?");

/***/ }),

/***/ 84524:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_flatRest.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var flatten = __webpack_require__(/*! ./flatten */ 68628),\n    overRest = __webpack_require__(/*! ./_overRest */ 2184),\n    setToString = __webpack_require__(/*! ./_setToString */ 72568);\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n  return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_flatRest.js?");

/***/ }),

/***/ 67400:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_freeGlobal.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;\n\nmodule.exports = freeGlobal;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_freeGlobal.js?");

/***/ }),

/***/ 22892:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_getAllKeys.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ 69476),\n    getSymbols = __webpack_require__(/*! ./_getSymbols */ 17112),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n  return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getAllKeys.js?");

/***/ }),

/***/ 34800:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_getAllKeysIn.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ 69476),\n    getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ 39232),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n  return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getAllKeysIn.js?");

/***/ }),

/***/ 72840:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_getMapData.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isKeyable = __webpack_require__(/*! ./_isKeyable */ 96768);\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n  var data = map.__data__;\n  return isKeyable(key)\n    ? data[typeof key == 'string' ? 'string' : 'hash']\n    : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getMapData.js?");

/***/ }),

/***/ 46720:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_getMatchData.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isStrictComparable = __webpack_require__(/*! ./_isStrictComparable */ 25107),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n  var result = keys(object),\n      length = result.length;\n\n  while (length--) {\n    var key = result[length],\n        value = object[key];\n\n    result[length] = [key, value, isStrictComparable(value)];\n  }\n  return result;\n}\n\nmodule.exports = getMatchData;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getMatchData.js?");

/***/ }),

/***/ 42676:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_getNative.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ 7376),\n    getValue = __webpack_require__(/*! ./_getValue */ 32420);\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n  var value = getValue(object, key);\n  return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getNative.js?");

/***/ }),

/***/ 20732:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_getPrototype.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var overArg = __webpack_require__(/*! ./_overArg */ 80824);\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getPrototype.js?");

/***/ }),

/***/ 30712:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_getRawTag.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n  var isOwn = hasOwnProperty.call(value, symToStringTag),\n      tag = value[symToStringTag];\n\n  try {\n    value[symToStringTag] = undefined;\n    var unmasked = true;\n  } catch (e) {}\n\n  var result = nativeObjectToString.call(value);\n  if (unmasked) {\n    if (isOwn) {\n      value[symToStringTag] = tag;\n    } else {\n      delete value[symToStringTag];\n    }\n  }\n  return result;\n}\n\nmodule.exports = getRawTag;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getRawTag.js?");

/***/ }),

/***/ 17112:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_getSymbols.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ 92856),\n    stubArray = __webpack_require__(/*! ./stubArray */ 45992);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n  if (object == null) {\n    return [];\n  }\n  object = Object(object);\n  return arrayFilter(nativeGetSymbols(object), function(symbol) {\n    return propertyIsEnumerable.call(object, symbol);\n  });\n};\n\nmodule.exports = getSymbols;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getSymbols.js?");

/***/ }),

/***/ 39232:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_getSymbolsIn.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayPush = __webpack_require__(/*! ./_arrayPush */ 44972),\n    getPrototype = __webpack_require__(/*! ./_getPrototype */ 20732),\n    getSymbols = __webpack_require__(/*! ./_getSymbols */ 17112),\n    stubArray = __webpack_require__(/*! ./stubArray */ 45992);\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n  var result = [];\n  while (object) {\n    arrayPush(result, getSymbols(object));\n    object = getPrototype(object);\n  }\n  return result;\n};\n\nmodule.exports = getSymbolsIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getSymbolsIn.js?");

/***/ }),

/***/ 42300:
/*!********************************************!*\
  !*** ../../node_modules/lodash/_getTag.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var DataView = __webpack_require__(/*! ./_DataView */ 79408),\n    Map = __webpack_require__(/*! ./_Map */ 8192),\n    Promise = __webpack_require__(/*! ./_Promise */ 5092),\n    Set = __webpack_require__(/*! ./_Set */ 97968),\n    WeakMap = __webpack_require__(/*! ./_WeakMap */ 21432),\n    baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    toSource = __webpack_require__(/*! ./_toSource */ 64776);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n    objectTag = '[object Object]',\n    promiseTag = '[object Promise]',\n    setTag = '[object Set]',\n    weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n    mapCtorString = toSource(Map),\n    promiseCtorString = toSource(Promise),\n    setCtorString = toSource(Set),\n    weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n    (Map && getTag(new Map) != mapTag) ||\n    (Promise && getTag(Promise.resolve()) != promiseTag) ||\n    (Set && getTag(new Set) != setTag) ||\n    (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n  getTag = function(value) {\n    var result = baseGetTag(value),\n        Ctor = result == objectTag ? value.constructor : undefined,\n        ctorString = Ctor ? toSource(Ctor) : '';\n\n    if (ctorString) {\n      switch (ctorString) {\n        case dataViewCtorString: return dataViewTag;\n        case mapCtorString: return mapTag;\n        case promiseCtorString: return promiseTag;\n        case setCtorString: return setTag;\n        case weakMapCtorString: return weakMapTag;\n      }\n    }\n    return result;\n  };\n}\n\nmodule.exports = getTag;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getTag.js?");

/***/ }),

/***/ 32420:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_getValue.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n  return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_getValue.js?");

/***/ }),

/***/ 92796:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_hasPath.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var castPath = __webpack_require__(/*! ./_castPath */ 24996),\n    isArguments = __webpack_require__(/*! ./isArguments */ 43396),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isIndex = __webpack_require__(/*! ./_isIndex */ 1640),\n    isLength = __webpack_require__(/*! ./isLength */ 49912),\n    toKey = __webpack_require__(/*! ./_toKey */ 82104);\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n  path = castPath(path, object);\n\n  var index = -1,\n      length = path.length,\n      result = false;\n\n  while (++index < length) {\n    var key = toKey(path[index]);\n    if (!(result = object != null && hasFunc(object, key))) {\n      break;\n    }\n    object = object[key];\n  }\n  if (result || ++index != length) {\n    return result;\n  }\n  length = object == null ? 0 : object.length;\n  return !!length && isLength(length) && isIndex(key, length) &&\n    (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hasPath.js?");

/***/ }),

/***/ 24004:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_hasUnicode.js ***!
  \************************************************/
/***/ (function(module) {

eval("/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n  return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hasUnicode.js?");

/***/ }),

/***/ 47152:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_hashClear.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 53768);\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n  this.__data__ = nativeCreate ? nativeCreate(null) : {};\n  this.size = 0;\n}\n\nmodule.exports = hashClear;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hashClear.js?");

/***/ }),

/***/ 61372:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_hashDelete.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n  var result = this.has(key) && delete this.__data__[key];\n  this.size -= result ? 1 : 0;\n  return result;\n}\n\nmodule.exports = hashDelete;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hashDelete.js?");

/***/ }),

/***/ 21084:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_hashGet.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 53768);\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n  var data = this.__data__;\n  if (nativeCreate) {\n    var result = data[key];\n    return result === HASH_UNDEFINED ? undefined : result;\n  }\n  return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hashGet.js?");

/***/ }),

/***/ 63516:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_hashHas.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 53768);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n  var data = this.__data__;\n  return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hashHas.js?");

/***/ }),

/***/ 31836:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_hashSet.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var nativeCreate = __webpack_require__(/*! ./_nativeCreate */ 53768);\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n  var data = this.__data__;\n  this.size += this.has(key) ? 0 : 1;\n  data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n  return this;\n}\n\nmodule.exports = hashSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_hashSet.js?");

/***/ }),

/***/ 39100:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_initCloneArray.js ***!
  \****************************************************/
/***/ (function(module) {

eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n  var length = array.length,\n      result = new array.constructor(length);\n\n  // Add properties assigned by `RegExp#exec`.\n  if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n    result.index = array.index;\n    result.input = array.input;\n  }\n  return result;\n}\n\nmodule.exports = initCloneArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_initCloneArray.js?");

/***/ }),

/***/ 70224:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_initCloneByTag.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var cloneArrayBuffer = __webpack_require__(/*! ./_cloneArrayBuffer */ 89899),\n    cloneDataView = __webpack_require__(/*! ./_cloneDataView */ 9315),\n    cloneRegExp = __webpack_require__(/*! ./_cloneRegExp */ 26148),\n    cloneSymbol = __webpack_require__(/*! ./_cloneSymbol */ 90864),\n    cloneTypedArray = __webpack_require__(/*! ./_cloneTypedArray */ 34832);\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n    dateTag = '[object Date]',\n    mapTag = '[object Map]',\n    numberTag = '[object Number]',\n    regexpTag = '[object RegExp]',\n    setTag = '[object Set]',\n    stringTag = '[object String]',\n    symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n    dataViewTag = '[object DataView]',\n    float32Tag = '[object Float32Array]',\n    float64Tag = '[object Float64Array]',\n    int8Tag = '[object Int8Array]',\n    int16Tag = '[object Int16Array]',\n    int32Tag = '[object Int32Array]',\n    uint8Tag = '[object Uint8Array]',\n    uint8ClampedTag = '[object Uint8ClampedArray]',\n    uint16Tag = '[object Uint16Array]',\n    uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n  var Ctor = object.constructor;\n  switch (tag) {\n    case arrayBufferTag:\n      return cloneArrayBuffer(object);\n\n    case boolTag:\n    case dateTag:\n      return new Ctor(+object);\n\n    case dataViewTag:\n      return cloneDataView(object, isDeep);\n\n    case float32Tag: case float64Tag:\n    case int8Tag: case int16Tag: case int32Tag:\n    case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n      return cloneTypedArray(object, isDeep);\n\n    case mapTag:\n      return new Ctor;\n\n    case numberTag:\n    case stringTag:\n      return new Ctor(object);\n\n    case regexpTag:\n      return cloneRegExp(object);\n\n    case setTag:\n      return new Ctor;\n\n    case symbolTag:\n      return cloneSymbol(object);\n  }\n}\n\nmodule.exports = initCloneByTag;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_initCloneByTag.js?");

/***/ }),

/***/ 23128:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_initCloneObject.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseCreate = __webpack_require__(/*! ./_baseCreate */ 3188),\n    getPrototype = __webpack_require__(/*! ./_getPrototype */ 20732),\n    isPrototype = __webpack_require__(/*! ./_isPrototype */ 34084);\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n  return (typeof object.constructor == 'function' && !isPrototype(object))\n    ? baseCreate(getPrototype(object))\n    : {};\n}\n\nmodule.exports = initCloneObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_initCloneObject.js?");

/***/ }),

/***/ 17552:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_isFlattenable.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Symbol = __webpack_require__(/*! ./_Symbol */ 73972),\n    isArguments = __webpack_require__(/*! ./isArguments */ 43396),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n  return isArray(value) || isArguments(value) ||\n    !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isFlattenable.js?");

/***/ }),

/***/ 1640:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_isIndex.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n  var type = typeof value;\n  length = length == null ? MAX_SAFE_INTEGER : length;\n\n  return !!length &&\n    (type == 'number' ||\n      (type != 'symbol' && reIsUint.test(value))) &&\n        (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isIndex.js?");

/***/ }),

/***/ 8400:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_isIterateeCall.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var eq = __webpack_require__(/*! ./eq */ 44684),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468),\n    isIndex = __webpack_require__(/*! ./_isIndex */ 1640),\n    isObject = __webpack_require__(/*! ./isObject */ 50636);\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n *  else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n  if (!isObject(object)) {\n    return false;\n  }\n  var type = typeof index;\n  if (type == 'number'\n        ? (isArrayLike(object) && isIndex(index, object.length))\n        : (type == 'string' && index in object)\n      ) {\n    return eq(object[index], value);\n  }\n  return false;\n}\n\nmodule.exports = isIterateeCall;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isIterateeCall.js?");

/***/ }),

/***/ 93968:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/_isKey.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n    reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n  if (isArray(value)) {\n    return false;\n  }\n  var type = typeof value;\n  if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n      value == null || isSymbol(value)) {\n    return true;\n  }\n  return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n    (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isKey.js?");

/***/ }),

/***/ 96768:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/_isKeyable.js ***!
  \***********************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n  var type = typeof value;\n  return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n    ? (value !== '__proto__')\n    : (value === null);\n}\n\nmodule.exports = isKeyable;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isKeyable.js?");

/***/ }),

/***/ 9008:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_isMasked.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var coreJsData = __webpack_require__(/*! ./_coreJsData */ 11812);\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n  var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n  return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n  return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isMasked.js?");

/***/ }),

/***/ 34084:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_isPrototype.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n  var Ctor = value && value.constructor,\n      proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n  return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isPrototype.js?");

/***/ }),

/***/ 25107:
/*!********************************************************!*\
  !*** ../../node_modules/lodash/_isStrictComparable.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isObject = __webpack_require__(/*! ./isObject */ 50636);\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n *  equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n  return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_isStrictComparable.js?");

/***/ }),

/***/ 42444:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_listCacheClear.js ***!
  \****************************************************/
/***/ (function(module) {

eval("/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n  this.__data__ = [];\n  this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_listCacheClear.js?");

/***/ }),

/***/ 98776:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_listCacheDelete.js ***!
  \*****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 1840);\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    return false;\n  }\n  var lastIndex = data.length - 1;\n  if (index == lastIndex) {\n    data.pop();\n  } else {\n    splice.call(data, index, 1);\n  }\n  --this.size;\n  return true;\n}\n\nmodule.exports = listCacheDelete;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_listCacheDelete.js?");

/***/ }),

/***/ 13580:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_listCacheGet.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 1840);\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_listCacheGet.js?");

/***/ }),

/***/ 51776:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_listCacheHas.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 1840);\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n  return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_listCacheHas.js?");

/***/ }),

/***/ 54688:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_listCacheSet.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assocIndexOf = __webpack_require__(/*! ./_assocIndexOf */ 1840);\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n  var data = this.__data__,\n      index = assocIndexOf(data, key);\n\n  if (index < 0) {\n    ++this.size;\n    data.push([key, value]);\n  } else {\n    data[index][1] = value;\n  }\n  return this;\n}\n\nmodule.exports = listCacheSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_listCacheSet.js?");

/***/ }),

/***/ 4112:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_mapCacheClear.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var Hash = __webpack_require__(/*! ./_Hash */ 69728),\n    ListCache = __webpack_require__(/*! ./_ListCache */ 44920),\n    Map = __webpack_require__(/*! ./_Map */ 8192);\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n  this.size = 0;\n  this.__data__ = {\n    'hash': new Hash,\n    'map': new (Map || ListCache),\n    'string': new Hash\n  };\n}\n\nmodule.exports = mapCacheClear;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapCacheClear.js?");

/***/ }),

/***/ 51928:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_mapCacheDelete.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getMapData = __webpack_require__(/*! ./_getMapData */ 72840);\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n  var result = getMapData(this, key)['delete'](key);\n  this.size -= result ? 1 : 0;\n  return result;\n}\n\nmodule.exports = mapCacheDelete;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapCacheDelete.js?");

/***/ }),

/***/ 78976:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_mapCacheGet.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getMapData = __webpack_require__(/*! ./_getMapData */ 72840);\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n  return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapCacheGet.js?");

/***/ }),

/***/ 69336:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_mapCacheHas.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getMapData = __webpack_require__(/*! ./_getMapData */ 72840);\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n  return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapCacheHas.js?");

/***/ }),

/***/ 43976:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_mapCacheSet.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getMapData = __webpack_require__(/*! ./_getMapData */ 72840);\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n  var data = getMapData(this, key),\n      size = data.size;\n\n  data.set(key, value);\n  this.size += data.size == size ? 0 : 1;\n  return this;\n}\n\nmodule.exports = mapCacheSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapCacheSet.js?");

/***/ }),

/***/ 68788:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_mapToArray.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n  var index = -1,\n      result = Array(map.size);\n\n  map.forEach(function(value, key) {\n    result[++index] = [key, value];\n  });\n  return result;\n}\n\nmodule.exports = mapToArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_mapToArray.js?");

/***/ }),

/***/ 2656:
/*!*************************************************************!*\
  !*** ../../node_modules/lodash/_matchesStrictComparable.js ***!
  \*************************************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n  return function(object) {\n    if (object == null) {\n      return false;\n    }\n    return object[key] === srcValue &&\n      (srcValue !== undefined || (key in Object(object)));\n  };\n}\n\nmodule.exports = matchesStrictComparable;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_matchesStrictComparable.js?");

/***/ }),

/***/ 25336:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_memoizeCapped.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var memoize = __webpack_require__(/*! ./memoize */ 49084);\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n  var result = memoize(func, function(key) {\n    if (cache.size === MAX_MEMOIZE_SIZE) {\n      cache.clear();\n    }\n    return key;\n  });\n\n  var cache = result.cache;\n  return result;\n}\n\nmodule.exports = memoizeCapped;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_memoizeCapped.js?");

/***/ }),

/***/ 53768:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_nativeCreate.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var getNative = __webpack_require__(/*! ./_getNative */ 42676);\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_nativeCreate.js?");

/***/ }),

/***/ 77532:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_nativeKeys.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var overArg = __webpack_require__(/*! ./_overArg */ 80824);\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_nativeKeys.js?");

/***/ }),

/***/ 24904:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_nativeKeysIn.js ***!
  \**************************************************/
/***/ (function(module) {

eval("/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n  var result = [];\n  if (object != null) {\n    for (var key in Object(object)) {\n      result.push(key);\n    }\n  }\n  return result;\n}\n\nmodule.exports = nativeKeysIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_nativeKeysIn.js?");

/***/ }),

/***/ 11548:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_nodeUtil.js ***!
  \**********************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 67400);\n\n/** Detect free variable `exports`. */\nvar freeExports =  true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && \"object\" == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n  try {\n    // Use `util.types` for Node.js 10+.\n    var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n    if (types) {\n      return types;\n    }\n\n    // Legacy `process.binding('util')` for Node.js < 10.\n    return freeProcess && freeProcess.binding && freeProcess.binding('util');\n  } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_nodeUtil.js?");

/***/ }),

/***/ 22640:
/*!****************************************************!*\
  !*** ../../node_modules/lodash/_objectToString.js ***!
  \****************************************************/
/***/ (function(module) {

eval("/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n  return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_objectToString.js?");

/***/ }),

/***/ 80824:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_overArg.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n  return function(arg) {\n    return func(transform(arg));\n  };\n}\n\nmodule.exports = overArg;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_overArg.js?");

/***/ }),

/***/ 2184:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_overRest.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var apply = __webpack_require__(/*! ./_apply */ 75088);\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n  start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n  return function() {\n    var args = arguments,\n        index = -1,\n        length = nativeMax(args.length - start, 0),\n        array = Array(length);\n\n    while (++index < length) {\n      array[index] = args[start + index];\n    }\n    index = -1;\n    var otherArgs = Array(start + 1);\n    while (++index < start) {\n      otherArgs[index] = args[index];\n    }\n    otherArgs[start] = transform(array);\n    return apply(func, this, otherArgs);\n  };\n}\n\nmodule.exports = overRest;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_overRest.js?");

/***/ }),

/***/ 99088:
/*!******************************************!*\
  !*** ../../node_modules/lodash/_root.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 67400);\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_root.js?");

/***/ }),

/***/ 18336:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/_safeGet.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n  if (key === 'constructor' && typeof object[key] === 'function') {\n    return;\n  }\n\n  if (key == '__proto__') {\n    return;\n  }\n\n  return object[key];\n}\n\nmodule.exports = safeGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_safeGet.js?");

/***/ }),

/***/ 50520:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_setCacheAdd.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n  this.__data__.set(value, HASH_UNDEFINED);\n  return this;\n}\n\nmodule.exports = setCacheAdd;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_setCacheAdd.js?");

/***/ }),

/***/ 96240:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_setCacheHas.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n  return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_setCacheHas.js?");

/***/ }),

/***/ 77280:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_setToArray.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n  var index = -1,\n      result = Array(set.size);\n\n  set.forEach(function(value) {\n    result[++index] = value;\n  });\n  return result;\n}\n\nmodule.exports = setToArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_setToArray.js?");

/***/ }),

/***/ 72568:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_setToString.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseSetToString = __webpack_require__(/*! ./_baseSetToString */ 26999),\n    shortOut = __webpack_require__(/*! ./_shortOut */ 78300);\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_setToString.js?");

/***/ }),

/***/ 78300:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_shortOut.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n    HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n  var count = 0,\n      lastCalled = 0;\n\n  return function() {\n    var stamp = nativeNow(),\n        remaining = HOT_SPAN - (stamp - lastCalled);\n\n    lastCalled = stamp;\n    if (remaining > 0) {\n      if (++count >= HOT_COUNT) {\n        return arguments[0];\n      }\n    } else {\n      count = 0;\n    }\n    return func.apply(undefined, arguments);\n  };\n}\n\nmodule.exports = shortOut;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_shortOut.js?");

/***/ }),

/***/ 10816:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_stackClear.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var ListCache = __webpack_require__(/*! ./_ListCache */ 44920);\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n  this.__data__ = new ListCache;\n  this.size = 0;\n}\n\nmodule.exports = stackClear;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stackClear.js?");

/***/ }),

/***/ 84040:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_stackDelete.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n  var data = this.__data__,\n      result = data['delete'](key);\n\n  this.size = data.size;\n  return result;\n}\n\nmodule.exports = stackDelete;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stackDelete.js?");

/***/ }),

/***/ 73304:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_stackGet.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n  return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stackGet.js?");

/***/ }),

/***/ 46696:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_stackHas.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n  return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stackHas.js?");

/***/ }),

/***/ 62968:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_stackSet.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var ListCache = __webpack_require__(/*! ./_ListCache */ 44920),\n    Map = __webpack_require__(/*! ./_Map */ 8192),\n    MapCache = __webpack_require__(/*! ./_MapCache */ 79892);\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n  var data = this.__data__;\n  if (data instanceof ListCache) {\n    var pairs = data.__data__;\n    if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n      pairs.push([key, value]);\n      this.size = ++data.size;\n      return this;\n    }\n    data = this.__data__ = new MapCache(pairs);\n  }\n  data.set(key, value);\n  this.size = data.size;\n  return this;\n}\n\nmodule.exports = stackSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stackSet.js?");

/***/ }),

/***/ 41688:
/*!***************************************************!*\
  !*** ../../node_modules/lodash/_strictIndexOf.js ***!
  \***************************************************/
/***/ (function(module) {

eval("/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n  var index = fromIndex - 1,\n      length = array.length;\n\n  while (++index < length) {\n    if (array[index] === value) {\n      return index;\n    }\n  }\n  return -1;\n}\n\nmodule.exports = strictIndexOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_strictIndexOf.js?");

/***/ }),

/***/ 99684:
/*!************************************************!*\
  !*** ../../node_modules/lodash/_stringSize.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var asciiSize = __webpack_require__(/*! ./_asciiSize */ 76148),\n    hasUnicode = __webpack_require__(/*! ./_hasUnicode */ 24004),\n    unicodeSize = __webpack_require__(/*! ./_unicodeSize */ 11312);\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n  return hasUnicode(string)\n    ? unicodeSize(string)\n    : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stringSize.js?");

/***/ }),

/***/ 26712:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/_stringToPath.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var memoizeCapped = __webpack_require__(/*! ./_memoizeCapped */ 25336);\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n  var result = [];\n  if (string.charCodeAt(0) === 46 /* . */) {\n    result.push('');\n  }\n  string.replace(rePropName, function(match, number, quote, subString) {\n    result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n  });\n  return result;\n});\n\nmodule.exports = stringToPath;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_stringToPath.js?");

/***/ }),

/***/ 82104:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/_toKey.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n  if (typeof value == 'string' || isSymbol(value)) {\n    return value;\n  }\n  var result = (value + '');\n  return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_toKey.js?");

/***/ }),

/***/ 64776:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/_toSource.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n  if (func != null) {\n    try {\n      return funcToString.call(func);\n    } catch (e) {}\n    try {\n      return (func + '');\n    } catch (e) {}\n  }\n  return '';\n}\n\nmodule.exports = toSource;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_toSource.js?");

/***/ }),

/***/ 63296:
/*!*****************************************************!*\
  !*** ../../node_modules/lodash/_trimmedEndIndex.js ***!
  \*****************************************************/
/***/ (function(module) {

eval("/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n  var index = string.length;\n\n  while (index-- && reWhitespace.test(string.charAt(index))) {}\n  return index;\n}\n\nmodule.exports = trimmedEndIndex;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_trimmedEndIndex.js?");

/***/ }),

/***/ 11312:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/_unicodeSize.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n    rsComboMarksRange = '\\\\u0300-\\\\u036f',\n    reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n    rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n    rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n    rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n    rsCombo = '[' + rsComboRange + ']',\n    rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n    rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n    rsNonAstral = '[^' + rsAstralRange + ']',\n    rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n    rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n    rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n    rsOptVar = '[' + rsVarRange + ']?',\n    rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n    rsSeq = rsOptVar + reOptMod + rsOptJoin,\n    rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n  var result = reUnicode.lastIndex = 0;\n  while (reUnicode.test(string)) {\n    ++result;\n  }\n  return result;\n}\n\nmodule.exports = unicodeSize;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/_unicodeSize.js?");

/***/ }),

/***/ 56352:
/*!******************************************!*\
  !*** ../../node_modules/lodash/clone.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseClone = __webpack_require__(/*! ./_baseClone */ 14776);\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n  return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/clone.js?");

/***/ }),

/***/ 2704:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/cloneDeep.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseClone = __webpack_require__(/*! ./_baseClone */ 14776);\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n    CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n  return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/cloneDeep.js?");

/***/ }),

/***/ 4528:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/constant.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n  return function() {\n    return value;\n  };\n}\n\nmodule.exports = constant;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/constant.js?");

/***/ }),

/***/ 94608:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/debounce.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isObject = __webpack_require__(/*! ./isObject */ 50636),\n    now = __webpack_require__(/*! ./now */ 21192),\n    toNumber = __webpack_require__(/*! ./toNumber */ 40080);\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n    nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n *  Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n *  The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n *  Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n *   'leading': true,\n *   'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n  var lastArgs,\n      lastThis,\n      maxWait,\n      result,\n      timerId,\n      lastCallTime,\n      lastInvokeTime = 0,\n      leading = false,\n      maxing = false,\n      trailing = true;\n\n  if (typeof func != 'function') {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  wait = toNumber(wait) || 0;\n  if (isObject(options)) {\n    leading = !!options.leading;\n    maxing = 'maxWait' in options;\n    maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n    trailing = 'trailing' in options ? !!options.trailing : trailing;\n  }\n\n  function invokeFunc(time) {\n    var args = lastArgs,\n        thisArg = lastThis;\n\n    lastArgs = lastThis = undefined;\n    lastInvokeTime = time;\n    result = func.apply(thisArg, args);\n    return result;\n  }\n\n  function leadingEdge(time) {\n    // Reset any `maxWait` timer.\n    lastInvokeTime = time;\n    // Start the timer for the trailing edge.\n    timerId = setTimeout(timerExpired, wait);\n    // Invoke the leading edge.\n    return leading ? invokeFunc(time) : result;\n  }\n\n  function remainingWait(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime,\n        timeWaiting = wait - timeSinceLastCall;\n\n    return maxing\n      ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n      : timeWaiting;\n  }\n\n  function shouldInvoke(time) {\n    var timeSinceLastCall = time - lastCallTime,\n        timeSinceLastInvoke = time - lastInvokeTime;\n\n    // Either this is the first call, activity has stopped and we're at the\n    // trailing edge, the system time has gone backwards and we're treating\n    // it as the trailing edge, or we've hit the `maxWait` limit.\n    return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n      (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n  }\n\n  function timerExpired() {\n    var time = now();\n    if (shouldInvoke(time)) {\n      return trailingEdge(time);\n    }\n    // Restart the timer.\n    timerId = setTimeout(timerExpired, remainingWait(time));\n  }\n\n  function trailingEdge(time) {\n    timerId = undefined;\n\n    // Only invoke if we have `lastArgs` which means `func` has been\n    // debounced at least once.\n    if (trailing && lastArgs) {\n      return invokeFunc(time);\n    }\n    lastArgs = lastThis = undefined;\n    return result;\n  }\n\n  function cancel() {\n    if (timerId !== undefined) {\n      clearTimeout(timerId);\n    }\n    lastInvokeTime = 0;\n    lastArgs = lastCallTime = lastThis = timerId = undefined;\n  }\n\n  function flush() {\n    return timerId === undefined ? result : trailingEdge(now());\n  }\n\n  function debounced() {\n    var time = now(),\n        isInvoking = shouldInvoke(time);\n\n    lastArgs = arguments;\n    lastThis = this;\n    lastCallTime = time;\n\n    if (isInvoking) {\n      if (timerId === undefined) {\n        return leadingEdge(lastCallTime);\n      }\n      if (maxing) {\n        // Handle invocations in a tight loop.\n        clearTimeout(timerId);\n        timerId = setTimeout(timerExpired, wait);\n        return invokeFunc(lastCallTime);\n      }\n    }\n    if (timerId === undefined) {\n      timerId = setTimeout(timerExpired, wait);\n    }\n    return result;\n  }\n  debounced.cancel = cancel;\n  debounced.flush = flush;\n  return debounced;\n}\n\nmodule.exports = debounce;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/debounce.js?");

/***/ }),

/***/ 63344:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/defaults.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseRest = __webpack_require__(/*! ./_baseRest */ 24828),\n    eq = __webpack_require__(/*! ./eq */ 44684),\n    isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ 8400),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n  object = Object(object);\n\n  var index = -1;\n  var length = sources.length;\n  var guard = length > 2 ? sources[2] : undefined;\n\n  if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n    length = 1;\n  }\n\n  while (++index < length) {\n    var source = sources[index];\n    var props = keysIn(source);\n    var propsIndex = -1;\n    var propsLength = props.length;\n\n    while (++propsIndex < propsLength) {\n      var key = props[propsIndex];\n      var value = object[key];\n\n      if (value === undefined ||\n          (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n        object[key] = source[key];\n      }\n    }\n  }\n\n  return object;\n});\n\nmodule.exports = defaults;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/defaults.js?");

/***/ }),

/***/ 65520:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/each.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! ./forEach */ 42900);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/each.js?");

/***/ }),

/***/ 44684:
/*!***************************************!*\
  !*** ../../node_modules/lodash/eq.js ***!
  \***************************************/
/***/ (function(module) {

eval("/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n  return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/eq.js?");

/***/ }),

/***/ 74952:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/filter.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ 92856),\n    baseFilter = __webpack_require__(/*! ./_baseFilter */ 82744),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n *   { 'user': 'barney', 'age': 36, 'active': true },\n *   { 'user': 'fred',   'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n  var func = isArray(collection) ? arrayFilter : baseFilter;\n  return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/filter.js?");

/***/ }),

/***/ 18972:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/find.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var createFind = __webpack_require__(/*! ./_createFind */ 87956),\n    findIndex = __webpack_require__(/*! ./findIndex */ 80308);\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n *   { 'user': 'barney',  'age': 36, 'active': true },\n *   { 'user': 'fred',    'age': 40, 'active': false },\n *   { 'user': 'pebbles', 'age': 1,  'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/find.js?");

/***/ }),

/***/ 80308:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/findIndex.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFindIndex = __webpack_require__(/*! ./_baseFindIndex */ 10528),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    toInteger = __webpack_require__(/*! ./toInteger */ 45624);\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n *   { 'user': 'barney',  'active': false },\n *   { 'user': 'fred',    'active': false },\n *   { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n  var length = array == null ? 0 : array.length;\n  if (!length) {\n    return -1;\n  }\n  var index = fromIndex == null ? 0 : toInteger(fromIndex);\n  if (index < 0) {\n    index = nativeMax(length + index, 0);\n  }\n  return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/findIndex.js?");

/***/ }),

/***/ 68628:
/*!********************************************!*\
  !*** ../../node_modules/lodash/flatten.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ 13776);\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/flatten.js?");

/***/ }),

/***/ 42900:
/*!********************************************!*\
  !*** ../../node_modules/lodash/forEach.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayEach = __webpack_require__(/*! ./_arrayEach */ 33972),\n    baseEach = __webpack_require__(/*! ./_baseEach */ 82580),\n    castFunction = __webpack_require__(/*! ./_castFunction */ 69024),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n *   console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n *   console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n  var func = isArray(collection) ? arrayEach : baseEach;\n  return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/forEach.js?");

/***/ }),

/***/ 87160:
/*!******************************************!*\
  !*** ../../node_modules/lodash/forIn.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFor = __webpack_require__(/*! ./_baseFor */ 20284),\n    castFunction = __webpack_require__(/*! ./_castFunction */ 69024),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n *   console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n  return object == null\n    ? object\n    : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/forIn.js?");

/***/ }),

/***/ 34268:
/*!****************************************!*\
  !*** ../../node_modules/lodash/get.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGet = __webpack_require__(/*! ./_baseGet */ 54280);\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n  var result = object == null ? undefined : baseGet(object, path);\n  return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/get.js?");

/***/ }),

/***/ 76683:
/*!****************************************!*\
  !*** ../../node_modules/lodash/has.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseHas = __webpack_require__(/*! ./_baseHas */ 77232),\n    hasPath = __webpack_require__(/*! ./_hasPath */ 92796);\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n  return object != null && hasPath(object, path, baseHas);\n}\n\nmodule.exports = has;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/has.js?");

/***/ }),

/***/ 58464:
/*!******************************************!*\
  !*** ../../node_modules/lodash/hasIn.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ 28928),\n    hasPath = __webpack_require__(/*! ./_hasPath */ 92796);\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n  return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/hasIn.js?");

/***/ }),

/***/ 85992:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/identity.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n  return value;\n}\n\nmodule.exports = identity;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/identity.js?");

/***/ }),

/***/ 43396:
/*!************************************************!*\
  !*** ../../node_modules/lodash/isArguments.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ 15064),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n *  else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n  return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n    !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isArguments.js?");

/***/ }),

/***/ 71648:
/*!********************************************!*\
  !*** ../../node_modules/lodash/isArray.js ***!
  \********************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isArray.js?");

/***/ }),

/***/ 62468:
/*!************************************************!*\
  !*** ../../node_modules/lodash/isArrayLike.js ***!
  \************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isFunction = __webpack_require__(/*! ./isFunction */ 87464),\n    isLength = __webpack_require__(/*! ./isLength */ 49912);\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n  return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isArrayLike.js?");

/***/ }),

/***/ 79308:
/*!******************************************************!*\
  !*** ../../node_modules/lodash/isArrayLikeObject.js ***!
  \******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n *  else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n  return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isArrayLikeObject.js?");

/***/ }),

/***/ 45904:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/isBoolean.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]';\n\n/**\n * Checks if `value` is classified as a boolean primitive or object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n * @example\n *\n * _.isBoolean(false);\n * // => true\n *\n * _.isBoolean(null);\n * // => false\n */\nfunction isBoolean(value) {\n  return value === true || value === false ||\n    (isObjectLike(value) && baseGetTag(value) == boolTag);\n}\n\nmodule.exports = isBoolean;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isBoolean.js?");

/***/ }),

/***/ 59028:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/isBuffer.js ***!
  \*********************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar root = __webpack_require__(/*! ./_root */ 99088),\n    stubFalse = __webpack_require__(/*! ./stubFalse */ 36388);\n\n/** Detect free variable `exports`. */\nvar freeExports =  true && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && \"object\" == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isBuffer.js?");

/***/ }),

/***/ 58568:
/*!********************************************!*\
  !*** ../../node_modules/lodash/isEmpty.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseKeys = __webpack_require__(/*! ./_baseKeys */ 72144),\n    getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    isArguments = __webpack_require__(/*! ./isArguments */ 43396),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isPrototype = __webpack_require__(/*! ./_isPrototype */ 34084),\n    isTypedArray = __webpack_require__(/*! ./isTypedArray */ 25692);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n    setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n  if (value == null) {\n    return true;\n  }\n  if (isArrayLike(value) &&\n      (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n        isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n    return !value.length;\n  }\n  var tag = getTag(value);\n  if (tag == mapTag || tag == setTag) {\n    return !value.size;\n  }\n  if (isPrototype(value)) {\n    return !baseKeys(value).length;\n  }\n  for (var key in value) {\n    if (hasOwnProperty.call(value, key)) {\n      return false;\n    }\n  }\n  return true;\n}\n\nmodule.exports = isEmpty;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isEmpty.js?");

/***/ }),

/***/ 87464:
/*!***********************************************!*\
  !*** ../../node_modules/lodash/isFunction.js ***!
  \***********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isObject = __webpack_require__(/*! ./isObject */ 50636);\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n    funcTag = '[object Function]',\n    genTag = '[object GeneratorFunction]',\n    proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n  if (!isObject(value)) {\n    return false;\n  }\n  // The use of `Object#toString` avoids issues with the `typeof` operator\n  // in Safari 9 which returns 'object' for typed arrays and other constructors.\n  var tag = baseGetTag(value);\n  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isFunction.js?");

/***/ }),

/***/ 49912:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/isLength.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n  return typeof value == 'number' &&\n    value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isLength.js?");

/***/ }),

/***/ 73888:
/*!******************************************!*\
  !*** ../../node_modules/lodash/isMap.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsMap = __webpack_require__(/*! ./_baseIsMap */ 4464),\n    baseUnary = __webpack_require__(/*! ./_baseUnary */ 15792),\n    nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 11548);\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isMap.js?");

/***/ }),

/***/ 50636:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/isObject.js ***!
  \*********************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n  var type = typeof value;\n  return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isObject.js?");

/***/ }),

/***/ 28152:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/isObjectLike.js ***!
  \*************************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n  return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isObjectLike.js?");

/***/ }),

/***/ 63532:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/isPlainObject.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    getPrototype = __webpack_require__(/*! ./_getPrototype */ 20732),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n    objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n  if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n    return false;\n  }\n  var proto = getPrototype(value);\n  if (proto === null) {\n    return true;\n  }\n  var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n  return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n    funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isPlainObject.js?");

/***/ }),

/***/ 57944:
/*!******************************************!*\
  !*** ../../node_modules/lodash/isSet.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsSet = __webpack_require__(/*! ./_baseIsSet */ 272),\n    baseUnary = __webpack_require__(/*! ./_baseUnary */ 15792),\n    nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 11548);\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isSet.js?");

/***/ }),

/***/ 33116:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/isString.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n  return typeof value == 'string' ||\n    (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isString.js?");

/***/ }),

/***/ 47432:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/isSymbol.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 57596),\n    isObjectLike = __webpack_require__(/*! ./isObjectLike */ 28152);\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n  return typeof value == 'symbol' ||\n    (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isSymbol.js?");

/***/ }),

/***/ 25692:
/*!*************************************************!*\
  !*** ../../node_modules/lodash/isTypedArray.js ***!
  \*************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseIsTypedArray = __webpack_require__(/*! ./_baseIsTypedArray */ 90420),\n    baseUnary = __webpack_require__(/*! ./_baseUnary */ 15792),\n    nodeUtil = __webpack_require__(/*! ./_nodeUtil */ 11548);\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isTypedArray.js?");

/***/ }),

/***/ 10352:
/*!************************************************!*\
  !*** ../../node_modules/lodash/isUndefined.js ***!
  \************************************************/
/***/ (function(module) {

eval("/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n  return value === undefined;\n}\n\nmodule.exports = isUndefined;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/isUndefined.js?");

/***/ }),

/***/ 2820:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/keys.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 30192),\n    baseKeys = __webpack_require__(/*! ./_baseKeys */ 72144),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468);\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/keys.js?");

/***/ }),

/***/ 80264:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/keysIn.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 30192),\n    baseKeysIn = __webpack_require__(/*! ./_baseKeysIn */ 78553),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468);\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n  return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/keysIn.js?");

/***/ }),

/***/ 38860:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/last.js ***!
  \*****************************************/
/***/ (function(module) {

eval("/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n  var length = array == null ? 0 : array.length;\n  return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/last.js?");

/***/ }),

/***/ 67928:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/lodash.js ***!
  \*******************************************/
/***/ (function(module, exports, __webpack_require__) {

eval("/* module decorator */ module = __webpack_require__.nmd(module);\nvar __WEBPACK_AMD_DEFINE_RESULT__;/**\n * @license\n * Lodash <https://lodash.com/>\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n  var undefined;\n\n  /** Used as the semantic version number. */\n  var VERSION = '4.17.21';\n\n  /** Used as the size to enable large array optimizations. */\n  var LARGE_ARRAY_SIZE = 200;\n\n  /** Error message constants. */\n  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n      FUNC_ERROR_TEXT = 'Expected a function',\n      INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n  /** Used to stand-in for `undefined` hash values. */\n  var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n  /** Used as the maximum memoize cache size. */\n  var MAX_MEMOIZE_SIZE = 500;\n\n  /** Used as the internal argument placeholder. */\n  var PLACEHOLDER = '__lodash_placeholder__';\n\n  /** Used to compose bitmasks for cloning. */\n  var CLONE_DEEP_FLAG = 1,\n      CLONE_FLAT_FLAG = 2,\n      CLONE_SYMBOLS_FLAG = 4;\n\n  /** Used to compose bitmasks for value comparisons. */\n  var COMPARE_PARTIAL_FLAG = 1,\n      COMPARE_UNORDERED_FLAG = 2;\n\n  /** Used to compose bitmasks for function metadata. */\n  var WRAP_BIND_FLAG = 1,\n      WRAP_BIND_KEY_FLAG = 2,\n      WRAP_CURRY_BOUND_FLAG = 4,\n      WRAP_CURRY_FLAG = 8,\n      WRAP_CURRY_RIGHT_FLAG = 16,\n      WRAP_PARTIAL_FLAG = 32,\n      WRAP_PARTIAL_RIGHT_FLAG = 64,\n      WRAP_ARY_FLAG = 128,\n      WRAP_REARG_FLAG = 256,\n      WRAP_FLIP_FLAG = 512;\n\n  /** Used as default options for `_.truncate`. */\n  var DEFAULT_TRUNC_LENGTH = 30,\n      DEFAULT_TRUNC_OMISSION = '...';\n\n  /** Used to detect hot functions by number of calls within a span of milliseconds. */\n  var HOT_COUNT = 800,\n      HOT_SPAN = 16;\n\n  /** Used to indicate the type of lazy iteratees. */\n  var LAZY_FILTER_FLAG = 1,\n      LAZY_MAP_FLAG = 2,\n      LAZY_WHILE_FLAG = 3;\n\n  /** Used as references for various `Number` constants. */\n  var INFINITY = 1 / 0,\n      MAX_SAFE_INTEGER = 9007199254740991,\n      MAX_INTEGER = 1.7976931348623157e+308,\n      NAN = 0 / 0;\n\n  /** Used as references for the maximum length and index of an array. */\n  var MAX_ARRAY_LENGTH = 4294967295,\n      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n  /** Used to associate wrap methods with their bit flags. */\n  var wrapFlags = [\n    ['ary', WRAP_ARY_FLAG],\n    ['bind', WRAP_BIND_FLAG],\n    ['bindKey', WRAP_BIND_KEY_FLAG],\n    ['curry', WRAP_CURRY_FLAG],\n    ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n    ['flip', WRAP_FLIP_FLAG],\n    ['partial', WRAP_PARTIAL_FLAG],\n    ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n    ['rearg', WRAP_REARG_FLAG]\n  ];\n\n  /** `Object#toString` result references. */\n  var argsTag = '[object Arguments]',\n      arrayTag = '[object Array]',\n      asyncTag = '[object AsyncFunction]',\n      boolTag = '[object Boolean]',\n      dateTag = '[object Date]',\n      domExcTag = '[object DOMException]',\n      errorTag = '[object Error]',\n      funcTag = '[object Function]',\n      genTag = '[object GeneratorFunction]',\n      mapTag = '[object Map]',\n      numberTag = '[object Number]',\n      nullTag = '[object Null]',\n      objectTag = '[object Object]',\n      promiseTag = '[object Promise]',\n      proxyTag = '[object Proxy]',\n      regexpTag = '[object RegExp]',\n      setTag = '[object Set]',\n      stringTag = '[object String]',\n      symbolTag = '[object Symbol]',\n      undefinedTag = '[object Undefined]',\n      weakMapTag = '[object WeakMap]',\n      weakSetTag = '[object WeakSet]';\n\n  var arrayBufferTag = '[object ArrayBuffer]',\n      dataViewTag = '[object DataView]',\n      float32Tag = '[object Float32Array]',\n      float64Tag = '[object Float64Array]',\n      int8Tag = '[object Int8Array]',\n      int16Tag = '[object Int16Array]',\n      int32Tag = '[object Int32Array]',\n      uint8Tag = '[object Uint8Array]',\n      uint8ClampedTag = '[object Uint8ClampedArray]',\n      uint16Tag = '[object Uint16Array]',\n      uint32Tag = '[object Uint32Array]';\n\n  /** Used to match empty string literals in compiled template source. */\n  var reEmptyStringLeading = /\\b__p \\+= '';/g,\n      reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n      reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n  /** Used to match HTML entities and HTML characters. */\n  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n      reUnescapedHtml = /[&<>\"']/g,\n      reHasEscapedHtml = RegExp(reEscapedHtml.source),\n      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n  /** Used to match template delimiters. */\n  var reEscape = /<%-([\\s\\S]+?)%>/g,\n      reEvaluate = /<%([\\s\\S]+?)%>/g,\n      reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n  /** Used to match property names within property paths. */\n  var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n      reIsPlainProp = /^\\w*$/,\n      rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n  /**\n   * Used to match `RegExp`\n   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n   */\n  var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n      reHasRegExpChar = RegExp(reRegExpChar.source);\n\n  /** Used to match leading whitespace. */\n  var reTrimStart = /^\\s+/;\n\n  /** Used to match a single whitespace character. */\n  var reWhitespace = /\\s/;\n\n  /** Used to match wrap detail comments. */\n  var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n      reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n      reSplitDetails = /,? & /;\n\n  /** Used to match words composed of alphanumeric characters. */\n  var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n  /**\n   * Used to validate the `validate` option in `_.template` variable.\n   *\n   * Forbids characters which could potentially change the meaning of the function argument definition:\n   * - \"(),\" (modification of function parameters)\n   * - \"=\" (default value)\n   * - \"[]{}\" (destructuring of function parameters)\n   * - \"/\" (beginning of a comment)\n   * - whitespace\n   */\n  var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n  /** Used to match backslashes in property paths. */\n  var reEscapeChar = /\\\\(\\\\)?/g;\n\n  /**\n   * Used to match\n   * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n   */\n  var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n  /** Used to match `RegExp` flags from their coerced string values. */\n  var reFlags = /\\w*$/;\n\n  /** Used to detect bad signed hexadecimal string values. */\n  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n  /** Used to detect binary string values. */\n  var reIsBinary = /^0b[01]+$/i;\n\n  /** Used to detect host constructors (Safari). */\n  var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n  /** Used to detect octal string values. */\n  var reIsOctal = /^0o[0-7]+$/i;\n\n  /** Used to detect unsigned integer values. */\n  var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n  /** Used to match Latin Unicode letters (excluding mathematical operators). */\n  var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n  /** Used to ensure capturing order of template delimiters. */\n  var reNoMatch = /($^)/;\n\n  /** Used to match unescaped characters in compiled string literals. */\n  var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n  /** Used to compose unicode character classes. */\n  var rsAstralRange = '\\\\ud800-\\\\udfff',\n      rsComboMarksRange = '\\\\u0300-\\\\u036f',\n      reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n      rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n      rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n      rsDingbatRange = '\\\\u2700-\\\\u27bf',\n      rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n      rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n      rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n      rsPunctuationRange = '\\\\u2000-\\\\u206f',\n      rsSpaceRange = ' \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000',\n      rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n      rsVarRange = '\\\\ufe0e\\\\ufe0f',\n      rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n  /** Used to compose unicode capture groups. */\n  var rsApos = \"['\\u2019]\",\n      rsAstral = '[' + rsAstralRange + ']',\n      rsBreak = '[' + rsBreakRange + ']',\n      rsCombo = '[' + rsComboRange + ']',\n      rsDigits = '\\\\d+',\n      rsDingbat = '[' + rsDingbatRange + ']',\n      rsLower = '[' + rsLowerRange + ']',\n      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n      rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n      rsNonAstral = '[^' + rsAstralRange + ']',\n      rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n      rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n      rsUpper = '[' + rsUpperRange + ']',\n      rsZWJ = '\\\\u200d';\n\n  /** Used to compose unicode regexes. */\n  var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n      rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n      rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n      rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n      reOptMod = rsModifier + '?',\n      rsOptVar = '[' + rsVarRange + ']?',\n      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n      rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n      rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n      rsSeq = rsOptVar + reOptMod + rsOptJoin,\n      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n  /** Used to match apostrophes. */\n  var reApos = RegExp(rsApos, 'g');\n\n  /**\n   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n   */\n  var reComboMark = RegExp(rsCombo, 'g');\n\n  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n  var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n  /** Used to match complex or compound words. */\n  var reUnicodeWord = RegExp([\n    rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n    rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n    rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n    rsUpper + '+' + rsOptContrUpper,\n    rsOrdUpper,\n    rsOrdLower,\n    rsDigits,\n    rsEmoji\n  ].join('|'), 'g');\n\n  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n  var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n  /** Used to detect strings that need a more robust regexp to match words. */\n  var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n  /** Used to assign default `context` object properties. */\n  var contextProps = [\n    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n    'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n  ];\n\n  /** Used to make template sourceURLs easier to identify. */\n  var templateCounter = -1;\n\n  /** Used to identify `toStringTag` values of typed arrays. */\n  var typedArrayTags = {};\n  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n  typedArrayTags[uint32Tag] = true;\n  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n  typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n  typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n  typedArrayTags[setTag] = typedArrayTags[stringTag] =\n  typedArrayTags[weakMapTag] = false;\n\n  /** Used to identify `toStringTag` values supported by `_.clone`. */\n  var cloneableTags = {};\n  cloneableTags[argsTag] = cloneableTags[arrayTag] =\n  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n  cloneableTags[boolTag] = cloneableTags[dateTag] =\n  cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n  cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n  cloneableTags[int32Tag] = cloneableTags[mapTag] =\n  cloneableTags[numberTag] = cloneableTags[objectTag] =\n  cloneableTags[regexpTag] = cloneableTags[setTag] =\n  cloneableTags[stringTag] = cloneableTags[symbolTag] =\n  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n  cloneableTags[errorTag] = cloneableTags[funcTag] =\n  cloneableTags[weakMapTag] = false;\n\n  /** Used to map Latin Unicode letters to basic Latin letters. */\n  var deburredLetters = {\n    // Latin-1 Supplement block.\n    '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n    '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n    '\\xc7': 'C',  '\\xe7': 'c',\n    '\\xd0': 'D',  '\\xf0': 'd',\n    '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n    '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n    '\\xcc': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n    '\\xec': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n    '\\xd1': 'N',  '\\xf1': 'n',\n    '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n    '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n    '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n    '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n    '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n    '\\xc6': 'Ae', '\\xe6': 'ae',\n    '\\xde': 'Th', '\\xfe': 'th',\n    '\\xdf': 'ss',\n    // Latin Extended-A block.\n    '\\u0100': 'A',  '\\u0102': 'A', '\\u0104': 'A',\n    '\\u0101': 'a',  '\\u0103': 'a', '\\u0105': 'a',\n    '\\u0106': 'C',  '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n    '\\u0107': 'c',  '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n    '\\u010e': 'D',  '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n    '\\u0112': 'E',  '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n    '\\u0113': 'e',  '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n    '\\u011c': 'G',  '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n    '\\u011d': 'g',  '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n    '\\u0124': 'H',  '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n    '\\u0128': 'I',  '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n    '\\u0129': 'i',  '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n    '\\u0134': 'J',  '\\u0135': 'j',\n    '\\u0136': 'K',  '\\u0137': 'k', '\\u0138': 'k',\n    '\\u0139': 'L',  '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n    '\\u013a': 'l',  '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n    '\\u0143': 'N',  '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n    '\\u0144': 'n',  '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n    '\\u014c': 'O',  '\\u014e': 'O', '\\u0150': 'O',\n    '\\u014d': 'o',  '\\u014f': 'o', '\\u0151': 'o',\n    '\\u0154': 'R',  '\\u0156': 'R', '\\u0158': 'R',\n    '\\u0155': 'r',  '\\u0157': 'r', '\\u0159': 'r',\n    '\\u015a': 'S',  '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n    '\\u015b': 's',  '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n    '\\u0162': 'T',  '\\u0164': 'T', '\\u0166': 'T',\n    '\\u0163': 't',  '\\u0165': 't', '\\u0167': 't',\n    '\\u0168': 'U',  '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n    '\\u0169': 'u',  '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n    '\\u0174': 'W',  '\\u0175': 'w',\n    '\\u0176': 'Y',  '\\u0177': 'y', '\\u0178': 'Y',\n    '\\u0179': 'Z',  '\\u017b': 'Z', '\\u017d': 'Z',\n    '\\u017a': 'z',  '\\u017c': 'z', '\\u017e': 'z',\n    '\\u0132': 'IJ', '\\u0133': 'ij',\n    '\\u0152': 'Oe', '\\u0153': 'oe',\n    '\\u0149': \"'n\", '\\u017f': 's'\n  };\n\n  /** Used to map characters to HTML entities. */\n  var htmlEscapes = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#39;'\n  };\n\n  /** Used to map HTML entities to characters. */\n  var htmlUnescapes = {\n    '&amp;': '&',\n    '&lt;': '<',\n    '&gt;': '>',\n    '&quot;': '\"',\n    '&#39;': \"'\"\n  };\n\n  /** Used to escape characters for inclusion in compiled string literals. */\n  var stringEscapes = {\n    '\\\\': '\\\\',\n    \"'\": \"'\",\n    '\\n': 'n',\n    '\\r': 'r',\n    '\\u2028': 'u2028',\n    '\\u2029': 'u2029'\n  };\n\n  /** Built-in method references without a dependency on `root`. */\n  var freeParseFloat = parseFloat,\n      freeParseInt = parseInt;\n\n  /** Detect free variable `global` from Node.js. */\n  var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;\n\n  /** Detect free variable `self`. */\n  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n  /** Used as a reference to the global object. */\n  var root = freeGlobal || freeSelf || Function('return this')();\n\n  /** Detect free variable `exports`. */\n  var freeExports =  true && exports && !exports.nodeType && exports;\n\n  /** Detect free variable `module`. */\n  var freeModule = freeExports && \"object\" == 'object' && module && !module.nodeType && module;\n\n  /** Detect the popular CommonJS extension `module.exports`. */\n  var moduleExports = freeModule && freeModule.exports === freeExports;\n\n  /** Detect free variable `process` from Node.js. */\n  var freeProcess = moduleExports && freeGlobal.process;\n\n  /** Used to access faster Node.js helpers. */\n  var nodeUtil = (function() {\n    try {\n      // Use `util.types` for Node.js 10+.\n      var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n      if (types) {\n        return types;\n      }\n\n      // Legacy `process.binding('util')` for Node.js < 10.\n      return freeProcess && freeProcess.binding && freeProcess.binding('util');\n    } catch (e) {}\n  }());\n\n  /* Node.js helper references. */\n  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n      nodeIsDate = nodeUtil && nodeUtil.isDate,\n      nodeIsMap = nodeUtil && nodeUtil.isMap,\n      nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n      nodeIsSet = nodeUtil && nodeUtil.isSet,\n      nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * A faster alternative to `Function#apply`, this function invokes `func`\n   * with the `this` binding of `thisArg` and the arguments of `args`.\n   *\n   * @private\n   * @param {Function} func The function to invoke.\n   * @param {*} thisArg The `this` binding of `func`.\n   * @param {Array} args The arguments to invoke `func` with.\n   * @returns {*} Returns the result of `func`.\n   */\n  function apply(func, thisArg, args) {\n    switch (args.length) {\n      case 0: return func.call(thisArg);\n      case 1: return func.call(thisArg, args[0]);\n      case 2: return func.call(thisArg, args[0], args[1]);\n      case 3: return func.call(thisArg, args[0], args[1], args[2]);\n    }\n    return func.apply(thisArg, args);\n  }\n\n  /**\n   * A specialized version of `baseAggregator` for arrays.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} setter The function to set `accumulator` values.\n   * @param {Function} iteratee The iteratee to transform keys.\n   * @param {Object} accumulator The initial aggregated object.\n   * @returns {Function} Returns `accumulator`.\n   */\n  function arrayAggregator(array, setter, iteratee, accumulator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      var value = array[index];\n      setter(accumulator, value, iteratee(value), array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.forEach` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEach(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (iteratee(array[index], index, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.forEachRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEachRight(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n\n    while (length--) {\n      if (iteratee(array[length], length, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.every` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if all elements pass the predicate check,\n   *  else `false`.\n   */\n  function arrayEvery(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (!predicate(array[index], index, array)) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  /**\n   * A specialized version of `_.filter` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {Array} Returns the new filtered array.\n   */\n  function arrayFilter(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (predicate(value, index, array)) {\n        result[resIndex++] = value;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.includes` for arrays without support for\n   * specifying an index to search from.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludes(array, value) {\n    var length = array == null ? 0 : array.length;\n    return !!length && baseIndexOf(array, value, 0) > -1;\n  }\n\n  /**\n   * This function is like `arrayIncludes` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludesWith(array, value, comparator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (comparator(value, array[index])) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * A specialized version of `_.map` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the new mapped array.\n   */\n  function arrayMap(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        result = Array(length);\n\n    while (++index < length) {\n      result[index] = iteratee(array[index], index, array);\n    }\n    return result;\n  }\n\n  /**\n   * Appends the elements of `values` to `array`.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {Array} values The values to append.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayPush(array, values) {\n    var index = -1,\n        length = values.length,\n        offset = array.length;\n\n    while (++index < length) {\n      array[offset + index] = values[index];\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.reduce` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the first element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduce(array, iteratee, accumulator, initAccum) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    if (initAccum && length) {\n      accumulator = array[++index];\n    }\n    while (++index < length) {\n      accumulator = iteratee(accumulator, array[index], index, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.reduceRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the last element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n    var length = array == null ? 0 : array.length;\n    if (initAccum && length) {\n      accumulator = array[--length];\n    }\n    while (length--) {\n      accumulator = iteratee(accumulator, array[length], length, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.some` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if any element passes the predicate check,\n   *  else `false`.\n   */\n  function arraySome(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (predicate(array[index], index, array)) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * Gets the size of an ASCII `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  var asciiSize = baseProperty('length');\n\n  /**\n   * Converts an ASCII `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function asciiToArray(string) {\n    return string.split('');\n  }\n\n  /**\n   * Splits an ASCII `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function asciiWords(string) {\n    return string.match(reAsciiWord) || [];\n  }\n\n  /**\n   * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n   * without support for iteratee shorthands, which iterates over `collection`\n   * using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the found element or its key, else `undefined`.\n   */\n  function baseFindKey(collection, predicate, eachFunc) {\n    var result;\n    eachFunc(collection, function(value, key, collection) {\n      if (predicate(value, key, collection)) {\n        result = key;\n        return false;\n      }\n    });\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.findIndex` and `_.findLastIndex` without\n   * support for iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {number} fromIndex The index to search from.\n   * @param {boolean} [fromRight] Specify iterating from right to left.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseFindIndex(array, predicate, fromIndex, fromRight) {\n    var length = array.length,\n        index = fromIndex + (fromRight ? 1 : -1);\n\n    while ((fromRight ? index-- : ++index < length)) {\n      if (predicate(array[index], index, array)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOf(array, value, fromIndex) {\n    return value === value\n      ? strictIndexOf(array, value, fromIndex)\n      : baseFindIndex(array, baseIsNaN, fromIndex);\n  }\n\n  /**\n   * This function is like `baseIndexOf` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOfWith(array, value, fromIndex, comparator) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (comparator(array[index], value)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.isNaN` without support for number objects.\n   *\n   * @private\n   * @param {*} value The value to check.\n   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n   */\n  function baseIsNaN(value) {\n    return value !== value;\n  }\n\n  /**\n   * The base implementation of `_.mean` and `_.meanBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the mean.\n   */\n  function baseMean(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n    return length ? (baseSum(array, iteratee) / length) : NAN;\n  }\n\n  /**\n   * The base implementation of `_.property` without support for deep paths.\n   *\n   * @private\n   * @param {string} key The key of the property to get.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function baseProperty(key) {\n    return function(object) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.propertyOf` without support for deep paths.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function basePropertyOf(object) {\n    return function(key) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.reduce` and `_.reduceRight`, without support\n   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} accumulator The initial value.\n   * @param {boolean} initAccum Specify using the first or last element of\n   *  `collection` as the initial value.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the accumulated value.\n   */\n  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n    eachFunc(collection, function(value, index, collection) {\n      accumulator = initAccum\n        ? (initAccum = false, value)\n        : iteratee(accumulator, value, index, collection);\n    });\n    return accumulator;\n  }\n\n  /**\n   * The base implementation of `_.sortBy` which uses `comparer` to define the\n   * sort order of `array` and replaces criteria objects with their corresponding\n   * values.\n   *\n   * @private\n   * @param {Array} array The array to sort.\n   * @param {Function} comparer The function to define sort order.\n   * @returns {Array} Returns `array`.\n   */\n  function baseSortBy(array, comparer) {\n    var length = array.length;\n\n    array.sort(comparer);\n    while (length--) {\n      array[length] = array[length].value;\n    }\n    return array;\n  }\n\n  /**\n   * The base implementation of `_.sum` and `_.sumBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the sum.\n   */\n  function baseSum(array, iteratee) {\n    var result,\n        index = -1,\n        length = array.length;\n\n    while (++index < length) {\n      var current = iteratee(array[index]);\n      if (current !== undefined) {\n        result = result === undefined ? current : (result + current);\n      }\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.times` without support for iteratee shorthands\n   * or max array length checks.\n   *\n   * @private\n   * @param {number} n The number of times to invoke `iteratee`.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the array of results.\n   */\n  function baseTimes(n, iteratee) {\n    var index = -1,\n        result = Array(n);\n\n    while (++index < n) {\n      result[index] = iteratee(index);\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n   * of key-value pairs for `object` corresponding to the property names of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the key-value pairs.\n   */\n  function baseToPairs(object, props) {\n    return arrayMap(props, function(key) {\n      return [key, object[key]];\n    });\n  }\n\n  /**\n   * The base implementation of `_.trim`.\n   *\n   * @private\n   * @param {string} string The string to trim.\n   * @returns {string} Returns the trimmed string.\n   */\n  function baseTrim(string) {\n    return string\n      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n      : string;\n  }\n\n  /**\n   * The base implementation of `_.unary` without support for storing metadata.\n   *\n   * @private\n   * @param {Function} func The function to cap arguments for.\n   * @returns {Function} Returns the new capped function.\n   */\n  function baseUnary(func) {\n    return function(value) {\n      return func(value);\n    };\n  }\n\n  /**\n   * The base implementation of `_.values` and `_.valuesIn` which creates an\n   * array of `object` property values corresponding to the property names\n   * of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the array of property values.\n   */\n  function baseValues(object, props) {\n    return arrayMap(props, function(key) {\n      return object[key];\n    });\n  }\n\n  /**\n   * Checks if a `cache` value for `key` exists.\n   *\n   * @private\n   * @param {Object} cache The cache to query.\n   * @param {string} key The key of the entry to check.\n   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n   */\n  function cacheHas(cache, key) {\n    return cache.has(key);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the first unmatched string symbol.\n   */\n  function charsStartIndex(strSymbols, chrSymbols) {\n    var index = -1,\n        length = strSymbols.length;\n\n    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the last unmatched string symbol.\n   */\n  function charsEndIndex(strSymbols, chrSymbols) {\n    var index = strSymbols.length;\n\n    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Gets the number of `placeholder` occurrences in `array`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} placeholder The placeholder to search for.\n   * @returns {number} Returns the placeholder count.\n   */\n  function countHolders(array, placeholder) {\n    var length = array.length,\n        result = 0;\n\n    while (length--) {\n      if (array[length] === placeholder) {\n        ++result;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n   * letters to basic Latin letters.\n   *\n   * @private\n   * @param {string} letter The matched letter to deburr.\n   * @returns {string} Returns the deburred letter.\n   */\n  var deburrLetter = basePropertyOf(deburredLetters);\n\n  /**\n   * Used by `_.escape` to convert characters to HTML entities.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n  /**\n   * Used by `_.template` to escape characters for inclusion in compiled string literals.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  function escapeStringChar(chr) {\n    return '\\\\' + stringEscapes[chr];\n  }\n\n  /**\n   * Gets the value at `key` of `object`.\n   *\n   * @private\n   * @param {Object} [object] The object to query.\n   * @param {string} key The key of the property to get.\n   * @returns {*} Returns the property value.\n   */\n  function getValue(object, key) {\n    return object == null ? undefined : object[key];\n  }\n\n  /**\n   * Checks if `string` contains Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n   */\n  function hasUnicode(string) {\n    return reHasUnicode.test(string);\n  }\n\n  /**\n   * Checks if `string` contains a word composed of Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a word is found, else `false`.\n   */\n  function hasUnicodeWord(string) {\n    return reHasUnicodeWord.test(string);\n  }\n\n  /**\n   * Converts `iterator` to an array.\n   *\n   * @private\n   * @param {Object} iterator The iterator to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function iteratorToArray(iterator) {\n    var data,\n        result = [];\n\n    while (!(data = iterator.next()).done) {\n      result.push(data.value);\n    }\n    return result;\n  }\n\n  /**\n   * Converts `map` to its key-value pairs.\n   *\n   * @private\n   * @param {Object} map The map to convert.\n   * @returns {Array} Returns the key-value pairs.\n   */\n  function mapToArray(map) {\n    var index = -1,\n        result = Array(map.size);\n\n    map.forEach(function(value, key) {\n      result[++index] = [key, value];\n    });\n    return result;\n  }\n\n  /**\n   * Creates a unary function that invokes `func` with its argument transformed.\n   *\n   * @private\n   * @param {Function} func The function to wrap.\n   * @param {Function} transform The argument transform.\n   * @returns {Function} Returns the new function.\n   */\n  function overArg(func, transform) {\n    return function(arg) {\n      return func(transform(arg));\n    };\n  }\n\n  /**\n   * Replaces all `placeholder` elements in `array` with an internal placeholder\n   * and returns an array of their indexes.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {*} placeholder The placeholder to replace.\n   * @returns {Array} Returns the new array of placeholder indexes.\n   */\n  function replaceHolders(array, placeholder) {\n    var index = -1,\n        length = array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (value === placeholder || value === PLACEHOLDER) {\n        array[index] = PLACEHOLDER;\n        result[resIndex++] = index;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Converts `set` to an array of its values.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the values.\n   */\n  function setToArray(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = value;\n    });\n    return result;\n  }\n\n  /**\n   * Converts `set` to its value-value pairs.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the value-value pairs.\n   */\n  function setToPairs(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = [value, value];\n    });\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.indexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictIndexOf(array, value, fromIndex) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * A specialized version of `_.lastIndexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictLastIndexOf(array, value, fromIndex) {\n    var index = fromIndex + 1;\n    while (index--) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return index;\n  }\n\n  /**\n   * Gets the number of symbols in `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the string size.\n   */\n  function stringSize(string) {\n    return hasUnicode(string)\n      ? unicodeSize(string)\n      : asciiSize(string);\n  }\n\n  /**\n   * Converts `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function stringToArray(string) {\n    return hasUnicode(string)\n      ? unicodeToArray(string)\n      : asciiToArray(string);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n   * character of `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the index of the last non-whitespace character.\n   */\n  function trimmedEndIndex(string) {\n    var index = string.length;\n\n    while (index-- && reWhitespace.test(string.charAt(index))) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.unescape` to convert HTML entities to characters.\n   *\n   * @private\n   * @param {string} chr The matched character to unescape.\n   * @returns {string} Returns the unescaped character.\n   */\n  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n  /**\n   * Gets the size of a Unicode `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  function unicodeSize(string) {\n    var result = reUnicode.lastIndex = 0;\n    while (reUnicode.test(string)) {\n      ++result;\n    }\n    return result;\n  }\n\n  /**\n   * Converts a Unicode `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function unicodeToArray(string) {\n    return string.match(reUnicode) || [];\n  }\n\n  /**\n   * Splits a Unicode `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function unicodeWords(string) {\n    return string.match(reUnicodeWord) || [];\n  }\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * Create a new pristine `lodash` function using the `context` object.\n   *\n   * @static\n   * @memberOf _\n   * @since 1.1.0\n   * @category Util\n   * @param {Object} [context=root] The context object.\n   * @returns {Function} Returns a new `lodash` function.\n   * @example\n   *\n   * _.mixin({ 'foo': _.constant('foo') });\n   *\n   * var lodash = _.runInContext();\n   * lodash.mixin({ 'bar': lodash.constant('bar') });\n   *\n   * _.isFunction(_.foo);\n   * // => true\n   * _.isFunction(_.bar);\n   * // => false\n   *\n   * lodash.isFunction(lodash.foo);\n   * // => false\n   * lodash.isFunction(lodash.bar);\n   * // => true\n   *\n   * // Create a suped-up `defer` in Node.js.\n   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n   */\n  var runInContext = (function runInContext(context) {\n    context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n    /** Built-in constructor references. */\n    var Array = context.Array,\n        Date = context.Date,\n        Error = context.Error,\n        Function = context.Function,\n        Math = context.Math,\n        Object = context.Object,\n        RegExp = context.RegExp,\n        String = context.String,\n        TypeError = context.TypeError;\n\n    /** Used for built-in method references. */\n    var arrayProto = Array.prototype,\n        funcProto = Function.prototype,\n        objectProto = Object.prototype;\n\n    /** Used to detect overreaching core-js shims. */\n    var coreJsData = context['__core-js_shared__'];\n\n    /** Used to resolve the decompiled source of functions. */\n    var funcToString = funcProto.toString;\n\n    /** Used to check objects for own properties. */\n    var hasOwnProperty = objectProto.hasOwnProperty;\n\n    /** Used to generate unique IDs. */\n    var idCounter = 0;\n\n    /** Used to detect methods masquerading as native. */\n    var maskSrcKey = (function() {\n      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n      return uid ? ('Symbol(src)_1.' + uid) : '';\n    }());\n\n    /**\n     * Used to resolve the\n     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n     * of values.\n     */\n    var nativeObjectToString = objectProto.toString;\n\n    /** Used to infer the `Object` constructor. */\n    var objectCtorString = funcToString.call(Object);\n\n    /** Used to restore the original `_` reference in `_.noConflict`. */\n    var oldDash = root._;\n\n    /** Used to detect if a method is native. */\n    var reIsNative = RegExp('^' +\n      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n      .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n    );\n\n    /** Built-in value references. */\n    var Buffer = moduleExports ? context.Buffer : undefined,\n        Symbol = context.Symbol,\n        Uint8Array = context.Uint8Array,\n        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n        getPrototype = overArg(Object.getPrototypeOf, Object),\n        objectCreate = Object.create,\n        propertyIsEnumerable = objectProto.propertyIsEnumerable,\n        splice = arrayProto.splice,\n        spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n        symIterator = Symbol ? Symbol.iterator : undefined,\n        symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n    var defineProperty = (function() {\n      try {\n        var func = getNative(Object, 'defineProperty');\n        func({}, '', {});\n        return func;\n      } catch (e) {}\n    }());\n\n    /** Mocked built-ins. */\n    var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n        ctxNow = Date && Date.now !== root.Date.now && Date.now,\n        ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n    /* Built-in method references for those with the same name as other `lodash` methods. */\n    var nativeCeil = Math.ceil,\n        nativeFloor = Math.floor,\n        nativeGetSymbols = Object.getOwnPropertySymbols,\n        nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n        nativeIsFinite = context.isFinite,\n        nativeJoin = arrayProto.join,\n        nativeKeys = overArg(Object.keys, Object),\n        nativeMax = Math.max,\n        nativeMin = Math.min,\n        nativeNow = Date.now,\n        nativeParseInt = context.parseInt,\n        nativeRandom = Math.random,\n        nativeReverse = arrayProto.reverse;\n\n    /* Built-in method references that are verified to be native. */\n    var DataView = getNative(context, 'DataView'),\n        Map = getNative(context, 'Map'),\n        Promise = getNative(context, 'Promise'),\n        Set = getNative(context, 'Set'),\n        WeakMap = getNative(context, 'WeakMap'),\n        nativeCreate = getNative(Object, 'create');\n\n    /** Used to store function metadata. */\n    var metaMap = WeakMap && new WeakMap;\n\n    /** Used to lookup unminified function names. */\n    var realNames = {};\n\n    /** Used to detect maps, sets, and weakmaps. */\n    var dataViewCtorString = toSource(DataView),\n        mapCtorString = toSource(Map),\n        promiseCtorString = toSource(Promise),\n        setCtorString = toSource(Set),\n        weakMapCtorString = toSource(WeakMap);\n\n    /** Used to convert symbols to primitives and strings. */\n    var symbolProto = Symbol ? Symbol.prototype : undefined,\n        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n        symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` object which wraps `value` to enable implicit method\n     * chain sequences. Methods that operate on and return arrays, collections,\n     * and functions can be chained together. Methods that retrieve a single value\n     * or may return a primitive value will automatically end the chain sequence\n     * and return the unwrapped value. Otherwise, the value must be unwrapped\n     * with `_#value`.\n     *\n     * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n     * enabled using `_.chain`.\n     *\n     * The execution of chained methods is lazy, that is, it's deferred until\n     * `_#value` is implicitly or explicitly called.\n     *\n     * Lazy evaluation allows several methods to support shortcut fusion.\n     * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n     * the creation of intermediate arrays and can greatly reduce the number of\n     * iteratee executions. Sections of a chain sequence qualify for shortcut\n     * fusion if the section is applied to an array and iteratees accept only\n     * one argument. The heuristic for whether a section qualifies for shortcut\n     * fusion is subject to change.\n     *\n     * Chaining is supported in custom builds as long as the `_#value` method is\n     * directly or indirectly included in the build.\n     *\n     * In addition to lodash methods, wrappers have `Array` and `String` methods.\n     *\n     * The wrapper `Array` methods are:\n     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n     *\n     * The wrapper `String` methods are:\n     * `replace` and `split`\n     *\n     * The wrapper methods that support shortcut fusion are:\n     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n     *\n     * The chainable wrapper methods are:\n     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n     * `zipObject`, `zipObjectDeep`, and `zipWith`\n     *\n     * The wrapper methods that are **not** chainable by default are:\n     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n     * `upperFirst`, `value`, and `words`\n     *\n     * @name _\n     * @constructor\n     * @category Seq\n     * @param {*} value The value to wrap in a `lodash` instance.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2, 3]);\n     *\n     * // Returns an unwrapped value.\n     * wrapped.reduce(_.add);\n     * // => 6\n     *\n     * // Returns a wrapped value.\n     * var squares = wrapped.map(square);\n     *\n     * _.isArray(squares);\n     * // => false\n     *\n     * _.isArray(squares.value());\n     * // => true\n     */\n    function lodash(value) {\n      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n        if (value instanceof LodashWrapper) {\n          return value;\n        }\n        if (hasOwnProperty.call(value, '__wrapped__')) {\n          return wrapperClone(value);\n        }\n      }\n      return new LodashWrapper(value);\n    }\n\n    /**\n     * The base implementation of `_.create` without support for assigning\n     * properties to the created object.\n     *\n     * @private\n     * @param {Object} proto The object to inherit from.\n     * @returns {Object} Returns the new object.\n     */\n    var baseCreate = (function() {\n      function object() {}\n      return function(proto) {\n        if (!isObject(proto)) {\n          return {};\n        }\n        if (objectCreate) {\n          return objectCreate(proto);\n        }\n        object.prototype = proto;\n        var result = new object;\n        object.prototype = undefined;\n        return result;\n      };\n    }());\n\n    /**\n     * The function whose prototype chain sequence wrappers inherit from.\n     *\n     * @private\n     */\n    function baseLodash() {\n      // No operation performed.\n    }\n\n    /**\n     * The base constructor for creating `lodash` wrapper objects.\n     *\n     * @private\n     * @param {*} value The value to wrap.\n     * @param {boolean} [chainAll] Enable explicit method chain sequences.\n     */\n    function LodashWrapper(value, chainAll) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__chain__ = !!chainAll;\n      this.__index__ = 0;\n      this.__values__ = undefined;\n    }\n\n    /**\n     * By default, the template delimiters used by lodash are like those in\n     * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n     * following template settings to use alternative delimiters.\n     *\n     * @static\n     * @memberOf _\n     * @type {Object}\n     */\n    lodash.templateSettings = {\n\n      /**\n       * Used to detect `data` property values to be HTML-escaped.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'escape': reEscape,\n\n      /**\n       * Used to detect code to be evaluated.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'evaluate': reEvaluate,\n\n      /**\n       * Used to detect `data` property values to inject.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'interpolate': reInterpolate,\n\n      /**\n       * Used to reference the data object in the template text.\n       *\n       * @memberOf _.templateSettings\n       * @type {string}\n       */\n      'variable': '',\n\n      /**\n       * Used to import variables into the compiled template.\n       *\n       * @memberOf _.templateSettings\n       * @type {Object}\n       */\n      'imports': {\n\n        /**\n         * A reference to the `lodash` function.\n         *\n         * @memberOf _.templateSettings.imports\n         * @type {Function}\n         */\n        '_': lodash\n      }\n    };\n\n    // Ensure wrappers are instances of `baseLodash`.\n    lodash.prototype = baseLodash.prototype;\n    lodash.prototype.constructor = lodash;\n\n    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n    LodashWrapper.prototype.constructor = LodashWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n     *\n     * @private\n     * @constructor\n     * @param {*} value The value to wrap.\n     */\n    function LazyWrapper(value) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__dir__ = 1;\n      this.__filtered__ = false;\n      this.__iteratees__ = [];\n      this.__takeCount__ = MAX_ARRAY_LENGTH;\n      this.__views__ = [];\n    }\n\n    /**\n     * Creates a clone of the lazy wrapper object.\n     *\n     * @private\n     * @name clone\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the cloned `LazyWrapper` object.\n     */\n    function lazyClone() {\n      var result = new LazyWrapper(this.__wrapped__);\n      result.__actions__ = copyArray(this.__actions__);\n      result.__dir__ = this.__dir__;\n      result.__filtered__ = this.__filtered__;\n      result.__iteratees__ = copyArray(this.__iteratees__);\n      result.__takeCount__ = this.__takeCount__;\n      result.__views__ = copyArray(this.__views__);\n      return result;\n    }\n\n    /**\n     * Reverses the direction of lazy iteration.\n     *\n     * @private\n     * @name reverse\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the new reversed `LazyWrapper` object.\n     */\n    function lazyReverse() {\n      if (this.__filtered__) {\n        var result = new LazyWrapper(this);\n        result.__dir__ = -1;\n        result.__filtered__ = true;\n      } else {\n        result = this.clone();\n        result.__dir__ *= -1;\n      }\n      return result;\n    }\n\n    /**\n     * Extracts the unwrapped value from its lazy wrapper.\n     *\n     * @private\n     * @name value\n     * @memberOf LazyWrapper\n     * @returns {*} Returns the unwrapped value.\n     */\n    function lazyValue() {\n      var array = this.__wrapped__.value(),\n          dir = this.__dir__,\n          isArr = isArray(array),\n          isRight = dir < 0,\n          arrLength = isArr ? array.length : 0,\n          view = getView(0, arrLength, this.__views__),\n          start = view.start,\n          end = view.end,\n          length = end - start,\n          index = isRight ? end : (start - 1),\n          iteratees = this.__iteratees__,\n          iterLength = iteratees.length,\n          resIndex = 0,\n          takeCount = nativeMin(length, this.__takeCount__);\n\n      if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n        return baseWrapperValue(array, this.__actions__);\n      }\n      var result = [];\n\n      outer:\n      while (length-- && resIndex < takeCount) {\n        index += dir;\n\n        var iterIndex = -1,\n            value = array[index];\n\n        while (++iterIndex < iterLength) {\n          var data = iteratees[iterIndex],\n              iteratee = data.iteratee,\n              type = data.type,\n              computed = iteratee(value);\n\n          if (type == LAZY_MAP_FLAG) {\n            value = computed;\n          } else if (!computed) {\n            if (type == LAZY_FILTER_FLAG) {\n              continue outer;\n            } else {\n              break outer;\n            }\n          }\n        }\n        result[resIndex++] = value;\n      }\n      return result;\n    }\n\n    // Ensure `LazyWrapper` is an instance of `baseLodash`.\n    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n    LazyWrapper.prototype.constructor = LazyWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a hash object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Hash(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the hash.\n     *\n     * @private\n     * @name clear\n     * @memberOf Hash\n     */\n    function hashClear() {\n      this.__data__ = nativeCreate ? nativeCreate(null) : {};\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the hash.\n     *\n     * @private\n     * @name delete\n     * @memberOf Hash\n     * @param {Object} hash The hash to modify.\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function hashDelete(key) {\n      var result = this.has(key) && delete this.__data__[key];\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the hash value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Hash\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function hashGet(key) {\n      var data = this.__data__;\n      if (nativeCreate) {\n        var result = data[key];\n        return result === HASH_UNDEFINED ? undefined : result;\n      }\n      return hasOwnProperty.call(data, key) ? data[key] : undefined;\n    }\n\n    /**\n     * Checks if a hash value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Hash\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function hashHas(key) {\n      var data = this.__data__;\n      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n    }\n\n    /**\n     * Sets the hash `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Hash\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the hash instance.\n     */\n    function hashSet(key, value) {\n      var data = this.__data__;\n      this.size += this.has(key) ? 0 : 1;\n      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n      return this;\n    }\n\n    // Add methods to `Hash`.\n    Hash.prototype.clear = hashClear;\n    Hash.prototype['delete'] = hashDelete;\n    Hash.prototype.get = hashGet;\n    Hash.prototype.has = hashHas;\n    Hash.prototype.set = hashSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an list cache object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function ListCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the list cache.\n     *\n     * @private\n     * @name clear\n     * @memberOf ListCache\n     */\n    function listCacheClear() {\n      this.__data__ = [];\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the list cache.\n     *\n     * @private\n     * @name delete\n     * @memberOf ListCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function listCacheDelete(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        return false;\n      }\n      var lastIndex = data.length - 1;\n      if (index == lastIndex) {\n        data.pop();\n      } else {\n        splice.call(data, index, 1);\n      }\n      --this.size;\n      return true;\n    }\n\n    /**\n     * Gets the list cache value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf ListCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function listCacheGet(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      return index < 0 ? undefined : data[index][1];\n    }\n\n    /**\n     * Checks if a list cache value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf ListCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function listCacheHas(key) {\n      return assocIndexOf(this.__data__, key) > -1;\n    }\n\n    /**\n     * Sets the list cache `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf ListCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the list cache instance.\n     */\n    function listCacheSet(key, value) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        ++this.size;\n        data.push([key, value]);\n      } else {\n        data[index][1] = value;\n      }\n      return this;\n    }\n\n    // Add methods to `ListCache`.\n    ListCache.prototype.clear = listCacheClear;\n    ListCache.prototype['delete'] = listCacheDelete;\n    ListCache.prototype.get = listCacheGet;\n    ListCache.prototype.has = listCacheHas;\n    ListCache.prototype.set = listCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a map cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function MapCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the map.\n     *\n     * @private\n     * @name clear\n     * @memberOf MapCache\n     */\n    function mapCacheClear() {\n      this.size = 0;\n      this.__data__ = {\n        'hash': new Hash,\n        'map': new (Map || ListCache),\n        'string': new Hash\n      };\n    }\n\n    /**\n     * Removes `key` and its value from the map.\n     *\n     * @private\n     * @name delete\n     * @memberOf MapCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function mapCacheDelete(key) {\n      var result = getMapData(this, key)['delete'](key);\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the map value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf MapCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function mapCacheGet(key) {\n      return getMapData(this, key).get(key);\n    }\n\n    /**\n     * Checks if a map value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf MapCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function mapCacheHas(key) {\n      return getMapData(this, key).has(key);\n    }\n\n    /**\n     * Sets the map `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf MapCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the map cache instance.\n     */\n    function mapCacheSet(key, value) {\n      var data = getMapData(this, key),\n          size = data.size;\n\n      data.set(key, value);\n      this.size += data.size == size ? 0 : 1;\n      return this;\n    }\n\n    // Add methods to `MapCache`.\n    MapCache.prototype.clear = mapCacheClear;\n    MapCache.prototype['delete'] = mapCacheDelete;\n    MapCache.prototype.get = mapCacheGet;\n    MapCache.prototype.has = mapCacheHas;\n    MapCache.prototype.set = mapCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     *\n     * Creates an array cache object to store unique values.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [values] The values to cache.\n     */\n    function SetCache(values) {\n      var index = -1,\n          length = values == null ? 0 : values.length;\n\n      this.__data__ = new MapCache;\n      while (++index < length) {\n        this.add(values[index]);\n      }\n    }\n\n    /**\n     * Adds `value` to the array cache.\n     *\n     * @private\n     * @name add\n     * @memberOf SetCache\n     * @alias push\n     * @param {*} value The value to cache.\n     * @returns {Object} Returns the cache instance.\n     */\n    function setCacheAdd(value) {\n      this.__data__.set(value, HASH_UNDEFINED);\n      return this;\n    }\n\n    /**\n     * Checks if `value` is in the array cache.\n     *\n     * @private\n     * @name has\n     * @memberOf SetCache\n     * @param {*} value The value to search for.\n     * @returns {number} Returns `true` if `value` is found, else `false`.\n     */\n    function setCacheHas(value) {\n      return this.__data__.has(value);\n    }\n\n    // Add methods to `SetCache`.\n    SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n    SetCache.prototype.has = setCacheHas;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a stack cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Stack(entries) {\n      var data = this.__data__ = new ListCache(entries);\n      this.size = data.size;\n    }\n\n    /**\n     * Removes all key-value entries from the stack.\n     *\n     * @private\n     * @name clear\n     * @memberOf Stack\n     */\n    function stackClear() {\n      this.__data__ = new ListCache;\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the stack.\n     *\n     * @private\n     * @name delete\n     * @memberOf Stack\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function stackDelete(key) {\n      var data = this.__data__,\n          result = data['delete'](key);\n\n      this.size = data.size;\n      return result;\n    }\n\n    /**\n     * Gets the stack value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Stack\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function stackGet(key) {\n      return this.__data__.get(key);\n    }\n\n    /**\n     * Checks if a stack value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Stack\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function stackHas(key) {\n      return this.__data__.has(key);\n    }\n\n    /**\n     * Sets the stack `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Stack\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the stack cache instance.\n     */\n    function stackSet(key, value) {\n      var data = this.__data__;\n      if (data instanceof ListCache) {\n        var pairs = data.__data__;\n        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n          pairs.push([key, value]);\n          this.size = ++data.size;\n          return this;\n        }\n        data = this.__data__ = new MapCache(pairs);\n      }\n      data.set(key, value);\n      this.size = data.size;\n      return this;\n    }\n\n    // Add methods to `Stack`.\n    Stack.prototype.clear = stackClear;\n    Stack.prototype['delete'] = stackDelete;\n    Stack.prototype.get = stackGet;\n    Stack.prototype.has = stackHas;\n    Stack.prototype.set = stackSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of the enumerable property names of the array-like `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @param {boolean} inherited Specify returning inherited property names.\n     * @returns {Array} Returns the array of property names.\n     */\n    function arrayLikeKeys(value, inherited) {\n      var isArr = isArray(value),\n          isArg = !isArr && isArguments(value),\n          isBuff = !isArr && !isArg && isBuffer(value),\n          isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n          skipIndexes = isArr || isArg || isBuff || isType,\n          result = skipIndexes ? baseTimes(value.length, String) : [],\n          length = result.length;\n\n      for (var key in value) {\n        if ((inherited || hasOwnProperty.call(value, key)) &&\n            !(skipIndexes && (\n               // Safari 9 has enumerable `arguments.length` in strict mode.\n               key == 'length' ||\n               // Node.js 0.10 has enumerable non-index properties on buffers.\n               (isBuff && (key == 'offset' || key == 'parent')) ||\n               // PhantomJS 2 has enumerable non-index properties on typed arrays.\n               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n               // Skip index properties.\n               isIndex(key, length)\n            ))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `_.sample` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @returns {*} Returns the random element.\n     */\n    function arraySample(array) {\n      var length = array.length;\n      return length ? array[baseRandom(0, length - 1)] : undefined;\n    }\n\n    /**\n     * A specialized version of `_.sampleSize` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function arraySampleSize(array, n) {\n      return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * A specialized version of `_.shuffle` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function arrayShuffle(array) {\n      return shuffleSelf(copyArray(array));\n    }\n\n    /**\n     * This function is like `assignValue` except that it doesn't assign\n     * `undefined` values.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignMergeValue(object, key, value) {\n      if ((value !== undefined && !eq(object[key], value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Assigns `value` to `key` of `object` if the existing value is not equivalent\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignValue(object, key, value) {\n      var objValue = object[key];\n      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Gets the index at which the `key` is found in `array` of key-value pairs.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {*} key The key to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     */\n    function assocIndexOf(array, key) {\n      var length = array.length;\n      while (length--) {\n        if (eq(array[length][0], key)) {\n          return length;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * Aggregates elements of `collection` on `accumulator` with keys transformed\n     * by `iteratee` and values set by `setter`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform keys.\n     * @param {Object} accumulator The initial aggregated object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseAggregator(collection, setter, iteratee, accumulator) {\n      baseEach(collection, function(value, key, collection) {\n        setter(accumulator, value, iteratee(value), collection);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.assign` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssign(object, source) {\n      return object && copyObject(source, keys(source), object);\n    }\n\n    /**\n     * The base implementation of `_.assignIn` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssignIn(object, source) {\n      return object && copyObject(source, keysIn(source), object);\n    }\n\n    /**\n     * The base implementation of `assignValue` and `assignMergeValue` without\n     * value checks.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function baseAssignValue(object, key, value) {\n      if (key == '__proto__' && defineProperty) {\n        defineProperty(object, key, {\n          'configurable': true,\n          'enumerable': true,\n          'value': value,\n          'writable': true\n        });\n      } else {\n        object[key] = value;\n      }\n    }\n\n    /**\n     * The base implementation of `_.at` without support for individual paths.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Array} Returns the picked elements.\n     */\n    function baseAt(object, paths) {\n      var index = -1,\n          length = paths.length,\n          result = Array(length),\n          skip = object == null;\n\n      while (++index < length) {\n        result[index] = skip ? undefined : get(object, paths[index]);\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.clamp` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     */\n    function baseClamp(number, lower, upper) {\n      if (number === number) {\n        if (upper !== undefined) {\n          number = number <= upper ? number : upper;\n        }\n        if (lower !== undefined) {\n          number = number >= lower ? number : lower;\n        }\n      }\n      return number;\n    }\n\n    /**\n     * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n     * traversed objects.\n     *\n     * @private\n     * @param {*} value The value to clone.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Deep clone\n     *  2 - Flatten inherited properties\n     *  4 - Clone symbols\n     * @param {Function} [customizer] The function to customize cloning.\n     * @param {string} [key] The key of `value`.\n     * @param {Object} [object] The parent object of `value`.\n     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n     * @returns {*} Returns the cloned value.\n     */\n    function baseClone(value, bitmask, customizer, key, object, stack) {\n      var result,\n          isDeep = bitmask & CLONE_DEEP_FLAG,\n          isFlat = bitmask & CLONE_FLAT_FLAG,\n          isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n      if (customizer) {\n        result = object ? customizer(value, key, object, stack) : customizer(value);\n      }\n      if (result !== undefined) {\n        return result;\n      }\n      if (!isObject(value)) {\n        return value;\n      }\n      var isArr = isArray(value);\n      if (isArr) {\n        result = initCloneArray(value);\n        if (!isDeep) {\n          return copyArray(value, result);\n        }\n      } else {\n        var tag = getTag(value),\n            isFunc = tag == funcTag || tag == genTag;\n\n        if (isBuffer(value)) {\n          return cloneBuffer(value, isDeep);\n        }\n        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n          result = (isFlat || isFunc) ? {} : initCloneObject(value);\n          if (!isDeep) {\n            return isFlat\n              ? copySymbolsIn(value, baseAssignIn(result, value))\n              : copySymbols(value, baseAssign(result, value));\n          }\n        } else {\n          if (!cloneableTags[tag]) {\n            return object ? value : {};\n          }\n          result = initCloneByTag(value, tag, isDeep);\n        }\n      }\n      // Check for circular references and return its corresponding clone.\n      stack || (stack = new Stack);\n      var stacked = stack.get(value);\n      if (stacked) {\n        return stacked;\n      }\n      stack.set(value, result);\n\n      if (isSet(value)) {\n        value.forEach(function(subValue) {\n          result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n        });\n      } else if (isMap(value)) {\n        value.forEach(function(subValue, key) {\n          result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n        });\n      }\n\n      var keysFunc = isFull\n        ? (isFlat ? getAllKeysIn : getAllKeys)\n        : (isFlat ? keysIn : keys);\n\n      var props = isArr ? undefined : keysFunc(value);\n      arrayEach(props || value, function(subValue, key) {\n        if (props) {\n          key = subValue;\n          subValue = value[key];\n        }\n        // Recursively populate clone (susceptible to call stack limits).\n        assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.conforms` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseConforms(source) {\n      var props = keys(source);\n      return function(object) {\n        return baseConformsTo(object, source, props);\n      };\n    }\n\n    /**\n     * The base implementation of `_.conformsTo` which accepts `props` to check.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     */\n    function baseConformsTo(object, source, props) {\n      var length = props.length;\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (length--) {\n        var key = props[length],\n            predicate = source[key],\n            value = object[key];\n\n        if ((value === undefined && !(key in object)) || !predicate(value)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.delay` and `_.defer` which accepts `args`\n     * to provide to `func`.\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {Array} args The arguments to provide to `func`.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    function baseDelay(func, wait, args) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return setTimeout(function() { func.apply(undefined, args); }, wait);\n    }\n\n    /**\n     * The base implementation of methods like `_.difference` without support\n     * for excluding multiple arrays or iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Array} values The values to exclude.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     */\n    function baseDifference(array, values, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          isCommon = true,\n          length = array.length,\n          result = [],\n          valuesLength = values.length;\n\n      if (!length) {\n        return result;\n      }\n      if (iteratee) {\n        values = arrayMap(values, baseUnary(iteratee));\n      }\n      if (comparator) {\n        includes = arrayIncludesWith;\n        isCommon = false;\n      }\n      else if (values.length >= LARGE_ARRAY_SIZE) {\n        includes = cacheHas;\n        isCommon = false;\n        values = new SetCache(values);\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee == null ? value : iteratee(value);\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var valuesIndex = valuesLength;\n          while (valuesIndex--) {\n            if (values[valuesIndex] === computed) {\n              continue outer;\n            }\n          }\n          result.push(value);\n        }\n        else if (!includes(values, computed, comparator)) {\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.forEach` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEach = createBaseEach(baseForOwn);\n\n    /**\n     * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n    /**\n     * The base implementation of `_.every` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`\n     */\n    function baseEvery(collection, predicate) {\n      var result = true;\n      baseEach(collection, function(value, index, collection) {\n        result = !!predicate(value, index, collection);\n        return result;\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of methods like `_.max` and `_.min` which accepts a\n     * `comparator` to determine the extremum value.\n     *\n     * @private\n     * @param {Array} array The array to iterate over.\n     * @param {Function} iteratee The iteratee invoked per iteration.\n     * @param {Function} comparator The comparator used to compare values.\n     * @returns {*} Returns the extremum value.\n     */\n    function baseExtremum(array, iteratee, comparator) {\n      var index = -1,\n          length = array.length;\n\n      while (++index < length) {\n        var value = array[index],\n            current = iteratee(value);\n\n        if (current != null && (computed === undefined\n              ? (current === current && !isSymbol(current))\n              : comparator(current, computed)\n            )) {\n          var computed = current,\n              result = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.fill` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     */\n    function baseFill(array, value, start, end) {\n      var length = array.length;\n\n      start = toInteger(start);\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = (end === undefined || end > length) ? length : toInteger(end);\n      if (end < 0) {\n        end += length;\n      }\n      end = start > end ? 0 : toLength(end);\n      while (start < end) {\n        array[start++] = value;\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.filter` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     */\n    function baseFilter(collection, predicate) {\n      var result = [];\n      baseEach(collection, function(value, index, collection) {\n        if (predicate(value, index, collection)) {\n          result.push(value);\n        }\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.flatten` with support for restricting flattening.\n     *\n     * @private\n     * @param {Array} array The array to flatten.\n     * @param {number} depth The maximum recursion depth.\n     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n     * @param {Array} [result=[]] The initial result value.\n     * @returns {Array} Returns the new flattened array.\n     */\n    function baseFlatten(array, depth, predicate, isStrict, result) {\n      var index = -1,\n          length = array.length;\n\n      predicate || (predicate = isFlattenable);\n      result || (result = []);\n\n      while (++index < length) {\n        var value = array[index];\n        if (depth > 0 && predicate(value)) {\n          if (depth > 1) {\n            // Recursively flatten arrays (susceptible to call stack limits).\n            baseFlatten(value, depth - 1, predicate, isStrict, result);\n          } else {\n            arrayPush(result, value);\n          }\n        } else if (!isStrict) {\n          result[result.length] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `baseForOwn` which iterates over `object`\n     * properties returned by `keysFunc` and invokes `iteratee` for each property.\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseFor = createBaseFor();\n\n    /**\n     * This function is like `baseFor` except that it iterates over properties\n     * in the opposite order.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseForRight = createBaseFor(true);\n\n    /**\n     * The base implementation of `_.forOwn` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwn(object, iteratee) {\n      return object && baseFor(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwnRight(object, iteratee) {\n      return object && baseForRight(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.functions` which creates an array of\n     * `object` function property names filtered from `props`.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Array} props The property names to filter.\n     * @returns {Array} Returns the function names.\n     */\n    function baseFunctions(object, props) {\n      return arrayFilter(props, function(key) {\n        return isFunction(object[key]);\n      });\n    }\n\n    /**\n     * The base implementation of `_.get` without support for default values.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseGet(object, path) {\n      path = castPath(path, object);\n\n      var index = 0,\n          length = path.length;\n\n      while (object != null && index < length) {\n        object = object[toKey(path[index++])];\n      }\n      return (index && index == length) ? object : undefined;\n    }\n\n    /**\n     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n     * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @param {Function} symbolsFunc The function to get the symbols of `object`.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n      var result = keysFunc(object);\n      return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n    }\n\n    /**\n     * The base implementation of `getTag` without fallbacks for buggy environments.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    function baseGetTag(value) {\n      if (value == null) {\n        return value === undefined ? undefinedTag : nullTag;\n      }\n      return (symToStringTag && symToStringTag in Object(value))\n        ? getRawTag(value)\n        : objectToString(value);\n    }\n\n    /**\n     * The base implementation of `_.gt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     */\n    function baseGt(value, other) {\n      return value > other;\n    }\n\n    /**\n     * The base implementation of `_.has` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHas(object, key) {\n      return object != null && hasOwnProperty.call(object, key);\n    }\n\n    /**\n     * The base implementation of `_.hasIn` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHasIn(object, key) {\n      return object != null && key in Object(object);\n    }\n\n    /**\n     * The base implementation of `_.inRange` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to check.\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     */\n    function baseInRange(number, start, end) {\n      return number >= nativeMin(start, end) && number < nativeMax(start, end);\n    }\n\n    /**\n     * The base implementation of methods like `_.intersection`, without support\n     * for iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of shared values.\n     */\n    function baseIntersection(arrays, iteratee, comparator) {\n      var includes = comparator ? arrayIncludesWith : arrayIncludes,\n          length = arrays[0].length,\n          othLength = arrays.length,\n          othIndex = othLength,\n          caches = Array(othLength),\n          maxLength = Infinity,\n          result = [];\n\n      while (othIndex--) {\n        var array = arrays[othIndex];\n        if (othIndex && iteratee) {\n          array = arrayMap(array, baseUnary(iteratee));\n        }\n        maxLength = nativeMin(array.length, maxLength);\n        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n          ? new SetCache(othIndex && array)\n          : undefined;\n      }\n      array = arrays[0];\n\n      var index = -1,\n          seen = caches[0];\n\n      outer:\n      while (++index < length && result.length < maxLength) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (!(seen\n              ? cacheHas(seen, computed)\n              : includes(result, computed, comparator)\n            )) {\n          othIndex = othLength;\n          while (--othIndex) {\n            var cache = caches[othIndex];\n            if (!(cache\n                  ? cacheHas(cache, computed)\n                  : includes(arrays[othIndex], computed, comparator))\n                ) {\n              continue outer;\n            }\n          }\n          if (seen) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.invert` and `_.invertBy` which inverts\n     * `object` with values transformed by `iteratee` and set by `setter`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform values.\n     * @param {Object} accumulator The initial inverted object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseInverter(object, setter, iteratee, accumulator) {\n      baseForOwn(object, function(value, key, object) {\n        setter(accumulator, iteratee(value), key, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.invoke` without support for individual\n     * method arguments.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {Array} args The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     */\n    function baseInvoke(object, path, args) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      var func = object == null ? object : object[toKey(last(path))];\n      return func == null ? undefined : apply(func, object, args);\n    }\n\n    /**\n     * The base implementation of `_.isArguments`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     */\n    function baseIsArguments(value) {\n      return isObjectLike(value) && baseGetTag(value) == argsTag;\n    }\n\n    /**\n     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     */\n    function baseIsArrayBuffer(value) {\n      return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n    }\n\n    /**\n     * The base implementation of `_.isDate` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     */\n    function baseIsDate(value) {\n      return isObjectLike(value) && baseGetTag(value) == dateTag;\n    }\n\n    /**\n     * The base implementation of `_.isEqual` which supports partial comparisons\n     * and tracks traversed objects.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Unordered comparison\n     *  2 - Partial comparison\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     */\n    function baseIsEqual(value, other, bitmask, customizer, stack) {\n      if (value === other) {\n        return true;\n      }\n      if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n        return value !== value && other !== other;\n      }\n      return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n    }\n\n    /**\n     * A specialized version of `baseIsEqual` for arrays and objects which performs\n     * deep comparisons and tracks traversed objects enabling objects with circular\n     * references to be compared.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n      var objIsArr = isArray(object),\n          othIsArr = isArray(other),\n          objTag = objIsArr ? arrayTag : getTag(object),\n          othTag = othIsArr ? arrayTag : getTag(other);\n\n      objTag = objTag == argsTag ? objectTag : objTag;\n      othTag = othTag == argsTag ? objectTag : othTag;\n\n      var objIsObj = objTag == objectTag,\n          othIsObj = othTag == objectTag,\n          isSameTag = objTag == othTag;\n\n      if (isSameTag && isBuffer(object)) {\n        if (!isBuffer(other)) {\n          return false;\n        }\n        objIsArr = true;\n        objIsObj = false;\n      }\n      if (isSameTag && !objIsObj) {\n        stack || (stack = new Stack);\n        return (objIsArr || isTypedArray(object))\n          ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n          : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n      }\n      if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n        if (objIsWrapped || othIsWrapped) {\n          var objUnwrapped = objIsWrapped ? object.value() : object,\n              othUnwrapped = othIsWrapped ? other.value() : other;\n\n          stack || (stack = new Stack);\n          return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n        }\n      }\n      if (!isSameTag) {\n        return false;\n      }\n      stack || (stack = new Stack);\n      return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n    }\n\n    /**\n     * The base implementation of `_.isMap` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     */\n    function baseIsMap(value) {\n      return isObjectLike(value) && getTag(value) == mapTag;\n    }\n\n    /**\n     * The base implementation of `_.isMatch` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Array} matchData The property names, values, and compare flags to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     */\n    function baseIsMatch(object, source, matchData, customizer) {\n      var index = matchData.length,\n          length = index,\n          noCustomizer = !customizer;\n\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (index--) {\n        var data = matchData[index];\n        if ((noCustomizer && data[2])\n              ? data[1] !== object[data[0]]\n              : !(data[0] in object)\n            ) {\n          return false;\n        }\n      }\n      while (++index < length) {\n        data = matchData[index];\n        var key = data[0],\n            objValue = object[key],\n            srcValue = data[1];\n\n        if (noCustomizer && data[2]) {\n          if (objValue === undefined && !(key in object)) {\n            return false;\n          }\n        } else {\n          var stack = new Stack;\n          if (customizer) {\n            var result = customizer(objValue, srcValue, key, object, source, stack);\n          }\n          if (!(result === undefined\n                ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n                : result\n              )) {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.isNative` without bad shim checks.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     */\n    function baseIsNative(value) {\n      if (!isObject(value) || isMasked(value)) {\n        return false;\n      }\n      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n      return pattern.test(toSource(value));\n    }\n\n    /**\n     * The base implementation of `_.isRegExp` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     */\n    function baseIsRegExp(value) {\n      return isObjectLike(value) && baseGetTag(value) == regexpTag;\n    }\n\n    /**\n     * The base implementation of `_.isSet` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     */\n    function baseIsSet(value) {\n      return isObjectLike(value) && getTag(value) == setTag;\n    }\n\n    /**\n     * The base implementation of `_.isTypedArray` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     */\n    function baseIsTypedArray(value) {\n      return isObjectLike(value) &&\n        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n    }\n\n    /**\n     * The base implementation of `_.iteratee`.\n     *\n     * @private\n     * @param {*} [value=_.identity] The value to convert to an iteratee.\n     * @returns {Function} Returns the iteratee.\n     */\n    function baseIteratee(value) {\n      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n      if (typeof value == 'function') {\n        return value;\n      }\n      if (value == null) {\n        return identity;\n      }\n      if (typeof value == 'object') {\n        return isArray(value)\n          ? baseMatchesProperty(value[0], value[1])\n          : baseMatches(value);\n      }\n      return property(value);\n    }\n\n    /**\n     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeys(object) {\n      if (!isPrototype(object)) {\n        return nativeKeys(object);\n      }\n      var result = [];\n      for (var key in Object(object)) {\n        if (hasOwnProperty.call(object, key) && key != 'constructor') {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeysIn(object) {\n      if (!isObject(object)) {\n        return nativeKeysIn(object);\n      }\n      var isProto = isPrototype(object),\n          result = [];\n\n      for (var key in object) {\n        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.lt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     */\n    function baseLt(value, other) {\n      return value < other;\n    }\n\n    /**\n     * The base implementation of `_.map` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     */\n    function baseMap(collection, iteratee) {\n      var index = -1,\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value, key, collection) {\n        result[++index] = iteratee(value, key, collection);\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.matches` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatches(source) {\n      var matchData = getMatchData(source);\n      if (matchData.length == 1 && matchData[0][2]) {\n        return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n      }\n      return function(object) {\n        return object === source || baseIsMatch(object, source, matchData);\n      };\n    }\n\n    /**\n     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n     *\n     * @private\n     * @param {string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatchesProperty(path, srcValue) {\n      if (isKey(path) && isStrictComparable(srcValue)) {\n        return matchesStrictComparable(toKey(path), srcValue);\n      }\n      return function(object) {\n        var objValue = get(object, path);\n        return (objValue === undefined && objValue === srcValue)\n          ? hasIn(object, path)\n          : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n      };\n    }\n\n    /**\n     * The base implementation of `_.merge` without support for multiple sources.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} [customizer] The function to customize merged values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMerge(object, source, srcIndex, customizer, stack) {\n      if (object === source) {\n        return;\n      }\n      baseFor(source, function(srcValue, key) {\n        stack || (stack = new Stack);\n        if (isObject(srcValue)) {\n          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n        }\n        else {\n          var newValue = customizer\n            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n            : undefined;\n\n          if (newValue === undefined) {\n            newValue = srcValue;\n          }\n          assignMergeValue(object, key, newValue);\n        }\n      }, keysIn);\n    }\n\n    /**\n     * A specialized version of `baseMerge` for arrays and objects which performs\n     * deep merges and tracks traversed objects enabling objects with circular\n     * references to be merged.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {string} key The key of the value to merge.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} mergeFunc The function to merge values.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n      var objValue = safeGet(object, key),\n          srcValue = safeGet(source, key),\n          stacked = stack.get(srcValue);\n\n      if (stacked) {\n        assignMergeValue(object, key, stacked);\n        return;\n      }\n      var newValue = customizer\n        ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n        : undefined;\n\n      var isCommon = newValue === undefined;\n\n      if (isCommon) {\n        var isArr = isArray(srcValue),\n            isBuff = !isArr && isBuffer(srcValue),\n            isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n        newValue = srcValue;\n        if (isArr || isBuff || isTyped) {\n          if (isArray(objValue)) {\n            newValue = objValue;\n          }\n          else if (isArrayLikeObject(objValue)) {\n            newValue = copyArray(objValue);\n          }\n          else if (isBuff) {\n            isCommon = false;\n            newValue = cloneBuffer(srcValue, true);\n          }\n          else if (isTyped) {\n            isCommon = false;\n            newValue = cloneTypedArray(srcValue, true);\n          }\n          else {\n            newValue = [];\n          }\n        }\n        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n          newValue = objValue;\n          if (isArguments(objValue)) {\n            newValue = toPlainObject(objValue);\n          }\n          else if (!isObject(objValue) || isFunction(objValue)) {\n            newValue = initCloneObject(srcValue);\n          }\n        }\n        else {\n          isCommon = false;\n        }\n      }\n      if (isCommon) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, newValue);\n        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n        stack['delete'](srcValue);\n      }\n      assignMergeValue(object, key, newValue);\n    }\n\n    /**\n     * The base implementation of `_.nth` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {number} n The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     */\n    function baseNth(array, n) {\n      var length = array.length;\n      if (!length) {\n        return;\n      }\n      n += n < 0 ? length : 0;\n      return isIndex(n, length) ? array[n] : undefined;\n    }\n\n    /**\n     * The base implementation of `_.orderBy` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n     * @param {string[]} orders The sort orders of `iteratees`.\n     * @returns {Array} Returns the new sorted array.\n     */\n    function baseOrderBy(collection, iteratees, orders) {\n      if (iteratees.length) {\n        iteratees = arrayMap(iteratees, function(iteratee) {\n          if (isArray(iteratee)) {\n            return function(value) {\n              return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n            }\n          }\n          return iteratee;\n        });\n      } else {\n        iteratees = [identity];\n      }\n\n      var index = -1;\n      iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n      var result = baseMap(collection, function(value, key, collection) {\n        var criteria = arrayMap(iteratees, function(iteratee) {\n          return iteratee(value);\n        });\n        return { 'criteria': criteria, 'index': ++index, 'value': value };\n      });\n\n      return baseSortBy(result, function(object, other) {\n        return compareMultiple(object, other, orders);\n      });\n    }\n\n    /**\n     * The base implementation of `_.pick` without support for individual\n     * property identifiers.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Object} Returns the new object.\n     */\n    function basePick(object, paths) {\n      return basePickBy(object, paths, function(value, path) {\n        return hasIn(object, path);\n      });\n    }\n\n    /**\n     * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @param {Function} predicate The function invoked per property.\n     * @returns {Object} Returns the new object.\n     */\n    function basePickBy(object, paths, predicate) {\n      var index = -1,\n          length = paths.length,\n          result = {};\n\n      while (++index < length) {\n        var path = paths[index],\n            value = baseGet(object, path);\n\n        if (predicate(value, path)) {\n          baseSet(result, castPath(path, object), value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseProperty` which supports deep paths.\n     *\n     * @private\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     */\n    function basePropertyDeep(path) {\n      return function(object) {\n        return baseGet(object, path);\n      };\n    }\n\n    /**\n     * The base implementation of `_.pullAllBy` without support for iteratee\n     * shorthands.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAll(array, values, iteratee, comparator) {\n      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n          index = -1,\n          length = values.length,\n          seen = array;\n\n      if (array === values) {\n        values = copyArray(values);\n      }\n      if (iteratee) {\n        seen = arrayMap(array, baseUnary(iteratee));\n      }\n      while (++index < length) {\n        var fromIndex = 0,\n            value = values[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n          if (seen !== array) {\n            splice.call(seen, fromIndex, 1);\n          }\n          splice.call(array, fromIndex, 1);\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.pullAt` without support for individual\n     * indexes or capturing the removed elements.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {number[]} indexes The indexes of elements to remove.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAt(array, indexes) {\n      var length = array ? indexes.length : 0,\n          lastIndex = length - 1;\n\n      while (length--) {\n        var index = indexes[length];\n        if (length == lastIndex || index !== previous) {\n          var previous = index;\n          if (isIndex(index)) {\n            splice.call(array, index, 1);\n          } else {\n            baseUnset(array, index);\n          }\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.random` without support for returning\n     * floating-point numbers.\n     *\n     * @private\n     * @param {number} lower The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the random number.\n     */\n    function baseRandom(lower, upper) {\n      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n    }\n\n    /**\n     * The base implementation of `_.range` and `_.rangeRight` which doesn't\n     * coerce arguments.\n     *\n     * @private\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} step The value to increment or decrement by.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the range of numbers.\n     */\n    function baseRange(start, end, step, fromRight) {\n      var index = -1,\n          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n          result = Array(length);\n\n      while (length--) {\n        result[fromRight ? length : ++index] = start;\n        start += step;\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.repeat` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {string} string The string to repeat.\n     * @param {number} n The number of times to repeat the string.\n     * @returns {string} Returns the repeated string.\n     */\n    function baseRepeat(string, n) {\n      var result = '';\n      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n        return result;\n      }\n      // Leverage the exponentiation by squaring algorithm for a faster repeat.\n      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n      do {\n        if (n % 2) {\n          result += string;\n        }\n        n = nativeFloor(n / 2);\n        if (n) {\n          string += string;\n        }\n      } while (n);\n\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     */\n    function baseRest(func, start) {\n      return setToString(overRest(func, start, identity), func + '');\n    }\n\n    /**\n     * The base implementation of `_.sample`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     */\n    function baseSample(collection) {\n      return arraySample(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.sampleSize` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function baseSampleSize(collection, n) {\n      var array = values(collection);\n      return shuffleSelf(array, baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * The base implementation of `_.set`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseSet(object, path, value, customizer) {\n      if (!isObject(object)) {\n        return object;\n      }\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          lastIndex = length - 1,\n          nested = object;\n\n      while (nested != null && ++index < length) {\n        var key = toKey(path[index]),\n            newValue = value;\n\n        if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n          return object;\n        }\n\n        if (index != lastIndex) {\n          var objValue = nested[key];\n          newValue = customizer ? customizer(objValue, key, nested) : undefined;\n          if (newValue === undefined) {\n            newValue = isObject(objValue)\n              ? objValue\n              : (isIndex(path[index + 1]) ? [] : {});\n          }\n        }\n        assignValue(nested, key, newValue);\n        nested = nested[key];\n      }\n      return object;\n    }\n\n    /**\n     * The base implementation of `setData` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetData = !metaMap ? identity : function(func, data) {\n      metaMap.set(func, data);\n      return func;\n    };\n\n    /**\n     * The base implementation of `setToString` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetToString = !defineProperty ? identity : function(func, string) {\n      return defineProperty(func, 'toString', {\n        'configurable': true,\n        'enumerable': false,\n        'value': constant(string),\n        'writable': true\n      });\n    };\n\n    /**\n     * The base implementation of `_.shuffle`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function baseShuffle(collection) {\n      return shuffleSelf(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.slice` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseSlice(array, start, end) {\n      var index = -1,\n          length = array.length;\n\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = end > length ? length : end;\n      if (end < 0) {\n        end += length;\n      }\n      length = start > end ? 0 : ((end - start) >>> 0);\n      start >>>= 0;\n\n      var result = Array(length);\n      while (++index < length) {\n        result[index] = array[index + start];\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.some` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     */\n    function baseSome(collection, predicate) {\n      var result;\n\n      baseEach(collection, function(value, index, collection) {\n        result = predicate(value, index, collection);\n        return !result;\n      });\n      return !!result;\n    }\n\n    /**\n     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n     * performs a binary search of `array` to determine the index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndex(array, value, retHighest) {\n      var low = 0,\n          high = array == null ? low : array.length;\n\n      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n        while (low < high) {\n          var mid = (low + high) >>> 1,\n              computed = array[mid];\n\n          if (computed !== null && !isSymbol(computed) &&\n              (retHighest ? (computed <= value) : (computed < value))) {\n            low = mid + 1;\n          } else {\n            high = mid;\n          }\n        }\n        return high;\n      }\n      return baseSortedIndexBy(array, value, identity, retHighest);\n    }\n\n    /**\n     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n     * which invokes `iteratee` for `value` and each element of `array` to compute\n     * their sort ranking. The iteratee is invoked with one argument; (value).\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} iteratee The iteratee invoked per element.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndexBy(array, value, iteratee, retHighest) {\n      var low = 0,\n          high = array == null ? 0 : array.length;\n      if (high === 0) {\n        return 0;\n      }\n\n      value = iteratee(value);\n      var valIsNaN = value !== value,\n          valIsNull = value === null,\n          valIsSymbol = isSymbol(value),\n          valIsUndefined = value === undefined;\n\n      while (low < high) {\n        var mid = nativeFloor((low + high) / 2),\n            computed = iteratee(array[mid]),\n            othIsDefined = computed !== undefined,\n            othIsNull = computed === null,\n            othIsReflexive = computed === computed,\n            othIsSymbol = isSymbol(computed);\n\n        if (valIsNaN) {\n          var setLow = retHighest || othIsReflexive;\n        } else if (valIsUndefined) {\n          setLow = othIsReflexive && (retHighest || othIsDefined);\n        } else if (valIsNull) {\n          setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n        } else if (valIsSymbol) {\n          setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n        } else if (othIsNull || othIsSymbol) {\n          setLow = false;\n        } else {\n          setLow = retHighest ? (computed <= value) : (computed < value);\n        }\n        if (setLow) {\n          low = mid + 1;\n        } else {\n          high = mid;\n        }\n      }\n      return nativeMin(high, MAX_ARRAY_INDEX);\n    }\n\n    /**\n     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n     * support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseSortedUniq(array, iteratee) {\n      var index = -1,\n          length = array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        if (!index || !eq(computed, seen)) {\n          var seen = computed;\n          result[resIndex++] = value === 0 ? 0 : value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.toNumber` which doesn't ensure correct\n     * conversions of binary, hexadecimal, or octal string values.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     */\n    function baseToNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      return +value;\n    }\n\n    /**\n     * The base implementation of `_.toString` which doesn't convert nullish\n     * values to empty strings.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {string} Returns the string.\n     */\n    function baseToString(value) {\n      // Exit early for strings to avoid a performance hit in some environments.\n      if (typeof value == 'string') {\n        return value;\n      }\n      if (isArray(value)) {\n        // Recursively convert values (susceptible to call stack limits).\n        return arrayMap(value, baseToString) + '';\n      }\n      if (isSymbol(value)) {\n        return symbolToString ? symbolToString.call(value) : '';\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseUniq(array, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          length = array.length,\n          isCommon = true,\n          result = [],\n          seen = result;\n\n      if (comparator) {\n        isCommon = false;\n        includes = arrayIncludesWith;\n      }\n      else if (length >= LARGE_ARRAY_SIZE) {\n        var set = iteratee ? null : createSet(array);\n        if (set) {\n          return setToArray(set);\n        }\n        isCommon = false;\n        includes = cacheHas;\n        seen = new SetCache;\n      }\n      else {\n        seen = iteratee ? [] : result;\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var seenIndex = seen.length;\n          while (seenIndex--) {\n            if (seen[seenIndex] === computed) {\n              continue outer;\n            }\n          }\n          if (iteratee) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n        else if (!includes(seen, computed, comparator)) {\n          if (seen !== result) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.unset`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The property path to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     */\n    function baseUnset(object, path) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      return object == null || delete object[toKey(last(path))];\n    }\n\n    /**\n     * The base implementation of `_.update`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to update.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseUpdate(object, path, updater, customizer) {\n      return baseSet(object, path, updater(baseGet(object, path)), customizer);\n    }\n\n    /**\n     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n     * without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {Function} predicate The function invoked per iteration.\n     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseWhile(array, predicate, isDrop, fromRight) {\n      var length = array.length,\n          index = fromRight ? length : -1;\n\n      while ((fromRight ? index-- : ++index < length) &&\n        predicate(array[index], index, array)) {}\n\n      return isDrop\n        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n    }\n\n    /**\n     * The base implementation of `wrapperValue` which returns the result of\n     * performing a sequence of actions on the unwrapped `value`, where each\n     * successive action is supplied the return value of the previous.\n     *\n     * @private\n     * @param {*} value The unwrapped value.\n     * @param {Array} actions Actions to perform to resolve the unwrapped value.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseWrapperValue(value, actions) {\n      var result = value;\n      if (result instanceof LazyWrapper) {\n        result = result.value();\n      }\n      return arrayReduce(actions, function(result, action) {\n        return action.func.apply(action.thisArg, arrayPush([result], action.args));\n      }, result);\n    }\n\n    /**\n     * The base implementation of methods like `_.xor`, without support for\n     * iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of values.\n     */\n    function baseXor(arrays, iteratee, comparator) {\n      var length = arrays.length;\n      if (length < 2) {\n        return length ? baseUniq(arrays[0]) : [];\n      }\n      var index = -1,\n          result = Array(length);\n\n      while (++index < length) {\n        var array = arrays[index],\n            othIndex = -1;\n\n        while (++othIndex < length) {\n          if (othIndex != index) {\n            result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n          }\n        }\n      }\n      return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n    }\n\n    /**\n     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n     *\n     * @private\n     * @param {Array} props The property identifiers.\n     * @param {Array} values The property values.\n     * @param {Function} assignFunc The function to assign values.\n     * @returns {Object} Returns the new object.\n     */\n    function baseZipObject(props, values, assignFunc) {\n      var index = -1,\n          length = props.length,\n          valsLength = values.length,\n          result = {};\n\n      while (++index < length) {\n        var value = index < valsLength ? values[index] : undefined;\n        assignFunc(result, props[index], value);\n      }\n      return result;\n    }\n\n    /**\n     * Casts `value` to an empty array if it's not an array like object.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Array|Object} Returns the cast array-like object.\n     */\n    function castArrayLikeObject(value) {\n      return isArrayLikeObject(value) ? value : [];\n    }\n\n    /**\n     * Casts `value` to `identity` if it's not a function.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Function} Returns cast function.\n     */\n    function castFunction(value) {\n      return typeof value == 'function' ? value : identity;\n    }\n\n    /**\n     * Casts `value` to a path array if it's not one.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {Array} Returns the cast property path array.\n     */\n    function castPath(value, object) {\n      if (isArray(value)) {\n        return value;\n      }\n      return isKey(value, object) ? [value] : stringToPath(toString(value));\n    }\n\n    /**\n     * A `baseRest` alias which can be replaced with `identity` by module\n     * replacement plugins.\n     *\n     * @private\n     * @type {Function}\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    var castRest = baseRest;\n\n    /**\n     * Casts `array` to a slice if it's needed.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {number} start The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the cast slice.\n     */\n    function castSlice(array, start, end) {\n      var length = array.length;\n      end = end === undefined ? length : end;\n      return (!start && end >= length) ? array : baseSlice(array, start, end);\n    }\n\n    /**\n     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n     *\n     * @private\n     * @param {number|Object} id The timer id or timeout object of the timer to clear.\n     */\n    var clearTimeout = ctxClearTimeout || function(id) {\n      return root.clearTimeout(id);\n    };\n\n    /**\n     * Creates a clone of  `buffer`.\n     *\n     * @private\n     * @param {Buffer} buffer The buffer to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Buffer} Returns the cloned buffer.\n     */\n    function cloneBuffer(buffer, isDeep) {\n      if (isDeep) {\n        return buffer.slice();\n      }\n      var length = buffer.length,\n          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n      buffer.copy(result);\n      return result;\n    }\n\n    /**\n     * Creates a clone of `arrayBuffer`.\n     *\n     * @private\n     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n     * @returns {ArrayBuffer} Returns the cloned array buffer.\n     */\n    function cloneArrayBuffer(arrayBuffer) {\n      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n      new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n      return result;\n    }\n\n    /**\n     * Creates a clone of `dataView`.\n     *\n     * @private\n     * @param {Object} dataView The data view to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned data view.\n     */\n    function cloneDataView(dataView, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n    }\n\n    /**\n     * Creates a clone of `regexp`.\n     *\n     * @private\n     * @param {Object} regexp The regexp to clone.\n     * @returns {Object} Returns the cloned regexp.\n     */\n    function cloneRegExp(regexp) {\n      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n      result.lastIndex = regexp.lastIndex;\n      return result;\n    }\n\n    /**\n     * Creates a clone of the `symbol` object.\n     *\n     * @private\n     * @param {Object} symbol The symbol object to clone.\n     * @returns {Object} Returns the cloned symbol object.\n     */\n    function cloneSymbol(symbol) {\n      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n    }\n\n    /**\n     * Creates a clone of `typedArray`.\n     *\n     * @private\n     * @param {Object} typedArray The typed array to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned typed array.\n     */\n    function cloneTypedArray(typedArray, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n    }\n\n    /**\n     * Compares values to sort them in ascending order.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {number} Returns the sort order indicator for `value`.\n     */\n    function compareAscending(value, other) {\n      if (value !== other) {\n        var valIsDefined = value !== undefined,\n            valIsNull = value === null,\n            valIsReflexive = value === value,\n            valIsSymbol = isSymbol(value);\n\n        var othIsDefined = other !== undefined,\n            othIsNull = other === null,\n            othIsReflexive = other === other,\n            othIsSymbol = isSymbol(other);\n\n        if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n            (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n            (valIsNull && othIsDefined && othIsReflexive) ||\n            (!valIsDefined && othIsReflexive) ||\n            !valIsReflexive) {\n          return 1;\n        }\n        if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n            (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n            (othIsNull && valIsDefined && valIsReflexive) ||\n            (!othIsDefined && valIsReflexive) ||\n            !othIsReflexive) {\n          return -1;\n        }\n      }\n      return 0;\n    }\n\n    /**\n     * Used by `_.orderBy` to compare multiple properties of a value to another\n     * and stable sort them.\n     *\n     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n     * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n     * of corresponding values.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {boolean[]|string[]} orders The order to sort by for each property.\n     * @returns {number} Returns the sort order indicator for `object`.\n     */\n    function compareMultiple(object, other, orders) {\n      var index = -1,\n          objCriteria = object.criteria,\n          othCriteria = other.criteria,\n          length = objCriteria.length,\n          ordersLength = orders.length;\n\n      while (++index < length) {\n        var result = compareAscending(objCriteria[index], othCriteria[index]);\n        if (result) {\n          if (index >= ordersLength) {\n            return result;\n          }\n          var order = orders[index];\n          return result * (order == 'desc' ? -1 : 1);\n        }\n      }\n      // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n      // that causes it, under certain circumstances, to provide the same value for\n      // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n      // for more details.\n      //\n      // This also ensures a stable sort in V8 and other engines.\n      // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n      return object.index - other.index;\n    }\n\n    /**\n     * Creates an array that is the composition of partially applied arguments,\n     * placeholders, and provided arguments into a single array of arguments.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to prepend to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgs(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersLength = holders.length,\n          leftIndex = -1,\n          leftLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(leftLength + rangeLength),\n          isUncurried = !isCurried;\n\n      while (++leftIndex < leftLength) {\n        result[leftIndex] = partials[leftIndex];\n      }\n      while (++argsIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[holders[argsIndex]] = args[argsIndex];\n        }\n      }\n      while (rangeLength--) {\n        result[leftIndex++] = args[argsIndex++];\n      }\n      return result;\n    }\n\n    /**\n     * This function is like `composeArgs` except that the arguments composition\n     * is tailored for `_.partialRight`.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to append to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgsRight(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersIndex = -1,\n          holdersLength = holders.length,\n          rightIndex = -1,\n          rightLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(rangeLength + rightLength),\n          isUncurried = !isCurried;\n\n      while (++argsIndex < rangeLength) {\n        result[argsIndex] = args[argsIndex];\n      }\n      var offset = argsIndex;\n      while (++rightIndex < rightLength) {\n        result[offset + rightIndex] = partials[rightIndex];\n      }\n      while (++holdersIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[offset + holders[holdersIndex]] = args[argsIndex++];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Copies the values of `source` to `array`.\n     *\n     * @private\n     * @param {Array} source The array to copy values from.\n     * @param {Array} [array=[]] The array to copy values to.\n     * @returns {Array} Returns `array`.\n     */\n    function copyArray(source, array) {\n      var index = -1,\n          length = source.length;\n\n      array || (array = Array(length));\n      while (++index < length) {\n        array[index] = source[index];\n      }\n      return array;\n    }\n\n    /**\n     * Copies properties of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy properties from.\n     * @param {Array} props The property identifiers to copy.\n     * @param {Object} [object={}] The object to copy properties to.\n     * @param {Function} [customizer] The function to customize copied values.\n     * @returns {Object} Returns `object`.\n     */\n    function copyObject(source, props, object, customizer) {\n      var isNew = !object;\n      object || (object = {});\n\n      var index = -1,\n          length = props.length;\n\n      while (++index < length) {\n        var key = props[index];\n\n        var newValue = customizer\n          ? customizer(object[key], source[key], key, object, source)\n          : undefined;\n\n        if (newValue === undefined) {\n          newValue = source[key];\n        }\n        if (isNew) {\n          baseAssignValue(object, key, newValue);\n        } else {\n          assignValue(object, key, newValue);\n        }\n      }\n      return object;\n    }\n\n    /**\n     * Copies own symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbols(source, object) {\n      return copyObject(source, getSymbols(source), object);\n    }\n\n    /**\n     * Copies own and inherited symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbolsIn(source, object) {\n      return copyObject(source, getSymbolsIn(source), object);\n    }\n\n    /**\n     * Creates a function like `_.groupBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} [initializer] The accumulator object initializer.\n     * @returns {Function} Returns the new aggregator function.\n     */\n    function createAggregator(setter, initializer) {\n      return function(collection, iteratee) {\n        var func = isArray(collection) ? arrayAggregator : baseAggregator,\n            accumulator = initializer ? initializer() : {};\n\n        return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n      };\n    }\n\n    /**\n     * Creates a function like `_.assign`.\n     *\n     * @private\n     * @param {Function} assigner The function to assign values.\n     * @returns {Function} Returns the new assigner function.\n     */\n    function createAssigner(assigner) {\n      return baseRest(function(object, sources) {\n        var index = -1,\n            length = sources.length,\n            customizer = length > 1 ? sources[length - 1] : undefined,\n            guard = length > 2 ? sources[2] : undefined;\n\n        customizer = (assigner.length > 3 && typeof customizer == 'function')\n          ? (length--, customizer)\n          : undefined;\n\n        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n          customizer = length < 3 ? undefined : customizer;\n          length = 1;\n        }\n        object = Object(object);\n        while (++index < length) {\n          var source = sources[index];\n          if (source) {\n            assigner(object, source, index, customizer);\n          }\n        }\n        return object;\n      });\n    }\n\n    /**\n     * Creates a `baseEach` or `baseEachRight` function.\n     *\n     * @private\n     * @param {Function} eachFunc The function to iterate over a collection.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseEach(eachFunc, fromRight) {\n      return function(collection, iteratee) {\n        if (collection == null) {\n          return collection;\n        }\n        if (!isArrayLike(collection)) {\n          return eachFunc(collection, iteratee);\n        }\n        var length = collection.length,\n            index = fromRight ? length : -1,\n            iterable = Object(collection);\n\n        while ((fromRight ? index-- : ++index < length)) {\n          if (iteratee(iterable[index], index, iterable) === false) {\n            break;\n          }\n        }\n        return collection;\n      };\n    }\n\n    /**\n     * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseFor(fromRight) {\n      return function(object, iteratee, keysFunc) {\n        var index = -1,\n            iterable = Object(object),\n            props = keysFunc(object),\n            length = props.length;\n\n        while (length--) {\n          var key = props[fromRight ? length : ++index];\n          if (iteratee(iterable[key], key, iterable) === false) {\n            break;\n          }\n        }\n        return object;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the optional `this`\n     * binding of `thisArg`.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createBind(func, bitmask, thisArg) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return fn.apply(isBind ? thisArg : this, arguments);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.lowerFirst`.\n     *\n     * @private\n     * @param {string} methodName The name of the `String` case method to use.\n     * @returns {Function} Returns the new case function.\n     */\n    function createCaseFirst(methodName) {\n      return function(string) {\n        string = toString(string);\n\n        var strSymbols = hasUnicode(string)\n          ? stringToArray(string)\n          : undefined;\n\n        var chr = strSymbols\n          ? strSymbols[0]\n          : string.charAt(0);\n\n        var trailing = strSymbols\n          ? castSlice(strSymbols, 1).join('')\n          : string.slice(1);\n\n        return chr[methodName]() + trailing;\n      };\n    }\n\n    /**\n     * Creates a function like `_.camelCase`.\n     *\n     * @private\n     * @param {Function} callback The function to combine each word.\n     * @returns {Function} Returns the new compounder function.\n     */\n    function createCompounder(callback) {\n      return function(string) {\n        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n      };\n    }\n\n    /**\n     * Creates a function that produces an instance of `Ctor` regardless of\n     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n     *\n     * @private\n     * @param {Function} Ctor The constructor to wrap.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCtor(Ctor) {\n      return function() {\n        // Use a `switch` statement to work with class constructors. See\n        // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n        // for more details.\n        var args = arguments;\n        switch (args.length) {\n          case 0: return new Ctor;\n          case 1: return new Ctor(args[0]);\n          case 2: return new Ctor(args[0], args[1]);\n          case 3: return new Ctor(args[0], args[1], args[2]);\n          case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n        }\n        var thisBinding = baseCreate(Ctor.prototype),\n            result = Ctor.apply(thisBinding, args);\n\n        // Mimic the constructor's `return` behavior.\n        // See https://es5.github.io/#x13.2.2 for more details.\n        return isObject(result) ? result : thisBinding;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to enable currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {number} arity The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCurry(func, bitmask, arity) {\n      var Ctor = createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length,\n            placeholder = getHolder(wrapper);\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n          ? []\n          : replaceHolders(args, placeholder);\n\n        length -= holders.length;\n        if (length < arity) {\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, undefined,\n            args, holders, undefined, undefined, arity - length);\n        }\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return apply(fn, this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.find` or `_.findLast` function.\n     *\n     * @private\n     * @param {Function} findIndexFunc The function to find the collection index.\n     * @returns {Function} Returns the new find function.\n     */\n    function createFind(findIndexFunc) {\n      return function(collection, predicate, fromIndex) {\n        var iterable = Object(collection);\n        if (!isArrayLike(collection)) {\n          var iteratee = getIteratee(predicate, 3);\n          collection = keys(collection);\n          predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n        }\n        var index = findIndexFunc(collection, predicate, fromIndex);\n        return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n      };\n    }\n\n    /**\n     * Creates a `_.flow` or `_.flowRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new flow function.\n     */\n    function createFlow(fromRight) {\n      return flatRest(function(funcs) {\n        var length = funcs.length,\n            index = length,\n            prereq = LodashWrapper.prototype.thru;\n\n        if (fromRight) {\n          funcs.reverse();\n        }\n        while (index--) {\n          var func = funcs[index];\n          if (typeof func != 'function') {\n            throw new TypeError(FUNC_ERROR_TEXT);\n          }\n          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n            var wrapper = new LodashWrapper([], true);\n          }\n        }\n        index = wrapper ? index : length;\n        while (++index < length) {\n          func = funcs[index];\n\n          var funcName = getFuncName(func),\n              data = funcName == 'wrapper' ? getData(func) : undefined;\n\n          if (data && isLaziable(data[0]) &&\n                data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n                !data[4].length && data[9] == 1\n              ) {\n            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n          } else {\n            wrapper = (func.length == 1 && isLaziable(func))\n              ? wrapper[funcName]()\n              : wrapper.thru(func);\n          }\n        }\n        return function() {\n          var args = arguments,\n              value = args[0];\n\n          if (wrapper && args.length == 1 && isArray(value)) {\n            return wrapper.plant(value).value();\n          }\n          var index = 0,\n              result = length ? funcs[index].apply(this, args) : value;\n\n          while (++index < length) {\n            result = funcs[index].call(this, result);\n          }\n          return result;\n        };\n      });\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with optional `this`\n     * binding of `thisArg`, partial application, and currying.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [partialsRight] The arguments to append to those provided\n     *  to the new function.\n     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n      var isAry = bitmask & WRAP_ARY_FLAG,\n          isBind = bitmask & WRAP_BIND_FLAG,\n          isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n          isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n          isFlip = bitmask & WRAP_FLIP_FLAG,\n          Ctor = isBindKey ? undefined : createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length;\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        if (isCurried) {\n          var placeholder = getHolder(wrapper),\n              holdersCount = countHolders(args, placeholder);\n        }\n        if (partials) {\n          args = composeArgs(args, partials, holders, isCurried);\n        }\n        if (partialsRight) {\n          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n        }\n        length -= holdersCount;\n        if (isCurried && length < arity) {\n          var newHolders = replaceHolders(args, placeholder);\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n            args, newHolders, argPos, ary, arity - length\n          );\n        }\n        var thisBinding = isBind ? thisArg : this,\n            fn = isBindKey ? thisBinding[func] : func;\n\n        length = args.length;\n        if (argPos) {\n          args = reorder(args, argPos);\n        } else if (isFlip && length > 1) {\n          args.reverse();\n        }\n        if (isAry && ary < length) {\n          args.length = ary;\n        }\n        if (this && this !== root && this instanceof wrapper) {\n          fn = Ctor || createCtor(fn);\n        }\n        return fn.apply(thisBinding, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.invertBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} toIteratee The function to resolve iteratees.\n     * @returns {Function} Returns the new inverter function.\n     */\n    function createInverter(setter, toIteratee) {\n      return function(object, iteratee) {\n        return baseInverter(object, setter, toIteratee(iteratee), {});\n      };\n    }\n\n    /**\n     * Creates a function that performs a mathematical operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @param {number} [defaultValue] The value used for `undefined` arguments.\n     * @returns {Function} Returns the new mathematical operation function.\n     */\n    function createMathOperation(operator, defaultValue) {\n      return function(value, other) {\n        var result;\n        if (value === undefined && other === undefined) {\n          return defaultValue;\n        }\n        if (value !== undefined) {\n          result = value;\n        }\n        if (other !== undefined) {\n          if (result === undefined) {\n            return other;\n          }\n          if (typeof value == 'string' || typeof other == 'string') {\n            value = baseToString(value);\n            other = baseToString(other);\n          } else {\n            value = baseToNumber(value);\n            other = baseToNumber(other);\n          }\n          result = operator(value, other);\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function like `_.over`.\n     *\n     * @private\n     * @param {Function} arrayFunc The function to iterate over iteratees.\n     * @returns {Function} Returns the new over function.\n     */\n    function createOver(arrayFunc) {\n      return flatRest(function(iteratees) {\n        iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n        return baseRest(function(args) {\n          var thisArg = this;\n          return arrayFunc(iteratees, function(iteratee) {\n            return apply(iteratee, thisArg, args);\n          });\n        });\n      });\n    }\n\n    /**\n     * Creates the padding for `string` based on `length`. The `chars` string\n     * is truncated if the number of characters exceeds `length`.\n     *\n     * @private\n     * @param {number} length The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padding for `string`.\n     */\n    function createPadding(length, chars) {\n      chars = chars === undefined ? ' ' : baseToString(chars);\n\n      var charsLength = chars.length;\n      if (charsLength < 2) {\n        return charsLength ? baseRepeat(chars, length) : chars;\n      }\n      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n      return hasUnicode(chars)\n        ? castSlice(stringToArray(result), 0, length).join('')\n        : result.slice(0, length);\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the `this` binding\n     * of `thisArg` and `partials` prepended to the arguments it receives.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {Array} partials The arguments to prepend to those provided to\n     *  the new function.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createPartial(func, bitmask, thisArg, partials) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var argsIndex = -1,\n            argsLength = arguments.length,\n            leftIndex = -1,\n            leftLength = partials.length,\n            args = Array(leftLength + argsLength),\n            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n        while (++leftIndex < leftLength) {\n          args[leftIndex] = partials[leftIndex];\n        }\n        while (argsLength--) {\n          args[leftIndex++] = arguments[++argsIndex];\n        }\n        return apply(fn, isBind ? thisArg : this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.range` or `_.rangeRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new range function.\n     */\n    function createRange(fromRight) {\n      return function(start, end, step) {\n        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n          end = step = undefined;\n        }\n        // Ensure the sign of `-0` is preserved.\n        start = toFinite(start);\n        if (end === undefined) {\n          end = start;\n          start = 0;\n        } else {\n          end = toFinite(end);\n        }\n        step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n        return baseRange(start, end, step, fromRight);\n      };\n    }\n\n    /**\n     * Creates a function that performs a relational operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @returns {Function} Returns the new relational operation function.\n     */\n    function createRelationalOperation(operator) {\n      return function(value, other) {\n        if (!(typeof value == 'string' && typeof other == 'string')) {\n          value = toNumber(value);\n          other = toNumber(other);\n        }\n        return operator(value, other);\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to continue currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {Function} wrapFunc The function to create the `func` wrapper.\n     * @param {*} placeholder The placeholder value.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n      var isCurry = bitmask & WRAP_CURRY_FLAG,\n          newHolders = isCurry ? holders : undefined,\n          newHoldersRight = isCurry ? undefined : holders,\n          newPartials = isCurry ? partials : undefined,\n          newPartialsRight = isCurry ? undefined : partials;\n\n      bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n      bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n      if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n        bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n      }\n      var newData = [\n        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n        newHoldersRight, argPos, ary, arity\n      ];\n\n      var result = wrapFunc.apply(undefined, newData);\n      if (isLaziable(func)) {\n        setData(result, newData);\n      }\n      result.placeholder = placeholder;\n      return setWrapToString(result, func, bitmask);\n    }\n\n    /**\n     * Creates a function like `_.round`.\n     *\n     * @private\n     * @param {string} methodName The name of the `Math` method to use when rounding.\n     * @returns {Function} Returns the new round function.\n     */\n    function createRound(methodName) {\n      var func = Math[methodName];\n      return function(number, precision) {\n        number = toNumber(number);\n        precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n        if (precision && nativeIsFinite(number)) {\n          // Shift with exponential notation to avoid floating-point issues.\n          // See [MDN](https://mdn.io/round#Examples) for more details.\n          var pair = (toString(number) + 'e').split('e'),\n              value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n          pair = (toString(value) + 'e').split('e');\n          return +(pair[0] + 'e' + (+pair[1] - precision));\n        }\n        return func(number);\n      };\n    }\n\n    /**\n     * Creates a set object of `values`.\n     *\n     * @private\n     * @param {Array} values The values to add to the set.\n     * @returns {Object} Returns the new set.\n     */\n    var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n      return new Set(values);\n    };\n\n    /**\n     * Creates a `_.toPairs` or `_.toPairsIn` function.\n     *\n     * @private\n     * @param {Function} keysFunc The function to get the keys of a given object.\n     * @returns {Function} Returns the new pairs function.\n     */\n    function createToPairs(keysFunc) {\n      return function(object) {\n        var tag = getTag(object);\n        if (tag == mapTag) {\n          return mapToArray(object);\n        }\n        if (tag == setTag) {\n          return setToPairs(object);\n        }\n        return baseToPairs(object, keysFunc(object));\n      };\n    }\n\n    /**\n     * Creates a function that either curries or invokes `func` with optional\n     * `this` binding and partially applied arguments.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags.\n     *    1 - `_.bind`\n     *    2 - `_.bindKey`\n     *    4 - `_.curry` or `_.curryRight` of a bound function\n     *    8 - `_.curry`\n     *   16 - `_.curryRight`\n     *   32 - `_.partial`\n     *   64 - `_.partialRight`\n     *  128 - `_.rearg`\n     *  256 - `_.ary`\n     *  512 - `_.flip`\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to be partially applied.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n      var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n      if (!isBindKey && typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var length = partials ? partials.length : 0;\n      if (!length) {\n        bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n        partials = holders = undefined;\n      }\n      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n      arity = arity === undefined ? arity : toInteger(arity);\n      length -= holders ? holders.length : 0;\n\n      if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n        var partialsRight = partials,\n            holdersRight = holders;\n\n        partials = holders = undefined;\n      }\n      var data = isBindKey ? undefined : getData(func);\n\n      var newData = [\n        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n        argPos, ary, arity\n      ];\n\n      if (data) {\n        mergeData(newData, data);\n      }\n      func = newData[0];\n      bitmask = newData[1];\n      thisArg = newData[2];\n      partials = newData[3];\n      holders = newData[4];\n      arity = newData[9] = newData[9] === undefined\n        ? (isBindKey ? 0 : func.length)\n        : nativeMax(newData[9] - length, 0);\n\n      if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n        bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n      }\n      if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n        var result = createBind(func, bitmask, thisArg);\n      } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n        result = createCurry(func, bitmask, arity);\n      } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n        result = createPartial(func, bitmask, thisArg, partials);\n      } else {\n        result = createHybrid.apply(undefined, newData);\n      }\n      var setter = data ? baseSetData : setData;\n      return setWrapToString(setter(result, newData), func, bitmask);\n    }\n\n    /**\n     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n     * of source objects to the destination object for all destination properties\n     * that resolve to `undefined`.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to assign.\n     * @param {Object} object The parent object of `objValue`.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsAssignIn(objValue, srcValue, key, object) {\n      if (objValue === undefined ||\n          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n        return srcValue;\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n     * objects into destination objects that are passed thru.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to merge.\n     * @param {Object} object The parent object of `objValue`.\n     * @param {Object} source The parent object of `srcValue`.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n      if (isObject(objValue) && isObject(srcValue)) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, objValue);\n        baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n        stack['delete'](srcValue);\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n     * objects.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {string} key The key of the property to inspect.\n     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n     */\n    function customOmitClone(value) {\n      return isPlainObject(value) ? undefined : value;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for arrays with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Array} array The array to compare.\n     * @param {Array} other The other array to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `array` and `other` objects.\n     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n     */\n    function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          arrLength = array.length,\n          othLength = other.length;\n\n      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n        return false;\n      }\n      // Check that cyclic values are equal.\n      var arrStacked = stack.get(array);\n      var othStacked = stack.get(other);\n      if (arrStacked && othStacked) {\n        return arrStacked == other && othStacked == array;\n      }\n      var index = -1,\n          result = true,\n          seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n      stack.set(array, other);\n      stack.set(other, array);\n\n      // Ignore non-index properties.\n      while (++index < arrLength) {\n        var arrValue = array[index],\n            othValue = other[index];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, arrValue, index, other, array, stack)\n            : customizer(arrValue, othValue, index, array, other, stack);\n        }\n        if (compared !== undefined) {\n          if (compared) {\n            continue;\n          }\n          result = false;\n          break;\n        }\n        // Recursively compare arrays (susceptible to call stack limits).\n        if (seen) {\n          if (!arraySome(other, function(othValue, othIndex) {\n                if (!cacheHas(seen, othIndex) &&\n                    (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n                  return seen.push(othIndex);\n                }\n              })) {\n            result = false;\n            break;\n          }\n        } else if (!(\n              arrValue === othValue ||\n                equalFunc(arrValue, othValue, bitmask, customizer, stack)\n            )) {\n          result = false;\n          break;\n        }\n      }\n      stack['delete'](array);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for comparing objects of\n     * the same `toStringTag`.\n     *\n     * **Note:** This function only supports comparing values with tags of\n     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {string} tag The `toStringTag` of the objects to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n      switch (tag) {\n        case dataViewTag:\n          if ((object.byteLength != other.byteLength) ||\n              (object.byteOffset != other.byteOffset)) {\n            return false;\n          }\n          object = object.buffer;\n          other = other.buffer;\n\n        case arrayBufferTag:\n          if ((object.byteLength != other.byteLength) ||\n              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n            return false;\n          }\n          return true;\n\n        case boolTag:\n        case dateTag:\n        case numberTag:\n          // Coerce booleans to `1` or `0` and dates to milliseconds.\n          // Invalid dates are coerced to `NaN`.\n          return eq(+object, +other);\n\n        case errorTag:\n          return object.name == other.name && object.message == other.message;\n\n        case regexpTag:\n        case stringTag:\n          // Coerce regexes to strings and treat strings, primitives and objects,\n          // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n          // for more details.\n          return object == (other + '');\n\n        case mapTag:\n          var convert = mapToArray;\n\n        case setTag:\n          var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n          convert || (convert = setToArray);\n\n          if (object.size != other.size && !isPartial) {\n            return false;\n          }\n          // Assume cyclic values are equal.\n          var stacked = stack.get(object);\n          if (stacked) {\n            return stacked == other;\n          }\n          bitmask |= COMPARE_UNORDERED_FLAG;\n\n          // Recursively compare objects (susceptible to call stack limits).\n          stack.set(object, other);\n          var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n          stack['delete'](object);\n          return result;\n\n        case symbolTag:\n          if (symbolValueOf) {\n            return symbolValueOf.call(object) == symbolValueOf.call(other);\n          }\n      }\n      return false;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for objects with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          objProps = getAllKeys(object),\n          objLength = objProps.length,\n          othProps = getAllKeys(other),\n          othLength = othProps.length;\n\n      if (objLength != othLength && !isPartial) {\n        return false;\n      }\n      var index = objLength;\n      while (index--) {\n        var key = objProps[index];\n        if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n          return false;\n        }\n      }\n      // Check that cyclic values are equal.\n      var objStacked = stack.get(object);\n      var othStacked = stack.get(other);\n      if (objStacked && othStacked) {\n        return objStacked == other && othStacked == object;\n      }\n      var result = true;\n      stack.set(object, other);\n      stack.set(other, object);\n\n      var skipCtor = isPartial;\n      while (++index < objLength) {\n        key = objProps[index];\n        var objValue = object[key],\n            othValue = other[key];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, objValue, key, other, object, stack)\n            : customizer(objValue, othValue, key, object, other, stack);\n        }\n        // Recursively compare objects (susceptible to call stack limits).\n        if (!(compared === undefined\n              ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n              : compared\n            )) {\n          result = false;\n          break;\n        }\n        skipCtor || (skipCtor = key == 'constructor');\n      }\n      if (result && !skipCtor) {\n        var objCtor = object.constructor,\n            othCtor = other.constructor;\n\n        // Non `Object` object instances with different constructors are not equal.\n        if (objCtor != othCtor &&\n            ('constructor' in object && 'constructor' in other) &&\n            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n          result = false;\n        }\n      }\n      stack['delete'](object);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseRest` which flattens the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    function flatRest(func) {\n      return setToString(overRest(func, undefined, flatten), func + '');\n    }\n\n    /**\n     * Creates an array of own enumerable property names and symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeys(object) {\n      return baseGetAllKeys(object, keys, getSymbols);\n    }\n\n    /**\n     * Creates an array of own and inherited enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeysIn(object) {\n      return baseGetAllKeys(object, keysIn, getSymbolsIn);\n    }\n\n    /**\n     * Gets metadata for `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {*} Returns the metadata for `func`.\n     */\n    var getData = !metaMap ? noop : function(func) {\n      return metaMap.get(func);\n    };\n\n    /**\n     * Gets the name of `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {string} Returns the function name.\n     */\n    function getFuncName(func) {\n      var result = (func.name + ''),\n          array = realNames[result],\n          length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n      while (length--) {\n        var data = array[length],\n            otherFunc = data.func;\n        if (otherFunc == null || otherFunc == func) {\n          return data.name;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Gets the argument placeholder value for `func`.\n     *\n     * @private\n     * @param {Function} func The function to inspect.\n     * @returns {*} Returns the placeholder value.\n     */\n    function getHolder(func) {\n      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n      return object.placeholder;\n    }\n\n    /**\n     * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n     * this function returns the custom method, otherwise it returns `baseIteratee`.\n     * If arguments are provided, the chosen function is invoked with them and\n     * its result is returned.\n     *\n     * @private\n     * @param {*} [value] The value to convert to an iteratee.\n     * @param {number} [arity] The arity of the created iteratee.\n     * @returns {Function} Returns the chosen function or its result.\n     */\n    function getIteratee() {\n      var result = lodash.iteratee || iteratee;\n      result = result === iteratee ? baseIteratee : result;\n      return arguments.length ? result(arguments[0], arguments[1]) : result;\n    }\n\n    /**\n     * Gets the data for `map`.\n     *\n     * @private\n     * @param {Object} map The map to query.\n     * @param {string} key The reference key.\n     * @returns {*} Returns the map data.\n     */\n    function getMapData(map, key) {\n      var data = map.__data__;\n      return isKeyable(key)\n        ? data[typeof key == 'string' ? 'string' : 'hash']\n        : data.map;\n    }\n\n    /**\n     * Gets the property names, values, and compare flags of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the match data of `object`.\n     */\n    function getMatchData(object) {\n      var result = keys(object),\n          length = result.length;\n\n      while (length--) {\n        var key = result[length],\n            value = object[key];\n\n        result[length] = [key, value, isStrictComparable(value)];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the native function at `key` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the method to get.\n     * @returns {*} Returns the function if it's native, else `undefined`.\n     */\n    function getNative(object, key) {\n      var value = getValue(object, key);\n      return baseIsNative(value) ? value : undefined;\n    }\n\n    /**\n     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the raw `toStringTag`.\n     */\n    function getRawTag(value) {\n      var isOwn = hasOwnProperty.call(value, symToStringTag),\n          tag = value[symToStringTag];\n\n      try {\n        value[symToStringTag] = undefined;\n        var unmasked = true;\n      } catch (e) {}\n\n      var result = nativeObjectToString.call(value);\n      if (unmasked) {\n        if (isOwn) {\n          value[symToStringTag] = tag;\n        } else {\n          delete value[symToStringTag];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array of the own enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n      if (object == null) {\n        return [];\n      }\n      object = Object(object);\n      return arrayFilter(nativeGetSymbols(object), function(symbol) {\n        return propertyIsEnumerable.call(object, symbol);\n      });\n    };\n\n    /**\n     * Creates an array of the own and inherited enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n      var result = [];\n      while (object) {\n        arrayPush(result, getSymbols(object));\n        object = getPrototype(object);\n      }\n      return result;\n    };\n\n    /**\n     * Gets the `toStringTag` of `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    var getTag = baseGetTag;\n\n    // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n        (Map && getTag(new Map) != mapTag) ||\n        (Promise && getTag(Promise.resolve()) != promiseTag) ||\n        (Set && getTag(new Set) != setTag) ||\n        (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n      getTag = function(value) {\n        var result = baseGetTag(value),\n            Ctor = result == objectTag ? value.constructor : undefined,\n            ctorString = Ctor ? toSource(Ctor) : '';\n\n        if (ctorString) {\n          switch (ctorString) {\n            case dataViewCtorString: return dataViewTag;\n            case mapCtorString: return mapTag;\n            case promiseCtorString: return promiseTag;\n            case setCtorString: return setTag;\n            case weakMapCtorString: return weakMapTag;\n          }\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Gets the view, applying any `transforms` to the `start` and `end` positions.\n     *\n     * @private\n     * @param {number} start The start of the view.\n     * @param {number} end The end of the view.\n     * @param {Array} transforms The transformations to apply to the view.\n     * @returns {Object} Returns an object containing the `start` and `end`\n     *  positions of the view.\n     */\n    function getView(start, end, transforms) {\n      var index = -1,\n          length = transforms.length;\n\n      while (++index < length) {\n        var data = transforms[index],\n            size = data.size;\n\n        switch (data.type) {\n          case 'drop':      start += size; break;\n          case 'dropRight': end -= size; break;\n          case 'take':      end = nativeMin(end, start + size); break;\n          case 'takeRight': start = nativeMax(start, end - size); break;\n        }\n      }\n      return { 'start': start, 'end': end };\n    }\n\n    /**\n     * Extracts wrapper details from the `source` body comment.\n     *\n     * @private\n     * @param {string} source The source to inspect.\n     * @returns {Array} Returns the wrapper details.\n     */\n    function getWrapDetails(source) {\n      var match = source.match(reWrapDetails);\n      return match ? match[1].split(reSplitDetails) : [];\n    }\n\n    /**\n     * Checks if `path` exists on `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @param {Function} hasFunc The function to check properties.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     */\n    function hasPath(object, path, hasFunc) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          result = false;\n\n      while (++index < length) {\n        var key = toKey(path[index]);\n        if (!(result = object != null && hasFunc(object, key))) {\n          break;\n        }\n        object = object[key];\n      }\n      if (result || ++index != length) {\n        return result;\n      }\n      length = object == null ? 0 : object.length;\n      return !!length && isLength(length) && isIndex(key, length) &&\n        (isArray(object) || isArguments(object));\n    }\n\n    /**\n     * Initializes an array clone.\n     *\n     * @private\n     * @param {Array} array The array to clone.\n     * @returns {Array} Returns the initialized clone.\n     */\n    function initCloneArray(array) {\n      var length = array.length,\n          result = new array.constructor(length);\n\n      // Add properties assigned by `RegExp#exec`.\n      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n        result.index = array.index;\n        result.input = array.input;\n      }\n      return result;\n    }\n\n    /**\n     * Initializes an object clone.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneObject(object) {\n      return (typeof object.constructor == 'function' && !isPrototype(object))\n        ? baseCreate(getPrototype(object))\n        : {};\n    }\n\n    /**\n     * Initializes an object clone based on its `toStringTag`.\n     *\n     * **Note:** This function only supports cloning values with tags of\n     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @param {string} tag The `toStringTag` of the object to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneByTag(object, tag, isDeep) {\n      var Ctor = object.constructor;\n      switch (tag) {\n        case arrayBufferTag:\n          return cloneArrayBuffer(object);\n\n        case boolTag:\n        case dateTag:\n          return new Ctor(+object);\n\n        case dataViewTag:\n          return cloneDataView(object, isDeep);\n\n        case float32Tag: case float64Tag:\n        case int8Tag: case int16Tag: case int32Tag:\n        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n          return cloneTypedArray(object, isDeep);\n\n        case mapTag:\n          return new Ctor;\n\n        case numberTag:\n        case stringTag:\n          return new Ctor(object);\n\n        case regexpTag:\n          return cloneRegExp(object);\n\n        case setTag:\n          return new Ctor;\n\n        case symbolTag:\n          return cloneSymbol(object);\n      }\n    }\n\n    /**\n     * Inserts wrapper `details` in a comment at the top of the `source` body.\n     *\n     * @private\n     * @param {string} source The source to modify.\n     * @returns {Array} details The details to insert.\n     * @returns {string} Returns the modified source.\n     */\n    function insertWrapDetails(source, details) {\n      var length = details.length;\n      if (!length) {\n        return source;\n      }\n      var lastIndex = length - 1;\n      details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n      details = details.join(length > 2 ? ', ' : ' ');\n      return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n    }\n\n    /**\n     * Checks if `value` is a flattenable `arguments` object or array.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n     */\n    function isFlattenable(value) {\n      return isArray(value) || isArguments(value) ||\n        !!(spreadableSymbol && value && value[spreadableSymbol]);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like index.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n     */\n    function isIndex(value, length) {\n      var type = typeof value;\n      length = length == null ? MAX_SAFE_INTEGER : length;\n\n      return !!length &&\n        (type == 'number' ||\n          (type != 'symbol' && reIsUint.test(value))) &&\n            (value > -1 && value % 1 == 0 && value < length);\n    }\n\n    /**\n     * Checks if the given arguments are from an iteratee call.\n     *\n     * @private\n     * @param {*} value The potential iteratee value argument.\n     * @param {*} index The potential iteratee index or key argument.\n     * @param {*} object The potential iteratee object argument.\n     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n     *  else `false`.\n     */\n    function isIterateeCall(value, index, object) {\n      if (!isObject(object)) {\n        return false;\n      }\n      var type = typeof index;\n      if (type == 'number'\n            ? (isArrayLike(object) && isIndex(index, object.length))\n            : (type == 'string' && index in object)\n          ) {\n        return eq(object[index], value);\n      }\n      return false;\n    }\n\n    /**\n     * Checks if `value` is a property name and not a property path.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n     */\n    function isKey(value, object) {\n      if (isArray(value)) {\n        return false;\n      }\n      var type = typeof value;\n      if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n          value == null || isSymbol(value)) {\n        return true;\n      }\n      return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n        (object != null && value in Object(object));\n    }\n\n    /**\n     * Checks if `value` is suitable for use as unique object key.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n     */\n    function isKeyable(value) {\n      var type = typeof value;\n      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n        ? (value !== '__proto__')\n        : (value === null);\n    }\n\n    /**\n     * Checks if `func` has a lazy counterpart.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n     *  else `false`.\n     */\n    function isLaziable(func) {\n      var funcName = getFuncName(func),\n          other = lodash[funcName];\n\n      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n        return false;\n      }\n      if (func === other) {\n        return true;\n      }\n      var data = getData(other);\n      return !!data && func === data[0];\n    }\n\n    /**\n     * Checks if `func` has its source masked.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n     */\n    function isMasked(func) {\n      return !!maskSrcKey && (maskSrcKey in func);\n    }\n\n    /**\n     * Checks if `func` is capable of being masked.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n     */\n    var isMaskable = coreJsData ? isFunction : stubFalse;\n\n    /**\n     * Checks if `value` is likely a prototype object.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n     */\n    function isPrototype(value) {\n      var Ctor = value && value.constructor,\n          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n      return value === proto;\n    }\n\n    /**\n     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` if suitable for strict\n     *  equality comparisons, else `false`.\n     */\n    function isStrictComparable(value) {\n      return value === value && !isObject(value);\n    }\n\n    /**\n     * A specialized version of `matchesProperty` for source values suitable\n     * for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {string} key The key of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function matchesStrictComparable(key, srcValue) {\n      return function(object) {\n        if (object == null) {\n          return false;\n        }\n        return object[key] === srcValue &&\n          (srcValue !== undefined || (key in Object(object)));\n      };\n    }\n\n    /**\n     * A specialized version of `_.memoize` which clears the memoized function's\n     * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n     *\n     * @private\n     * @param {Function} func The function to have its output memoized.\n     * @returns {Function} Returns the new memoized function.\n     */\n    function memoizeCapped(func) {\n      var result = memoize(func, function(key) {\n        if (cache.size === MAX_MEMOIZE_SIZE) {\n          cache.clear();\n        }\n        return key;\n      });\n\n      var cache = result.cache;\n      return result;\n    }\n\n    /**\n     * Merges the function metadata of `source` into `data`.\n     *\n     * Merging metadata reduces the number of wrappers used to invoke a function.\n     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n     * may be applied regardless of execution order. Methods like `_.ary` and\n     * `_.rearg` modify function arguments, making the order in which they are\n     * executed important, preventing the merging of metadata. However, we make\n     * an exception for a safe combined case where curried functions have `_.ary`\n     * and or `_.rearg` applied.\n     *\n     * @private\n     * @param {Array} data The destination metadata.\n     * @param {Array} source The source metadata.\n     * @returns {Array} Returns `data`.\n     */\n    function mergeData(data, source) {\n      var bitmask = data[1],\n          srcBitmask = source[1],\n          newBitmask = bitmask | srcBitmask,\n          isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n      var isCombo =\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n        ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n      // Exit early if metadata can't be merged.\n      if (!(isCommon || isCombo)) {\n        return data;\n      }\n      // Use source `thisArg` if available.\n      if (srcBitmask & WRAP_BIND_FLAG) {\n        data[2] = source[2];\n        // Set when currying a bound function.\n        newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n      }\n      // Compose partial arguments.\n      var value = source[3];\n      if (value) {\n        var partials = data[3];\n        data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n      }\n      // Compose partial right arguments.\n      value = source[5];\n      if (value) {\n        partials = data[5];\n        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n      }\n      // Use source `argPos` if available.\n      value = source[7];\n      if (value) {\n        data[7] = value;\n      }\n      // Use source `ary` if it's smaller.\n      if (srcBitmask & WRAP_ARY_FLAG) {\n        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n      }\n      // Use source `arity` if one is not provided.\n      if (data[9] == null) {\n        data[9] = source[9];\n      }\n      // Use source `func` and merge bitmasks.\n      data[0] = source[0];\n      data[1] = newBitmask;\n\n      return data;\n    }\n\n    /**\n     * This function is like\n     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * except that it includes inherited enumerable properties.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function nativeKeysIn(object) {\n      var result = [];\n      if (object != null) {\n        for (var key in Object(object)) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a string using `Object.prototype.toString`.\n     *\n     * @private\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     */\n    function objectToString(value) {\n      return nativeObjectToString.call(value);\n    }\n\n    /**\n     * A specialized version of `baseRest` which transforms the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @param {Function} transform The rest array transform.\n     * @returns {Function} Returns the new function.\n     */\n    function overRest(func, start, transform) {\n      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n      return function() {\n        var args = arguments,\n            index = -1,\n            length = nativeMax(args.length - start, 0),\n            array = Array(length);\n\n        while (++index < length) {\n          array[index] = args[start + index];\n        }\n        index = -1;\n        var otherArgs = Array(start + 1);\n        while (++index < start) {\n          otherArgs[index] = args[index];\n        }\n        otherArgs[start] = transform(array);\n        return apply(func, this, otherArgs);\n      };\n    }\n\n    /**\n     * Gets the parent value at `path` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array} path The path to get the parent value of.\n     * @returns {*} Returns the parent value.\n     */\n    function parent(object, path) {\n      return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n    }\n\n    /**\n     * Reorder `array` according to the specified indexes where the element at\n     * the first index is assigned as the first element, the element at\n     * the second index is assigned as the second element, and so on.\n     *\n     * @private\n     * @param {Array} array The array to reorder.\n     * @param {Array} indexes The arranged array indexes.\n     * @returns {Array} Returns `array`.\n     */\n    function reorder(array, indexes) {\n      var arrLength = array.length,\n          length = nativeMin(indexes.length, arrLength),\n          oldArray = copyArray(array);\n\n      while (length--) {\n        var index = indexes[length];\n        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n      }\n      return array;\n    }\n\n    /**\n     * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the property to get.\n     * @returns {*} Returns the property value.\n     */\n    function safeGet(object, key) {\n      if (key === 'constructor' && typeof object[key] === 'function') {\n        return;\n      }\n\n      if (key == '__proto__') {\n        return;\n      }\n\n      return object[key];\n    }\n\n    /**\n     * Sets metadata for `func`.\n     *\n     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n     * period of time, it will trip its breaker and transition to an identity\n     * function to avoid garbage collection pauses in V8. See\n     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n     * for more details.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var setData = shortOut(baseSetData);\n\n    /**\n     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    var setTimeout = ctxSetTimeout || function(func, wait) {\n      return root.setTimeout(func, wait);\n    };\n\n    /**\n     * Sets the `toString` method of `func` to return `string`.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var setToString = shortOut(baseSetToString);\n\n    /**\n     * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n     * with wrapper details in a comment at the top of the source body.\n     *\n     * @private\n     * @param {Function} wrapper The function to modify.\n     * @param {Function} reference The reference function.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Function} Returns `wrapper`.\n     */\n    function setWrapToString(wrapper, reference, bitmask) {\n      var source = (reference + '');\n      return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n    }\n\n    /**\n     * Creates a function that'll short out and invoke `identity` instead\n     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n     * milliseconds.\n     *\n     * @private\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new shortable function.\n     */\n    function shortOut(func) {\n      var count = 0,\n          lastCalled = 0;\n\n      return function() {\n        var stamp = nativeNow(),\n            remaining = HOT_SPAN - (stamp - lastCalled);\n\n        lastCalled = stamp;\n        if (remaining > 0) {\n          if (++count >= HOT_COUNT) {\n            return arguments[0];\n          }\n        } else {\n          count = 0;\n        }\n        return func.apply(undefined, arguments);\n      };\n    }\n\n    /**\n     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @param {number} [size=array.length] The size of `array`.\n     * @returns {Array} Returns `array`.\n     */\n    function shuffleSelf(array, size) {\n      var index = -1,\n          length = array.length,\n          lastIndex = length - 1;\n\n      size = size === undefined ? length : size;\n      while (++index < size) {\n        var rand = baseRandom(index, lastIndex),\n            value = array[rand];\n\n        array[rand] = array[index];\n        array[index] = value;\n      }\n      array.length = size;\n      return array;\n    }\n\n    /**\n     * Converts `string` to a property path array.\n     *\n     * @private\n     * @param {string} string The string to convert.\n     * @returns {Array} Returns the property path array.\n     */\n    var stringToPath = memoizeCapped(function(string) {\n      var result = [];\n      if (string.charCodeAt(0) === 46 /* . */) {\n        result.push('');\n      }\n      string.replace(rePropName, function(match, number, quote, subString) {\n        result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n      });\n      return result;\n    });\n\n    /**\n     * Converts `value` to a string key if it's not a string or symbol.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {string|symbol} Returns the key.\n     */\n    function toKey(value) {\n      if (typeof value == 'string' || isSymbol(value)) {\n        return value;\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * Converts `func` to its source code.\n     *\n     * @private\n     * @param {Function} func The function to convert.\n     * @returns {string} Returns the source code.\n     */\n    function toSource(func) {\n      if (func != null) {\n        try {\n          return funcToString.call(func);\n        } catch (e) {}\n        try {\n          return (func + '');\n        } catch (e) {}\n      }\n      return '';\n    }\n\n    /**\n     * Updates wrapper `details` based on `bitmask` flags.\n     *\n     * @private\n     * @returns {Array} details The details to modify.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Array} Returns `details`.\n     */\n    function updateWrapDetails(details, bitmask) {\n      arrayEach(wrapFlags, function(pair) {\n        var value = '_.' + pair[0];\n        if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n          details.push(value);\n        }\n      });\n      return details.sort();\n    }\n\n    /**\n     * Creates a clone of `wrapper`.\n     *\n     * @private\n     * @param {Object} wrapper The wrapper to clone.\n     * @returns {Object} Returns the cloned wrapper.\n     */\n    function wrapperClone(wrapper) {\n      if (wrapper instanceof LazyWrapper) {\n        return wrapper.clone();\n      }\n      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n      result.__actions__ = copyArray(wrapper.__actions__);\n      result.__index__  = wrapper.__index__;\n      result.__values__ = wrapper.__values__;\n      return result;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of elements split into groups the length of `size`.\n     * If `array` can't be split evenly, the final chunk will be the remaining\n     * elements.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to process.\n     * @param {number} [size=1] The length of each chunk\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the new array of chunks.\n     * @example\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 2);\n     * // => [['a', 'b'], ['c', 'd']]\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 3);\n     * // => [['a', 'b', 'c'], ['d']]\n     */\n    function chunk(array, size, guard) {\n      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n        size = 1;\n      } else {\n        size = nativeMax(toInteger(size), 0);\n      }\n      var length = array == null ? 0 : array.length;\n      if (!length || size < 1) {\n        return [];\n      }\n      var index = 0,\n          resIndex = 0,\n          result = Array(nativeCeil(length / size));\n\n      while (index < length) {\n        result[resIndex++] = baseSlice(array, index, (index += size));\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array with all falsey values removed. The values `false`, `null`,\n     * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to compact.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.compact([0, 1, false, 2, '', 3]);\n     * // => [1, 2, 3]\n     */\n    function compact(array) {\n      var index = -1,\n          length = array == null ? 0 : array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index];\n        if (value) {\n          result[resIndex++] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates a new array concatenating `array` with any additional arrays\n     * and/or values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to concatenate.\n     * @param {...*} [values] The values to concatenate.\n     * @returns {Array} Returns the new concatenated array.\n     * @example\n     *\n     * var array = [1];\n     * var other = _.concat(array, 2, [3], [[4]]);\n     *\n     * console.log(other);\n     * // => [1, 2, 3, [4]]\n     *\n     * console.log(array);\n     * // => [1]\n     */\n    function concat() {\n      var length = arguments.length;\n      if (!length) {\n        return [];\n      }\n      var args = Array(length - 1),\n          array = arguments[0],\n          index = length;\n\n      while (index--) {\n        args[index - 1] = arguments[index];\n      }\n      return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n    }\n\n    /**\n     * Creates an array of `array` values not included in the other given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * **Note:** Unlike `_.pullAll`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.without, _.xor\n     * @example\n     *\n     * _.difference([2, 1], [2, 3]);\n     * // => [1]\n     */\n    var difference = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `iteratee` which\n     * is invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var differenceBy = baseRest(function(array, values) {\n      var iteratee = last(values);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `comparator`\n     * which is invoked to compare elements of `array` to `values`. The order and\n     * references of result values are determined by the first array. The comparator\n     * is invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     *\n     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }]\n     */\n    var differenceWith = baseRest(function(array, values) {\n      var comparator = last(values);\n      if (isArrayLikeObject(comparator)) {\n        comparator = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.drop([1, 2, 3]);\n     * // => [2, 3]\n     *\n     * _.drop([1, 2, 3], 2);\n     * // => [3]\n     *\n     * _.drop([1, 2, 3], 5);\n     * // => []\n     *\n     * _.drop([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function drop(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.dropRight([1, 2, 3]);\n     * // => [1, 2]\n     *\n     * _.dropRight([1, 2, 3], 2);\n     * // => [1]\n     *\n     * _.dropRight([1, 2, 3], 5);\n     * // => []\n     *\n     * _.dropRight([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function dropRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the end.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.dropRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropRightWhile(users, ['active', false]);\n     * // => objects for ['barney']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropRightWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the beginning.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.dropWhile(users, function(o) { return !o.active; });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropWhile(users, ['active', false]);\n     * // => objects for ['pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true)\n        : [];\n    }\n\n    /**\n     * Fills elements of `array` with `value` from `start` up to, but not\n     * including, `end`.\n     *\n     * **Note:** This method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Array\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.fill(array, 'a');\n     * console.log(array);\n     * // => ['a', 'a', 'a']\n     *\n     * _.fill(Array(3), 2);\n     * // => [2, 2, 2]\n     *\n     * _.fill([4, 6, 8, 10], '*', 1, 3);\n     * // => [4, '*', '*', 10]\n     */\n    function fill(array, value, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n        start = 0;\n        end = length;\n      }\n      return baseFill(array, value, start, end);\n    }\n\n    /**\n     * This method is like `_.find` except that it returns the index of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.findIndex(users, function(o) { return o.user == 'barney'; });\n     * // => 0\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findIndex(users, { 'user': 'fred', 'active': false });\n     * // => 1\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findIndex(users, ['active', false]);\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findIndex(users, 'active');\n     * // => 2\n     */\n    function findIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index);\n    }\n\n    /**\n     * This method is like `_.findIndex` except that it iterates over elements\n     * of `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n     * // => 2\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n     * // => 0\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastIndex(users, ['active', false]);\n     * // => 2\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastIndex(users, 'active');\n     * // => 0\n     */\n    function findLastIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length - 1;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = fromIndex < 0\n          ? nativeMax(length + index, 0)\n          : nativeMin(index, length - 1);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n    }\n\n    /**\n     * Flattens `array` a single level deep.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flatten([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, [3, [4]], 5]\n     */\n    function flatten(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, 1) : [];\n    }\n\n    /**\n     * Recursively flattens `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flattenDeep([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, 3, 4, 5]\n     */\n    function flattenDeep(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, INFINITY) : [];\n    }\n\n    /**\n     * Recursively flatten `array` up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * var array = [1, [2, [3, [4]], 5]];\n     *\n     * _.flattenDepth(array, 1);\n     * // => [1, 2, [3, [4]], 5]\n     *\n     * _.flattenDepth(array, 2);\n     * // => [1, 2, 3, [4], 5]\n     */\n    function flattenDepth(array, depth) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(array, depth);\n    }\n\n    /**\n     * The inverse of `_.toPairs`; this method returns an object composed\n     * from key-value `pairs`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} pairs The key-value pairs.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.fromPairs([['a', 1], ['b', 2]]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function fromPairs(pairs) {\n      var index = -1,\n          length = pairs == null ? 0 : pairs.length,\n          result = {};\n\n      while (++index < length) {\n        var pair = pairs[index];\n        result[pair[0]] = pair[1];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias first\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the first element of `array`.\n     * @example\n     *\n     * _.head([1, 2, 3]);\n     * // => 1\n     *\n     * _.head([]);\n     * // => undefined\n     */\n    function head(array) {\n      return (array && array.length) ? array[0] : undefined;\n    }\n\n    /**\n     * Gets the index at which the first occurrence of `value` is found in `array`\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. If `fromIndex` is negative, it's used as the\n     * offset from the end of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.indexOf([1, 2, 1, 2], 2);\n     * // => 1\n     *\n     * // Search from the `fromIndex`.\n     * _.indexOf([1, 2, 1, 2], 2, 2);\n     * // => 3\n     */\n    function indexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseIndexOf(array, value, index);\n    }\n\n    /**\n     * Gets all but the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.initial([1, 2, 3]);\n     * // => [1, 2]\n     */\n    function initial(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 0, -1) : [];\n    }\n\n    /**\n     * Creates an array of unique values that are included in all given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersection([2, 1], [2, 3]);\n     * // => [2]\n     */\n    var intersection = baseRest(function(arrays) {\n      var mapped = arrayMap(arrays, castArrayLikeObject);\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped)\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `iteratee`\n     * which is invoked for each element of each `arrays` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [2.1]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }]\n     */\n    var intersectionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      if (iteratee === last(mapped)) {\n        iteratee = undefined;\n      } else {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `comparator`\n     * which is invoked to compare elements of `arrays`. The order and references\n     * of result values are determined by the first array. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.intersectionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }]\n     */\n    var intersectionWith = baseRest(function(arrays) {\n      var comparator = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      if (comparator) {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Converts all elements in `array` into a string separated by `separator`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to convert.\n     * @param {string} [separator=','] The element separator.\n     * @returns {string} Returns the joined string.\n     * @example\n     *\n     * _.join(['a', 'b', 'c'], '~');\n     * // => 'a~b~c'\n     */\n    function join(array, separator) {\n      return array == null ? '' : nativeJoin.call(array, separator);\n    }\n\n    /**\n     * Gets the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the last element of `array`.\n     * @example\n     *\n     * _.last([1, 2, 3]);\n     * // => 3\n     */\n    function last(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? array[length - 1] : undefined;\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it iterates over elements of\n     * `array` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.lastIndexOf([1, 2, 1, 2], 2);\n     * // => 3\n     *\n     * // Search from the `fromIndex`.\n     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n     * // => 1\n     */\n    function lastIndexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n      }\n      return value === value\n        ? strictLastIndexOf(array, value, index)\n        : baseFindIndex(array, baseIsNaN, index, true);\n    }\n\n    /**\n     * Gets the element at index `n` of `array`. If `n` is negative, the nth\n     * element from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.11.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=0] The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     *\n     * _.nth(array, 1);\n     * // => 'b'\n     *\n     * _.nth(array, -2);\n     * // => 'c';\n     */\n    function nth(array, n) {\n      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n    }\n\n    /**\n     * Removes all given values from `array` using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n     * to remove elements from an array by predicate.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...*} [values] The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pull(array, 'a', 'c');\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    var pull = baseRest(pullAll);\n\n    /**\n     * This method is like `_.pull` except that it accepts an array of values to remove.\n     *\n     * **Note:** Unlike `_.difference`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pullAll(array, ['a', 'c']);\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    function pullAll(array, values) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values)\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `iteratee` which is\n     * invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The iteratee is invoked with one argument: (value).\n     *\n     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n     *\n     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n     * console.log(array);\n     * // => [{ 'x': 2 }]\n     */\n    function pullAllBy(array, values, iteratee) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, getIteratee(iteratee, 2))\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `comparator` which\n     * is invoked to compare elements of `array` to `values`. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n     *\n     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n     * console.log(array);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n     */\n    function pullAllWith(array, values, comparator) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, undefined, comparator)\n        : array;\n    }\n\n    /**\n     * Removes elements from `array` corresponding to `indexes` and returns an\n     * array of removed elements.\n     *\n     * **Note:** Unlike `_.at`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     * var pulled = _.pullAt(array, [1, 3]);\n     *\n     * console.log(array);\n     * // => ['a', 'c']\n     *\n     * console.log(pulled);\n     * // => ['b', 'd']\n     */\n    var pullAt = flatRest(function(array, indexes) {\n      var length = array == null ? 0 : array.length,\n          result = baseAt(array, indexes);\n\n      basePullAt(array, arrayMap(indexes, function(index) {\n        return isIndex(index, length) ? +index : index;\n      }).sort(compareAscending));\n\n      return result;\n    });\n\n    /**\n     * Removes all elements from `array` that `predicate` returns truthy for\n     * and returns an array of the removed elements. The predicate is invoked\n     * with three arguments: (value, index, array).\n     *\n     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n     * to pull elements from an array by value.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = [1, 2, 3, 4];\n     * var evens = _.remove(array, function(n) {\n     *   return n % 2 == 0;\n     * });\n     *\n     * console.log(array);\n     * // => [1, 3]\n     *\n     * console.log(evens);\n     * // => [2, 4]\n     */\n    function remove(array, predicate) {\n      var result = [];\n      if (!(array && array.length)) {\n        return result;\n      }\n      var index = -1,\n          indexes = [],\n          length = array.length;\n\n      predicate = getIteratee(predicate, 3);\n      while (++index < length) {\n        var value = array[index];\n        if (predicate(value, index, array)) {\n          result.push(value);\n          indexes.push(index);\n        }\n      }\n      basePullAt(array, indexes);\n      return result;\n    }\n\n    /**\n     * Reverses `array` so that the first element becomes the last, the second\n     * element becomes the second to last, and so on.\n     *\n     * **Note:** This method mutates `array` and is based on\n     * [`Array#reverse`](https://mdn.io/Array/reverse).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.reverse(array);\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function reverse(array) {\n      return array == null ? array : nativeReverse.call(array);\n    }\n\n    /**\n     * Creates a slice of `array` from `start` up to, but not including, `end`.\n     *\n     * **Note:** This method is used instead of\n     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n     * returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function slice(array, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n        start = 0;\n        end = length;\n      }\n      else {\n        start = start == null ? 0 : toInteger(start);\n        end = end === undefined ? length : toInteger(end);\n      }\n      return baseSlice(array, start, end);\n    }\n\n    /**\n     * Uses a binary search to determine the lowest index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedIndex([30, 50], 40);\n     * // => 1\n     */\n    function sortedIndex(array, value) {\n      return baseSortedIndex(array, value);\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 0\n     */\n    function sortedIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 1\n     */\n    function sortedIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value);\n        if (index < length && eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it returns the highest\n     * index at which `value` should be inserted into `array` in order to\n     * maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n     * // => 4\n     */\n    function sortedLastIndex(array, value) {\n      return baseSortedIndex(array, value, true);\n    }\n\n    /**\n     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 1\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 1\n     */\n    function sortedLastIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n    }\n\n    /**\n     * This method is like `_.lastIndexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 3\n     */\n    function sortedLastIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value, true) - 1;\n        if (eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.uniq` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniq([1, 1, 2]);\n     * // => [1, 2]\n     */\n    function sortedUniq(array) {\n      return (array && array.length)\n        ? baseSortedUniq(array)\n        : [];\n    }\n\n    /**\n     * This method is like `_.uniqBy` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n     * // => [1.1, 2.3]\n     */\n    function sortedUniqBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSortedUniq(array, getIteratee(iteratee, 2))\n        : [];\n    }\n\n    /**\n     * Gets all but the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.tail([1, 2, 3]);\n     * // => [2, 3]\n     */\n    function tail(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 1, length) : [];\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.take([1, 2, 3]);\n     * // => [1]\n     *\n     * _.take([1, 2, 3], 2);\n     * // => [1, 2]\n     *\n     * _.take([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.take([1, 2, 3], 0);\n     * // => []\n     */\n    function take(array, n, guard) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.takeRight([1, 2, 3]);\n     * // => [3]\n     *\n     * _.takeRight([1, 2, 3], 2);\n     * // => [2, 3]\n     *\n     * _.takeRight([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.takeRight([1, 2, 3], 0);\n     * // => []\n     */\n    function takeRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the end. Elements are\n     * taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.takeRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeRightWhile(users, ['active', false]);\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeRightWhile(users, 'active');\n     * // => []\n     */\n    function takeRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), false, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the beginning. Elements\n     * are taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.takeWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeWhile(users, ['active', false]);\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeWhile(users, 'active');\n     * // => []\n     */\n    function takeWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3))\n        : [];\n    }\n\n    /**\n     * Creates an array of unique values, in order, from all given arrays using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.union([2], [1, 2]);\n     * // => [2, 1]\n     */\n    var union = baseRest(function(arrays) {\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which uniqueness is computed. Result values are chosen from the first\n     * array in which the value occurs. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    var unionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `comparator` which\n     * is invoked to compare elements of `arrays`. Result values are chosen from\n     * the first array in which the value occurs. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.unionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var unionWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n    });\n\n    /**\n     * Creates a duplicate-free version of an array, using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons, in which only the first occurrence of each element\n     * is kept. The order of result values is determined by the order they occur\n     * in the array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniq([2, 1, 2]);\n     * // => [2, 1]\n     */\n    function uniq(array) {\n      return (array && array.length) ? baseUniq(array) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * uniqueness is computed. The order of result values is determined by the\n     * order they occur in the array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    function uniqBy(array, iteratee) {\n      return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `comparator` which\n     * is invoked to compare elements of `array`. The order of result values is\n     * determined by the order they occur in the array.The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.uniqWith(objects, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n     */\n    function uniqWith(array, comparator) {\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts an array of grouped\n     * elements and creates an array regrouping the elements to their pre-zip\n     * configuration.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.2.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     *\n     * _.unzip(zipped);\n     * // => [['a', 'b'], [1, 2], [true, false]]\n     */\n    function unzip(array) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var length = 0;\n      array = arrayFilter(array, function(group) {\n        if (isArrayLikeObject(group)) {\n          length = nativeMax(group.length, length);\n          return true;\n        }\n      });\n      return baseTimes(length, function(index) {\n        return arrayMap(array, baseProperty(index));\n      });\n    }\n\n    /**\n     * This method is like `_.unzip` except that it accepts `iteratee` to specify\n     * how regrouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  regrouped values.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n     * // => [[1, 10, 100], [2, 20, 200]]\n     *\n     * _.unzipWith(zipped, _.add);\n     * // => [3, 30, 300]\n     */\n    function unzipWith(array, iteratee) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var result = unzip(array);\n      if (iteratee == null) {\n        return result;\n      }\n      return arrayMap(result, function(group) {\n        return apply(iteratee, undefined, group);\n      });\n    }\n\n    /**\n     * Creates an array excluding all given values using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.pull`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...*} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.xor\n     * @example\n     *\n     * _.without([2, 1, 2, 3], 1, 2);\n     * // => [3]\n     */\n    var without = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, values)\n        : [];\n    });\n\n    /**\n     * Creates an array of unique values that is the\n     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n     * of the given arrays. The order of result values is determined by the order\n     * they occur in the arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.without\n     * @example\n     *\n     * _.xor([2, 1], [2, 3]);\n     * // => [1, 3]\n     */\n    var xor = baseRest(function(arrays) {\n      return baseXor(arrayFilter(arrays, isArrayLikeObject));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which by which they're compared. The order of result values is determined\n     * by the order they occur in the arrays. The iteratee is invoked with one\n     * argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2, 3.4]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var xorBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `comparator` which is\n     * invoked to compare elements of `arrays`. The order of result values is\n     * determined by the order they occur in the arrays. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.xorWith(objects, others, _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var xorWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n    });\n\n    /**\n     * Creates an array of grouped elements, the first of which contains the\n     * first elements of the given arrays, the second of which contains the\n     * second elements of the given arrays, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     */\n    var zip = baseRest(unzip);\n\n    /**\n     * This method is like `_.fromPairs` except that it accepts two arrays,\n     * one of property identifiers and one of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.4.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObject(['a', 'b'], [1, 2]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function zipObject(props, values) {\n      return baseZipObject(props || [], values || [], assignValue);\n    }\n\n    /**\n     * This method is like `_.zipObject` except that it supports property paths.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n     */\n    function zipObjectDeep(props, values) {\n      return baseZipObject(props || [], values || [], baseSet);\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts `iteratee` to specify\n     * how grouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  grouped values.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n     *   return a + b + c;\n     * });\n     * // => [111, 222]\n     */\n    var zipWith = baseRest(function(arrays) {\n      var length = arrays.length,\n          iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n      return unzipWith(arrays, iteratee);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n     * chain sequences enabled. The result of such sequences must be unwrapped\n     * with `_#value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Seq\n     * @param {*} value The value to wrap.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36 },\n     *   { 'user': 'fred',    'age': 40 },\n     *   { 'user': 'pebbles', 'age': 1 }\n     * ];\n     *\n     * var youngest = _\n     *   .chain(users)\n     *   .sortBy('age')\n     *   .map(function(o) {\n     *     return o.user + ' is ' + o.age;\n     *   })\n     *   .head()\n     *   .value();\n     * // => 'pebbles is 1'\n     */\n    function chain(value) {\n      var result = lodash(value);\n      result.__chain__ = true;\n      return result;\n    }\n\n    /**\n     * This method invokes `interceptor` and returns `value`. The interceptor\n     * is invoked with one argument; (value). The purpose of this method is to\n     * \"tap into\" a method chain sequence in order to modify intermediate results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * _([1, 2, 3])\n     *  .tap(function(array) {\n     *    // Mutate input array.\n     *    array.pop();\n     *  })\n     *  .reverse()\n     *  .value();\n     * // => [2, 1]\n     */\n    function tap(value, interceptor) {\n      interceptor(value);\n      return value;\n    }\n\n    /**\n     * This method is like `_.tap` except that it returns the result of `interceptor`.\n     * The purpose of this method is to \"pass thru\" values replacing intermediate\n     * results in a method chain sequence.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns the result of `interceptor`.\n     * @example\n     *\n     * _('  abc  ')\n     *  .chain()\n     *  .trim()\n     *  .thru(function(value) {\n     *    return [value];\n     *  })\n     *  .value();\n     * // => ['abc']\n     */\n    function thru(value, interceptor) {\n      return interceptor(value);\n    }\n\n    /**\n     * This method is the wrapper version of `_.at`.\n     *\n     * @name at\n     * @memberOf _\n     * @since 1.0.0\n     * @category Seq\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _(object).at(['a[0].b.c', 'a[1]']).value();\n     * // => [3, 4]\n     */\n    var wrapperAt = flatRest(function(paths) {\n      var length = paths.length,\n          start = length ? paths[0] : 0,\n          value = this.__wrapped__,\n          interceptor = function(object) { return baseAt(object, paths); };\n\n      if (length > 1 || this.__actions__.length ||\n          !(value instanceof LazyWrapper) || !isIndex(start)) {\n        return this.thru(interceptor);\n      }\n      value = value.slice(start, +start + (length ? 1 : 0));\n      value.__actions__.push({\n        'func': thru,\n        'args': [interceptor],\n        'thisArg': undefined\n      });\n      return new LodashWrapper(value, this.__chain__).thru(function(array) {\n        if (length && !array.length) {\n          array.push(undefined);\n        }\n        return array;\n      });\n    });\n\n    /**\n     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n     *\n     * @name chain\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 40 }\n     * ];\n     *\n     * // A sequence without explicit chaining.\n     * _(users).head();\n     * // => { 'user': 'barney', 'age': 36 }\n     *\n     * // A sequence with explicit chaining.\n     * _(users)\n     *   .chain()\n     *   .head()\n     *   .pick('user')\n     *   .value();\n     * // => { 'user': 'barney' }\n     */\n    function wrapperChain() {\n      return chain(this);\n    }\n\n    /**\n     * Executes the chain sequence and returns the wrapped result.\n     *\n     * @name commit\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2];\n     * var wrapped = _(array).push(3);\n     *\n     * console.log(array);\n     * // => [1, 2]\n     *\n     * wrapped = wrapped.commit();\n     * console.log(array);\n     * // => [1, 2, 3]\n     *\n     * wrapped.last();\n     * // => 3\n     *\n     * console.log(array);\n     * // => [1, 2, 3]\n     */\n    function wrapperCommit() {\n      return new LodashWrapper(this.value(), this.__chain__);\n    }\n\n    /**\n     * Gets the next value on a wrapped object following the\n     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n     *\n     * @name next\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the next iterator value.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 1 }\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 2 }\n     *\n     * wrapped.next();\n     * // => { 'done': true, 'value': undefined }\n     */\n    function wrapperNext() {\n      if (this.__values__ === undefined) {\n        this.__values__ = toArray(this.value());\n      }\n      var done = this.__index__ >= this.__values__.length,\n          value = done ? undefined : this.__values__[this.__index__++];\n\n      return { 'done': done, 'value': value };\n    }\n\n    /**\n     * Enables the wrapper to be iterable.\n     *\n     * @name Symbol.iterator\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the wrapper object.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped[Symbol.iterator]() === wrapped;\n     * // => true\n     *\n     * Array.from(wrapped);\n     * // => [1, 2]\n     */\n    function wrapperToIterator() {\n      return this;\n    }\n\n    /**\n     * Creates a clone of the chain sequence planting `value` as the wrapped value.\n     *\n     * @name plant\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @param {*} value The value to plant.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2]).map(square);\n     * var other = wrapped.plant([3, 4]);\n     *\n     * other.value();\n     * // => [9, 16]\n     *\n     * wrapped.value();\n     * // => [1, 4]\n     */\n    function wrapperPlant(value) {\n      var result,\n          parent = this;\n\n      while (parent instanceof baseLodash) {\n        var clone = wrapperClone(parent);\n        clone.__index__ = 0;\n        clone.__values__ = undefined;\n        if (result) {\n          previous.__wrapped__ = clone;\n        } else {\n          result = clone;\n        }\n        var previous = clone;\n        parent = parent.__wrapped__;\n      }\n      previous.__wrapped__ = value;\n      return result;\n    }\n\n    /**\n     * This method is the wrapper version of `_.reverse`.\n     *\n     * **Note:** This method mutates the wrapped array.\n     *\n     * @name reverse\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _(array).reverse().value()\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function wrapperReverse() {\n      var value = this.__wrapped__;\n      if (value instanceof LazyWrapper) {\n        var wrapped = value;\n        if (this.__actions__.length) {\n          wrapped = new LazyWrapper(this);\n        }\n        wrapped = wrapped.reverse();\n        wrapped.__actions__.push({\n          'func': thru,\n          'args': [reverse],\n          'thisArg': undefined\n        });\n        return new LodashWrapper(wrapped, this.__chain__);\n      }\n      return this.thru(reverse);\n    }\n\n    /**\n     * Executes the chain sequence to resolve the unwrapped value.\n     *\n     * @name value\n     * @memberOf _\n     * @since 0.1.0\n     * @alias toJSON, valueOf\n     * @category Seq\n     * @returns {*} Returns the resolved unwrapped value.\n     * @example\n     *\n     * _([1, 2, 3]).value();\n     * // => [1, 2, 3]\n     */\n    function wrapperValue() {\n      return baseWrapperValue(this.__wrapped__, this.__actions__);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the number of times the key was returned by `iteratee`. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.countBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': 1, '6': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.countBy(['one', 'two', 'three'], 'length');\n     * // => { '3': 2, '5': 1 }\n     */\n    var countBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        ++result[key];\n      } else {\n        baseAssignValue(result, key, 1);\n      }\n    });\n\n    /**\n     * Checks if `predicate` returns truthy for **all** elements of `collection`.\n     * Iteration is stopped once `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * **Note:** This method returns `true` for\n     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n     * elements of empty collections.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.every([true, 1, null, 'yes'], Boolean);\n     * // => false\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.every(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.every(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.every(users, 'active');\n     * // => false\n     */\n    function every(collection, predicate, guard) {\n      var func = isArray(collection) ? arrayEvery : baseEvery;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning an array of all elements\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * **Note:** Unlike `_.remove`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.reject\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * _.filter(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, { 'age': 36, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.filter(users, 'active');\n     * // => objects for ['barney']\n     *\n     * // Combining several predicates using `_.overEvery` or `_.overSome`.\n     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n     * // => objects for ['fred', 'barney']\n     */\n    function filter(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning the first element\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': true },\n     *   { 'user': 'fred',    'age': 40, 'active': false },\n     *   { 'user': 'pebbles', 'age': 1,  'active': true }\n     * ];\n     *\n     * _.find(users, function(o) { return o.age < 40; });\n     * // => object for 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.find(users, { 'age': 1, 'active': true });\n     * // => object for 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.find(users, ['active', false]);\n     * // => object for 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.find(users, 'active');\n     * // => object for 'barney'\n     */\n    var find = createFind(findIndex);\n\n    /**\n     * This method is like `_.find` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=collection.length-1] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * _.findLast([1, 2, 3, 4], function(n) {\n     *   return n % 2 == 1;\n     * });\n     * // => 3\n     */\n    var findLast = createFind(findLastIndex);\n\n    /**\n     * Creates a flattened array of values by running each element in `collection`\n     * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n     * with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [n, n];\n     * }\n     *\n     * _.flatMap([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMap(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), 1);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDeep([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMapDeep(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), INFINITY);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDepth([1, 2], duplicate, 2);\n     * // => [[1, 1], [2, 2]]\n     */\n    function flatMapDepth(collection, iteratee, depth) {\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(map(collection, iteratee), depth);\n    }\n\n    /**\n     * Iterates over elements of `collection` and invokes `iteratee` for each element.\n     * The iteratee is invoked with three arguments: (value, index|key, collection).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n     * property are iterated like arrays. To avoid this behavior use `_.forIn`\n     * or `_.forOwn` for object iteration.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias each\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEachRight\n     * @example\n     *\n     * _.forEach([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `1` then `2`.\n     *\n     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forEach(collection, iteratee) {\n      var func = isArray(collection) ? arrayEach : baseEach;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forEach` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @alias eachRight\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEach\n     * @example\n     *\n     * _.forEachRight([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `2` then `1`.\n     */\n    function forEachRight(collection, iteratee) {\n      var func = isArray(collection) ? arrayEachRight : baseEachRight;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The order of grouped values\n     * is determined by the order they occur in `collection`. The corresponding\n     * value of each key is an array of elements responsible for generating the\n     * key. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': [4.2], '6': [6.1, 6.3] }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.groupBy(['one', 'two', 'three'], 'length');\n     * // => { '3': ['one', 'two'], '5': ['three'] }\n     */\n    var groupBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        result[key].push(value);\n      } else {\n        baseAssignValue(result, key, [value]);\n      }\n    });\n\n    /**\n     * Checks if `value` is in `collection`. If `collection` is a string, it's\n     * checked for a substring of `value`, otherwise\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * is used for equality comparisons. If `fromIndex` is negative, it's used as\n     * the offset from the end of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {boolean} Returns `true` if `value` is found, else `false`.\n     * @example\n     *\n     * _.includes([1, 2, 3], 1);\n     * // => true\n     *\n     * _.includes([1, 2, 3], 1, 2);\n     * // => false\n     *\n     * _.includes({ 'a': 1, 'b': 2 }, 1);\n     * // => true\n     *\n     * _.includes('abcd', 'bc');\n     * // => true\n     */\n    function includes(collection, value, fromIndex, guard) {\n      collection = isArrayLike(collection) ? collection : values(collection);\n      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n      var length = collection.length;\n      if (fromIndex < 0) {\n        fromIndex = nativeMax(length + fromIndex, 0);\n      }\n      return isString(collection)\n        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n    }\n\n    /**\n     * Invokes the method at `path` of each element in `collection`, returning\n     * an array of the results of each invoked method. Any additional arguments\n     * are provided to each invoked method. If `path` is a function, it's invoked\n     * for, and `this` bound to, each element in `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array|Function|string} path The path of the method to invoke or\n     *  the function invoked per iteration.\n     * @param {...*} [args] The arguments to invoke each method with.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n     * // => [[1, 5, 7], [1, 2, 3]]\n     *\n     * _.invokeMap([123, 456], String.prototype.split, '');\n     * // => [['1', '2', '3'], ['4', '5', '6']]\n     */\n    var invokeMap = baseRest(function(collection, path, args) {\n      var index = -1,\n          isFunc = typeof path == 'function',\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value) {\n        result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n      });\n      return result;\n    });\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the last element responsible for generating the key. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * var array = [\n     *   { 'dir': 'left', 'code': 97 },\n     *   { 'dir': 'right', 'code': 100 }\n     * ];\n     *\n     * _.keyBy(array, function(o) {\n     *   return String.fromCharCode(o.code);\n     * });\n     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n     *\n     * _.keyBy(array, 'dir');\n     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n     */\n    var keyBy = createAggregator(function(result, value, key) {\n      baseAssignValue(result, key, value);\n    });\n\n    /**\n     * Creates an array of values by running each element in `collection` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n     *\n     * The guarded methods are:\n     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * _.map([4, 8], square);\n     * // => [16, 64]\n     *\n     * _.map({ 'a': 4, 'b': 8 }, square);\n     * // => [16, 64] (iteration order is not guaranteed)\n     *\n     * var users = [\n     *   { 'user': 'barney' },\n     *   { 'user': 'fred' }\n     * ];\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, 'user');\n     * // => ['barney', 'fred']\n     */\n    function map(collection, iteratee) {\n      var func = isArray(collection) ? arrayMap : baseMap;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.sortBy` except that it allows specifying the sort\n     * orders of the iteratees to sort by. If `orders` is unspecified, all values\n     * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n     * descending or \"asc\" for ascending sort order of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @param {string[]} [orders] The sort orders of `iteratees`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 34 },\n     *   { 'user': 'fred',   'age': 40 },\n     *   { 'user': 'barney', 'age': 36 }\n     * ];\n     *\n     * // Sort by `user` in ascending order and by `age` in descending order.\n     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n     */\n    function orderBy(collection, iteratees, orders, guard) {\n      if (collection == null) {\n        return [];\n      }\n      if (!isArray(iteratees)) {\n        iteratees = iteratees == null ? [] : [iteratees];\n      }\n      orders = guard ? undefined : orders;\n      if (!isArray(orders)) {\n        orders = orders == null ? [] : [orders];\n      }\n      return baseOrderBy(collection, iteratees, orders);\n    }\n\n    /**\n     * Creates an array of elements split into two groups, the first of which\n     * contains elements `predicate` returns truthy for, the second of which\n     * contains elements `predicate` returns falsey for. The predicate is\n     * invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of grouped elements.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': false },\n     *   { 'user': 'fred',    'age': 40, 'active': true },\n     *   { 'user': 'pebbles', 'age': 1,  'active': false }\n     * ];\n     *\n     * _.partition(users, function(o) { return o.active; });\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.partition(users, { 'age': 1, 'active': false });\n     * // => objects for [['pebbles'], ['barney', 'fred']]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.partition(users, ['active', false]);\n     * // => objects for [['barney', 'pebbles'], ['fred']]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.partition(users, 'active');\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     */\n    var partition = createAggregator(function(result, value, key) {\n      result[key ? 0 : 1].push(value);\n    }, function() { return [[], []]; });\n\n    /**\n     * Reduces `collection` to a value which is the accumulated result of running\n     * each element in `collection` thru `iteratee`, where each successive\n     * invocation is supplied the return value of the previous. If `accumulator`\n     * is not given, the first element of `collection` is used as the initial\n     * value. The iteratee is invoked with four arguments:\n     * (accumulator, value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.reduce`, `_.reduceRight`, and `_.transform`.\n     *\n     * The guarded methods are:\n     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n     * and `sortBy`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduceRight\n     * @example\n     *\n     * _.reduce([1, 2], function(sum, n) {\n     *   return sum + n;\n     * }, 0);\n     * // => 3\n     *\n     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     *   return result;\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n     */\n    function reduce(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduce : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n    }\n\n    /**\n     * This method is like `_.reduce` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduce\n     * @example\n     *\n     * var array = [[0, 1], [2, 3], [4, 5]];\n     *\n     * _.reduceRight(array, function(flattened, other) {\n     *   return flattened.concat(other);\n     * }, []);\n     * // => [4, 5, 2, 3, 0, 1]\n     */\n    function reduceRight(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduceRight : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n    }\n\n    /**\n     * The opposite of `_.filter`; this method returns the elements of `collection`\n     * that `predicate` does **not** return truthy for.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.filter\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': true }\n     * ];\n     *\n     * _.reject(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.reject(users, { 'age': 40, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.reject(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.reject(users, 'active');\n     * // => objects for ['barney']\n     */\n    function reject(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, negate(getIteratee(predicate, 3)));\n    }\n\n    /**\n     * Gets a random element from `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     * @example\n     *\n     * _.sample([1, 2, 3, 4]);\n     * // => 2\n     */\n    function sample(collection) {\n      var func = isArray(collection) ? arraySample : baseSample;\n      return func(collection);\n    }\n\n    /**\n     * Gets `n` random elements at unique keys from `collection` up to the\n     * size of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} [n=1] The number of elements to sample.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the random elements.\n     * @example\n     *\n     * _.sampleSize([1, 2, 3], 2);\n     * // => [3, 1]\n     *\n     * _.sampleSize([1, 2, 3], 4);\n     * // => [2, 3, 1]\n     */\n    function sampleSize(collection, n, guard) {\n      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n      return func(collection, n);\n    }\n\n    /**\n     * Creates an array of shuffled values, using a version of the\n     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     * @example\n     *\n     * _.shuffle([1, 2, 3, 4]);\n     * // => [4, 1, 3, 2]\n     */\n    function shuffle(collection) {\n      var func = isArray(collection) ? arrayShuffle : baseShuffle;\n      return func(collection);\n    }\n\n    /**\n     * Gets the size of `collection` by returning its length for array-like\n     * values or the number of own enumerable string keyed properties for objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @returns {number} Returns the collection size.\n     * @example\n     *\n     * _.size([1, 2, 3]);\n     * // => 3\n     *\n     * _.size({ 'a': 1, 'b': 2 });\n     * // => 2\n     *\n     * _.size('pebbles');\n     * // => 7\n     */\n    function size(collection) {\n      if (collection == null) {\n        return 0;\n      }\n      if (isArrayLike(collection)) {\n        return isString(collection) ? stringSize(collection) : collection.length;\n      }\n      var tag = getTag(collection);\n      if (tag == mapTag || tag == setTag) {\n        return collection.size;\n      }\n      return baseKeys(collection).length;\n    }\n\n    /**\n     * Checks if `predicate` returns truthy for **any** element of `collection`.\n     * Iteration is stopped once `predicate` returns truthy. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.some([null, 0, 'yes', false], Boolean);\n     * // => true\n     *\n     * var users = [\n     *   { 'user': 'barney', 'active': true },\n     *   { 'user': 'fred',   'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.some(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.some(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.some(users, 'active');\n     * // => true\n     */\n    function some(collection, predicate, guard) {\n      var func = isArray(collection) ? arraySome : baseSome;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Creates an array of elements, sorted in ascending order by the results of\n     * running each element in a collection thru each iteratee. This method\n     * performs a stable sort, that is, it preserves the original sort order of\n     * equal elements. The iteratees are invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 30 },\n     *   { 'user': 'barney', 'age': 34 }\n     * ];\n     *\n     * _.sortBy(users, [function(o) { return o.user; }]);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n     *\n     * _.sortBy(users, ['user', 'age']);\n     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n     */\n    var sortBy = baseRest(function(collection, iteratees) {\n      if (collection == null) {\n        return [];\n      }\n      var length = iteratees.length;\n      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n        iteratees = [];\n      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n        iteratees = [iteratees[0]];\n      }\n      return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Gets the timestamp of the number of milliseconds that have elapsed since\n     * the Unix epoch (1 January 1970 00:00:00 UTC).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Date\n     * @returns {number} Returns the timestamp.\n     * @example\n     *\n     * _.defer(function(stamp) {\n     *   console.log(_.now() - stamp);\n     * }, _.now());\n     * // => Logs the number of milliseconds it took for the deferred invocation.\n     */\n    var now = ctxNow || function() {\n      return root.Date.now();\n    };\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The opposite of `_.before`; this method creates a function that invokes\n     * `func` once it's called `n` or more times.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {number} n The number of calls before `func` is invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var saves = ['profile', 'settings'];\n     *\n     * var done = _.after(saves.length, function() {\n     *   console.log('done saving!');\n     * });\n     *\n     * _.forEach(saves, function(type) {\n     *   asyncSave({ 'type': type, 'complete': done });\n     * });\n     * // => Logs 'done saving!' after the two async saves have completed.\n     */\n    function after(n, func) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n < 1) {\n          return func.apply(this, arguments);\n        }\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func`, with up to `n` arguments,\n     * ignoring any additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @param {number} [n=func.length] The arity cap.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n     * // => [6, 8, 10]\n     */\n    function ary(func, n, guard) {\n      n = guard ? undefined : n;\n      n = (func && n == null) ? func.length : n;\n      return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n    }\n\n    /**\n     * Creates a function that invokes `func`, with the `this` binding and arguments\n     * of the created function, while it's called less than `n` times. Subsequent\n     * calls to the created function return the result of the last `func` invocation.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {number} n The number of calls at which `func` is no longer invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * jQuery(element).on('click', _.before(5, addContactToList));\n     * // => Allows adding up to 4 contacts to the list.\n     */\n    function before(n, func) {\n      var result;\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n > 0) {\n          result = func.apply(this, arguments);\n        }\n        if (n <= 1) {\n          func = undefined;\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n     * and `partials` prepended to the arguments it receives.\n     *\n     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n     * property of bound functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to bind.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * function greet(greeting, punctuation) {\n     *   return greeting + ' ' + this.user + punctuation;\n     * }\n     *\n     * var object = { 'user': 'fred' };\n     *\n     * var bound = _.bind(greet, object, 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bind(greet, object, _, '!');\n     * bound('hi');\n     * // => 'hi fred!'\n     */\n    var bind = baseRest(function(func, thisArg, partials) {\n      var bitmask = WRAP_BIND_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bind));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(func, bitmask, thisArg, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes the method at `object[key]` with `partials`\n     * prepended to the arguments it receives.\n     *\n     * This method differs from `_.bind` by allowing bound functions to reference\n     * methods that may be redefined or don't yet exist. See\n     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n     * for more details.\n     *\n     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Function\n     * @param {Object} object The object to invoke the method on.\n     * @param {string} key The key of the method.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * var object = {\n     *   'user': 'fred',\n     *   'greet': function(greeting, punctuation) {\n     *     return greeting + ' ' + this.user + punctuation;\n     *   }\n     * };\n     *\n     * var bound = _.bindKey(object, 'greet', 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * object.greet = function(greeting, punctuation) {\n     *   return greeting + 'ya ' + this.user + punctuation;\n     * };\n     *\n     * bound('!');\n     * // => 'hiya fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bindKey(object, 'greet', _, '!');\n     * bound('hi');\n     * // => 'hiya fred!'\n     */\n    var bindKey = baseRest(function(object, key, partials) {\n      var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bindKey));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(key, bitmask, object, partials, holders);\n    });\n\n    /**\n     * Creates a function that accepts arguments of `func` and either invokes\n     * `func` returning its result, if at least `arity` number of arguments have\n     * been provided, or returns a function that accepts the remaining `func`\n     * arguments, and so on. The arity of `func` may be specified if `func.length`\n     * is not sufficient.\n     *\n     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curry(abc);\n     *\n     * curried(1)(2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(1)(_, 3)(2);\n     * // => [1, 2, 3]\n     */\n    function curry(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curry.placeholder;\n      return result;\n    }\n\n    /**\n     * This method is like `_.curry` except that arguments are applied to `func`\n     * in the manner of `_.partialRight` instead of `_.partial`.\n     *\n     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curryRight(abc);\n     *\n     * curried(3)(2)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(2, 3)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(3)(1, _)(2);\n     * // => [1, 2, 3]\n     */\n    function curryRight(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curryRight.placeholder;\n      return result;\n    }\n\n    /**\n     * Creates a debounced function that delays invoking `func` until after `wait`\n     * milliseconds have elapsed since the last time the debounced function was\n     * invoked. The debounced function comes with a `cancel` method to cancel\n     * delayed `func` invocations and a `flush` method to immediately invoke them.\n     * Provide `options` to indicate whether `func` should be invoked on the\n     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n     * with the last arguments provided to the debounced function. Subsequent\n     * calls to the debounced function return the result of the last `func`\n     * invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the debounced function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.debounce` and `_.throttle`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to debounce.\n     * @param {number} [wait=0] The number of milliseconds to delay.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=false]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {number} [options.maxWait]\n     *  The maximum time `func` is allowed to be delayed before it's invoked.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new debounced function.\n     * @example\n     *\n     * // Avoid costly calculations while the window size is in flux.\n     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n     *\n     * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n     * jQuery(element).on('click', _.debounce(sendMail, 300, {\n     *   'leading': true,\n     *   'trailing': false\n     * }));\n     *\n     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n     * var source = new EventSource('/stream');\n     * jQuery(source).on('message', debounced);\n     *\n     * // Cancel the trailing debounced invocation.\n     * jQuery(window).on('popstate', debounced.cancel);\n     */\n    function debounce(func, wait, options) {\n      var lastArgs,\n          lastThis,\n          maxWait,\n          result,\n          timerId,\n          lastCallTime,\n          lastInvokeTime = 0,\n          leading = false,\n          maxing = false,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      wait = toNumber(wait) || 0;\n      if (isObject(options)) {\n        leading = !!options.leading;\n        maxing = 'maxWait' in options;\n        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n\n      function invokeFunc(time) {\n        var args = lastArgs,\n            thisArg = lastThis;\n\n        lastArgs = lastThis = undefined;\n        lastInvokeTime = time;\n        result = func.apply(thisArg, args);\n        return result;\n      }\n\n      function leadingEdge(time) {\n        // Reset any `maxWait` timer.\n        lastInvokeTime = time;\n        // Start the timer for the trailing edge.\n        timerId = setTimeout(timerExpired, wait);\n        // Invoke the leading edge.\n        return leading ? invokeFunc(time) : result;\n      }\n\n      function remainingWait(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime,\n            timeWaiting = wait - timeSinceLastCall;\n\n        return maxing\n          ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n          : timeWaiting;\n      }\n\n      function shouldInvoke(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime;\n\n        // Either this is the first call, activity has stopped and we're at the\n        // trailing edge, the system time has gone backwards and we're treating\n        // it as the trailing edge, or we've hit the `maxWait` limit.\n        return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n      }\n\n      function timerExpired() {\n        var time = now();\n        if (shouldInvoke(time)) {\n          return trailingEdge(time);\n        }\n        // Restart the timer.\n        timerId = setTimeout(timerExpired, remainingWait(time));\n      }\n\n      function trailingEdge(time) {\n        timerId = undefined;\n\n        // Only invoke if we have `lastArgs` which means `func` has been\n        // debounced at least once.\n        if (trailing && lastArgs) {\n          return invokeFunc(time);\n        }\n        lastArgs = lastThis = undefined;\n        return result;\n      }\n\n      function cancel() {\n        if (timerId !== undefined) {\n          clearTimeout(timerId);\n        }\n        lastInvokeTime = 0;\n        lastArgs = lastCallTime = lastThis = timerId = undefined;\n      }\n\n      function flush() {\n        return timerId === undefined ? result : trailingEdge(now());\n      }\n\n      function debounced() {\n        var time = now(),\n            isInvoking = shouldInvoke(time);\n\n        lastArgs = arguments;\n        lastThis = this;\n        lastCallTime = time;\n\n        if (isInvoking) {\n          if (timerId === undefined) {\n            return leadingEdge(lastCallTime);\n          }\n          if (maxing) {\n            // Handle invocations in a tight loop.\n            clearTimeout(timerId);\n            timerId = setTimeout(timerExpired, wait);\n            return invokeFunc(lastCallTime);\n          }\n        }\n        if (timerId === undefined) {\n          timerId = setTimeout(timerExpired, wait);\n        }\n        return result;\n      }\n      debounced.cancel = cancel;\n      debounced.flush = flush;\n      return debounced;\n    }\n\n    /**\n     * Defers invoking the `func` until the current call stack has cleared. Any\n     * additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to defer.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.defer(function(text) {\n     *   console.log(text);\n     * }, 'deferred');\n     * // => Logs 'deferred' after one millisecond.\n     */\n    var defer = baseRest(function(func, args) {\n      return baseDelay(func, 1, args);\n    });\n\n    /**\n     * Invokes `func` after `wait` milliseconds. Any additional arguments are\n     * provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.delay(function(text) {\n     *   console.log(text);\n     * }, 1000, 'later');\n     * // => Logs 'later' after one second.\n     */\n    var delay = baseRest(function(func, wait, args) {\n      return baseDelay(func, toNumber(wait) || 0, args);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments reversed.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to flip arguments for.\n     * @returns {Function} Returns the new flipped function.\n     * @example\n     *\n     * var flipped = _.flip(function() {\n     *   return _.toArray(arguments);\n     * });\n     *\n     * flipped('a', 'b', 'c', 'd');\n     * // => ['d', 'c', 'b', 'a']\n     */\n    function flip(func) {\n      return createWrap(func, WRAP_FLIP_FLAG);\n    }\n\n    /**\n     * Creates a function that memoizes the result of `func`. If `resolver` is\n     * provided, it determines the cache key for storing the result based on the\n     * arguments provided to the memoized function. By default, the first argument\n     * provided to the memoized function is used as the map cache key. The `func`\n     * is invoked with the `this` binding of the memoized function.\n     *\n     * **Note:** The cache is exposed as the `cache` property on the memoized\n     * function. Its creation may be customized by replacing the `_.memoize.Cache`\n     * constructor with one whose instances implement the\n     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n     * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to have its output memoized.\n     * @param {Function} [resolver] The function to resolve the cache key.\n     * @returns {Function} Returns the new memoized function.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     * var other = { 'c': 3, 'd': 4 };\n     *\n     * var values = _.memoize(_.values);\n     * values(object);\n     * // => [1, 2]\n     *\n     * values(other);\n     * // => [3, 4]\n     *\n     * object.a = 2;\n     * values(object);\n     * // => [1, 2]\n     *\n     * // Modify the result cache.\n     * values.cache.set(object, ['a', 'b']);\n     * values(object);\n     * // => ['a', 'b']\n     *\n     * // Replace `_.memoize.Cache`.\n     * _.memoize.Cache = WeakMap;\n     */\n    function memoize(func, resolver) {\n      if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var memoized = function() {\n        var args = arguments,\n            key = resolver ? resolver.apply(this, args) : args[0],\n            cache = memoized.cache;\n\n        if (cache.has(key)) {\n          return cache.get(key);\n        }\n        var result = func.apply(this, args);\n        memoized.cache = cache.set(key, result) || cache;\n        return result;\n      };\n      memoized.cache = new (memoize.Cache || MapCache);\n      return memoized;\n    }\n\n    // Expose `MapCache`.\n    memoize.Cache = MapCache;\n\n    /**\n     * Creates a function that negates the result of the predicate `func`. The\n     * `func` predicate is invoked with the `this` binding and arguments of the\n     * created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} predicate The predicate to negate.\n     * @returns {Function} Returns the new negated function.\n     * @example\n     *\n     * function isEven(n) {\n     *   return n % 2 == 0;\n     * }\n     *\n     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n     * // => [1, 3, 5]\n     */\n    function negate(predicate) {\n      if (typeof predicate != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return function() {\n        var args = arguments;\n        switch (args.length) {\n          case 0: return !predicate.call(this);\n          case 1: return !predicate.call(this, args[0]);\n          case 2: return !predicate.call(this, args[0], args[1]);\n          case 3: return !predicate.call(this, args[0], args[1], args[2]);\n        }\n        return !predicate.apply(this, args);\n      };\n    }\n\n    /**\n     * Creates a function that is restricted to invoking `func` once. Repeat calls\n     * to the function return the value of the first invocation. The `func` is\n     * invoked with the `this` binding and arguments of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var initialize = _.once(createApplication);\n     * initialize();\n     * initialize();\n     * // => `createApplication` is invoked once\n     */\n    function once(func) {\n      return before(2, func);\n    }\n\n    /**\n     * Creates a function that invokes `func` with its arguments transformed.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Function\n     * @param {Function} func The function to wrap.\n     * @param {...(Function|Function[])} [transforms=[_.identity]]\n     *  The argument transforms.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * function doubled(n) {\n     *   return n * 2;\n     * }\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var func = _.overArgs(function(x, y) {\n     *   return [x, y];\n     * }, [square, doubled]);\n     *\n     * func(9, 3);\n     * // => [81, 6]\n     *\n     * func(10, 5);\n     * // => [100, 10]\n     */\n    var overArgs = castRest(function(func, transforms) {\n      transforms = (transforms.length == 1 && isArray(transforms[0]))\n        ? arrayMap(transforms[0], baseUnary(getIteratee()))\n        : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n      var funcsLength = transforms.length;\n      return baseRest(function(args) {\n        var index = -1,\n            length = nativeMin(args.length, funcsLength);\n\n        while (++index < length) {\n          args[index] = transforms[index].call(this, args[index]);\n        }\n        return apply(func, this, args);\n      });\n    });\n\n    /**\n     * Creates a function that invokes `func` with `partials` prepended to the\n     * arguments it receives. This method is like `_.bind` except it does **not**\n     * alter the `this` binding.\n     *\n     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.2.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var sayHelloTo = _.partial(greet, 'hello');\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     *\n     * // Partially applied with placeholders.\n     * var greetFred = _.partial(greet, _, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     */\n    var partial = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partial));\n      return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * This method is like `_.partial` except that partially applied arguments\n     * are appended to the arguments it receives.\n     *\n     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var greetFred = _.partialRight(greet, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     *\n     * // Partially applied with placeholders.\n     * var sayHelloTo = _.partialRight(greet, 'hello', _);\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     */\n    var partialRight = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partialRight));\n      return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments arranged according\n     * to the specified `indexes` where the argument value at the first index is\n     * provided as the first argument, the argument value at the second index is\n     * provided as the second argument, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to rearrange arguments for.\n     * @param {...(number|number[])} indexes The arranged argument indexes.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var rearged = _.rearg(function(a, b, c) {\n     *   return [a, b, c];\n     * }, [2, 0, 1]);\n     *\n     * rearged('b', 'c', 'a')\n     * // => ['a', 'b', 'c']\n     */\n    var rearg = flatRest(function(func, indexes) {\n      return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n    });\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * created function and arguments from `start` and beyond provided as\n     * an array.\n     *\n     * **Note:** This method is based on the\n     * [rest parameter](https://mdn.io/rest_parameters).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.rest(function(what, names) {\n     *   return what + ' ' + _.initial(names).join(', ') +\n     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n     * });\n     *\n     * say('hello', 'fred', 'barney', 'pebbles');\n     * // => 'hello fred, barney, & pebbles'\n     */\n    function rest(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start === undefined ? start : toInteger(start);\n      return baseRest(func, start);\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * create function and an array of arguments much like\n     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n     *\n     * **Note:** This method is based on the\n     * [spread operator](https://mdn.io/spread_operator).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Function\n     * @param {Function} func The function to spread arguments over.\n     * @param {number} [start=0] The start position of the spread.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.spread(function(who, what) {\n     *   return who + ' says ' + what;\n     * });\n     *\n     * say(['fred', 'hello']);\n     * // => 'fred says hello'\n     *\n     * var numbers = Promise.all([\n     *   Promise.resolve(40),\n     *   Promise.resolve(36)\n     * ]);\n     *\n     * numbers.then(_.spread(function(x, y) {\n     *   return x + y;\n     * }));\n     * // => a Promise of 76\n     */\n    function spread(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start == null ? 0 : nativeMax(toInteger(start), 0);\n      return baseRest(function(args) {\n        var array = args[start],\n            otherArgs = castSlice(args, 0, start);\n\n        if (array) {\n          arrayPush(otherArgs, array);\n        }\n        return apply(func, this, otherArgs);\n      });\n    }\n\n    /**\n     * Creates a throttled function that only invokes `func` at most once per\n     * every `wait` milliseconds. The throttled function comes with a `cancel`\n     * method to cancel delayed `func` invocations and a `flush` method to\n     * immediately invoke them. Provide `options` to indicate whether `func`\n     * should be invoked on the leading and/or trailing edge of the `wait`\n     * timeout. The `func` is invoked with the last arguments provided to the\n     * throttled function. Subsequent calls to the throttled function return the\n     * result of the last `func` invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the throttled function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.throttle` and `_.debounce`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to throttle.\n     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=true]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new throttled function.\n     * @example\n     *\n     * // Avoid excessively updating the position while scrolling.\n     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n     *\n     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n     * jQuery(element).on('click', throttled);\n     *\n     * // Cancel the trailing throttled invocation.\n     * jQuery(window).on('popstate', throttled.cancel);\n     */\n    function throttle(func, wait, options) {\n      var leading = true,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      if (isObject(options)) {\n        leading = 'leading' in options ? !!options.leading : leading;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n      return debounce(func, wait, {\n        'leading': leading,\n        'maxWait': wait,\n        'trailing': trailing\n      });\n    }\n\n    /**\n     * Creates a function that accepts up to one argument, ignoring any\n     * additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.unary(parseInt));\n     * // => [6, 8, 10]\n     */\n    function unary(func) {\n      return ary(func, 1);\n    }\n\n    /**\n     * Creates a function that provides `value` to `wrapper` as its first\n     * argument. Any additional arguments provided to the function are appended\n     * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n     * binding of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {*} value The value to wrap.\n     * @param {Function} [wrapper=identity] The wrapper function.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var p = _.wrap(_.escape, function(func, text) {\n     *   return '<p>' + func(text) + '</p>';\n     * });\n     *\n     * p('fred, barney, & pebbles');\n     * // => '<p>fred, barney, &amp; pebbles</p>'\n     */\n    function wrap(value, wrapper) {\n      return partial(castFunction(wrapper), value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Casts `value` as an array if it's not one.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Lang\n     * @param {*} value The value to inspect.\n     * @returns {Array} Returns the cast array.\n     * @example\n     *\n     * _.castArray(1);\n     * // => [1]\n     *\n     * _.castArray({ 'a': 1 });\n     * // => [{ 'a': 1 }]\n     *\n     * _.castArray('abc');\n     * // => ['abc']\n     *\n     * _.castArray(null);\n     * // => [null]\n     *\n     * _.castArray(undefined);\n     * // => [undefined]\n     *\n     * _.castArray();\n     * // => []\n     *\n     * var array = [1, 2, 3];\n     * console.log(_.castArray(array) === array);\n     * // => true\n     */\n    function castArray() {\n      if (!arguments.length) {\n        return [];\n      }\n      var value = arguments[0];\n      return isArray(value) ? value : [value];\n    }\n\n    /**\n     * Creates a shallow clone of `value`.\n     *\n     * **Note:** This method is loosely based on the\n     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n     * and supports cloning arrays, array buffers, booleans, date objects, maps,\n     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n     * arrays. The own enumerable properties of `arguments` objects are cloned\n     * as plain objects. An empty object is returned for uncloneable values such\n     * as error objects, functions, DOM nodes, and WeakMaps.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeep\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var shallow = _.clone(objects);\n     * console.log(shallow[0] === objects[0]);\n     * // => true\n     */\n    function clone(value) {\n      return baseClone(value, CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.clone` except that it accepts `customizer` which\n     * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n     * cloning is handled by the method instead. The `customizer` is invoked with\n     * up to four arguments; (value [, index|key, object, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeepWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(false);\n     *   }\n     * }\n     *\n     * var el = _.cloneWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 0\n     */\n    function cloneWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * This method is like `_.clone` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.clone\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var deep = _.cloneDeep(objects);\n     * console.log(deep[0] === objects[0]);\n     * // => false\n     */\n    function cloneDeep(value) {\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.cloneWith` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.cloneWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(true);\n     *   }\n     * }\n     *\n     * var el = _.cloneDeepWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 20\n     */\n    function cloneDeepWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * Checks if `object` conforms to `source` by invoking the predicate\n     * properties of `source` with the corresponding property values of `object`.\n     *\n     * **Note:** This method is equivalent to `_.conforms` when `source` is\n     * partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n     * // => true\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n     * // => false\n     */\n    function conformsTo(object, source) {\n      return source == null || baseConformsTo(object, source, keys(source));\n    }\n\n    /**\n     * Performs a\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * comparison between two values to determine if they are equivalent.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.eq(object, object);\n     * // => true\n     *\n     * _.eq(object, other);\n     * // => false\n     *\n     * _.eq('a', 'a');\n     * // => true\n     *\n     * _.eq('a', Object('a'));\n     * // => false\n     *\n     * _.eq(NaN, NaN);\n     * // => true\n     */\n    function eq(value, other) {\n      return value === other || (value !== value && other !== other);\n    }\n\n    /**\n     * Checks if `value` is greater than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     * @see _.lt\n     * @example\n     *\n     * _.gt(3, 1);\n     * // => true\n     *\n     * _.gt(3, 3);\n     * // => false\n     *\n     * _.gt(1, 3);\n     * // => false\n     */\n    var gt = createRelationalOperation(baseGt);\n\n    /**\n     * Checks if `value` is greater than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than or equal to\n     *  `other`, else `false`.\n     * @see _.lte\n     * @example\n     *\n     * _.gte(3, 1);\n     * // => true\n     *\n     * _.gte(3, 3);\n     * // => true\n     *\n     * _.gte(1, 3);\n     * // => false\n     */\n    var gte = createRelationalOperation(function(value, other) {\n      return value >= other;\n    });\n\n    /**\n     * Checks if `value` is likely an `arguments` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArguments(function() { return arguments; }());\n     * // => true\n     *\n     * _.isArguments([1, 2, 3]);\n     * // => false\n     */\n    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n        !propertyIsEnumerable.call(value, 'callee');\n    };\n\n    /**\n     * Checks if `value` is classified as an `Array` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n     * @example\n     *\n     * _.isArray([1, 2, 3]);\n     * // => true\n     *\n     * _.isArray(document.body.children);\n     * // => false\n     *\n     * _.isArray('abc');\n     * // => false\n     *\n     * _.isArray(_.noop);\n     * // => false\n     */\n    var isArray = Array.isArray;\n\n    /**\n     * Checks if `value` is classified as an `ArrayBuffer` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     * @example\n     *\n     * _.isArrayBuffer(new ArrayBuffer(2));\n     * // => true\n     *\n     * _.isArrayBuffer(new Array(2));\n     * // => false\n     */\n    var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n    /**\n     * Checks if `value` is array-like. A value is considered array-like if it's\n     * not a function and has a `value.length` that's an integer greater than or\n     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n     * @example\n     *\n     * _.isArrayLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLike(document.body.children);\n     * // => true\n     *\n     * _.isArrayLike('abc');\n     * // => true\n     *\n     * _.isArrayLike(_.noop);\n     * // => false\n     */\n    function isArrayLike(value) {\n      return value != null && isLength(value.length) && !isFunction(value);\n    }\n\n    /**\n     * This method is like `_.isArrayLike` except that it also checks if `value`\n     * is an object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array-like object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArrayLikeObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLikeObject(document.body.children);\n     * // => true\n     *\n     * _.isArrayLikeObject('abc');\n     * // => false\n     *\n     * _.isArrayLikeObject(_.noop);\n     * // => false\n     */\n    function isArrayLikeObject(value) {\n      return isObjectLike(value) && isArrayLike(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a boolean primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n     * @example\n     *\n     * _.isBoolean(false);\n     * // => true\n     *\n     * _.isBoolean(null);\n     * // => false\n     */\n    function isBoolean(value) {\n      return value === true || value === false ||\n        (isObjectLike(value) && baseGetTag(value) == boolTag);\n    }\n\n    /**\n     * Checks if `value` is a buffer.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n     * @example\n     *\n     * _.isBuffer(new Buffer(2));\n     * // => true\n     *\n     * _.isBuffer(new Uint8Array(2));\n     * // => false\n     */\n    var isBuffer = nativeIsBuffer || stubFalse;\n\n    /**\n     * Checks if `value` is classified as a `Date` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     * @example\n     *\n     * _.isDate(new Date);\n     * // => true\n     *\n     * _.isDate('Mon April 23 2012');\n     * // => false\n     */\n    var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n    /**\n     * Checks if `value` is likely a DOM element.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n     * @example\n     *\n     * _.isElement(document.body);\n     * // => true\n     *\n     * _.isElement('<body>');\n     * // => false\n     */\n    function isElement(value) {\n      return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n    }\n\n    /**\n     * Checks if `value` is an empty object, collection, map, or set.\n     *\n     * Objects are considered empty if they have no own enumerable string keyed\n     * properties.\n     *\n     * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n     * jQuery-like collections are considered empty if they have a `length` of `0`.\n     * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n     * @example\n     *\n     * _.isEmpty(null);\n     * // => true\n     *\n     * _.isEmpty(true);\n     * // => true\n     *\n     * _.isEmpty(1);\n     * // => true\n     *\n     * _.isEmpty([1, 2, 3]);\n     * // => false\n     *\n     * _.isEmpty({ 'a': 1 });\n     * // => false\n     */\n    function isEmpty(value) {\n      if (value == null) {\n        return true;\n      }\n      if (isArrayLike(value) &&\n          (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n            isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n        return !value.length;\n      }\n      var tag = getTag(value);\n      if (tag == mapTag || tag == setTag) {\n        return !value.size;\n      }\n      if (isPrototype(value)) {\n        return !baseKeys(value).length;\n      }\n      for (var key in value) {\n        if (hasOwnProperty.call(value, key)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * Performs a deep comparison between two values to determine if they are\n     * equivalent.\n     *\n     * **Note:** This method supports comparing arrays, array buffers, booleans,\n     * date objects, error objects, maps, numbers, `Object` objects, regexes,\n     * sets, strings, symbols, and typed arrays. `Object` objects are compared\n     * by their own, not inherited, enumerable properties. Functions and DOM\n     * nodes are compared by strict equality, i.e. `===`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.isEqual(object, other);\n     * // => true\n     *\n     * object === other;\n     * // => false\n     */\n    function isEqual(value, other) {\n      return baseIsEqual(value, other);\n    }\n\n    /**\n     * This method is like `_.isEqual` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with up to\n     * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, othValue) {\n     *   if (isGreeting(objValue) && isGreeting(othValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var array = ['hello', 'goodbye'];\n     * var other = ['hi', 'goodbye'];\n     *\n     * _.isEqualWith(array, other, customizer);\n     * // => true\n     */\n    function isEqualWith(value, other, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      var result = customizer ? customizer(value, other) : undefined;\n      return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n    }\n\n    /**\n     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n     * `SyntaxError`, `TypeError`, or `URIError` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n     * @example\n     *\n     * _.isError(new Error);\n     * // => true\n     *\n     * _.isError(Error);\n     * // => false\n     */\n    function isError(value) {\n      if (!isObjectLike(value)) {\n        return false;\n      }\n      var tag = baseGetTag(value);\n      return tag == errorTag || tag == domExcTag ||\n        (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n    }\n\n    /**\n     * Checks if `value` is a finite primitive number.\n     *\n     * **Note:** This method is based on\n     * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n     * @example\n     *\n     * _.isFinite(3);\n     * // => true\n     *\n     * _.isFinite(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isFinite(Infinity);\n     * // => false\n     *\n     * _.isFinite('3');\n     * // => false\n     */\n    function isFinite(value) {\n      return typeof value == 'number' && nativeIsFinite(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Function` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n     * @example\n     *\n     * _.isFunction(_);\n     * // => true\n     *\n     * _.isFunction(/abc/);\n     * // => false\n     */\n    function isFunction(value) {\n      if (!isObject(value)) {\n        return false;\n      }\n      // The use of `Object#toString` avoids issues with the `typeof` operator\n      // in Safari 9 which returns 'object' for typed arrays and other constructors.\n      var tag = baseGetTag(value);\n      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n    }\n\n    /**\n     * Checks if `value` is an integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n     * @example\n     *\n     * _.isInteger(3);\n     * // => true\n     *\n     * _.isInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isInteger(Infinity);\n     * // => false\n     *\n     * _.isInteger('3');\n     * // => false\n     */\n    function isInteger(value) {\n      return typeof value == 'number' && value == toInteger(value);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like length.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n     * @example\n     *\n     * _.isLength(3);\n     * // => true\n     *\n     * _.isLength(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isLength(Infinity);\n     * // => false\n     *\n     * _.isLength('3');\n     * // => false\n     */\n    function isLength(value) {\n      return typeof value == 'number' &&\n        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is the\n     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n     * @example\n     *\n     * _.isObject({});\n     * // => true\n     *\n     * _.isObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isObject(_.noop);\n     * // => true\n     *\n     * _.isObject(null);\n     * // => false\n     */\n    function isObject(value) {\n      var type = typeof value;\n      return value != null && (type == 'object' || type == 'function');\n    }\n\n    /**\n     * Checks if `value` is object-like. A value is object-like if it's not `null`\n     * and has a `typeof` result of \"object\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n     * @example\n     *\n     * _.isObjectLike({});\n     * // => true\n     *\n     * _.isObjectLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isObjectLike(_.noop);\n     * // => false\n     *\n     * _.isObjectLike(null);\n     * // => false\n     */\n    function isObjectLike(value) {\n      return value != null && typeof value == 'object';\n    }\n\n    /**\n     * Checks if `value` is classified as a `Map` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     * @example\n     *\n     * _.isMap(new Map);\n     * // => true\n     *\n     * _.isMap(new WeakMap);\n     * // => false\n     */\n    var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n    /**\n     * Performs a partial deep comparison between `object` and `source` to\n     * determine if `object` contains equivalent property values.\n     *\n     * **Note:** This method is equivalent to `_.matches` when `source` is\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.isMatch(object, { 'b': 2 });\n     * // => true\n     *\n     * _.isMatch(object, { 'b': 1 });\n     * // => false\n     */\n    function isMatch(object, source) {\n      return object === source || baseIsMatch(object, source, getMatchData(source));\n    }\n\n    /**\n     * This method is like `_.isMatch` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with five\n     * arguments: (objValue, srcValue, index|key, object, source).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (isGreeting(objValue) && isGreeting(srcValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var object = { 'greeting': 'hello' };\n     * var source = { 'greeting': 'hi' };\n     *\n     * _.isMatchWith(object, source, customizer);\n     * // => true\n     */\n    function isMatchWith(object, source, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseIsMatch(object, source, getMatchData(source), customizer);\n    }\n\n    /**\n     * Checks if `value` is `NaN`.\n     *\n     * **Note:** This method is based on\n     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n     * `undefined` and other non-number values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n     * @example\n     *\n     * _.isNaN(NaN);\n     * // => true\n     *\n     * _.isNaN(new Number(NaN));\n     * // => true\n     *\n     * isNaN(undefined);\n     * // => true\n     *\n     * _.isNaN(undefined);\n     * // => false\n     */\n    function isNaN(value) {\n      // An `NaN` primitive is the only value that is not equal to itself.\n      // Perform the `toStringTag` check first to avoid errors with some\n      // ActiveX objects in IE.\n      return isNumber(value) && value != +value;\n    }\n\n    /**\n     * Checks if `value` is a pristine native function.\n     *\n     * **Note:** This method can't reliably detect native functions in the presence\n     * of the core-js package because core-js circumvents this kind of detection.\n     * Despite multiple requests, the core-js maintainer has made it clear: any\n     * attempt to fix the detection will be obstructed. As a result, we're left\n     * with little choice but to throw an error. Unfortunately, this also affects\n     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n     * which rely on core-js.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     * @example\n     *\n     * _.isNative(Array.prototype.push);\n     * // => true\n     *\n     * _.isNative(_);\n     * // => false\n     */\n    function isNative(value) {\n      if (isMaskable(value)) {\n        throw new Error(CORE_ERROR_TEXT);\n      }\n      return baseIsNative(value);\n    }\n\n    /**\n     * Checks if `value` is `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n     * @example\n     *\n     * _.isNull(null);\n     * // => true\n     *\n     * _.isNull(void 0);\n     * // => false\n     */\n    function isNull(value) {\n      return value === null;\n    }\n\n    /**\n     * Checks if `value` is `null` or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n     * @example\n     *\n     * _.isNil(null);\n     * // => true\n     *\n     * _.isNil(void 0);\n     * // => true\n     *\n     * _.isNil(NaN);\n     * // => false\n     */\n    function isNil(value) {\n      return value == null;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Number` primitive or object.\n     *\n     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n     * classified as numbers, use the `_.isFinite` method.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n     * @example\n     *\n     * _.isNumber(3);\n     * // => true\n     *\n     * _.isNumber(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isNumber(Infinity);\n     * // => true\n     *\n     * _.isNumber('3');\n     * // => false\n     */\n    function isNumber(value) {\n      return typeof value == 'number' ||\n        (isObjectLike(value) && baseGetTag(value) == numberTag);\n    }\n\n    /**\n     * Checks if `value` is a plain object, that is, an object created by the\n     * `Object` constructor or one with a `[[Prototype]]` of `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.8.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * _.isPlainObject(new Foo);\n     * // => false\n     *\n     * _.isPlainObject([1, 2, 3]);\n     * // => false\n     *\n     * _.isPlainObject({ 'x': 0, 'y': 0 });\n     * // => true\n     *\n     * _.isPlainObject(Object.create(null));\n     * // => true\n     */\n    function isPlainObject(value) {\n      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n        return false;\n      }\n      var proto = getPrototype(value);\n      if (proto === null) {\n        return true;\n      }\n      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n      return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n        funcToString.call(Ctor) == objectCtorString;\n    }\n\n    /**\n     * Checks if `value` is classified as a `RegExp` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     * @example\n     *\n     * _.isRegExp(/abc/);\n     * // => true\n     *\n     * _.isRegExp('/abc/');\n     * // => false\n     */\n    var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n    /**\n     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n     * double precision number which isn't the result of a rounded unsafe integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n     * @example\n     *\n     * _.isSafeInteger(3);\n     * // => true\n     *\n     * _.isSafeInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isSafeInteger(Infinity);\n     * // => false\n     *\n     * _.isSafeInteger('3');\n     * // => false\n     */\n    function isSafeInteger(value) {\n      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Set` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     * @example\n     *\n     * _.isSet(new Set);\n     * // => true\n     *\n     * _.isSet(new WeakSet);\n     * // => false\n     */\n    var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n    /**\n     * Checks if `value` is classified as a `String` primitive or object.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n     * @example\n     *\n     * _.isString('abc');\n     * // => true\n     *\n     * _.isString(1);\n     * // => false\n     */\n    function isString(value) {\n      return typeof value == 'string' ||\n        (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Symbol` primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n     * @example\n     *\n     * _.isSymbol(Symbol.iterator);\n     * // => true\n     *\n     * _.isSymbol('abc');\n     * // => false\n     */\n    function isSymbol(value) {\n      return typeof value == 'symbol' ||\n        (isObjectLike(value) && baseGetTag(value) == symbolTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a typed array.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     * @example\n     *\n     * _.isTypedArray(new Uint8Array);\n     * // => true\n     *\n     * _.isTypedArray([]);\n     * // => false\n     */\n    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n    /**\n     * Checks if `value` is `undefined`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n     * @example\n     *\n     * _.isUndefined(void 0);\n     * // => true\n     *\n     * _.isUndefined(null);\n     * // => false\n     */\n    function isUndefined(value) {\n      return value === undefined;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakMap` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n     * @example\n     *\n     * _.isWeakMap(new WeakMap);\n     * // => true\n     *\n     * _.isWeakMap(new Map);\n     * // => false\n     */\n    function isWeakMap(value) {\n      return isObjectLike(value) && getTag(value) == weakMapTag;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakSet` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n     * @example\n     *\n     * _.isWeakSet(new WeakSet);\n     * // => true\n     *\n     * _.isWeakSet(new Set);\n     * // => false\n     */\n    function isWeakSet(value) {\n      return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n    }\n\n    /**\n     * Checks if `value` is less than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     * @see _.gt\n     * @example\n     *\n     * _.lt(1, 3);\n     * // => true\n     *\n     * _.lt(3, 3);\n     * // => false\n     *\n     * _.lt(3, 1);\n     * // => false\n     */\n    var lt = createRelationalOperation(baseLt);\n\n    /**\n     * Checks if `value` is less than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than or equal to\n     *  `other`, else `false`.\n     * @see _.gte\n     * @example\n     *\n     * _.lte(1, 3);\n     * // => true\n     *\n     * _.lte(3, 3);\n     * // => true\n     *\n     * _.lte(3, 1);\n     * // => false\n     */\n    var lte = createRelationalOperation(function(value, other) {\n      return value <= other;\n    });\n\n    /**\n     * Converts `value` to an array.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the converted array.\n     * @example\n     *\n     * _.toArray({ 'a': 1, 'b': 2 });\n     * // => [1, 2]\n     *\n     * _.toArray('abc');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toArray(1);\n     * // => []\n     *\n     * _.toArray(null);\n     * // => []\n     */\n    function toArray(value) {\n      if (!value) {\n        return [];\n      }\n      if (isArrayLike(value)) {\n        return isString(value) ? stringToArray(value) : copyArray(value);\n      }\n      if (symIterator && value[symIterator]) {\n        return iteratorToArray(value[symIterator]());\n      }\n      var tag = getTag(value),\n          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n      return func(value);\n    }\n\n    /**\n     * Converts `value` to a finite number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.12.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted number.\n     * @example\n     *\n     * _.toFinite(3.2);\n     * // => 3.2\n     *\n     * _.toFinite(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toFinite(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toFinite('3.2');\n     * // => 3.2\n     */\n    function toFinite(value) {\n      if (!value) {\n        return value === 0 ? value : 0;\n      }\n      value = toNumber(value);\n      if (value === INFINITY || value === -INFINITY) {\n        var sign = (value < 0 ? -1 : 1);\n        return sign * MAX_INTEGER;\n      }\n      return value === value ? value : 0;\n    }\n\n    /**\n     * Converts `value` to an integer.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toInteger(3.2);\n     * // => 3\n     *\n     * _.toInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toInteger(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toInteger('3.2');\n     * // => 3\n     */\n    function toInteger(value) {\n      var result = toFinite(value),\n          remainder = result % 1;\n\n      return result === result ? (remainder ? result - remainder : result) : 0;\n    }\n\n    /**\n     * Converts `value` to an integer suitable for use as the length of an\n     * array-like object.\n     *\n     * **Note:** This method is based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toLength(3.2);\n     * // => 3\n     *\n     * _.toLength(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toLength(Infinity);\n     * // => 4294967295\n     *\n     * _.toLength('3.2');\n     * // => 3\n     */\n    function toLength(value) {\n      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n    }\n\n    /**\n     * Converts `value` to a number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     * @example\n     *\n     * _.toNumber(3.2);\n     * // => 3.2\n     *\n     * _.toNumber(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toNumber(Infinity);\n     * // => Infinity\n     *\n     * _.toNumber('3.2');\n     * // => 3.2\n     */\n    function toNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      if (isObject(value)) {\n        var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n        value = isObject(other) ? (other + '') : other;\n      }\n      if (typeof value != 'string') {\n        return value === 0 ? value : +value;\n      }\n      value = baseTrim(value);\n      var isBinary = reIsBinary.test(value);\n      return (isBinary || reIsOctal.test(value))\n        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n        : (reIsBadHex.test(value) ? NAN : +value);\n    }\n\n    /**\n     * Converts `value` to a plain object flattening inherited enumerable string\n     * keyed properties of `value` to own properties of the plain object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Object} Returns the converted plain object.\n     * @example\n     *\n     * function Foo() {\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.assign({ 'a': 1 }, new Foo);\n     * // => { 'a': 1, 'b': 2 }\n     *\n     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n     * // => { 'a': 1, 'b': 2, 'c': 3 }\n     */\n    function toPlainObject(value) {\n      return copyObject(value, keysIn(value));\n    }\n\n    /**\n     * Converts `value` to a safe integer. A safe integer can be compared and\n     * represented correctly.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toSafeInteger(3.2);\n     * // => 3\n     *\n     * _.toSafeInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toSafeInteger(Infinity);\n     * // => 9007199254740991\n     *\n     * _.toSafeInteger('3.2');\n     * // => 3\n     */\n    function toSafeInteger(value) {\n      return value\n        ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n        : (value === 0 ? value : 0);\n    }\n\n    /**\n     * Converts `value` to a string. An empty string is returned for `null`\n     * and `undefined` values. The sign of `-0` is preserved.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.toString(null);\n     * // => ''\n     *\n     * _.toString(-0);\n     * // => '-0'\n     *\n     * _.toString([1, 2, 3]);\n     * // => '1,2,3'\n     */\n    function toString(value) {\n      return value == null ? '' : baseToString(value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Assigns own enumerable string keyed properties of source objects to the\n     * destination object. Source objects are applied from left to right.\n     * Subsequent sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object` and is loosely based on\n     * [`Object.assign`](https://mdn.io/Object/assign).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assignIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assign({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var assign = createAssigner(function(object, source) {\n      if (isPrototype(source) || isArrayLike(source)) {\n        copyObject(source, keys(source), object);\n        return;\n      }\n      for (var key in source) {\n        if (hasOwnProperty.call(source, key)) {\n          assignValue(object, key, source[key]);\n        }\n      }\n    });\n\n    /**\n     * This method is like `_.assign` except that it iterates over own and\n     * inherited source properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extend\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assign\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n     */\n    var assignIn = createAssigner(function(object, source) {\n      copyObject(source, keysIn(source), object);\n    });\n\n    /**\n     * This method is like `_.assignIn` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extendWith\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignInWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keysIn(source), object, customizer);\n    });\n\n    /**\n     * This method is like `_.assign` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignInWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keys(source), object, customizer);\n    });\n\n    /**\n     * Creates an array of values corresponding to `paths` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Array} Returns the picked values.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _.at(object, ['a[0].b.c', 'a[1]']);\n     * // => [3, 4]\n     */\n    var at = flatRest(baseAt);\n\n    /**\n     * Creates an object that inherits from the `prototype` object. If a\n     * `properties` object is given, its own enumerable string keyed properties\n     * are assigned to the created object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Object\n     * @param {Object} prototype The object to inherit from.\n     * @param {Object} [properties] The properties to assign to the object.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * function Shape() {\n     *   this.x = 0;\n     *   this.y = 0;\n     * }\n     *\n     * function Circle() {\n     *   Shape.call(this);\n     * }\n     *\n     * Circle.prototype = _.create(Shape.prototype, {\n     *   'constructor': Circle\n     * });\n     *\n     * var circle = new Circle;\n     * circle instanceof Circle;\n     * // => true\n     *\n     * circle instanceof Shape;\n     * // => true\n     */\n    function create(prototype, properties) {\n      var result = baseCreate(prototype);\n      return properties == null ? result : baseAssign(result, properties);\n    }\n\n    /**\n     * Assigns own and inherited enumerable string keyed properties of source\n     * objects to the destination object for all destination properties that\n     * resolve to `undefined`. Source objects are applied from left to right.\n     * Once a property is set, additional values of the same property are ignored.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaultsDeep\n     * @example\n     *\n     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var defaults = baseRest(function(object, sources) {\n      object = Object(object);\n\n      var index = -1;\n      var length = sources.length;\n      var guard = length > 2 ? sources[2] : undefined;\n\n      if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n        length = 1;\n      }\n\n      while (++index < length) {\n        var source = sources[index];\n        var props = keysIn(source);\n        var propsIndex = -1;\n        var propsLength = props.length;\n\n        while (++propsIndex < propsLength) {\n          var key = props[propsIndex];\n          var value = object[key];\n\n          if (value === undefined ||\n              (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n            object[key] = source[key];\n          }\n        }\n      }\n\n      return object;\n    });\n\n    /**\n     * This method is like `_.defaults` except that it recursively assigns\n     * default properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaults\n     * @example\n     *\n     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n     * // => { 'a': { 'b': 2, 'c': 3 } }\n     */\n    var defaultsDeep = baseRest(function(args) {\n      args.push(undefined, customDefaultsMerge);\n      return apply(mergeWith, undefined, args);\n    });\n\n    /**\n     * This method is like `_.find` except that it returns the key of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findKey(users, function(o) { return o.age < 40; });\n     * // => 'barney' (iteration order is not guaranteed)\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findKey(users, { 'age': 1, 'active': true });\n     * // => 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findKey(users, 'active');\n     * // => 'barney'\n     */\n    function findKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n    }\n\n    /**\n     * This method is like `_.findKey` except that it iterates over elements of\n     * a collection in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findLastKey(users, function(o) { return o.age < 40; });\n     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastKey(users, { 'age': 36, 'active': true });\n     * // => 'barney'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastKey(users, 'active');\n     * // => 'pebbles'\n     */\n    function findLastKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n    }\n\n    /**\n     * Iterates over own and inherited enumerable string keyed properties of an\n     * object and invokes `iteratee` for each property. The iteratee is invoked\n     * with three arguments: (value, key, object). Iteratee functions may exit\n     * iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forInRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forIn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n     */\n    function forIn(object, iteratee) {\n      return object == null\n        ? object\n        : baseFor(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * This method is like `_.forIn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forInRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n     */\n    function forInRight(object, iteratee) {\n      return object == null\n        ? object\n        : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * Iterates over own enumerable string keyed properties of an object and\n     * invokes `iteratee` for each property. The iteratee is invoked with three\n     * arguments: (value, key, object). Iteratee functions may exit iteration\n     * early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwnRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forOwn(object, iteratee) {\n      return object && baseForOwn(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forOwn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwnRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n     */\n    function forOwnRight(object, iteratee) {\n      return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an array of function property names from own enumerable properties\n     * of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functionsIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functions(new Foo);\n     * // => ['a', 'b']\n     */\n    function functions(object) {\n      return object == null ? [] : baseFunctions(object, keys(object));\n    }\n\n    /**\n     * Creates an array of function property names from own and inherited\n     * enumerable properties of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functions\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functionsIn(new Foo);\n     * // => ['a', 'b', 'c']\n     */\n    function functionsIn(object) {\n      return object == null ? [] : baseFunctions(object, keysIn(object));\n    }\n\n    /**\n     * Gets the value at `path` of `object`. If the resolved value is\n     * `undefined`, the `defaultValue` is returned in its place.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.get(object, 'a[0].b.c');\n     * // => 3\n     *\n     * _.get(object, ['a', '0', 'b', 'c']);\n     * // => 3\n     *\n     * _.get(object, 'a.b.c', 'default');\n     * // => 'default'\n     */\n    function get(object, path, defaultValue) {\n      var result = object == null ? undefined : baseGet(object, path);\n      return result === undefined ? defaultValue : result;\n    }\n\n    /**\n     * Checks if `path` is a direct property of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = { 'a': { 'b': 2 } };\n     * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.has(object, 'a');\n     * // => true\n     *\n     * _.has(object, 'a.b');\n     * // => true\n     *\n     * _.has(object, ['a', 'b']);\n     * // => true\n     *\n     * _.has(other, 'a');\n     * // => false\n     */\n    function has(object, path) {\n      return object != null && hasPath(object, path, baseHas);\n    }\n\n    /**\n     * Checks if `path` is a direct or inherited property of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.hasIn(object, 'a');\n     * // => true\n     *\n     * _.hasIn(object, 'a.b');\n     * // => true\n     *\n     * _.hasIn(object, ['a', 'b']);\n     * // => true\n     *\n     * _.hasIn(object, 'b');\n     * // => false\n     */\n    function hasIn(object, path) {\n      return object != null && hasPath(object, path, baseHasIn);\n    }\n\n    /**\n     * Creates an object composed of the inverted keys and values of `object`.\n     * If `object` contains duplicate values, subsequent values overwrite\n     * property assignments of previous values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invert(object);\n     * // => { '1': 'c', '2': 'b' }\n     */\n    var invert = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      result[value] = key;\n    }, constant(identity));\n\n    /**\n     * This method is like `_.invert` except that the inverted object is generated\n     * from the results of running each element of `object` thru `iteratee`. The\n     * corresponding inverted value of each inverted key is an array of keys\n     * responsible for generating the inverted value. The iteratee is invoked\n     * with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invertBy(object);\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     *\n     * _.invertBy(object, function(value) {\n     *   return 'group' + value;\n     * });\n     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n     */\n    var invertBy = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      if (hasOwnProperty.call(result, value)) {\n        result[value].push(key);\n      } else {\n        result[value] = [key];\n      }\n    }, getIteratee);\n\n    /**\n     * Invokes the method at `path` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n     *\n     * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n     * // => [2, 3]\n     */\n    var invoke = baseRest(baseInvoke);\n\n    /**\n     * Creates an array of the own enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects. See the\n     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * for more details.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keys(new Foo);\n     * // => ['a', 'b'] (iteration order is not guaranteed)\n     *\n     * _.keys('hi');\n     * // => ['0', '1']\n     */\n    function keys(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keysIn(new Foo);\n     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n     */\n    function keysIn(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n    }\n\n    /**\n     * The opposite of `_.mapValues`; this method creates an object with the\n     * same values as `object` and keys generated by running each own enumerable\n     * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n     * with three arguments: (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapValues\n     * @example\n     *\n     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   return key + value;\n     * });\n     * // => { 'a1': 1, 'b2': 2 }\n     */\n    function mapKeys(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, iteratee(value, key, object), value);\n      });\n      return result;\n    }\n\n    /**\n     * Creates an object with the same keys as `object` and values generated\n     * by running each own enumerable string keyed property of `object` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapKeys\n     * @example\n     *\n     * var users = {\n     *   'fred':    { 'user': 'fred',    'age': 40 },\n     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n     * };\n     *\n     * _.mapValues(users, function(o) { return o.age; });\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.mapValues(users, 'age');\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     */\n    function mapValues(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, key, iteratee(value, key, object));\n      });\n      return result;\n    }\n\n    /**\n     * This method is like `_.assign` except that it recursively merges own and\n     * inherited enumerable string keyed properties of source objects into the\n     * destination object. Source properties that resolve to `undefined` are\n     * skipped if a destination value exists. Array and plain object properties\n     * are merged recursively. Other objects and value types are overridden by\n     * assignment. Source objects are applied from left to right. Subsequent\n     * sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {\n     *   'a': [{ 'b': 2 }, { 'd': 4 }]\n     * };\n     *\n     * var other = {\n     *   'a': [{ 'c': 3 }, { 'e': 5 }]\n     * };\n     *\n     * _.merge(object, other);\n     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n     */\n    var merge = createAssigner(function(object, source, srcIndex) {\n      baseMerge(object, source, srcIndex);\n    });\n\n    /**\n     * This method is like `_.merge` except that it accepts `customizer` which\n     * is invoked to produce the merged values of the destination and source\n     * properties. If `customizer` returns `undefined`, merging is handled by the\n     * method instead. The `customizer` is invoked with six arguments:\n     * (objValue, srcValue, key, object, source, stack).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} customizer The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (_.isArray(objValue)) {\n     *     return objValue.concat(srcValue);\n     *   }\n     * }\n     *\n     * var object = { 'a': [1], 'b': [2] };\n     * var other = { 'a': [3], 'b': [4] };\n     *\n     * _.mergeWith(object, other, customizer);\n     * // => { 'a': [1, 3], 'b': [2, 4] }\n     */\n    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n      baseMerge(object, source, srcIndex, customizer);\n    });\n\n    /**\n     * The opposite of `_.pick`; this method creates an object composed of the\n     * own and inherited enumerable property paths of `object` that are not omitted.\n     *\n     * **Note:** This method is considerably slower than `_.pick`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to omit.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omit(object, ['a', 'c']);\n     * // => { 'b': '2' }\n     */\n    var omit = flatRest(function(object, paths) {\n      var result = {};\n      if (object == null) {\n        return result;\n      }\n      var isDeep = false;\n      paths = arrayMap(paths, function(path) {\n        path = castPath(path, object);\n        isDeep || (isDeep = path.length > 1);\n        return path;\n      });\n      copyObject(object, getAllKeysIn(object), result);\n      if (isDeep) {\n        result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n      }\n      var length = paths.length;\n      while (length--) {\n        baseUnset(result, paths[length]);\n      }\n      return result;\n    });\n\n    /**\n     * The opposite of `_.pickBy`; this method creates an object composed of\n     * the own and inherited enumerable string keyed properties of `object` that\n     * `predicate` doesn't return truthy for. The predicate is invoked with two\n     * arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omitBy(object, _.isNumber);\n     * // => { 'b': '2' }\n     */\n    function omitBy(object, predicate) {\n      return pickBy(object, negate(getIteratee(predicate)));\n    }\n\n    /**\n     * Creates an object composed of the picked `object` properties.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pick(object, ['a', 'c']);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var pick = flatRest(function(object, paths) {\n      return object == null ? {} : basePick(object, paths);\n    });\n\n    /**\n     * Creates an object composed of the `object` properties `predicate` returns\n     * truthy for. The predicate is invoked with two arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pickBy(object, _.isNumber);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    function pickBy(object, predicate) {\n      if (object == null) {\n        return {};\n      }\n      var props = arrayMap(getAllKeysIn(object), function(prop) {\n        return [prop];\n      });\n      predicate = getIteratee(predicate);\n      return basePickBy(object, props, function(value, path) {\n        return predicate(value, path[0]);\n      });\n    }\n\n    /**\n     * This method is like `_.get` except that if the resolved value is a\n     * function it's invoked with the `this` binding of its parent object and\n     * its result is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to resolve.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n     *\n     * _.result(object, 'a[0].b.c1');\n     * // => 3\n     *\n     * _.result(object, 'a[0].b.c2');\n     * // => 4\n     *\n     * _.result(object, 'a[0].b.c3', 'default');\n     * // => 'default'\n     *\n     * _.result(object, 'a[0].b.c3', _.constant('default'));\n     * // => 'default'\n     */\n    function result(object, path, defaultValue) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length;\n\n      // Ensure the loop is entered when path is empty.\n      if (!length) {\n        length = 1;\n        object = undefined;\n      }\n      while (++index < length) {\n        var value = object == null ? undefined : object[toKey(path[index])];\n        if (value === undefined) {\n          index = length;\n          value = defaultValue;\n        }\n        object = isFunction(value) ? value.call(object) : value;\n      }\n      return object;\n    }\n\n    /**\n     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n     * it's created. Arrays are created for missing index properties while objects\n     * are created for all other missing properties. Use `_.setWith` to customize\n     * `path` creation.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.set(object, 'a[0].b.c', 4);\n     * console.log(object.a[0].b.c);\n     * // => 4\n     *\n     * _.set(object, ['x', '0', 'y', 'z'], 5);\n     * console.log(object.x[0].y.z);\n     * // => 5\n     */\n    function set(object, path, value) {\n      return object == null ? object : baseSet(object, path, value);\n    }\n\n    /**\n     * This method is like `_.set` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.setWith(object, '[0][1]', 'a', Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function setWith(object, path, value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseSet(object, path, value, customizer);\n    }\n\n    /**\n     * Creates an array of own enumerable string keyed-value pairs for `object`\n     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n     * entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entries\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairs(new Foo);\n     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n     */\n    var toPairs = createToPairs(keys);\n\n    /**\n     * Creates an array of own and inherited enumerable string keyed-value pairs\n     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n     * or set, its entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entriesIn\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairsIn(new Foo);\n     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n     */\n    var toPairsIn = createToPairs(keysIn);\n\n    /**\n     * An alternative to `_.reduce`; this method transforms `object` to a new\n     * `accumulator` object which is the result of running each of its own\n     * enumerable string keyed properties thru `iteratee`, with each invocation\n     * potentially mutating the `accumulator` object. If `accumulator` is not\n     * provided, a new object with the same `[[Prototype]]` will be used. The\n     * iteratee is invoked with four arguments: (accumulator, value, key, object).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The custom accumulator value.\n     * @returns {*} Returns the accumulated value.\n     * @example\n     *\n     * _.transform([2, 3, 4], function(result, n) {\n     *   result.push(n *= n);\n     *   return n % 2 == 0;\n     * }, []);\n     * // => [4, 9]\n     *\n     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     */\n    function transform(object, iteratee, accumulator) {\n      var isArr = isArray(object),\n          isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n      iteratee = getIteratee(iteratee, 4);\n      if (accumulator == null) {\n        var Ctor = object && object.constructor;\n        if (isArrLike) {\n          accumulator = isArr ? new Ctor : [];\n        }\n        else if (isObject(object)) {\n          accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n        }\n        else {\n          accumulator = {};\n        }\n      }\n      (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n        return iteratee(accumulator, value, index, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * Removes the property at `path` of `object`.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n     * _.unset(object, 'a[0].b.c');\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     *\n     * _.unset(object, ['a', '0', 'b', 'c']);\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     */\n    function unset(object, path) {\n      return object == null ? true : baseUnset(object, path);\n    }\n\n    /**\n     * This method is like `_.set` except that accepts `updater` to produce the\n     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n     * is invoked with one argument: (value).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n     * console.log(object.a[0].b.c);\n     * // => 9\n     *\n     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n     * console.log(object.x[0].y.z);\n     * // => 0\n     */\n    function update(object, path, updater) {\n      return object == null ? object : baseUpdate(object, path, castFunction(updater));\n    }\n\n    /**\n     * This method is like `_.update` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function updateWith(object, path, updater, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n    }\n\n    /**\n     * Creates an array of the own enumerable string keyed property values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.values(new Foo);\n     * // => [1, 2] (iteration order is not guaranteed)\n     *\n     * _.values('hi');\n     * // => ['h', 'i']\n     */\n    function values(object) {\n      return object == null ? [] : baseValues(object, keys(object));\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable string keyed property\n     * values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.valuesIn(new Foo);\n     * // => [1, 2, 3] (iteration order is not guaranteed)\n     */\n    function valuesIn(object) {\n      return object == null ? [] : baseValues(object, keysIn(object));\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Clamps `number` within the inclusive `lower` and `upper` bounds.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Number\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     * @example\n     *\n     * _.clamp(-10, -5, 5);\n     * // => -5\n     *\n     * _.clamp(10, -5, 5);\n     * // => 5\n     */\n    function clamp(number, lower, upper) {\n      if (upper === undefined) {\n        upper = lower;\n        lower = undefined;\n      }\n      if (upper !== undefined) {\n        upper = toNumber(upper);\n        upper = upper === upper ? upper : 0;\n      }\n      if (lower !== undefined) {\n        lower = toNumber(lower);\n        lower = lower === lower ? lower : 0;\n      }\n      return baseClamp(toNumber(number), lower, upper);\n    }\n\n    /**\n     * Checks if `n` is between `start` and up to, but not including, `end`. If\n     * `end` is not specified, it's set to `start` with `start` then set to `0`.\n     * If `start` is greater than `end` the params are swapped to support\n     * negative ranges.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.3.0\n     * @category Number\n     * @param {number} number The number to check.\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     * @see _.range, _.rangeRight\n     * @example\n     *\n     * _.inRange(3, 2, 4);\n     * // => true\n     *\n     * _.inRange(4, 8);\n     * // => true\n     *\n     * _.inRange(4, 2);\n     * // => false\n     *\n     * _.inRange(2, 2);\n     * // => false\n     *\n     * _.inRange(1.2, 2);\n     * // => true\n     *\n     * _.inRange(5.2, 4);\n     * // => false\n     *\n     * _.inRange(-3, -2, -6);\n     * // => true\n     */\n    function inRange(number, start, end) {\n      start = toFinite(start);\n      if (end === undefined) {\n        end = start;\n        start = 0;\n      } else {\n        end = toFinite(end);\n      }\n      number = toNumber(number);\n      return baseInRange(number, start, end);\n    }\n\n    /**\n     * Produces a random number between the inclusive `lower` and `upper` bounds.\n     * If only one argument is provided a number between `0` and the given number\n     * is returned. If `floating` is `true`, or either `lower` or `upper` are\n     * floats, a floating-point number is returned instead of an integer.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Number\n     * @param {number} [lower=0] The lower bound.\n     * @param {number} [upper=1] The upper bound.\n     * @param {boolean} [floating] Specify returning a floating-point number.\n     * @returns {number} Returns the random number.\n     * @example\n     *\n     * _.random(0, 5);\n     * // => an integer between 0 and 5\n     *\n     * _.random(5);\n     * // => also an integer between 0 and 5\n     *\n     * _.random(5, true);\n     * // => a floating-point number between 0 and 5\n     *\n     * _.random(1.2, 5.2);\n     * // => a floating-point number between 1.2 and 5.2\n     */\n    function random(lower, upper, floating) {\n      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n        upper = floating = undefined;\n      }\n      if (floating === undefined) {\n        if (typeof upper == 'boolean') {\n          floating = upper;\n          upper = undefined;\n        }\n        else if (typeof lower == 'boolean') {\n          floating = lower;\n          lower = undefined;\n        }\n      }\n      if (lower === undefined && upper === undefined) {\n        lower = 0;\n        upper = 1;\n      }\n      else {\n        lower = toFinite(lower);\n        if (upper === undefined) {\n          upper = lower;\n          lower = 0;\n        } else {\n          upper = toFinite(upper);\n        }\n      }\n      if (lower > upper) {\n        var temp = lower;\n        lower = upper;\n        upper = temp;\n      }\n      if (floating || lower % 1 || upper % 1) {\n        var rand = nativeRandom();\n        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n      }\n      return baseRandom(lower, upper);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the camel cased string.\n     * @example\n     *\n     * _.camelCase('Foo Bar');\n     * // => 'fooBar'\n     *\n     * _.camelCase('--foo-bar--');\n     * // => 'fooBar'\n     *\n     * _.camelCase('__FOO_BAR__');\n     * // => 'fooBar'\n     */\n    var camelCase = createCompounder(function(result, word, index) {\n      word = word.toLowerCase();\n      return result + (index ? capitalize(word) : word);\n    });\n\n    /**\n     * Converts the first character of `string` to upper case and the remaining\n     * to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to capitalize.\n     * @returns {string} Returns the capitalized string.\n     * @example\n     *\n     * _.capitalize('FRED');\n     * // => 'Fred'\n     */\n    function capitalize(string) {\n      return upperFirst(toString(string).toLowerCase());\n    }\n\n    /**\n     * Deburrs `string` by converting\n     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n     * letters to basic Latin letters and removing\n     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to deburr.\n     * @returns {string} Returns the deburred string.\n     * @example\n     *\n     * _.deburr('déjà vu');\n     * // => 'deja vu'\n     */\n    function deburr(string) {\n      string = toString(string);\n      return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n    }\n\n    /**\n     * Checks if `string` ends with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=string.length] The position to search up to.\n     * @returns {boolean} Returns `true` if `string` ends with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.endsWith('abc', 'c');\n     * // => true\n     *\n     * _.endsWith('abc', 'b');\n     * // => false\n     *\n     * _.endsWith('abc', 'b', 2);\n     * // => true\n     */\n    function endsWith(string, target, position) {\n      string = toString(string);\n      target = baseToString(target);\n\n      var length = string.length;\n      position = position === undefined\n        ? length\n        : baseClamp(toInteger(position), 0, length);\n\n      var end = position;\n      position -= target.length;\n      return position >= 0 && string.slice(position, end) == target;\n    }\n\n    /**\n     * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n     * corresponding HTML entities.\n     *\n     * **Note:** No other characters are escaped. To escape additional\n     * characters use a third-party library like [_he_](https://mths.be/he).\n     *\n     * Though the \">\" character is escaped for symmetry, characters like\n     * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n     * unless they're part of a tag or unquoted attribute value. See\n     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n     * (under \"semi-related fun fact\") for more details.\n     *\n     * When working with HTML you should always\n     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n     * XSS vectors.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escape('fred, barney, & pebbles');\n     * // => 'fred, barney, &amp; pebbles'\n     */\n    function escape(string) {\n      string = toString(string);\n      return (string && reHasUnescapedHtml.test(string))\n        ? string.replace(reUnescapedHtml, escapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n     * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escapeRegExp('[lodash](https://lodash.com/)');\n     * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n     */\n    function escapeRegExp(string) {\n      string = toString(string);\n      return (string && reHasRegExpChar.test(string))\n        ? string.replace(reRegExpChar, '\\\\$&')\n        : string;\n    }\n\n    /**\n     * Converts `string` to\n     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the kebab cased string.\n     * @example\n     *\n     * _.kebabCase('Foo Bar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('fooBar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('__FOO_BAR__');\n     * // => 'foo-bar'\n     */\n    var kebabCase = createCompounder(function(result, word, index) {\n      return result + (index ? '-' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts `string`, as space separated words, to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.lowerCase('--Foo-Bar--');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('fooBar');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('__FOO_BAR__');\n     * // => 'foo bar'\n     */\n    var lowerCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts the first character of `string` to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.lowerFirst('Fred');\n     * // => 'fred'\n     *\n     * _.lowerFirst('FRED');\n     * // => 'fRED'\n     */\n    var lowerFirst = createCaseFirst('toLowerCase');\n\n    /**\n     * Pads `string` on the left and right sides if it's shorter than `length`.\n     * Padding characters are truncated if they can't be evenly divided by `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.pad('abc', 8);\n     * // => '  abc   '\n     *\n     * _.pad('abc', 8, '_-');\n     * // => '_-abc_-_'\n     *\n     * _.pad('abc', 3);\n     * // => 'abc'\n     */\n    function pad(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      if (!length || strLength >= length) {\n        return string;\n      }\n      var mid = (length - strLength) / 2;\n      return (\n        createPadding(nativeFloor(mid), chars) +\n        string +\n        createPadding(nativeCeil(mid), chars)\n      );\n    }\n\n    /**\n     * Pads `string` on the right side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padEnd('abc', 6);\n     * // => 'abc   '\n     *\n     * _.padEnd('abc', 6, '_-');\n     * // => 'abc_-_'\n     *\n     * _.padEnd('abc', 3);\n     * // => 'abc'\n     */\n    function padEnd(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (string + createPadding(length - strLength, chars))\n        : string;\n    }\n\n    /**\n     * Pads `string` on the left side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padStart('abc', 6);\n     * // => '   abc'\n     *\n     * _.padStart('abc', 6, '_-');\n     * // => '_-_abc'\n     *\n     * _.padStart('abc', 3);\n     * // => 'abc'\n     */\n    function padStart(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (createPadding(length - strLength, chars) + string)\n        : string;\n    }\n\n    /**\n     * Converts `string` to an integer of the specified radix. If `radix` is\n     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n     * hexadecimal, in which case a `radix` of `16` is used.\n     *\n     * **Note:** This method aligns with the\n     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category String\n     * @param {string} string The string to convert.\n     * @param {number} [radix=10] The radix to interpret `value` by.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.parseInt('08');\n     * // => 8\n     *\n     * _.map(['6', '08', '10'], _.parseInt);\n     * // => [6, 8, 10]\n     */\n    function parseInt(string, radix, guard) {\n      if (guard || radix == null) {\n        radix = 0;\n      } else if (radix) {\n        radix = +radix;\n      }\n      return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n    }\n\n    /**\n     * Repeats the given string `n` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to repeat.\n     * @param {number} [n=1] The number of times to repeat the string.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the repeated string.\n     * @example\n     *\n     * _.repeat('*', 3);\n     * // => '***'\n     *\n     * _.repeat('abc', 2);\n     * // => 'abcabc'\n     *\n     * _.repeat('abc', 0);\n     * // => ''\n     */\n    function repeat(string, n, guard) {\n      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      return baseRepeat(toString(string), n);\n    }\n\n    /**\n     * Replaces matches for `pattern` in `string` with `replacement`.\n     *\n     * **Note:** This method is based on\n     * [`String#replace`](https://mdn.io/String/replace).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to modify.\n     * @param {RegExp|string} pattern The pattern to replace.\n     * @param {Function|string} replacement The match replacement.\n     * @returns {string} Returns the modified string.\n     * @example\n     *\n     * _.replace('Hi Fred', 'Fred', 'Barney');\n     * // => 'Hi Barney'\n     */\n    function replace() {\n      var args = arguments,\n          string = toString(args[0]);\n\n      return args.length < 3 ? string : string.replace(args[1], args[2]);\n    }\n\n    /**\n     * Converts `string` to\n     * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the snake cased string.\n     * @example\n     *\n     * _.snakeCase('Foo Bar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('fooBar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('--FOO-BAR--');\n     * // => 'foo_bar'\n     */\n    var snakeCase = createCompounder(function(result, word, index) {\n      return result + (index ? '_' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Splits `string` by `separator`.\n     *\n     * **Note:** This method is based on\n     * [`String#split`](https://mdn.io/String/split).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to split.\n     * @param {RegExp|string} separator The separator pattern to split by.\n     * @param {number} [limit] The length to truncate results to.\n     * @returns {Array} Returns the string segments.\n     * @example\n     *\n     * _.split('a-b-c', '-', 2);\n     * // => ['a', 'b']\n     */\n    function split(string, separator, limit) {\n      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n        separator = limit = undefined;\n      }\n      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n      if (!limit) {\n        return [];\n      }\n      string = toString(string);\n      if (string && (\n            typeof separator == 'string' ||\n            (separator != null && !isRegExp(separator))\n          )) {\n        separator = baseToString(separator);\n        if (!separator && hasUnicode(string)) {\n          return castSlice(stringToArray(string), 0, limit);\n        }\n      }\n      return string.split(separator, limit);\n    }\n\n    /**\n     * Converts `string` to\n     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.1.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the start cased string.\n     * @example\n     *\n     * _.startCase('--foo-bar--');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('fooBar');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('__FOO_BAR__');\n     * // => 'FOO BAR'\n     */\n    var startCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + upperFirst(word);\n    });\n\n    /**\n     * Checks if `string` starts with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=0] The position to search from.\n     * @returns {boolean} Returns `true` if `string` starts with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.startsWith('abc', 'a');\n     * // => true\n     *\n     * _.startsWith('abc', 'b');\n     * // => false\n     *\n     * _.startsWith('abc', 'b', 1);\n     * // => true\n     */\n    function startsWith(string, target, position) {\n      string = toString(string);\n      position = position == null\n        ? 0\n        : baseClamp(toInteger(position), 0, string.length);\n\n      target = baseToString(target);\n      return string.slice(position, position + target.length) == target;\n    }\n\n    /**\n     * Creates a compiled template function that can interpolate data properties\n     * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n     * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n     * properties may be accessed as free variables in the template. If a setting\n     * object is given, it takes precedence over `_.templateSettings` values.\n     *\n     * **Note:** In the development build `_.template` utilizes\n     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n     * for easier debugging.\n     *\n     * For more information on precompiling templates see\n     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n     *\n     * For more information on Chrome extension sandboxes see\n     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The template string.\n     * @param {Object} [options={}] The options object.\n     * @param {RegExp} [options.escape=_.templateSettings.escape]\n     *  The HTML \"escape\" delimiter.\n     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n     *  The \"evaluate\" delimiter.\n     * @param {Object} [options.imports=_.templateSettings.imports]\n     *  An object to import into the template as free variables.\n     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n     *  The \"interpolate\" delimiter.\n     * @param {string} [options.sourceURL='lodash.templateSources[n]']\n     *  The sourceURL of the compiled template.\n     * @param {string} [options.variable='obj']\n     *  The data object variable name.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the compiled template function.\n     * @example\n     *\n     * // Use the \"interpolate\" delimiter to create a compiled template.\n     * var compiled = _.template('hello <%= user %>!');\n     * compiled({ 'user': 'fred' });\n     * // => 'hello fred!'\n     *\n     * // Use the HTML \"escape\" delimiter to escape data property values.\n     * var compiled = _.template('<b><%- value %></b>');\n     * compiled({ 'value': '<script>' });\n     * // => '<b>&lt;script&gt;</b>'\n     *\n     * // Use the \"evaluate\" delimiter to execute JavaScript and generate HTML.\n     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the internal `print` function in \"evaluate\" delimiters.\n     * var compiled = _.template('<% print(\"hello \" + user); %>!');\n     * compiled({ 'user': 'barney' });\n     * // => 'hello barney!'\n     *\n     * // Use the ES template literal delimiter as an \"interpolate\" delimiter.\n     * // Disable support by replacing the \"interpolate\" delimiter.\n     * var compiled = _.template('hello ${ user }!');\n     * compiled({ 'user': 'pebbles' });\n     * // => 'hello pebbles!'\n     *\n     * // Use backslashes to treat delimiters as plain text.\n     * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n     * compiled({ 'value': 'ignored' });\n     * // => '<%- value %>'\n     *\n     * // Use the `imports` option to import `jQuery` as `jq`.\n     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the `sourceURL` option to specify a custom sourceURL for the template.\n     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n     * compiled(data);\n     * // => Find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector.\n     *\n     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.\n     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n     * compiled.source;\n     * // => function(data) {\n     * //   var __t, __p = '';\n     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n     * //   return __p;\n     * // }\n     *\n     * // Use custom template delimiters.\n     * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n     * var compiled = _.template('hello {{ user }}!');\n     * compiled({ 'user': 'mustache' });\n     * // => 'hello mustache!'\n     *\n     * // Use the `source` property to inline compiled templates for meaningful\n     * // line numbers in error messages and stack traces.\n     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\\\n     *   var JST = {\\\n     *     \"main\": ' + _.template(mainText).source + '\\\n     *   };\\\n     * ');\n     */\n    function template(string, options, guard) {\n      // Based on John Resig's `tmpl` implementation\n      // (http://ejohn.org/blog/javascript-micro-templating/)\n      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n      var settings = lodash.templateSettings;\n\n      if (guard && isIterateeCall(string, options, guard)) {\n        options = undefined;\n      }\n      string = toString(string);\n      options = assignInWith({}, options, settings, customDefaultsAssignIn);\n\n      var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),\n          importsKeys = keys(imports),\n          importsValues = baseValues(imports, importsKeys);\n\n      var isEscaping,\n          isEvaluating,\n          index = 0,\n          interpolate = options.interpolate || reNoMatch,\n          source = \"__p += '\";\n\n      // Compile the regexp to match each delimiter.\n      var reDelimiters = RegExp(\n        (options.escape || reNoMatch).source + '|' +\n        interpolate.source + '|' +\n        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n        (options.evaluate || reNoMatch).source + '|$'\n      , 'g');\n\n      // Use a sourceURL for easier debugging.\n      // The sourceURL gets injected into the source that's eval-ed, so be careful\n      // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in\n      // and escape the comment, thus injecting code that gets evaled.\n      var sourceURL = '//# sourceURL=' +\n        (hasOwnProperty.call(options, 'sourceURL')\n          ? (options.sourceURL + '').replace(/\\s/g, ' ')\n          : ('lodash.templateSources[' + (++templateCounter) + ']')\n        ) + '\\n';\n\n      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n        interpolateValue || (interpolateValue = esTemplateValue);\n\n        // Escape characters that can't be included in string literals.\n        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\n        // Replace delimiters with snippets.\n        if (escapeValue) {\n          isEscaping = true;\n          source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n        }\n        if (evaluateValue) {\n          isEvaluating = true;\n          source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n        }\n        if (interpolateValue) {\n          source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n        }\n        index = offset + match.length;\n\n        // The JS engine embedded in Adobe products needs `match` returned in\n        // order to produce the correct `offset` value.\n        return match;\n      });\n\n      source += \"';\\n\";\n\n      // If `variable` is not specified wrap a with-statement around the generated\n      // code to add the data object to the top of the scope chain.\n      var variable = hasOwnProperty.call(options, 'variable') && options.variable;\n      if (!variable) {\n        source = 'with (obj) {\\n' + source + '\\n}\\n';\n      }\n      // Throw an error if a forbidden character was found in `variable`, to prevent\n      // potential command injection attacks.\n      else if (reForbiddenIdentifierChars.test(variable)) {\n        throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);\n      }\n\n      // Cleanup code by stripping empty strings.\n      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n        .replace(reEmptyStringMiddle, '$1')\n        .replace(reEmptyStringTrailing, '$1;');\n\n      // Frame code as the function body.\n      source = 'function(' + (variable || 'obj') + ') {\\n' +\n        (variable\n          ? ''\n          : 'obj || (obj = {});\\n'\n        ) +\n        \"var __t, __p = ''\" +\n        (isEscaping\n           ? ', __e = _.escape'\n           : ''\n        ) +\n        (isEvaluating\n          ? ', __j = Array.prototype.join;\\n' +\n            \"function print() { __p += __j.call(arguments, '') }\\n\"\n          : ';\\n'\n        ) +\n        source +\n        'return __p\\n}';\n\n      var result = attempt(function() {\n        return Function(importsKeys, sourceURL + 'return ' + source)\n          .apply(undefined, importsValues);\n      });\n\n      // Provide the compiled function's source by its `toString` method or\n      // the `source` property as a convenience for inlining compiled templates.\n      result.source = source;\n      if (isError(result)) {\n        throw result;\n      }\n      return result;\n    }\n\n    /**\n     * Converts `string`, as a whole, to lower case just like\n     * [String#toLowerCase](https://mdn.io/toLowerCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.toLower('--Foo-Bar--');\n     * // => '--foo-bar--'\n     *\n     * _.toLower('fooBar');\n     * // => 'foobar'\n     *\n     * _.toLower('__FOO_BAR__');\n     * // => '__foo_bar__'\n     */\n    function toLower(value) {\n      return toString(value).toLowerCase();\n    }\n\n    /**\n     * Converts `string`, as a whole, to upper case just like\n     * [String#toUpperCase](https://mdn.io/toUpperCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.toUpper('--foo-bar--');\n     * // => '--FOO-BAR--'\n     *\n     * _.toUpper('fooBar');\n     * // => 'FOOBAR'\n     *\n     * _.toUpper('__foo_bar__');\n     * // => '__FOO_BAR__'\n     */\n    function toUpper(value) {\n      return toString(value).toUpperCase();\n    }\n\n    /**\n     * Removes leading and trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trim('  abc  ');\n     * // => 'abc'\n     *\n     * _.trim('-_-abc-_-', '_-');\n     * // => 'abc'\n     *\n     * _.map(['  foo  ', '  bar  '], _.trim);\n     * // => ['foo', 'bar']\n     */\n    function trim(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return baseTrim(string);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          chrSymbols = stringToArray(chars),\n          start = charsStartIndex(strSymbols, chrSymbols),\n          end = charsEndIndex(strSymbols, chrSymbols) + 1;\n\n      return castSlice(strSymbols, start, end).join('');\n    }\n\n    /**\n     * Removes trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimEnd('  abc  ');\n     * // => '  abc'\n     *\n     * _.trimEnd('-_-abc-_-', '_-');\n     * // => '-_-abc'\n     */\n    function trimEnd(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.slice(0, trimmedEndIndex(string) + 1);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n\n      return castSlice(strSymbols, 0, end).join('');\n    }\n\n    /**\n     * Removes leading whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimStart('  abc  ');\n     * // => 'abc  '\n     *\n     * _.trimStart('-_-abc-_-', '_-');\n     * // => 'abc-_-'\n     */\n    function trimStart(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.replace(reTrimStart, '');\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          start = charsStartIndex(strSymbols, stringToArray(chars));\n\n      return castSlice(strSymbols, start).join('');\n    }\n\n    /**\n     * Truncates `string` if it's longer than the given maximum string length.\n     * The last characters of the truncated string are replaced with the omission\n     * string which defaults to \"...\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to truncate.\n     * @param {Object} [options={}] The options object.\n     * @param {number} [options.length=30] The maximum string length.\n     * @param {string} [options.omission='...'] The string to indicate text is omitted.\n     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n     * @returns {string} Returns the truncated string.\n     * @example\n     *\n     * _.truncate('hi-diddly-ho there, neighborino');\n     * // => 'hi-diddly-ho there, neighbo...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': ' '\n     * });\n     * // => 'hi-diddly-ho there,...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': /,? +/\n     * });\n     * // => 'hi-diddly-ho there...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'omission': ' [...]'\n     * });\n     * // => 'hi-diddly-ho there, neig [...]'\n     */\n    function truncate(string, options) {\n      var length = DEFAULT_TRUNC_LENGTH,\n          omission = DEFAULT_TRUNC_OMISSION;\n\n      if (isObject(options)) {\n        var separator = 'separator' in options ? options.separator : separator;\n        length = 'length' in options ? toInteger(options.length) : length;\n        omission = 'omission' in options ? baseToString(options.omission) : omission;\n      }\n      string = toString(string);\n\n      var strLength = string.length;\n      if (hasUnicode(string)) {\n        var strSymbols = stringToArray(string);\n        strLength = strSymbols.length;\n      }\n      if (length >= strLength) {\n        return string;\n      }\n      var end = length - stringSize(omission);\n      if (end < 1) {\n        return omission;\n      }\n      var result = strSymbols\n        ? castSlice(strSymbols, 0, end).join('')\n        : string.slice(0, end);\n\n      if (separator === undefined) {\n        return result + omission;\n      }\n      if (strSymbols) {\n        end += (result.length - end);\n      }\n      if (isRegExp(separator)) {\n        if (string.slice(end).search(separator)) {\n          var match,\n              substring = result;\n\n          if (!separator.global) {\n            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');\n          }\n          separator.lastIndex = 0;\n          while ((match = separator.exec(substring))) {\n            var newEnd = match.index;\n          }\n          result = result.slice(0, newEnd === undefined ? end : newEnd);\n        }\n      } else if (string.indexOf(baseToString(separator), end) != end) {\n        var index = result.lastIndexOf(separator);\n        if (index > -1) {\n          result = result.slice(0, index);\n        }\n      }\n      return result + omission;\n    }\n\n    /**\n     * The inverse of `_.escape`; this method converts the HTML entities\n     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to\n     * their corresponding characters.\n     *\n     * **Note:** No other HTML entities are unescaped. To unescape additional\n     * HTML entities use a third-party library like [_he_](https://mths.be/he).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.6.0\n     * @category String\n     * @param {string} [string=''] The string to unescape.\n     * @returns {string} Returns the unescaped string.\n     * @example\n     *\n     * _.unescape('fred, barney, &amp; pebbles');\n     * // => 'fred, barney, & pebbles'\n     */\n    function unescape(string) {\n      string = toString(string);\n      return (string && reHasEscapedHtml.test(string))\n        ? string.replace(reEscapedHtml, unescapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Converts `string`, as space separated words, to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.upperCase('--foo-bar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('fooBar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('__foo_bar__');\n     * // => 'FOO BAR'\n     */\n    var upperCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toUpperCase();\n    });\n\n    /**\n     * Converts the first character of `string` to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.upperFirst('fred');\n     * // => 'Fred'\n     *\n     * _.upperFirst('FRED');\n     * // => 'FRED'\n     */\n    var upperFirst = createCaseFirst('toUpperCase');\n\n    /**\n     * Splits `string` into an array of its words.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {RegExp|string} [pattern] The pattern to match words.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the words of `string`.\n     * @example\n     *\n     * _.words('fred, barney, & pebbles');\n     * // => ['fred', 'barney', 'pebbles']\n     *\n     * _.words('fred, barney, & pebbles', /[^, ]+/g);\n     * // => ['fred', 'barney', '&', 'pebbles']\n     */\n    function words(string, pattern, guard) {\n      string = toString(string);\n      pattern = guard ? undefined : pattern;\n\n      if (pattern === undefined) {\n        return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n      }\n      return string.match(pattern) || [];\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Attempts to invoke `func`, returning either the result or the caught error\n     * object. Any additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Function} func The function to attempt.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {*} Returns the `func` result or error object.\n     * @example\n     *\n     * // Avoid throwing errors for invalid selectors.\n     * var elements = _.attempt(function(selector) {\n     *   return document.querySelectorAll(selector);\n     * }, '>_>');\n     *\n     * if (_.isError(elements)) {\n     *   elements = [];\n     * }\n     */\n    var attempt = baseRest(function(func, args) {\n      try {\n        return apply(func, undefined, args);\n      } catch (e) {\n        return isError(e) ? e : new Error(e);\n      }\n    });\n\n    /**\n     * Binds methods of an object to the object itself, overwriting the existing\n     * method.\n     *\n     * **Note:** This method doesn't set the \"length\" property of bound functions.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Object} object The object to bind and assign the bound methods to.\n     * @param {...(string|string[])} methodNames The object method names to bind.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var view = {\n     *   'label': 'docs',\n     *   'click': function() {\n     *     console.log('clicked ' + this.label);\n     *   }\n     * };\n     *\n     * _.bindAll(view, ['click']);\n     * jQuery(element).on('click', view.click);\n     * // => Logs 'clicked docs' when clicked.\n     */\n    var bindAll = flatRest(function(object, methodNames) {\n      arrayEach(methodNames, function(key) {\n        key = toKey(key);\n        baseAssignValue(object, key, bind(object[key], object));\n      });\n      return object;\n    });\n\n    /**\n     * Creates a function that iterates over `pairs` and invokes the corresponding\n     * function of the first predicate to return truthy. The predicate-function\n     * pairs are invoked with the `this` binding and arguments of the created\n     * function.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Array} pairs The predicate-function pairs.\n     * @returns {Function} Returns the new composite function.\n     * @example\n     *\n     * var func = _.cond([\n     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],\n     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],\n     *   [_.stubTrue,                      _.constant('no match')]\n     * ]);\n     *\n     * func({ 'a': 1, 'b': 2 });\n     * // => 'matches A'\n     *\n     * func({ 'a': 0, 'b': 1 });\n     * // => 'matches B'\n     *\n     * func({ 'a': '1', 'b': '2' });\n     * // => 'no match'\n     */\n    function cond(pairs) {\n      var length = pairs == null ? 0 : pairs.length,\n          toIteratee = getIteratee();\n\n      pairs = !length ? [] : arrayMap(pairs, function(pair) {\n        if (typeof pair[1] != 'function') {\n          throw new TypeError(FUNC_ERROR_TEXT);\n        }\n        return [toIteratee(pair[0]), pair[1]];\n      });\n\n      return baseRest(function(args) {\n        var index = -1;\n        while (++index < length) {\n          var pair = pairs[index];\n          if (apply(pair[0], this, args)) {\n            return apply(pair[1], this, args);\n          }\n        }\n      });\n    }\n\n    /**\n     * Creates a function that invokes the predicate properties of `source` with\n     * the corresponding property values of a given object, returning `true` if\n     * all predicates return truthy, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.conformsTo` with\n     * `source` partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 2, 'b': 1 },\n     *   { 'a': 1, 'b': 2 }\n     * ];\n     *\n     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));\n     * // => [{ 'a': 1, 'b': 2 }]\n     */\n    function conforms(source) {\n      return baseConforms(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that returns `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {*} value The value to return from the new function.\n     * @returns {Function} Returns the new constant function.\n     * @example\n     *\n     * var objects = _.times(2, _.constant({ 'a': 1 }));\n     *\n     * console.log(objects);\n     * // => [{ 'a': 1 }, { 'a': 1 }]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => true\n     */\n    function constant(value) {\n      return function() {\n        return value;\n      };\n    }\n\n    /**\n     * Checks `value` to determine whether a default value should be returned in\n     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,\n     * or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Util\n     * @param {*} value The value to check.\n     * @param {*} defaultValue The default value.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * _.defaultTo(1, 10);\n     * // => 1\n     *\n     * _.defaultTo(undefined, 10);\n     * // => 10\n     */\n    function defaultTo(value, defaultValue) {\n      return (value == null || value !== value) ? defaultValue : value;\n    }\n\n    /**\n     * Creates a function that returns the result of invoking the given functions\n     * with the `this` binding of the created function, where each successive\n     * invocation is supplied the return value of the previous.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flowRight\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flow([_.add, square]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flow = createFlow();\n\n    /**\n     * This method is like `_.flow` except that it creates a function that\n     * invokes the given functions from right to left.\n     *\n     * @static\n     * @since 3.0.0\n     * @memberOf _\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flow\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flowRight([square, _.add]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flowRight = createFlow(true);\n\n    /**\n     * This method returns the first argument it receives.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {*} value Any value.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     *\n     * console.log(_.identity(object) === object);\n     * // => true\n     */\n    function identity(value) {\n      return value;\n    }\n\n    /**\n     * Creates a function that invokes `func` with the arguments of the created\n     * function. If `func` is a property name, the created function returns the\n     * property value for a given element. If `func` is an array or object, the\n     * created function returns `true` for elements that contain the equivalent\n     * source properties, otherwise it returns `false`.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Util\n     * @param {*} [func=_.identity] The value to convert to a callback.\n     * @returns {Function} Returns the callback.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));\n     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, _.iteratee(['user', 'fred']));\n     * // => [{ 'user': 'fred', 'age': 40 }]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, _.iteratee('user'));\n     * // => ['barney', 'fred']\n     *\n     * // Create custom iteratee shorthands.\n     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {\n     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {\n     *     return func.test(string);\n     *   };\n     * });\n     *\n     * _.filter(['abc', 'def'], /ef/);\n     * // => ['def']\n     */\n    function iteratee(func) {\n      return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between a given\n     * object and `source`, returning `true` if the given object has equivalent\n     * property values, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.isMatch` with `source`\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));\n     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matches(source) {\n      return baseMatches(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between the\n     * value at `path` of a given object to `srcValue`, returning `true` if the\n     * object value is equivalent, else `false`.\n     *\n     * **Note:** Partial comparisons will match empty array and empty object\n     * `srcValue` values against any array or object value, respectively. See\n     * `_.isEqual` for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.find(objects, _.matchesProperty('a', 4));\n     * // => { 'a': 4, 'b': 5, 'c': 6 }\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matchesProperty(path, srcValue) {\n      return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that invokes the method at `path` of a given object.\n     * Any additional arguments are provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': _.constant(2) } },\n     *   { 'a': { 'b': _.constant(1) } }\n     * ];\n     *\n     * _.map(objects, _.method('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(objects, _.method(['a', 'b']));\n     * // => [2, 1]\n     */\n    var method = baseRest(function(path, args) {\n      return function(object) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * The opposite of `_.method`; this method creates a function that invokes\n     * the method at a given path of `object`. Any additional arguments are\n     * provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var array = _.times(3, _.constant),\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n     * // => [2, 0]\n     */\n    var methodOf = baseRest(function(object, args) {\n      return function(path) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * Adds all own enumerable string keyed function properties of a source\n     * object to the destination object. If `object` is a function, then methods\n     * are added to its prototype as well.\n     *\n     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n     * avoid conflicts caused by modifying the original.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Function|Object} [object=lodash] The destination object.\n     * @param {Object} source The object of functions to add.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.\n     * @returns {Function|Object} Returns `object`.\n     * @example\n     *\n     * function vowels(string) {\n     *   return _.filter(string, function(v) {\n     *     return /[aeiou]/i.test(v);\n     *   });\n     * }\n     *\n     * _.mixin({ 'vowels': vowels });\n     * _.vowels('fred');\n     * // => ['e']\n     *\n     * _('fred').vowels().value();\n     * // => ['e']\n     *\n     * _.mixin({ 'vowels': vowels }, { 'chain': false });\n     * _('fred').vowels();\n     * // => ['e']\n     */\n    function mixin(object, source, options) {\n      var props = keys(source),\n          methodNames = baseFunctions(source, props);\n\n      if (options == null &&\n          !(isObject(source) && (methodNames.length || !props.length))) {\n        options = source;\n        source = object;\n        object = this;\n        methodNames = baseFunctions(source, keys(source));\n      }\n      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,\n          isFunc = isFunction(object);\n\n      arrayEach(methodNames, function(methodName) {\n        var func = source[methodName];\n        object[methodName] = func;\n        if (isFunc) {\n          object.prototype[methodName] = function() {\n            var chainAll = this.__chain__;\n            if (chain || chainAll) {\n              var result = object(this.__wrapped__),\n                  actions = result.__actions__ = copyArray(this.__actions__);\n\n              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\n              result.__chain__ = chainAll;\n              return result;\n            }\n            return func.apply(object, arrayPush([this.value()], arguments));\n          };\n        }\n      });\n\n      return object;\n    }\n\n    /**\n     * Reverts the `_` variable to its previous value and returns a reference to\n     * the `lodash` function.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @returns {Function} Returns the `lodash` function.\n     * @example\n     *\n     * var lodash = _.noConflict();\n     */\n    function noConflict() {\n      if (root._ === this) {\n        root._ = oldDash;\n      }\n      return this;\n    }\n\n    /**\n     * This method returns `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Util\n     * @example\n     *\n     * _.times(2, _.noop);\n     * // => [undefined, undefined]\n     */\n    function noop() {\n      // No operation performed.\n    }\n\n    /**\n     * Creates a function that gets the argument at index `n`. If `n` is negative,\n     * the nth argument from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [n=0] The index of the argument to return.\n     * @returns {Function} Returns the new pass-thru function.\n     * @example\n     *\n     * var func = _.nthArg(1);\n     * func('a', 'b', 'c', 'd');\n     * // => 'b'\n     *\n     * var func = _.nthArg(-2);\n     * func('a', 'b', 'c', 'd');\n     * // => 'c'\n     */\n    function nthArg(n) {\n      n = toInteger(n);\n      return baseRest(function(args) {\n        return baseNth(args, n);\n      });\n    }\n\n    /**\n     * Creates a function that invokes `iteratees` with the arguments it receives\n     * and returns their results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to invoke.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.over([Math.max, Math.min]);\n     *\n     * func(1, 2, 3, 4);\n     * // => [4, 1]\n     */\n    var over = createOver(arrayMap);\n\n    /**\n     * Creates a function that checks if **all** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overEvery([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => false\n     *\n     * func(NaN);\n     * // => false\n     */\n    var overEvery = createOver(arrayEvery);\n\n    /**\n     * Creates a function that checks if **any** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overSome([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => true\n     *\n     * func(NaN);\n     * // => false\n     *\n     * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])\n     * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])\n     */\n    var overSome = createOver(arraySome);\n\n    /**\n     * Creates a function that returns the value at `path` of a given object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': 2 } },\n     *   { 'a': { 'b': 1 } }\n     * ];\n     *\n     * _.map(objects, _.property('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n     * // => [1, 2]\n     */\n    function property(path) {\n      return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n    }\n\n    /**\n     * The opposite of `_.property`; this method creates a function that returns\n     * the value at a given path of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var array = [0, 1, 2],\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n     * // => [2, 0]\n     */\n    function propertyOf(object) {\n      return function(path) {\n        return object == null ? undefined : baseGet(object, path);\n      };\n    }\n\n    /**\n     * Creates an array of numbers (positive and/or negative) progressing from\n     * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n     * `start` is specified without an `end` or `step`. If `end` is not specified,\n     * it's set to `start` with `start` then set to `0`.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.rangeRight\n     * @example\n     *\n     * _.range(4);\n     * // => [0, 1, 2, 3]\n     *\n     * _.range(-4);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 5);\n     * // => [1, 2, 3, 4]\n     *\n     * _.range(0, 20, 5);\n     * // => [0, 5, 10, 15]\n     *\n     * _.range(0, -4, -1);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.range(0);\n     * // => []\n     */\n    var range = createRange();\n\n    /**\n     * This method is like `_.range` except that it populates values in\n     * descending order.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.range\n     * @example\n     *\n     * _.rangeRight(4);\n     * // => [3, 2, 1, 0]\n     *\n     * _.rangeRight(-4);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 5);\n     * // => [4, 3, 2, 1]\n     *\n     * _.rangeRight(0, 20, 5);\n     * // => [15, 10, 5, 0]\n     *\n     * _.rangeRight(0, -4, -1);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.rangeRight(0);\n     * // => []\n     */\n    var rangeRight = createRange(true);\n\n    /**\n     * This method returns a new empty array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Array} Returns the new empty array.\n     * @example\n     *\n     * var arrays = _.times(2, _.stubArray);\n     *\n     * console.log(arrays);\n     * // => [[], []]\n     *\n     * console.log(arrays[0] === arrays[1]);\n     * // => false\n     */\n    function stubArray() {\n      return [];\n    }\n\n    /**\n     * This method returns `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `false`.\n     * @example\n     *\n     * _.times(2, _.stubFalse);\n     * // => [false, false]\n     */\n    function stubFalse() {\n      return false;\n    }\n\n    /**\n     * This method returns a new empty object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Object} Returns the new empty object.\n     * @example\n     *\n     * var objects = _.times(2, _.stubObject);\n     *\n     * console.log(objects);\n     * // => [{}, {}]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => false\n     */\n    function stubObject() {\n      return {};\n    }\n\n    /**\n     * This method returns an empty string.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {string} Returns the empty string.\n     * @example\n     *\n     * _.times(2, _.stubString);\n     * // => ['', '']\n     */\n    function stubString() {\n      return '';\n    }\n\n    /**\n     * This method returns `true`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `true`.\n     * @example\n     *\n     * _.times(2, _.stubTrue);\n     * // => [true, true]\n     */\n    function stubTrue() {\n      return true;\n    }\n\n    /**\n     * Invokes the iteratee `n` times, returning an array of the results of\n     * each invocation. The iteratee is invoked with one argument; (index).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} n The number of times to invoke `iteratee`.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.times(3, String);\n     * // => ['0', '1', '2']\n     *\n     *  _.times(4, _.constant(0));\n     * // => [0, 0, 0, 0]\n     */\n    function times(n, iteratee) {\n      n = toInteger(n);\n      if (n < 1 || n > MAX_SAFE_INTEGER) {\n        return [];\n      }\n      var index = MAX_ARRAY_LENGTH,\n          length = nativeMin(n, MAX_ARRAY_LENGTH);\n\n      iteratee = getIteratee(iteratee);\n      n -= MAX_ARRAY_LENGTH;\n\n      var result = baseTimes(length, iteratee);\n      while (++index < n) {\n        iteratee(index);\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a property path array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the new property path array.\n     * @example\n     *\n     * _.toPath('a.b.c');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toPath('a[0].b.c');\n     * // => ['a', '0', 'b', 'c']\n     */\n    function toPath(value) {\n      if (isArray(value)) {\n        return arrayMap(value, toKey);\n      }\n      return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));\n    }\n\n    /**\n     * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {string} [prefix=''] The value to prefix the ID with.\n     * @returns {string} Returns the unique ID.\n     * @example\n     *\n     * _.uniqueId('contact_');\n     * // => 'contact_104'\n     *\n     * _.uniqueId();\n     * // => '105'\n     */\n    function uniqueId(prefix) {\n      var id = ++idCounter;\n      return toString(prefix) + id;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Adds two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {number} augend The first number in an addition.\n     * @param {number} addend The second number in an addition.\n     * @returns {number} Returns the total.\n     * @example\n     *\n     * _.add(6, 4);\n     * // => 10\n     */\n    var add = createMathOperation(function(augend, addend) {\n      return augend + addend;\n    }, 0);\n\n    /**\n     * Computes `number` rounded up to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round up.\n     * @param {number} [precision=0] The precision to round up to.\n     * @returns {number} Returns the rounded up number.\n     * @example\n     *\n     * _.ceil(4.006);\n     * // => 5\n     *\n     * _.ceil(6.004, 2);\n     * // => 6.01\n     *\n     * _.ceil(6040, -2);\n     * // => 6100\n     */\n    var ceil = createRound('ceil');\n\n    /**\n     * Divide two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} dividend The first number in a division.\n     * @param {number} divisor The second number in a division.\n     * @returns {number} Returns the quotient.\n     * @example\n     *\n     * _.divide(6, 4);\n     * // => 1.5\n     */\n    var divide = createMathOperation(function(dividend, divisor) {\n      return dividend / divisor;\n    }, 1);\n\n    /**\n     * Computes `number` rounded down to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round down.\n     * @param {number} [precision=0] The precision to round down to.\n     * @returns {number} Returns the rounded down number.\n     * @example\n     *\n     * _.floor(4.006);\n     * // => 4\n     *\n     * _.floor(0.046, 2);\n     * // => 0.04\n     *\n     * _.floor(4060, -2);\n     * // => 4000\n     */\n    var floor = createRound('floor');\n\n    /**\n     * Computes the maximum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * _.max([4, 2, 8, 6]);\n     * // => 8\n     *\n     * _.max([]);\n     * // => undefined\n     */\n    function max(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseGt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.max` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.maxBy(objects, function(o) { return o.n; });\n     * // => { 'n': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.maxBy(objects, 'n');\n     * // => { 'n': 2 }\n     */\n    function maxBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)\n        : undefined;\n    }\n\n    /**\n     * Computes the mean of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * _.mean([4, 2, 8, 6]);\n     * // => 5\n     */\n    function mean(array) {\n      return baseMean(array, identity);\n    }\n\n    /**\n     * This method is like `_.mean` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be averaged.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.meanBy(objects, function(o) { return o.n; });\n     * // => 5\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.meanBy(objects, 'n');\n     * // => 5\n     */\n    function meanBy(array, iteratee) {\n      return baseMean(array, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * Computes the minimum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * _.min([4, 2, 8, 6]);\n     * // => 2\n     *\n     * _.min([]);\n     * // => undefined\n     */\n    function min(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseLt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.min` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.minBy(objects, function(o) { return o.n; });\n     * // => { 'n': 1 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.minBy(objects, 'n');\n     * // => { 'n': 1 }\n     */\n    function minBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)\n        : undefined;\n    }\n\n    /**\n     * Multiply two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} multiplier The first number in a multiplication.\n     * @param {number} multiplicand The second number in a multiplication.\n     * @returns {number} Returns the product.\n     * @example\n     *\n     * _.multiply(6, 4);\n     * // => 24\n     */\n    var multiply = createMathOperation(function(multiplier, multiplicand) {\n      return multiplier * multiplicand;\n    }, 1);\n\n    /**\n     * Computes `number` rounded to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round.\n     * @param {number} [precision=0] The precision to round to.\n     * @returns {number} Returns the rounded number.\n     * @example\n     *\n     * _.round(4.006);\n     * // => 4\n     *\n     * _.round(4.006, 2);\n     * // => 4.01\n     *\n     * _.round(4060, -2);\n     * // => 4100\n     */\n    var round = createRound('round');\n\n    /**\n     * Subtract two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {number} minuend The first number in a subtraction.\n     * @param {number} subtrahend The second number in a subtraction.\n     * @returns {number} Returns the difference.\n     * @example\n     *\n     * _.subtract(6, 4);\n     * // => 2\n     */\n    var subtract = createMathOperation(function(minuend, subtrahend) {\n      return minuend - subtrahend;\n    }, 0);\n\n    /**\n     * Computes the sum of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * _.sum([4, 2, 8, 6]);\n     * // => 20\n     */\n    function sum(array) {\n      return (array && array.length)\n        ? baseSum(array, identity)\n        : 0;\n    }\n\n    /**\n     * This method is like `_.sum` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be summed.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.sumBy(objects, function(o) { return o.n; });\n     * // => 20\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sumBy(objects, 'n');\n     * // => 20\n     */\n    function sumBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSum(array, getIteratee(iteratee, 2))\n        : 0;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return wrapped values in chain sequences.\n    lodash.after = after;\n    lodash.ary = ary;\n    lodash.assign = assign;\n    lodash.assignIn = assignIn;\n    lodash.assignInWith = assignInWith;\n    lodash.assignWith = assignWith;\n    lodash.at = at;\n    lodash.before = before;\n    lodash.bind = bind;\n    lodash.bindAll = bindAll;\n    lodash.bindKey = bindKey;\n    lodash.castArray = castArray;\n    lodash.chain = chain;\n    lodash.chunk = chunk;\n    lodash.compact = compact;\n    lodash.concat = concat;\n    lodash.cond = cond;\n    lodash.conforms = conforms;\n    lodash.constant = constant;\n    lodash.countBy = countBy;\n    lodash.create = create;\n    lodash.curry = curry;\n    lodash.curryRight = curryRight;\n    lodash.debounce = debounce;\n    lodash.defaults = defaults;\n    lodash.defaultsDeep = defaultsDeep;\n    lodash.defer = defer;\n    lodash.delay = delay;\n    lodash.difference = difference;\n    lodash.differenceBy = differenceBy;\n    lodash.differenceWith = differenceWith;\n    lodash.drop = drop;\n    lodash.dropRight = dropRight;\n    lodash.dropRightWhile = dropRightWhile;\n    lodash.dropWhile = dropWhile;\n    lodash.fill = fill;\n    lodash.filter = filter;\n    lodash.flatMap = flatMap;\n    lodash.flatMapDeep = flatMapDeep;\n    lodash.flatMapDepth = flatMapDepth;\n    lodash.flatten = flatten;\n    lodash.flattenDeep = flattenDeep;\n    lodash.flattenDepth = flattenDepth;\n    lodash.flip = flip;\n    lodash.flow = flow;\n    lodash.flowRight = flowRight;\n    lodash.fromPairs = fromPairs;\n    lodash.functions = functions;\n    lodash.functionsIn = functionsIn;\n    lodash.groupBy = groupBy;\n    lodash.initial = initial;\n    lodash.intersection = intersection;\n    lodash.intersectionBy = intersectionBy;\n    lodash.intersectionWith = intersectionWith;\n    lodash.invert = invert;\n    lodash.invertBy = invertBy;\n    lodash.invokeMap = invokeMap;\n    lodash.iteratee = iteratee;\n    lodash.keyBy = keyBy;\n    lodash.keys = keys;\n    lodash.keysIn = keysIn;\n    lodash.map = map;\n    lodash.mapKeys = mapKeys;\n    lodash.mapValues = mapValues;\n    lodash.matches = matches;\n    lodash.matchesProperty = matchesProperty;\n    lodash.memoize = memoize;\n    lodash.merge = merge;\n    lodash.mergeWith = mergeWith;\n    lodash.method = method;\n    lodash.methodOf = methodOf;\n    lodash.mixin = mixin;\n    lodash.negate = negate;\n    lodash.nthArg = nthArg;\n    lodash.omit = omit;\n    lodash.omitBy = omitBy;\n    lodash.once = once;\n    lodash.orderBy = orderBy;\n    lodash.over = over;\n    lodash.overArgs = overArgs;\n    lodash.overEvery = overEvery;\n    lodash.overSome = overSome;\n    lodash.partial = partial;\n    lodash.partialRight = partialRight;\n    lodash.partition = partition;\n    lodash.pick = pick;\n    lodash.pickBy = pickBy;\n    lodash.property = property;\n    lodash.propertyOf = propertyOf;\n    lodash.pull = pull;\n    lodash.pullAll = pullAll;\n    lodash.pullAllBy = pullAllBy;\n    lodash.pullAllWith = pullAllWith;\n    lodash.pullAt = pullAt;\n    lodash.range = range;\n    lodash.rangeRight = rangeRight;\n    lodash.rearg = rearg;\n    lodash.reject = reject;\n    lodash.remove = remove;\n    lodash.rest = rest;\n    lodash.reverse = reverse;\n    lodash.sampleSize = sampleSize;\n    lodash.set = set;\n    lodash.setWith = setWith;\n    lodash.shuffle = shuffle;\n    lodash.slice = slice;\n    lodash.sortBy = sortBy;\n    lodash.sortedUniq = sortedUniq;\n    lodash.sortedUniqBy = sortedUniqBy;\n    lodash.split = split;\n    lodash.spread = spread;\n    lodash.tail = tail;\n    lodash.take = take;\n    lodash.takeRight = takeRight;\n    lodash.takeRightWhile = takeRightWhile;\n    lodash.takeWhile = takeWhile;\n    lodash.tap = tap;\n    lodash.throttle = throttle;\n    lodash.thru = thru;\n    lodash.toArray = toArray;\n    lodash.toPairs = toPairs;\n    lodash.toPairsIn = toPairsIn;\n    lodash.toPath = toPath;\n    lodash.toPlainObject = toPlainObject;\n    lodash.transform = transform;\n    lodash.unary = unary;\n    lodash.union = union;\n    lodash.unionBy = unionBy;\n    lodash.unionWith = unionWith;\n    lodash.uniq = uniq;\n    lodash.uniqBy = uniqBy;\n    lodash.uniqWith = uniqWith;\n    lodash.unset = unset;\n    lodash.unzip = unzip;\n    lodash.unzipWith = unzipWith;\n    lodash.update = update;\n    lodash.updateWith = updateWith;\n    lodash.values = values;\n    lodash.valuesIn = valuesIn;\n    lodash.without = without;\n    lodash.words = words;\n    lodash.wrap = wrap;\n    lodash.xor = xor;\n    lodash.xorBy = xorBy;\n    lodash.xorWith = xorWith;\n    lodash.zip = zip;\n    lodash.zipObject = zipObject;\n    lodash.zipObjectDeep = zipObjectDeep;\n    lodash.zipWith = zipWith;\n\n    // Add aliases.\n    lodash.entries = toPairs;\n    lodash.entriesIn = toPairsIn;\n    lodash.extend = assignIn;\n    lodash.extendWith = assignInWith;\n\n    // Add methods to `lodash.prototype`.\n    mixin(lodash, lodash);\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return unwrapped values in chain sequences.\n    lodash.add = add;\n    lodash.attempt = attempt;\n    lodash.camelCase = camelCase;\n    lodash.capitalize = capitalize;\n    lodash.ceil = ceil;\n    lodash.clamp = clamp;\n    lodash.clone = clone;\n    lodash.cloneDeep = cloneDeep;\n    lodash.cloneDeepWith = cloneDeepWith;\n    lodash.cloneWith = cloneWith;\n    lodash.conformsTo = conformsTo;\n    lodash.deburr = deburr;\n    lodash.defaultTo = defaultTo;\n    lodash.divide = divide;\n    lodash.endsWith = endsWith;\n    lodash.eq = eq;\n    lodash.escape = escape;\n    lodash.escapeRegExp = escapeRegExp;\n    lodash.every = every;\n    lodash.find = find;\n    lodash.findIndex = findIndex;\n    lodash.findKey = findKey;\n    lodash.findLast = findLast;\n    lodash.findLastIndex = findLastIndex;\n    lodash.findLastKey = findLastKey;\n    lodash.floor = floor;\n    lodash.forEach = forEach;\n    lodash.forEachRight = forEachRight;\n    lodash.forIn = forIn;\n    lodash.forInRight = forInRight;\n    lodash.forOwn = forOwn;\n    lodash.forOwnRight = forOwnRight;\n    lodash.get = get;\n    lodash.gt = gt;\n    lodash.gte = gte;\n    lodash.has = has;\n    lodash.hasIn = hasIn;\n    lodash.head = head;\n    lodash.identity = identity;\n    lodash.includes = includes;\n    lodash.indexOf = indexOf;\n    lodash.inRange = inRange;\n    lodash.invoke = invoke;\n    lodash.isArguments = isArguments;\n    lodash.isArray = isArray;\n    lodash.isArrayBuffer = isArrayBuffer;\n    lodash.isArrayLike = isArrayLike;\n    lodash.isArrayLikeObject = isArrayLikeObject;\n    lodash.isBoolean = isBoolean;\n    lodash.isBuffer = isBuffer;\n    lodash.isDate = isDate;\n    lodash.isElement = isElement;\n    lodash.isEmpty = isEmpty;\n    lodash.isEqual = isEqual;\n    lodash.isEqualWith = isEqualWith;\n    lodash.isError = isError;\n    lodash.isFinite = isFinite;\n    lodash.isFunction = isFunction;\n    lodash.isInteger = isInteger;\n    lodash.isLength = isLength;\n    lodash.isMap = isMap;\n    lodash.isMatch = isMatch;\n    lodash.isMatchWith = isMatchWith;\n    lodash.isNaN = isNaN;\n    lodash.isNative = isNative;\n    lodash.isNil = isNil;\n    lodash.isNull = isNull;\n    lodash.isNumber = isNumber;\n    lodash.isObject = isObject;\n    lodash.isObjectLike = isObjectLike;\n    lodash.isPlainObject = isPlainObject;\n    lodash.isRegExp = isRegExp;\n    lodash.isSafeInteger = isSafeInteger;\n    lodash.isSet = isSet;\n    lodash.isString = isString;\n    lodash.isSymbol = isSymbol;\n    lodash.isTypedArray = isTypedArray;\n    lodash.isUndefined = isUndefined;\n    lodash.isWeakMap = isWeakMap;\n    lodash.isWeakSet = isWeakSet;\n    lodash.join = join;\n    lodash.kebabCase = kebabCase;\n    lodash.last = last;\n    lodash.lastIndexOf = lastIndexOf;\n    lodash.lowerCase = lowerCase;\n    lodash.lowerFirst = lowerFirst;\n    lodash.lt = lt;\n    lodash.lte = lte;\n    lodash.max = max;\n    lodash.maxBy = maxBy;\n    lodash.mean = mean;\n    lodash.meanBy = meanBy;\n    lodash.min = min;\n    lodash.minBy = minBy;\n    lodash.stubArray = stubArray;\n    lodash.stubFalse = stubFalse;\n    lodash.stubObject = stubObject;\n    lodash.stubString = stubString;\n    lodash.stubTrue = stubTrue;\n    lodash.multiply = multiply;\n    lodash.nth = nth;\n    lodash.noConflict = noConflict;\n    lodash.noop = noop;\n    lodash.now = now;\n    lodash.pad = pad;\n    lodash.padEnd = padEnd;\n    lodash.padStart = padStart;\n    lodash.parseInt = parseInt;\n    lodash.random = random;\n    lodash.reduce = reduce;\n    lodash.reduceRight = reduceRight;\n    lodash.repeat = repeat;\n    lodash.replace = replace;\n    lodash.result = result;\n    lodash.round = round;\n    lodash.runInContext = runInContext;\n    lodash.sample = sample;\n    lodash.size = size;\n    lodash.snakeCase = snakeCase;\n    lodash.some = some;\n    lodash.sortedIndex = sortedIndex;\n    lodash.sortedIndexBy = sortedIndexBy;\n    lodash.sortedIndexOf = sortedIndexOf;\n    lodash.sortedLastIndex = sortedLastIndex;\n    lodash.sortedLastIndexBy = sortedLastIndexBy;\n    lodash.sortedLastIndexOf = sortedLastIndexOf;\n    lodash.startCase = startCase;\n    lodash.startsWith = startsWith;\n    lodash.subtract = subtract;\n    lodash.sum = sum;\n    lodash.sumBy = sumBy;\n    lodash.template = template;\n    lodash.times = times;\n    lodash.toFinite = toFinite;\n    lodash.toInteger = toInteger;\n    lodash.toLength = toLength;\n    lodash.toLower = toLower;\n    lodash.toNumber = toNumber;\n    lodash.toSafeInteger = toSafeInteger;\n    lodash.toString = toString;\n    lodash.toUpper = toUpper;\n    lodash.trim = trim;\n    lodash.trimEnd = trimEnd;\n    lodash.trimStart = trimStart;\n    lodash.truncate = truncate;\n    lodash.unescape = unescape;\n    lodash.uniqueId = uniqueId;\n    lodash.upperCase = upperCase;\n    lodash.upperFirst = upperFirst;\n\n    // Add aliases.\n    lodash.each = forEach;\n    lodash.eachRight = forEachRight;\n    lodash.first = head;\n\n    mixin(lodash, (function() {\n      var source = {};\n      baseForOwn(lodash, function(func, methodName) {\n        if (!hasOwnProperty.call(lodash.prototype, methodName)) {\n          source[methodName] = func;\n        }\n      });\n      return source;\n    }()), { 'chain': false });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The semantic version number.\n     *\n     * @static\n     * @memberOf _\n     * @type {string}\n     */\n    lodash.VERSION = VERSION;\n\n    // Assign default placeholders.\n    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\n      lodash[methodName].placeholder = lodash;\n    });\n\n    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n    arrayEach(['drop', 'take'], function(methodName, index) {\n      LazyWrapper.prototype[methodName] = function(n) {\n        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);\n\n        var result = (this.__filtered__ && !index)\n          ? new LazyWrapper(this)\n          : this.clone();\n\n        if (result.__filtered__) {\n          result.__takeCount__ = nativeMin(n, result.__takeCount__);\n        } else {\n          result.__views__.push({\n            'size': nativeMin(n, MAX_ARRAY_LENGTH),\n            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')\n          });\n        }\n        return result;\n      };\n\n      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\n        return this.reverse()[methodName](n).reverse();\n      };\n    });\n\n    // Add `LazyWrapper` methods that accept an `iteratee` value.\n    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {\n      var type = index + 1,\n          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;\n\n      LazyWrapper.prototype[methodName] = function(iteratee) {\n        var result = this.clone();\n        result.__iteratees__.push({\n          'iteratee': getIteratee(iteratee, 3),\n          'type': type\n        });\n        result.__filtered__ = result.__filtered__ || isFilter;\n        return result;\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.head` and `_.last`.\n    arrayEach(['head', 'last'], function(methodName, index) {\n      var takeName = 'take' + (index ? 'Right' : '');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this[takeName](1).value()[0];\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.\n    arrayEach(['initial', 'tail'], function(methodName, index) {\n      var dropName = 'drop' + (index ? '' : 'Right');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);\n      };\n    });\n\n    LazyWrapper.prototype.compact = function() {\n      return this.filter(identity);\n    };\n\n    LazyWrapper.prototype.find = function(predicate) {\n      return this.filter(predicate).head();\n    };\n\n    LazyWrapper.prototype.findLast = function(predicate) {\n      return this.reverse().find(predicate);\n    };\n\n    LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {\n      if (typeof path == 'function') {\n        return new LazyWrapper(this);\n      }\n      return this.map(function(value) {\n        return baseInvoke(value, path, args);\n      });\n    });\n\n    LazyWrapper.prototype.reject = function(predicate) {\n      return this.filter(negate(getIteratee(predicate)));\n    };\n\n    LazyWrapper.prototype.slice = function(start, end) {\n      start = toInteger(start);\n\n      var result = this;\n      if (result.__filtered__ && (start > 0 || end < 0)) {\n        return new LazyWrapper(result);\n      }\n      if (start < 0) {\n        result = result.takeRight(-start);\n      } else if (start) {\n        result = result.drop(start);\n      }\n      if (end !== undefined) {\n        end = toInteger(end);\n        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n      }\n      return result;\n    };\n\n    LazyWrapper.prototype.takeRightWhile = function(predicate) {\n      return this.reverse().takeWhile(predicate).reverse();\n    };\n\n    LazyWrapper.prototype.toArray = function() {\n      return this.take(MAX_ARRAY_LENGTH);\n    };\n\n    // Add `LazyWrapper` methods to `lodash.prototype`.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),\n          isTaker = /^(?:head|last)$/.test(methodName),\n          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],\n          retUnwrapped = isTaker || /^find/.test(methodName);\n\n      if (!lodashFunc) {\n        return;\n      }\n      lodash.prototype[methodName] = function() {\n        var value = this.__wrapped__,\n            args = isTaker ? [1] : arguments,\n            isLazy = value instanceof LazyWrapper,\n            iteratee = args[0],\n            useLazy = isLazy || isArray(value);\n\n        var interceptor = function(value) {\n          var result = lodashFunc.apply(lodash, arrayPush([value], args));\n          return (isTaker && chainAll) ? result[0] : result;\n        };\n\n        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n          // Avoid lazy use if the iteratee has a \"length\" value other than `1`.\n          isLazy = useLazy = false;\n        }\n        var chainAll = this.__chain__,\n            isHybrid = !!this.__actions__.length,\n            isUnwrapped = retUnwrapped && !chainAll,\n            onlyLazy = isLazy && !isHybrid;\n\n        if (!retUnwrapped && useLazy) {\n          value = onlyLazy ? value : new LazyWrapper(this);\n          var result = func.apply(value, args);\n          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });\n          return new LodashWrapper(result, chainAll);\n        }\n        if (isUnwrapped && onlyLazy) {\n          return func.apply(this, args);\n        }\n        result = this.thru(interceptor);\n        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;\n      };\n    });\n\n    // Add `Array` methods to `lodash.prototype`.\n    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {\n      var func = arrayProto[methodName],\n          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n          retUnwrapped = /^(?:pop|shift)$/.test(methodName);\n\n      lodash.prototype[methodName] = function() {\n        var args = arguments;\n        if (retUnwrapped && !this.__chain__) {\n          var value = this.value();\n          return func.apply(isArray(value) ? value : [], args);\n        }\n        return this[chainName](function(value) {\n          return func.apply(isArray(value) ? value : [], args);\n        });\n      };\n    });\n\n    // Map minified method names to their real names.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var lodashFunc = lodash[methodName];\n      if (lodashFunc) {\n        var key = lodashFunc.name + '';\n        if (!hasOwnProperty.call(realNames, key)) {\n          realNames[key] = [];\n        }\n        realNames[key].push({ 'name': methodName, 'func': lodashFunc });\n      }\n    });\n\n    realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{\n      'name': 'wrapper',\n      'func': undefined\n    }];\n\n    // Add methods to `LazyWrapper`.\n    LazyWrapper.prototype.clone = lazyClone;\n    LazyWrapper.prototype.reverse = lazyReverse;\n    LazyWrapper.prototype.value = lazyValue;\n\n    // Add chain sequence methods to the `lodash` wrapper.\n    lodash.prototype.at = wrapperAt;\n    lodash.prototype.chain = wrapperChain;\n    lodash.prototype.commit = wrapperCommit;\n    lodash.prototype.next = wrapperNext;\n    lodash.prototype.plant = wrapperPlant;\n    lodash.prototype.reverse = wrapperReverse;\n    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\n\n    // Add lazy aliases.\n    lodash.prototype.first = lodash.prototype.head;\n\n    if (symIterator) {\n      lodash.prototype[symIterator] = wrapperToIterator;\n    }\n    return lodash;\n  });\n\n  /*--------------------------------------------------------------------------*/\n\n  // Export lodash.\n  var _ = runInContext();\n\n  // Some AMD build optimizers, like r.js, check for condition patterns like:\n  if (true) {\n    // Expose Lodash on the global object to prevent errors when Lodash is\n    // loaded by a script tag in the presence of an AMD loader.\n    // See http://requirejs.org/docs/errors.html#mismatch for more details.\n    // Use `_.noConflict` to remove Lodash from the global object.\n    root._ = _;\n\n    // Define as an anonymous module so, through path mapping, it can be\n    // referenced as the \"underscore\" module.\n    !(__WEBPACK_AMD_DEFINE_RESULT__ = (function() {\n      return _;\n    }).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n  }\n  // Check for `exports` after `define` in case a build optimizer adds it.\n  else {}\n}.call(this));\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/lodash.js?");

/***/ }),

/***/ 60768:
/*!****************************************!*\
  !*** ../../node_modules/lodash/map.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayMap = __webpack_require__(/*! ./_arrayMap */ 89376),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    baseMap = __webpack_require__(/*! ./_baseMap */ 27448),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n *   return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n *   { 'user': 'barney' },\n *   { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n  var func = isArray(collection) ? arrayMap : baseMap;\n  return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/map.js?");

/***/ }),

/***/ 79884:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/mapValues.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 86437),\n    baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 86704),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840);\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n *   'fred':    { 'user': 'fred',    'age': 40 },\n *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n  var result = {};\n  iteratee = baseIteratee(iteratee, 3);\n\n  baseForOwn(object, function(value, key, object) {\n    baseAssignValue(result, key, iteratee(value, key, object));\n  });\n  return result;\n}\n\nmodule.exports = mapValues;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/mapValues.js?");

/***/ }),

/***/ 93636:
/*!****************************************!*\
  !*** ../../node_modules/lodash/max.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseExtremum = __webpack_require__(/*! ./_baseExtremum */ 37684),\n    baseGt = __webpack_require__(/*! ./_baseGt */ 78412),\n    identity = __webpack_require__(/*! ./identity */ 85992);\n\n/**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\nfunction max(array) {\n  return (array && array.length)\n    ? baseExtremum(array, identity, baseGt)\n    : undefined;\n}\n\nmodule.exports = max;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/max.js?");

/***/ }),

/***/ 49084:
/*!********************************************!*\
  !*** ../../node_modules/lodash/memoize.js ***!
  \********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var MapCache = __webpack_require__(/*! ./_MapCache */ 79892);\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n  if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n    throw new TypeError(FUNC_ERROR_TEXT);\n  }\n  var memoized = function() {\n    var args = arguments,\n        key = resolver ? resolver.apply(this, args) : args[0],\n        cache = memoized.cache;\n\n    if (cache.has(key)) {\n      return cache.get(key);\n    }\n    var result = func.apply(this, args);\n    memoized.cache = cache.set(key, result) || cache;\n    return result;\n  };\n  memoized.cache = new (memoize.Cache || MapCache);\n  return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/memoize.js?");

/***/ }),

/***/ 896:
/*!******************************************!*\
  !*** ../../node_modules/lodash/merge.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseMerge = __webpack_require__(/*! ./_baseMerge */ 4224),\n    createAssigner = __webpack_require__(/*! ./_createAssigner */ 76656);\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n *   'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n *   'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n  baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/merge.js?");

/***/ }),

/***/ 39280:
/*!****************************************!*\
  !*** ../../node_modules/lodash/min.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseExtremum = __webpack_require__(/*! ./_baseExtremum */ 37684),\n    baseLt = __webpack_require__(/*! ./_baseLt */ 7448),\n    identity = __webpack_require__(/*! ./identity */ 85992);\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n  return (array && array.length)\n    ? baseExtremum(array, identity, baseLt)\n    : undefined;\n}\n\nmodule.exports = min;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/min.js?");

/***/ }),

/***/ 14696:
/*!******************************************!*\
  !*** ../../node_modules/lodash/minBy.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseExtremum = __webpack_require__(/*! ./_baseExtremum */ 37684),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    baseLt = __webpack_require__(/*! ./_baseLt */ 7448);\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n  return (array && array.length)\n    ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n    : undefined;\n}\n\nmodule.exports = minBy;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/minBy.js?");

/***/ }),

/***/ 53284:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/noop.js ***!
  \*****************************************/
/***/ (function(module) {

eval("/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n  // No operation performed.\n}\n\nmodule.exports = noop;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/noop.js?");

/***/ }),

/***/ 21192:
/*!****************************************!*\
  !*** ../../node_modules/lodash/now.js ***!
  \****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var root = __webpack_require__(/*! ./_root */ 99088);\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n *   console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n  return root.Date.now();\n};\n\nmodule.exports = now;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/now.js?");

/***/ }),

/***/ 81860:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/pick.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var basePick = __webpack_require__(/*! ./_basePick */ 80956),\n    flatRest = __webpack_require__(/*! ./_flatRest */ 84524);\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n  return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/pick.js?");

/***/ }),

/***/ 38144:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/property.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseProperty = __webpack_require__(/*! ./_baseProperty */ 49056),\n    basePropertyDeep = __webpack_require__(/*! ./_basePropertyDeep */ 40176),\n    isKey = __webpack_require__(/*! ./_isKey */ 93968),\n    toKey = __webpack_require__(/*! ./_toKey */ 82104);\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n *   { 'a': { 'b': 2 } },\n *   { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n  return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/property.js?");

/***/ }),

/***/ 10020:
/*!******************************************!*\
  !*** ../../node_modules/lodash/range.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var createRange = __webpack_require__(/*! ./_createRange */ 98232);\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nmodule.exports = range;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/range.js?");

/***/ }),

/***/ 49360:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/reduce.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayReduce = __webpack_require__(/*! ./_arrayReduce */ 49048),\n    baseEach = __webpack_require__(/*! ./_baseEach */ 82580),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    baseReduce = __webpack_require__(/*! ./_baseReduce */ 34024),\n    isArray = __webpack_require__(/*! ./isArray */ 71648);\n\n/**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n *   return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n *   (result[value] || (result[value] = [])).push(key);\n *   return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\nfunction reduce(collection, iteratee, accumulator) {\n  var func = isArray(collection) ? arrayReduce : baseReduce,\n      initAccum = arguments.length < 3;\n\n  return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n}\n\nmodule.exports = reduce;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/reduce.js?");

/***/ }),

/***/ 70851:
/*!*****************************************!*\
  !*** ../../node_modules/lodash/size.js ***!
  \*****************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseKeys = __webpack_require__(/*! ./_baseKeys */ 72144),\n    getTag = __webpack_require__(/*! ./_getTag */ 42300),\n    isArrayLike = __webpack_require__(/*! ./isArrayLike */ 62468),\n    isString = __webpack_require__(/*! ./isString */ 33116),\n    stringSize = __webpack_require__(/*! ./_stringSize */ 99684);\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n    setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n  if (collection == null) {\n    return 0;\n  }\n  if (isArrayLike(collection)) {\n    return isString(collection) ? stringSize(collection) : collection.length;\n  }\n  var tag = getTag(collection);\n  if (tag == mapTag || tag == setTag) {\n    return collection.size;\n  }\n  return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/size.js?");

/***/ }),

/***/ 38120:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/sortBy.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ 13776),\n    baseOrderBy = __webpack_require__(/*! ./_baseOrderBy */ 89461),\n    baseRest = __webpack_require__(/*! ./_baseRest */ 24828),\n    isIterateeCall = __webpack_require__(/*! ./_isIterateeCall */ 8400);\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n *  The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n *   { 'user': 'fred',   'age': 48 },\n *   { 'user': 'barney', 'age': 36 },\n *   { 'user': 'fred',   'age': 30 },\n *   { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n  if (collection == null) {\n    return [];\n  }\n  var length = iteratees.length;\n  if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n    iteratees = [];\n  } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n    iteratees = [iteratees[0]];\n  }\n  return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/sortBy.js?");

/***/ }),

/***/ 45992:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/stubArray.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n  return [];\n}\n\nmodule.exports = stubArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/stubArray.js?");

/***/ }),

/***/ 36388:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/stubFalse.js ***!
  \**********************************************/
/***/ (function(module) {

eval("/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n  return false;\n}\n\nmodule.exports = stubFalse;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/stubFalse.js?");

/***/ }),

/***/ 64168:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/toFinite.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var toNumber = __webpack_require__(/*! ./toNumber */ 40080);\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n    MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n  if (!value) {\n    return value === 0 ? value : 0;\n  }\n  value = toNumber(value);\n  if (value === INFINITY || value === -INFINITY) {\n    var sign = (value < 0 ? -1 : 1);\n    return sign * MAX_INTEGER;\n  }\n  return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/toFinite.js?");

/***/ }),

/***/ 45624:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/toInteger.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var toFinite = __webpack_require__(/*! ./toFinite */ 64168);\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n  var result = toFinite(value),\n      remainder = result % 1;\n\n  return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/toInteger.js?");

/***/ }),

/***/ 40080:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/toNumber.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseTrim = __webpack_require__(/*! ./_baseTrim */ 83900),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    isSymbol = __webpack_require__(/*! ./isSymbol */ 47432);\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n  if (typeof value == 'number') {\n    return value;\n  }\n  if (isSymbol(value)) {\n    return NAN;\n  }\n  if (isObject(value)) {\n    var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n    value = isObject(other) ? (other + '') : other;\n  }\n  if (typeof value != 'string') {\n    return value === 0 ? value : +value;\n  }\n  value = baseTrim(value);\n  var isBinary = reIsBinary.test(value);\n  return (isBinary || reIsOctal.test(value))\n    ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n    : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/toNumber.js?");

/***/ }),

/***/ 82092:
/*!**************************************************!*\
  !*** ../../node_modules/lodash/toPlainObject.js ***!
  \**************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var copyObject = __webpack_require__(/*! ./_copyObject */ 92024),\n    keysIn = __webpack_require__(/*! ./keysIn */ 80264);\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n  return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/toPlainObject.js?");

/***/ }),

/***/ 57216:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/toString.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseToString = __webpack_require__(/*! ./_baseToString */ 93060);\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n  return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/toString.js?");

/***/ }),

/***/ 2984:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/transform.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var arrayEach = __webpack_require__(/*! ./_arrayEach */ 33972),\n    baseCreate = __webpack_require__(/*! ./_baseCreate */ 3188),\n    baseForOwn = __webpack_require__(/*! ./_baseForOwn */ 86704),\n    baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 27840),\n    getPrototype = __webpack_require__(/*! ./_getPrototype */ 20732),\n    isArray = __webpack_require__(/*! ./isArray */ 71648),\n    isBuffer = __webpack_require__(/*! ./isBuffer */ 59028),\n    isFunction = __webpack_require__(/*! ./isFunction */ 87464),\n    isObject = __webpack_require__(/*! ./isObject */ 50636),\n    isTypedArray = __webpack_require__(/*! ./isTypedArray */ 25692);\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n *   result.push(n *= n);\n *   return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n *   (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n  var isArr = isArray(object),\n      isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n  iteratee = baseIteratee(iteratee, 4);\n  if (accumulator == null) {\n    var Ctor = object && object.constructor;\n    if (isArrLike) {\n      accumulator = isArr ? new Ctor : [];\n    }\n    else if (isObject(object)) {\n      accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n    }\n    else {\n      accumulator = {};\n    }\n  }\n  (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n    return iteratee(accumulator, value, index, object);\n  });\n  return accumulator;\n}\n\nmodule.exports = transform;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/transform.js?");

/***/ }),

/***/ 41872:
/*!******************************************!*\
  !*** ../../node_modules/lodash/union.js ***!
  \******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseFlatten = __webpack_require__(/*! ./_baseFlatten */ 13776),\n    baseRest = __webpack_require__(/*! ./_baseRest */ 24828),\n    baseUniq = __webpack_require__(/*! ./_baseUniq */ 91456),\n    isArrayLikeObject = __webpack_require__(/*! ./isArrayLikeObject */ 79308);\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n  return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/union.js?");

/***/ }),

/***/ 3904:
/*!*********************************************!*\
  !*** ../../node_modules/lodash/uniqueId.js ***!
  \*********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var toString = __webpack_require__(/*! ./toString */ 57216);\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n  var id = ++idCounter;\n  return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/uniqueId.js?");

/***/ }),

/***/ 84724:
/*!*******************************************!*\
  !*** ../../node_modules/lodash/values.js ***!
  \*******************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var baseValues = __webpack_require__(/*! ./_baseValues */ 2668),\n    keys = __webpack_require__(/*! ./keys */ 2820);\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n *   this.a = 1;\n *   this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n  return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/values.js?");

/***/ }),

/***/ 8864:
/*!**********************************************!*\
  !*** ../../node_modules/lodash/zipObject.js ***!
  \**********************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("var assignValue = __webpack_require__(/*! ./_assignValue */ 38156),\n    baseZipObject = __webpack_require__(/*! ./_baseZipObject */ 46192);\n\n/**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction zipObject(props, values) {\n  return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/lodash/zipObject.js?");

/***/ }),

/***/ 19600:
/*!******************************!*\
  !*** ./src/style/index.less ***!
  \******************************/
/***/ (function() {

eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack://entity-designer/./src/style/index.less?");

/***/ }),

/***/ 77856:
/*!*******************************************!*\
  !*** ../kd-designer/src/style/index.less ***!
  \*******************************************/
/***/ (function() {

eval("// extracted by mini-css-extract-plugin\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/style/index.less?");

/***/ }),

/***/ 98752:
/*!********************************************************************!*\
  !*** ../../node_modules/react-flow-renderer/dist/ReactFlow.esm.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ArrowHeadType: function() { return /* binding */ ArrowHeadType; },\n/* harmony export */   Background: function() { return /* binding */ index; },\n/* harmony export */   BackgroundVariant: function() { return /* binding */ BackgroundVariant; },\n/* harmony export */   BezierEdge: function() { return /* binding */ BezierEdge; },\n/* harmony export */   ConnectionLineType: function() { return /* binding */ ConnectionLineType; },\n/* harmony export */   ConnectionMode: function() { return /* binding */ ConnectionMode; },\n/* harmony export */   ControlButton: function() { return /* binding */ ControlButton; },\n/* harmony export */   Controls: function() { return /* binding */ index$1; },\n/* harmony export */   EdgeText: function() { return /* binding */ EdgeText$1; },\n/* harmony export */   Handle: function() { return /* binding */ Handle$1; },\n/* harmony export */   MiniMap: function() { return /* binding */ index$2; },\n/* harmony export */   PanOnScrollMode: function() { return /* binding */ PanOnScrollMode; },\n/* harmony export */   Position: function() { return /* binding */ Position; },\n/* harmony export */   ReactFlowProvider: function() { return /* binding */ ReactFlowProvider; },\n/* harmony export */   SmoothStepEdge: function() { return /* binding */ SmoothStepEdge; },\n/* harmony export */   StepEdge: function() { return /* binding */ StepEdge; },\n/* harmony export */   StraightEdge: function() { return /* binding */ StraightEdge; },\n/* harmony export */   addEdge: function() { return /* binding */ addEdge; },\n/* harmony export */   \"default\": function() { return /* binding */ ReactFlow; },\n/* harmony export */   getBezierPath: function() { return /* binding */ getBezierPath; },\n/* harmony export */   getConnectedEdges: function() { return /* binding */ getConnectedEdges; },\n/* harmony export */   getEdgeCenter: function() { return /* binding */ getCenter; },\n/* harmony export */   getIncomers: function() { return /* binding */ getIncomers; },\n/* harmony export */   getMarkerEnd: function() { return /* binding */ getMarkerEnd; },\n/* harmony export */   getOutgoers: function() { return /* binding */ getOutgoers; },\n/* harmony export */   getRectOfNodes: function() { return /* binding */ getRectOfNodes; },\n/* harmony export */   getSmoothStepPath: function() { return /* binding */ getSmoothStepPath; },\n/* harmony export */   getTransformForBounds: function() { return /* binding */ getTransformForBounds; },\n/* harmony export */   isEdge: function() { return /* binding */ isEdge; },\n/* harmony export */   isNode: function() { return /* binding */ isNode; },\n/* harmony export */   removeElements: function() { return /* binding */ removeElements; },\n/* harmony export */   updateEdge: function() { return /* binding */ updateEdge; },\n/* harmony export */   useDispatch: function() { return /* binding */ useDispatch; },\n/* harmony export */   useStore: function() { return /* binding */ useStore; },\n/* harmony export */   useStoreActions: function() { return /* binding */ useStoreActions; },\n/* harmony export */   useStoreState: function() { return /* binding */ useStoreState; },\n/* harmony export */   useTypedSelector: function() { return /* binding */ useTypedSelector; },\n/* harmony export */   useUpdateNodeInternals: function() { return /* binding */ useUpdateNodeInternals; },\n/* harmony export */   useZoomPanHelper: function() { return /* binding */ useZoomPanHelper; }\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ 43400);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ 71536);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n\nfunction _defineProperty$2(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = _objectWithoutPropertiesLoose(source, excluded);\n  var key, i;\n\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}\n\nfunction cc(names) {\n  if (typeof names === \"string\" || typeof names === \"number\") return \"\" + names\n\n  let out = \"\";\n\n  if (Array.isArray(names)) {\n    for (let i = 0, tmp; i < names.length; i++) {\n      if ((tmp = cc(names[i])) !== \"\") {\n        out += (out && \" \") + tmp;\n      }\n    }\n  } else {\n    for (let k in names) {\n      if (names[k]) out += (out && \" \") + k;\n    }\n  }\n\n  return out\n}\n\n/**\n * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js\n *\n * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes\n * during build.\n * @param {number} code\n */\nfunction formatProdErrorMessage(code) {\n  return \"Minified Redux error #\" + code + \"; visit https://redux.js.org/Errors?code=\" + code + \" for the full message or \" + 'use the non-minified dev environment for full errors. ';\n}\n\n// Inlined version of the `symbol-observable` polyfill\nvar $$observable = (function () {\n  return typeof Symbol === 'function' && Symbol.observable || '@@observable';\n})();\n\n/**\n * These are private action types reserved by Redux.\n * For any unknown actions, you must return the current state.\n * If the current state is undefined, you must return the initial state.\n * Do not reference these action types directly in your code.\n */\nvar randomString = function randomString() {\n  return Math.random().toString(36).substring(7).split('').join('.');\n};\n\nvar ActionTypes = {\n  INIT: \"@@redux/INIT\" + randomString(),\n  REPLACE: \"@@redux/REPLACE\" + randomString(),\n  PROBE_UNKNOWN_ACTION: function PROBE_UNKNOWN_ACTION() {\n    return \"@@redux/PROBE_UNKNOWN_ACTION\" + randomString();\n  }\n};\n\n/**\n * @param {any} obj The object to inspect.\n * @returns {boolean} True if the argument appears to be a plain object.\n */\nfunction isPlainObject(obj) {\n  if (typeof obj !== 'object' || obj === null) return false;\n  var proto = obj;\n\n  while (Object.getPrototypeOf(proto) !== null) {\n    proto = Object.getPrototypeOf(proto);\n  }\n\n  return Object.getPrototypeOf(obj) === proto;\n}\n\n// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of\nfunction miniKindOf(val) {\n  if (val === void 0) return 'undefined';\n  if (val === null) return 'null';\n  var type = typeof val;\n\n  switch (type) {\n    case 'boolean':\n    case 'string':\n    case 'number':\n    case 'symbol':\n    case 'function':\n      {\n        return type;\n      }\n  }\n\n  if (Array.isArray(val)) return 'array';\n  if (isDate(val)) return 'date';\n  if (isError(val)) return 'error';\n  var constructorName = ctorName(val);\n\n  switch (constructorName) {\n    case 'Symbol':\n    case 'Promise':\n    case 'WeakMap':\n    case 'WeakSet':\n    case 'Map':\n    case 'Set':\n      return constructorName;\n  } // other\n\n\n  return type.slice(8, -1).toLowerCase().replace(/\\s/g, '');\n}\n\nfunction ctorName(val) {\n  return typeof val.constructor === 'function' ? val.constructor.name : null;\n}\n\nfunction isError(val) {\n  return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';\n}\n\nfunction isDate(val) {\n  if (val instanceof Date) return true;\n  return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';\n}\n\nfunction kindOf(val) {\n  var typeOfVal = typeof val;\n\n  if (true) {\n    typeOfVal = miniKindOf(val);\n  }\n\n  return typeOfVal;\n}\n\n/**\n * Creates a Redux store that holds the state tree.\n * The only way to change the data in the store is to call `dispatch()` on it.\n *\n * There should only be a single store in your app. To specify how different\n * parts of the state tree respond to actions, you may combine several reducers\n * into a single reducer function by using `combineReducers`.\n *\n * @param {Function} reducer A function that returns the next state tree, given\n * the current state tree and the action to handle.\n *\n * @param {any} [preloadedState] The initial state. You may optionally specify it\n * to hydrate the state from the server in universal apps, or to restore a\n * previously serialized user session.\n * If you use `combineReducers` to produce the root reducer function, this must be\n * an object with the same shape as `combineReducers` keys.\n *\n * @param {Function} [enhancer] The store enhancer. You may optionally specify it\n * to enhance the store with third-party capabilities such as middleware,\n * time travel, persistence, etc. The only store enhancer that ships with Redux\n * is `applyMiddleware()`.\n *\n * @returns {Store} A Redux store that lets you read the state, dispatch actions\n * and subscribe to changes.\n */\n\nfunction createStore(reducer, preloadedState, enhancer) {\n  var _ref2;\n\n  if (typeof preloadedState === 'function' && typeof enhancer === 'function' || typeof enhancer === 'function' && typeof arguments[3] === 'function') {\n    throw new Error( false ? 0 : 'It looks like you are passing several store enhancers to ' + 'createStore(). This is not supported. Instead, compose them ' + 'together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.');\n  }\n\n  if (typeof preloadedState === 'function' && typeof enhancer === 'undefined') {\n    enhancer = preloadedState;\n    preloadedState = undefined;\n  }\n\n  if (typeof enhancer !== 'undefined') {\n    if (typeof enhancer !== 'function') {\n      throw new Error( false ? 0 : \"Expected the enhancer to be a function. Instead, received: '\" + kindOf(enhancer) + \"'\");\n    }\n\n    return enhancer(createStore)(reducer, preloadedState);\n  }\n\n  if (typeof reducer !== 'function') {\n    throw new Error( false ? 0 : \"Expected the root reducer to be a function. Instead, received: '\" + kindOf(reducer) + \"'\");\n  }\n\n  var currentReducer = reducer;\n  var currentState = preloadedState;\n  var currentListeners = [];\n  var nextListeners = currentListeners;\n  var isDispatching = false;\n  /**\n   * This makes a shallow copy of currentListeners so we can use\n   * nextListeners as a temporary list while dispatching.\n   *\n   * This prevents any bugs around consumers calling\n   * subscribe/unsubscribe in the middle of a dispatch.\n   */\n\n  function ensureCanMutateNextListeners() {\n    if (nextListeners === currentListeners) {\n      nextListeners = currentListeners.slice();\n    }\n  }\n  /**\n   * Reads the state tree managed by the store.\n   *\n   * @returns {any} The current state tree of your application.\n   */\n\n\n  function getState() {\n    if (isDispatching) {\n      throw new Error( false ? 0 : 'You may not call store.getState() while the reducer is executing. ' + 'The reducer has already received the state as an argument. ' + 'Pass it down from the top reducer instead of reading it from the store.');\n    }\n\n    return currentState;\n  }\n  /**\n   * Adds a change listener. It will be called any time an action is dispatched,\n   * and some part of the state tree may potentially have changed. You may then\n   * call `getState()` to read the current state tree inside the callback.\n   *\n   * You may call `dispatch()` from a change listener, with the following\n   * caveats:\n   *\n   * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n   * If you subscribe or unsubscribe while the listeners are being invoked, this\n   * will not have any effect on the `dispatch()` that is currently in progress.\n   * However, the next `dispatch()` call, whether nested or not, will use a more\n   * recent snapshot of the subscription list.\n   *\n   * 2. The listener should not expect to see all state changes, as the state\n   * might have been updated multiple times during a nested `dispatch()` before\n   * the listener is called. It is, however, guaranteed that all subscribers\n   * registered before the `dispatch()` started will be called with the latest\n   * state by the time it exits.\n   *\n   * @param {Function} listener A callback to be invoked on every dispatch.\n   * @returns {Function} A function to remove this change listener.\n   */\n\n\n  function subscribe(listener) {\n    if (typeof listener !== 'function') {\n      throw new Error( false ? 0 : \"Expected the listener to be a function. Instead, received: '\" + kindOf(listener) + \"'\");\n    }\n\n    if (isDispatching) {\n      throw new Error( false ? 0 : 'You may not call store.subscribe() while the reducer is executing. ' + 'If you would like to be notified after the store has been updated, subscribe from a ' + 'component and invoke store.getState() in the callback to access the latest state. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n    }\n\n    var isSubscribed = true;\n    ensureCanMutateNextListeners();\n    nextListeners.push(listener);\n    return function unsubscribe() {\n      if (!isSubscribed) {\n        return;\n      }\n\n      if (isDispatching) {\n        throw new Error( false ? 0 : 'You may not unsubscribe from a store listener while the reducer is executing. ' + 'See https://redux.js.org/api/store#subscribelistener for more details.');\n      }\n\n      isSubscribed = false;\n      ensureCanMutateNextListeners();\n      var index = nextListeners.indexOf(listener);\n      nextListeners.splice(index, 1);\n      currentListeners = null;\n    };\n  }\n  /**\n   * Dispatches an action. It is the only way to trigger a state change.\n   *\n   * The `reducer` function, used to create the store, will be called with the\n   * current state tree and the given `action`. Its return value will\n   * be considered the **next** state of the tree, and the change listeners\n   * will be notified.\n   *\n   * The base implementation only supports plain object actions. If you want to\n   * dispatch a Promise, an Observable, a thunk, or something else, you need to\n   * wrap your store creating function into the corresponding middleware. For\n   * example, see the documentation for the `redux-thunk` package. Even the\n   * middleware will eventually dispatch plain object actions using this method.\n   *\n   * @param {Object} action A plain object representing “what changed”. It is\n   * a good idea to keep actions serializable so you can record and replay user\n   * sessions, or use the time travelling `redux-devtools`. An action must have\n   * a `type` property which may not be `undefined`. It is a good idea to use\n   * string constants for action types.\n   *\n   * @returns {Object} For convenience, the same action object you dispatched.\n   *\n   * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n   * return something else (for example, a Promise you can await).\n   */\n\n\n  function dispatch(action) {\n    if (!isPlainObject(action)) {\n      throw new Error( false ? 0 : \"Actions must be plain objects. Instead, the actual type was: '\" + kindOf(action) + \"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.\");\n    }\n\n    if (typeof action.type === 'undefined') {\n      throw new Error( false ? 0 : 'Actions may not have an undefined \"type\" property. You may have misspelled an action type string constant.');\n    }\n\n    if (isDispatching) {\n      throw new Error( false ? 0 : 'Reducers may not dispatch actions.');\n    }\n\n    try {\n      isDispatching = true;\n      currentState = currentReducer(currentState, action);\n    } finally {\n      isDispatching = false;\n    }\n\n    var listeners = currentListeners = nextListeners;\n\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      listener();\n    }\n\n    return action;\n  }\n  /**\n   * Replaces the reducer currently used by the store to calculate the state.\n   *\n   * You might need this if your app implements code splitting and you want to\n   * load some of the reducers dynamically. You might also need this if you\n   * implement a hot reloading mechanism for Redux.\n   *\n   * @param {Function} nextReducer The reducer for the store to use instead.\n   * @returns {void}\n   */\n\n\n  function replaceReducer(nextReducer) {\n    if (typeof nextReducer !== 'function') {\n      throw new Error( false ? 0 : \"Expected the nextReducer to be a function. Instead, received: '\" + kindOf(nextReducer));\n    }\n\n    currentReducer = nextReducer; // This action has a similiar effect to ActionTypes.INIT.\n    // Any reducers that existed in both the new and old rootReducer\n    // will receive the previous state. This effectively populates\n    // the new state tree with any relevant data from the old one.\n\n    dispatch({\n      type: ActionTypes.REPLACE\n    });\n  }\n  /**\n   * Interoperability point for observable/reactive libraries.\n   * @returns {observable} A minimal observable of state changes.\n   * For more information, see the observable proposal:\n   * https://github.com/tc39/proposal-observable\n   */\n\n\n  function observable() {\n    var _ref;\n\n    var outerSubscribe = subscribe;\n    return _ref = {\n      /**\n       * The minimal observable subscription method.\n       * @param {Object} observer Any object that can be used as an observer.\n       * The observer object should have a `next` method.\n       * @returns {subscription} An object with an `unsubscribe` method that can\n       * be used to unsubscribe the observable from the store, and prevent further\n       * emission of values from the observable.\n       */\n      subscribe: function subscribe(observer) {\n        if (typeof observer !== 'object' || observer === null) {\n          throw new Error( false ? 0 : \"Expected the observer to be an object. Instead, received: '\" + kindOf(observer) + \"'\");\n        }\n\n        function observeState() {\n          if (observer.next) {\n            observer.next(getState());\n          }\n        }\n\n        observeState();\n        var unsubscribe = outerSubscribe(observeState);\n        return {\n          unsubscribe: unsubscribe\n        };\n      }\n    }, _ref[$$observable] = function () {\n      return this;\n    }, _ref;\n  } // When a store is created, an \"INIT\" action is dispatched so that every\n  // reducer returns their initial state. This effectively populates\n  // the initial state tree.\n\n\n  dispatch({\n    type: ActionTypes.INIT\n  });\n  return _ref2 = {\n    dispatch: dispatch,\n    subscribe: subscribe,\n    getState: getState,\n    replaceReducer: replaceReducer\n  }, _ref2[$$observable] = observable, _ref2;\n}\n\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n  /* eslint-disable no-console */\n  if (typeof console !== 'undefined' && typeof console.error === 'function') {\n    console.error(message);\n  }\n  /* eslint-enable no-console */\n\n\n  try {\n    // This error was thrown as a convenience so that if you enable\n    // \"break on all exceptions\" in your console,\n    // it would pause the execution at this line.\n    throw new Error(message);\n  } catch (e) {} // eslint-disable-line no-empty\n\n}\n\nfunction bindActionCreator(actionCreator, dispatch) {\n  return function () {\n    return dispatch(actionCreator.apply(this, arguments));\n  };\n}\n/**\n * Turns an object whose values are action creators, into an object with the\n * same keys, but with every function wrapped into a `dispatch` call so they\n * may be invoked directly. This is just a convenience method, as you can call\n * `store.dispatch(MyActionCreators.doSomething())` yourself just fine.\n *\n * For convenience, you can also pass an action creator as the first argument,\n * and get a dispatch wrapped function in return.\n *\n * @param {Function|Object} actionCreators An object whose values are action\n * creator functions. One handy way to obtain it is to use ES6 `import * as`\n * syntax. You may also pass a single function.\n *\n * @param {Function} dispatch The `dispatch` function available on your Redux\n * store.\n *\n * @returns {Function|Object} The object mimicking the original object, but with\n * every action creator wrapped into the `dispatch` call. If you passed a\n * function as `actionCreators`, the return value will also be a single\n * function.\n */\n\n\nfunction bindActionCreators(actionCreators, dispatch) {\n  if (typeof actionCreators === 'function') {\n    return bindActionCreator(actionCreators, dispatch);\n  }\n\n  if (typeof actionCreators !== 'object' || actionCreators === null) {\n    throw new Error( false ? 0 : \"bindActionCreators expected an object or a function, but instead received: '\" + kindOf(actionCreators) + \"'. \" + \"Did you write \\\"import ActionCreators from\\\" instead of \\\"import * as ActionCreators from\\\"?\");\n  }\n\n  var boundActionCreators = {};\n\n  for (var key in actionCreators) {\n    var actionCreator = actionCreators[key];\n\n    if (typeof actionCreator === 'function') {\n      boundActionCreators[key] = bindActionCreator(actionCreator, dispatch);\n    }\n  }\n\n  return boundActionCreators;\n}\n\n/*\n * This is a dummy function to check if the function name has been altered by minification.\n * If the function has been minified and NODE_ENV !== 'production', warn the user.\n */\n\nfunction isCrushed() {}\n\nif ( true && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {\n  warning('You are currently using minified code outside of NODE_ENV === \"production\". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');\n}\n\nfunction getAugmentedNamespace(n) {\n\tif (n.__esModule) return n;\n\tvar a = Object.defineProperty({}, '__esModule', {value: true});\n\tObject.keys(n).forEach(function (k) {\n\t\tvar d = Object.getOwnPropertyDescriptor(n, k);\n\t\tObject.defineProperty(a, k, d.get ? d : {\n\t\t\tenumerable: true,\n\t\t\tget: function () {\n\t\t\t\treturn n[k];\n\t\t\t}\n\t\t});\n\t});\n\treturn a;\n}\n\nvar propTypes = {exports: {}};\n\nvar reactIs$1 = {exports: {}};\n\nvar reactIs_production_min$1 = {};\n\n/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar b$1=\"function\"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for(\"react.element\"):60103,d$1=b$1?Symbol.for(\"react.portal\"):60106,e$1=b$1?Symbol.for(\"react.fragment\"):60107,f$1=b$1?Symbol.for(\"react.strict_mode\"):60108,g$1=b$1?Symbol.for(\"react.profiler\"):60114,h$1=b$1?Symbol.for(\"react.provider\"):60109,k$1=b$1?Symbol.for(\"react.context\"):60110,l$1=b$1?Symbol.for(\"react.async_mode\"):60111,m$1=b$1?Symbol.for(\"react.concurrent_mode\"):60111,n$1=b$1?Symbol.for(\"react.forward_ref\"):60112,p$1=b$1?Symbol.for(\"react.suspense\"):60113,q$1=b$1?\nSymbol.for(\"react.suspense_list\"):60120,r$1=b$1?Symbol.for(\"react.memo\"):60115,t=b$1?Symbol.for(\"react.lazy\"):60116,v$1=b$1?Symbol.for(\"react.block\"):60121,w$1=b$1?Symbol.for(\"react.fundamental\"):60117,x$1=b$1?Symbol.for(\"react.responder\"):60118,y$1=b$1?Symbol.for(\"react.scope\"):60119;\nfunction z$1(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$1:case m$1:case e$1:case g$1:case f$1:case p$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case n$1:case t:case r$1:case h$1:return a;default:return u}}case d$1:return u}}}function A$1(a){return z$1(a)===m$1}reactIs_production_min$1.AsyncMode=l$1;reactIs_production_min$1.ConcurrentMode=m$1;reactIs_production_min$1.ContextConsumer=k$1;reactIs_production_min$1.ContextProvider=h$1;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$1;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t;reactIs_production_min$1.Memo=r$1;reactIs_production_min$1.Portal=d$1;\nreactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$1;reactIs_production_min$1.Suspense=p$1;reactIs_production_min$1.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$1};reactIs_production_min$1.isConcurrentMode=A$1;reactIs_production_min$1.isContextConsumer=function(a){return z$1(a)===k$1};reactIs_production_min$1.isContextProvider=function(a){return z$1(a)===h$1};reactIs_production_min$1.isElement=function(a){return \"object\"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z$1(a)===n$1};reactIs_production_min$1.isFragment=function(a){return z$1(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z$1(a)===t};\nreactIs_production_min$1.isMemo=function(a){return z$1(a)===r$1};reactIs_production_min$1.isPortal=function(a){return z$1(a)===d$1};reactIs_production_min$1.isProfiler=function(a){return z$1(a)===g$1};reactIs_production_min$1.isStrictMode=function(a){return z$1(a)===f$1};reactIs_production_min$1.isSuspense=function(a){return z$1(a)===p$1};\nreactIs_production_min$1.isValidElementType=function(a){return \"string\"===typeof a||\"function\"===typeof a||a===e$1||a===m$1||a===g$1||a===f$1||a===p$1||a===q$1||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r$1||a.$$typeof===h$1||a.$$typeof===k$1||a.$$typeof===n$1||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$1)};reactIs_production_min$1.typeOf=z$1;\n\nvar reactIs_development$1 = {};\n\n/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\n\nif (true) {\n  (function() {\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n  return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n  type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n  if (typeof object === 'object' && object !== null) {\n    var $$typeof = object.$$typeof;\n\n    switch ($$typeof) {\n      case REACT_ELEMENT_TYPE:\n        var type = object.type;\n\n        switch (type) {\n          case REACT_ASYNC_MODE_TYPE:\n          case REACT_CONCURRENT_MODE_TYPE:\n          case REACT_FRAGMENT_TYPE:\n          case REACT_PROFILER_TYPE:\n          case REACT_STRICT_MODE_TYPE:\n          case REACT_SUSPENSE_TYPE:\n            return type;\n\n          default:\n            var $$typeofType = type && type.$$typeof;\n\n            switch ($$typeofType) {\n              case REACT_CONTEXT_TYPE:\n              case REACT_FORWARD_REF_TYPE:\n              case REACT_LAZY_TYPE:\n              case REACT_MEMO_TYPE:\n              case REACT_PROVIDER_TYPE:\n                return $$typeofType;\n\n              default:\n                return $$typeof;\n            }\n\n        }\n\n      case REACT_PORTAL_TYPE:\n        return $$typeof;\n    }\n  }\n\n  return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n  {\n    if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n      hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n      console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n    }\n  }\n\n  return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n  return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n  return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n  return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n  return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n  return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n  return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n  return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n  return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n  return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n  return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n  return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nreactIs_development$1.AsyncMode = AsyncMode;\nreactIs_development$1.ConcurrentMode = ConcurrentMode;\nreactIs_development$1.ContextConsumer = ContextConsumer;\nreactIs_development$1.ContextProvider = ContextProvider;\nreactIs_development$1.Element = Element;\nreactIs_development$1.ForwardRef = ForwardRef;\nreactIs_development$1.Fragment = Fragment;\nreactIs_development$1.Lazy = Lazy;\nreactIs_development$1.Memo = Memo;\nreactIs_development$1.Portal = Portal;\nreactIs_development$1.Profiler = Profiler;\nreactIs_development$1.StrictMode = StrictMode;\nreactIs_development$1.Suspense = Suspense;\nreactIs_development$1.isAsyncMode = isAsyncMode;\nreactIs_development$1.isConcurrentMode = isConcurrentMode;\nreactIs_development$1.isContextConsumer = isContextConsumer;\nreactIs_development$1.isContextProvider = isContextProvider;\nreactIs_development$1.isElement = isElement;\nreactIs_development$1.isForwardRef = isForwardRef;\nreactIs_development$1.isFragment = isFragment;\nreactIs_development$1.isLazy = isLazy;\nreactIs_development$1.isMemo = isMemo;\nreactIs_development$1.isPortal = isPortal;\nreactIs_development$1.isProfiler = isProfiler;\nreactIs_development$1.isStrictMode = isStrictMode;\nreactIs_development$1.isSuspense = isSuspense;\nreactIs_development$1.isValidElementType = isValidElementType;\nreactIs_development$1.typeOf = typeOf;\n  })();\n}\n\nif (false) {} else {\n  reactIs$1.exports = reactIs_development$1;\n}\n\n/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc');  // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nvar objectAssign = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar ReactPropTypesSecret$3 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nvar ReactPropTypesSecret_1 = ReactPropTypesSecret$3;\n\nvar has$2 = Function.call.bind(Object.prototype.hasOwnProperty);\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar printWarning$1 = function() {};\n\nif (true) {\n  var ReactPropTypesSecret$2 = ReactPropTypesSecret_1;\n  var loggedTypeFailures = {};\n  var has$1 = has$2;\n\n  printWarning$1 = function(text) {\n    var message = 'Warning: ' + text;\n    if (typeof console !== 'undefined') {\n      console.error(message);\n    }\n    try {\n      // --- Welcome to debugging React ---\n      // This error was thrown as a convenience so that you can use this stack\n      // to find the callsite that caused this warning to fire.\n      throw new Error(message);\n    } catch (x) { /**/ }\n  };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {\n  if (true) {\n    for (var typeSpecName in typeSpecs) {\n      if (has$1(typeSpecs, typeSpecName)) {\n        var error;\n        // Prop type validation may throw. In case they do, we don't want to\n        // fail the render phase where it didn't fail before. So we log it.\n        // After these have been cleaned up, we'll let them throw.\n        try {\n          // This is intentionally an invariant that gets caught. It's the same\n          // behavior as without this statement except with a better message.\n          if (typeof typeSpecs[typeSpecName] !== 'function') {\n            var err = Error(\n              (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n              'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n              'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n            );\n            err.name = 'Invariant Violation';\n            throw err;\n          }\n          error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$2);\n        } catch (ex) {\n          error = ex;\n        }\n        if (error && !(error instanceof Error)) {\n          printWarning$1(\n            (componentName || 'React class') + ': type specification of ' +\n            location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n            'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n            'You may have forgotten to pass an argument to the type checker ' +\n            'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n            'shape all require an argument).'\n          );\n        }\n        if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n          // Only monitor this failure once because there tends to be a lot of the\n          // same error.\n          loggedTypeFailures[error.message] = true;\n\n          var stack = getStack ? getStack() : '';\n\n          printWarning$1(\n            'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n          );\n        }\n      }\n    }\n  }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes$1.resetWarningCache = function() {\n  if (true) {\n    loggedTypeFailures = {};\n  }\n};\n\nvar checkPropTypes_1 = checkPropTypes$1;\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar ReactIs$1 = reactIs$1.exports;\nvar assign = objectAssign;\n\nvar ReactPropTypesSecret$1 = ReactPropTypesSecret_1;\nvar has = has$2;\nvar checkPropTypes = checkPropTypes_1;\n\nvar printWarning = function() {};\n\nif (true) {\n  printWarning = function(text) {\n    var message = 'Warning: ' + text;\n    if (typeof console !== 'undefined') {\n      console.error(message);\n    }\n    try {\n      // --- Welcome to debugging React ---\n      // This error was thrown as a convenience so that you can use this stack\n      // to find the callsite that caused this warning to fire.\n      throw new Error(message);\n    } catch (x) {}\n  };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n  return null;\n}\n\nvar factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {\n  /* global Symbol */\n  var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n  var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n  /**\n   * Returns the iterator method function contained on the iterable object.\n   *\n   * Be sure to invoke the function with the iterable as context:\n   *\n   *     var iteratorFn = getIteratorFn(myIterable);\n   *     if (iteratorFn) {\n   *       var iterator = iteratorFn.call(myIterable);\n   *       ...\n   *     }\n   *\n   * @param {?object} maybeIterable\n   * @return {?function}\n   */\n  function getIteratorFn(maybeIterable) {\n    var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n    if (typeof iteratorFn === 'function') {\n      return iteratorFn;\n    }\n  }\n\n  /**\n   * Collection of methods that allow declaration and validation of props that are\n   * supplied to React components. Example usage:\n   *\n   *   var Props = require('ReactPropTypes');\n   *   var MyArticle = React.createClass({\n   *     propTypes: {\n   *       // An optional string prop named \"description\".\n   *       description: Props.string,\n   *\n   *       // A required enum prop named \"category\".\n   *       category: Props.oneOf(['News','Photos']).isRequired,\n   *\n   *       // A prop named \"dialog\" that requires an instance of Dialog.\n   *       dialog: Props.instanceOf(Dialog).isRequired\n   *     },\n   *     render: function() { ... }\n   *   });\n   *\n   * A more formal specification of how these methods are used:\n   *\n   *   type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n   *   decl := ReactPropTypes.{type}(.isRequired)?\n   *\n   * Each and every declaration produces a function with the same signature. This\n   * allows the creation of custom validation functions. For example:\n   *\n   *  var MyLink = React.createClass({\n   *    propTypes: {\n   *      // An optional string or URI prop named \"href\".\n   *      href: function(props, propName, componentName) {\n   *        var propValue = props[propName];\n   *        if (propValue != null && typeof propValue !== 'string' &&\n   *            !(propValue instanceof URI)) {\n   *          return new Error(\n   *            'Expected a string or an URI for ' + propName + ' in ' +\n   *            componentName\n   *          );\n   *        }\n   *      }\n   *    },\n   *    render: function() {...}\n   *  });\n   *\n   * @internal\n   */\n\n  var ANONYMOUS = '<<anonymous>>';\n\n  // Important!\n  // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n  var ReactPropTypes = {\n    array: createPrimitiveTypeChecker('array'),\n    bigint: createPrimitiveTypeChecker('bigint'),\n    bool: createPrimitiveTypeChecker('boolean'),\n    func: createPrimitiveTypeChecker('function'),\n    number: createPrimitiveTypeChecker('number'),\n    object: createPrimitiveTypeChecker('object'),\n    string: createPrimitiveTypeChecker('string'),\n    symbol: createPrimitiveTypeChecker('symbol'),\n\n    any: createAnyTypeChecker(),\n    arrayOf: createArrayOfTypeChecker,\n    element: createElementTypeChecker(),\n    elementType: createElementTypeTypeChecker(),\n    instanceOf: createInstanceTypeChecker,\n    node: createNodeChecker(),\n    objectOf: createObjectOfTypeChecker,\n    oneOf: createEnumTypeChecker,\n    oneOfType: createUnionTypeChecker,\n    shape: createShapeTypeChecker,\n    exact: createStrictShapeTypeChecker,\n  };\n\n  /**\n   * inlined Object.is polyfill to avoid requiring consumers ship their own\n   * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n   */\n  /*eslint-disable no-self-compare*/\n  function is(x, y) {\n    // SameValue algorithm\n    if (x === y) {\n      // Steps 1-5, 7-10\n      // Steps 6.b-6.e: +0 != -0\n      return x !== 0 || 1 / x === 1 / y;\n    } else {\n      // Step 6.a: NaN == NaN\n      return x !== x && y !== y;\n    }\n  }\n  /*eslint-enable no-self-compare*/\n\n  /**\n   * We use an Error-like object for backward compatibility as people may call\n   * PropTypes directly and inspect their output. However, we don't use real\n   * Errors anymore. We don't inspect their stack anyway, and creating them\n   * is prohibitively expensive if they are created too often, such as what\n   * happens in oneOfType() for any type before the one that matched.\n   */\n  function PropTypeError(message, data) {\n    this.message = message;\n    this.data = data && typeof data === 'object' ? data: {};\n    this.stack = '';\n  }\n  // Make `instanceof Error` still work for returned errors.\n  PropTypeError.prototype = Error.prototype;\n\n  function createChainableTypeChecker(validate) {\n    if (true) {\n      var manualPropTypeCallCache = {};\n      var manualPropTypeWarningCount = 0;\n    }\n    function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n      componentName = componentName || ANONYMOUS;\n      propFullName = propFullName || propName;\n\n      if (secret !== ReactPropTypesSecret$1) {\n        if (throwOnDirectAccess) {\n          // New behavior only for users of `prop-types` package\n          var err = new Error(\n            'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n            'Use `PropTypes.checkPropTypes()` to call them. ' +\n            'Read more at http://fb.me/use-check-prop-types'\n          );\n          err.name = 'Invariant Violation';\n          throw err;\n        } else if ( true && typeof console !== 'undefined') {\n          // Old behavior for people using React.PropTypes\n          var cacheKey = componentName + ':' + propName;\n          if (\n            !manualPropTypeCallCache[cacheKey] &&\n            // Avoid spamming the console because they are often not actionable except for lib authors\n            manualPropTypeWarningCount < 3\n          ) {\n            printWarning(\n              'You are manually calling a React.PropTypes validation ' +\n              'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n              'and will throw in the standalone `prop-types` package. ' +\n              'You may be seeing this warning due to a third-party PropTypes ' +\n              'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n            );\n            manualPropTypeCallCache[cacheKey] = true;\n            manualPropTypeWarningCount++;\n          }\n        }\n      }\n      if (props[propName] == null) {\n        if (isRequired) {\n          if (props[propName] === null) {\n            return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n          }\n          return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n        }\n        return null;\n      } else {\n        return validate(props, propName, componentName, location, propFullName);\n      }\n    }\n\n    var chainedCheckType = checkType.bind(null, false);\n    chainedCheckType.isRequired = checkType.bind(null, true);\n\n    return chainedCheckType;\n  }\n\n  function createPrimitiveTypeChecker(expectedType) {\n    function validate(props, propName, componentName, location, propFullName, secret) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== expectedType) {\n        // `propValue` being instance of, say, date/regexp, pass the 'object'\n        // check, but we can offer a more precise error message here rather than\n        // 'of type `object`'.\n        var preciseType = getPreciseType(propValue);\n\n        return new PropTypeError(\n          'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n          {expectedType: expectedType}\n        );\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createAnyTypeChecker() {\n    return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n  }\n\n  function createArrayOfTypeChecker(typeChecker) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (typeof typeChecker !== 'function') {\n        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n      }\n      var propValue = props[propName];\n      if (!Array.isArray(propValue)) {\n        var propType = getPropType(propValue);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n      }\n      for (var i = 0; i < propValue.length; i++) {\n        var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);\n        if (error instanceof Error) {\n          return error;\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createElementTypeChecker() {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      if (!isValidElement(propValue)) {\n        var propType = getPropType(propValue);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createElementTypeTypeChecker() {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      if (!ReactIs$1.isValidElementType(propValue)) {\n        var propType = getPropType(propValue);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createInstanceTypeChecker(expectedClass) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (!(props[propName] instanceof expectedClass)) {\n        var expectedClassName = expectedClass.name || ANONYMOUS;\n        var actualClassName = getClassName(props[propName]);\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createEnumTypeChecker(expectedValues) {\n    if (!Array.isArray(expectedValues)) {\n      if (true) {\n        if (arguments.length > 1) {\n          printWarning(\n            'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n            'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n          );\n        } else {\n          printWarning('Invalid argument supplied to oneOf, expected an array.');\n        }\n      }\n      return emptyFunctionThatReturnsNull;\n    }\n\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      for (var i = 0; i < expectedValues.length; i++) {\n        if (is(propValue, expectedValues[i])) {\n          return null;\n        }\n      }\n\n      var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n        var type = getPreciseType(value);\n        if (type === 'symbol') {\n          return String(value);\n        }\n        return value;\n      });\n      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createObjectOfTypeChecker(typeChecker) {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (typeof typeChecker !== 'function') {\n        return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n      }\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n      }\n      for (var key in propValue) {\n        if (has(propValue, key)) {\n          var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);\n          if (error instanceof Error) {\n            return error;\n          }\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createUnionTypeChecker(arrayOfTypeCheckers) {\n    if (!Array.isArray(arrayOfTypeCheckers)) {\n       true ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : 0;\n      return emptyFunctionThatReturnsNull;\n    }\n\n    for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n      var checker = arrayOfTypeCheckers[i];\n      if (typeof checker !== 'function') {\n        printWarning(\n          'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n          'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n        );\n        return emptyFunctionThatReturnsNull;\n      }\n    }\n\n    function validate(props, propName, componentName, location, propFullName) {\n      var expectedTypes = [];\n      for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n        var checker = arrayOfTypeCheckers[i];\n        var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);\n        if (checkerResult == null) {\n          return null;\n        }\n        if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n          expectedTypes.push(checkerResult.data.expectedType);\n        }\n      }\n      var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n      return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createNodeChecker() {\n    function validate(props, propName, componentName, location, propFullName) {\n      if (!isNode(props[propName])) {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function invalidValidatorError(componentName, location, propFullName, key, type) {\n    return new PropTypeError(\n      (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n      'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n    );\n  }\n\n  function createShapeTypeChecker(shapeTypes) {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n      }\n      for (var key in shapeTypes) {\n        var checker = shapeTypes[key];\n        if (typeof checker !== 'function') {\n          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n        }\n        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);\n        if (error) {\n          return error;\n        }\n      }\n      return null;\n    }\n    return createChainableTypeChecker(validate);\n  }\n\n  function createStrictShapeTypeChecker(shapeTypes) {\n    function validate(props, propName, componentName, location, propFullName) {\n      var propValue = props[propName];\n      var propType = getPropType(propValue);\n      if (propType !== 'object') {\n        return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n      }\n      // We need to check all keys in case some are required but missing from props.\n      var allKeys = assign({}, props[propName], shapeTypes);\n      for (var key in allKeys) {\n        var checker = shapeTypes[key];\n        if (has(shapeTypes, key) && typeof checker !== 'function') {\n          return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n        }\n        if (!checker) {\n          return new PropTypeError(\n            'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n            '\\nBad object: ' + JSON.stringify(props[propName], null, '  ') +\n            '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, '  ')\n          );\n        }\n        var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);\n        if (error) {\n          return error;\n        }\n      }\n      return null;\n    }\n\n    return createChainableTypeChecker(validate);\n  }\n\n  function isNode(propValue) {\n    switch (typeof propValue) {\n      case 'number':\n      case 'string':\n      case 'undefined':\n        return true;\n      case 'boolean':\n        return !propValue;\n      case 'object':\n        if (Array.isArray(propValue)) {\n          return propValue.every(isNode);\n        }\n        if (propValue === null || isValidElement(propValue)) {\n          return true;\n        }\n\n        var iteratorFn = getIteratorFn(propValue);\n        if (iteratorFn) {\n          var iterator = iteratorFn.call(propValue);\n          var step;\n          if (iteratorFn !== propValue.entries) {\n            while (!(step = iterator.next()).done) {\n              if (!isNode(step.value)) {\n                return false;\n              }\n            }\n          } else {\n            // Iterator will provide entry [k,v] tuples rather than values.\n            while (!(step = iterator.next()).done) {\n              var entry = step.value;\n              if (entry) {\n                if (!isNode(entry[1])) {\n                  return false;\n                }\n              }\n            }\n          }\n        } else {\n          return false;\n        }\n\n        return true;\n      default:\n        return false;\n    }\n  }\n\n  function isSymbol(propType, propValue) {\n    // Native Symbol.\n    if (propType === 'symbol') {\n      return true;\n    }\n\n    // falsy value can't be a Symbol\n    if (!propValue) {\n      return false;\n    }\n\n    // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n    if (propValue['@@toStringTag'] === 'Symbol') {\n      return true;\n    }\n\n    // Fallback for non-spec compliant Symbols which are polyfilled.\n    if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n      return true;\n    }\n\n    return false;\n  }\n\n  // Equivalent of `typeof` but with special handling for array and regexp.\n  function getPropType(propValue) {\n    var propType = typeof propValue;\n    if (Array.isArray(propValue)) {\n      return 'array';\n    }\n    if (propValue instanceof RegExp) {\n      // Old webkits (at least until Android 4.0) return 'function' rather than\n      // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n      // passes PropTypes.object.\n      return 'object';\n    }\n    if (isSymbol(propType, propValue)) {\n      return 'symbol';\n    }\n    return propType;\n  }\n\n  // This handles more types than `getPropType`. Only used for error messages.\n  // See `createPrimitiveTypeChecker`.\n  function getPreciseType(propValue) {\n    if (typeof propValue === 'undefined' || propValue === null) {\n      return '' + propValue;\n    }\n    var propType = getPropType(propValue);\n    if (propType === 'object') {\n      if (propValue instanceof Date) {\n        return 'date';\n      } else if (propValue instanceof RegExp) {\n        return 'regexp';\n      }\n    }\n    return propType;\n  }\n\n  // Returns a string that is postfixed to a warning about an invalid type.\n  // For example, \"undefined\" or \"of type array\"\n  function getPostfixForTypeWarning(value) {\n    var type = getPreciseType(value);\n    switch (type) {\n      case 'array':\n      case 'object':\n        return 'an ' + type;\n      case 'boolean':\n      case 'date':\n      case 'regexp':\n        return 'a ' + type;\n      default:\n        return type;\n    }\n  }\n\n  // Returns class name of the object, if any.\n  function getClassName(propValue) {\n    if (!propValue.constructor || !propValue.constructor.name) {\n      return ANONYMOUS;\n    }\n    return propValue.constructor.name;\n  }\n\n  ReactPropTypes.checkPropTypes = checkPropTypes;\n  ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar ReactPropTypesSecret = ReactPropTypesSecret_1;\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nvar factoryWithThrowingShims = function() {\n  function shim(props, propName, componentName, location, propFullName, secret) {\n    if (secret === ReactPropTypesSecret) {\n      // It is still safe when called from React.\n      return;\n    }\n    var err = new Error(\n      'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n      'Use PropTypes.checkPropTypes() to call them. ' +\n      'Read more at http://fb.me/use-check-prop-types'\n    );\n    err.name = 'Invariant Violation';\n    throw err;\n  }  shim.isRequired = shim;\n  function getShim() {\n    return shim;\n  }  // Important!\n  // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n  var ReactPropTypes = {\n    array: shim,\n    bigint: shim,\n    bool: shim,\n    func: shim,\n    number: shim,\n    object: shim,\n    string: shim,\n    symbol: shim,\n\n    any: shim,\n    arrayOf: getShim,\n    element: shim,\n    elementType: shim,\n    instanceOf: getShim,\n    node: shim,\n    objectOf: getShim,\n    oneOf: getShim,\n    oneOfType: getShim,\n    shape: getShim,\n    exact: getShim,\n\n    checkPropTypes: emptyFunctionWithReset,\n    resetWarningCache: emptyFunction\n  };\n\n  ReactPropTypes.PropTypes = ReactPropTypes;\n\n  return ReactPropTypes;\n};\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (true) {\n  var ReactIs = reactIs$1.exports;\n\n  // By explicitly using `prop-types` you are opting into new development behavior.\n  // http://fb.me/prop-types-in-prod\n  var throwOnDirectAccess = true;\n  propTypes.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);\n} else {}\n\nvar PropTypes = propTypes.exports;\n\nvar ReactReduxContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext(null);\n\nif (true) {\n  ReactReduxContext.displayName = 'ReactRedux';\n}\n\n// Default to a dummy \"batch\" implementation that just runs the callback\nfunction defaultNoopBatch(callback) {\n  callback();\n}\n\nvar batch = defaultNoopBatch; // Allow injecting another batching function later\n\nvar setBatch = function setBatch(newBatch) {\n  return batch = newBatch;\n}; // Supply a getter just to skip dealing with ESM bindings\n\nvar getBatch = function getBatch() {\n  return batch;\n};\n\n// well as nesting subscriptions of descendant components, so that we can ensure the\n// ancestor components re-render before descendants\n\nfunction createListenerCollection() {\n  var batch = getBatch();\n  var first = null;\n  var last = null;\n  return {\n    clear: function clear() {\n      first = null;\n      last = null;\n    },\n    notify: function notify() {\n      batch(function () {\n        var listener = first;\n\n        while (listener) {\n          listener.callback();\n          listener = listener.next;\n        }\n      });\n    },\n    get: function get() {\n      var listeners = [];\n      var listener = first;\n\n      while (listener) {\n        listeners.push(listener);\n        listener = listener.next;\n      }\n\n      return listeners;\n    },\n    subscribe: function subscribe(callback) {\n      var isSubscribed = true;\n      var listener = last = {\n        callback: callback,\n        next: null,\n        prev: last\n      };\n\n      if (listener.prev) {\n        listener.prev.next = listener;\n      } else {\n        first = listener;\n      }\n\n      return function unsubscribe() {\n        if (!isSubscribed || first === null) return;\n        isSubscribed = false;\n\n        if (listener.next) {\n          listener.next.prev = listener.prev;\n        } else {\n          last = listener.prev;\n        }\n\n        if (listener.prev) {\n          listener.prev.next = listener.next;\n        } else {\n          first = listener.next;\n        }\n      };\n    }\n  };\n}\n\nvar nullListeners = {\n  notify: function notify() {},\n  get: function get() {\n    return [];\n  }\n};\nfunction createSubscription(store, parentSub) {\n  var unsubscribe;\n  var listeners = nullListeners;\n\n  function addNestedSub(listener) {\n    trySubscribe();\n    return listeners.subscribe(listener);\n  }\n\n  function notifyNestedSubs() {\n    listeners.notify();\n  }\n\n  function handleChangeWrapper() {\n    if (subscription.onStateChange) {\n      subscription.onStateChange();\n    }\n  }\n\n  function isSubscribed() {\n    return Boolean(unsubscribe);\n  }\n\n  function trySubscribe() {\n    if (!unsubscribe) {\n      unsubscribe = parentSub ? parentSub.addNestedSub(handleChangeWrapper) : store.subscribe(handleChangeWrapper);\n      listeners = createListenerCollection();\n    }\n  }\n\n  function tryUnsubscribe() {\n    if (unsubscribe) {\n      unsubscribe();\n      unsubscribe = undefined;\n      listeners.clear();\n      listeners = nullListeners;\n    }\n  }\n\n  var subscription = {\n    addNestedSub: addNestedSub,\n    notifyNestedSubs: notifyNestedSubs,\n    handleChangeWrapper: handleChangeWrapper,\n    isSubscribed: isSubscribed,\n    trySubscribe: trySubscribe,\n    tryUnsubscribe: tryUnsubscribe,\n    getListeners: function getListeners() {\n      return listeners;\n    }\n  };\n  return subscription;\n}\n\n// To get around it, we can conditionally useEffect on the server (no-op) and\n// useLayoutEffect in the browser. We need useLayoutEffect to ensure the store\n// subscription callback always has the selector from the latest render commit\n// available, otherwise a store update may happen between render and the effect,\n// which may cause missed updates; we also must ensure the store subscription\n// is created synchronously, otherwise a store update may occur before the\n// subscription is created and an inconsistent state may be observed\n\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' && typeof window.document !== 'undefined' && typeof window.document.createElement !== 'undefined' ? react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect : react__WEBPACK_IMPORTED_MODULE_0__.useEffect;\n\nfunction Provider$1(_ref) {\n  var store = _ref.store,\n      context = _ref.context,\n      children = _ref.children;\n  var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    var subscription = createSubscription(store);\n    subscription.onStateChange = subscription.notifyNestedSubs;\n    return {\n      store: store,\n      subscription: subscription\n    };\n  }, [store]);\n  var previousState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return store.getState();\n  }, [store]);\n  useIsomorphicLayoutEffect(function () {\n    var subscription = contextValue.subscription;\n    subscription.trySubscribe();\n\n    if (previousState !== store.getState()) {\n      subscription.notifyNestedSubs();\n    }\n\n    return function () {\n      subscription.tryUnsubscribe();\n      subscription.onStateChange = null;\n    };\n  }, [contextValue, previousState]);\n  var Context = context || ReactReduxContext;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Context.Provider, {\n    value: contextValue\n  }, children);\n}\n\nif (true) {\n  Provider$1.propTypes = {\n    store: PropTypes.shape({\n      subscribe: PropTypes.func.isRequired,\n      dispatch: PropTypes.func.isRequired,\n      getState: PropTypes.func.isRequired\n    }),\n    context: PropTypes.object,\n    children: PropTypes.any\n  };\n}\n\nvar reactIs = reactIs$1.exports;\nvar FORWARD_REF_STATICS = {\n  '$$typeof': true,\n  render: true,\n  defaultProps: true,\n  displayName: true,\n  propTypes: true\n};\nvar MEMO_STATICS = {\n  '$$typeof': true,\n  compare: true,\n  defaultProps: true,\n  displayName: true,\n  propTypes: true,\n  type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;\nTYPE_STATICS[reactIs.Memo] = MEMO_STATICS;\n\nvar reactIs_production_min = {};\n\n/** @license React v17.0.2\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nvar b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;\nif(\"function\"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x(\"react.element\");c=x(\"react.portal\");d=x(\"react.fragment\");e=x(\"react.strict_mode\");f=x(\"react.profiler\");g=x(\"react.provider\");h=x(\"react.context\");k=x(\"react.forward_ref\");l=x(\"react.suspense\");m=x(\"react.suspense_list\");n=x(\"react.memo\");p=x(\"react.lazy\");q=x(\"react.block\");r=x(\"react.server.block\");u=x(\"react.fundamental\");v=x(\"react.debug_trace_mode\");w=x(\"react.legacy_hidden\");}\nfunction y(a){if(\"object\"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=z;reactIs_production_min.Element=A;reactIs_production_min.ForwardRef=B;reactIs_production_min.Fragment=C;reactIs_production_min.Lazy=D;reactIs_production_min.Memo=E;reactIs_production_min.Portal=F;reactIs_production_min.Profiler=G;reactIs_production_min.StrictMode=H;\nreactIs_production_min.Suspense=I;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.isContextProvider=function(a){return y(a)===g};reactIs_production_min.isElement=function(a){return \"object\"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return y(a)===k};reactIs_production_min.isFragment=function(a){return y(a)===d};reactIs_production_min.isLazy=function(a){return y(a)===p};reactIs_production_min.isMemo=function(a){return y(a)===n};\nreactIs_production_min.isPortal=function(a){return y(a)===c};reactIs_production_min.isProfiler=function(a){return y(a)===f};reactIs_production_min.isStrictMode=function(a){return y(a)===e};reactIs_production_min.isSuspense=function(a){return y(a)===l};reactIs_production_min.isValidElementType=function(a){return \"string\"===typeof a||\"function\"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||\"object\"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};\nreactIs_production_min.typeOf=y;\n\nvar reactIs_development = {};\n\n/** @license React v17.0.2\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (true) {\n  (function() {\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar REACT_ELEMENT_TYPE = 0xeac7;\nvar REACT_PORTAL_TYPE = 0xeaca;\nvar REACT_FRAGMENT_TYPE = 0xeacb;\nvar REACT_STRICT_MODE_TYPE = 0xeacc;\nvar REACT_PROFILER_TYPE = 0xead2;\nvar REACT_PROVIDER_TYPE = 0xeacd;\nvar REACT_CONTEXT_TYPE = 0xeace;\nvar REACT_FORWARD_REF_TYPE = 0xead0;\nvar REACT_SUSPENSE_TYPE = 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = 0xead8;\nvar REACT_MEMO_TYPE = 0xead3;\nvar REACT_LAZY_TYPE = 0xead4;\nvar REACT_BLOCK_TYPE = 0xead9;\nvar REACT_SERVER_BLOCK_TYPE = 0xeada;\nvar REACT_FUNDAMENTAL_TYPE = 0xead5;\nvar REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;\nvar REACT_LEGACY_HIDDEN_TYPE = 0xeae3;\n\nif (typeof Symbol === 'function' && Symbol.for) {\n  var symbolFor = Symbol.for;\n  REACT_ELEMENT_TYPE = symbolFor('react.element');\n  REACT_PORTAL_TYPE = symbolFor('react.portal');\n  REACT_FRAGMENT_TYPE = symbolFor('react.fragment');\n  REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');\n  REACT_PROFILER_TYPE = symbolFor('react.profiler');\n  REACT_PROVIDER_TYPE = symbolFor('react.provider');\n  REACT_CONTEXT_TYPE = symbolFor('react.context');\n  REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');\n  REACT_SUSPENSE_TYPE = symbolFor('react.suspense');\n  REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');\n  REACT_MEMO_TYPE = symbolFor('react.memo');\n  REACT_LAZY_TYPE = symbolFor('react.lazy');\n  REACT_BLOCK_TYPE = symbolFor('react.block');\n  REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');\n  REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');\n  symbolFor('react.scope');\n  symbolFor('react.opaque.id');\n  REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');\n  symbolFor('react.offscreen');\n  REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');\n}\n\n// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.\n\nvar enableScopeAPI = false; // Experimental Create Event Handle API.\n\nfunction isValidElementType(type) {\n  if (typeof type === 'string' || typeof type === 'function') {\n    return true;\n  } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).\n\n\n  if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {\n    return true;\n  }\n\n  if (typeof type === 'object' && type !== null) {\n    if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {\n      return true;\n    }\n  }\n\n  return false;\n}\n\nfunction typeOf(object) {\n  if (typeof object === 'object' && object !== null) {\n    var $$typeof = object.$$typeof;\n\n    switch ($$typeof) {\n      case REACT_ELEMENT_TYPE:\n        var type = object.type;\n\n        switch (type) {\n          case REACT_FRAGMENT_TYPE:\n          case REACT_PROFILER_TYPE:\n          case REACT_STRICT_MODE_TYPE:\n          case REACT_SUSPENSE_TYPE:\n          case REACT_SUSPENSE_LIST_TYPE:\n            return type;\n\n          default:\n            var $$typeofType = type && type.$$typeof;\n\n            switch ($$typeofType) {\n              case REACT_CONTEXT_TYPE:\n              case REACT_FORWARD_REF_TYPE:\n              case REACT_LAZY_TYPE:\n              case REACT_MEMO_TYPE:\n              case REACT_PROVIDER_TYPE:\n                return $$typeofType;\n\n              default:\n                return $$typeof;\n            }\n\n        }\n\n      case REACT_PORTAL_TYPE:\n        return $$typeof;\n    }\n  }\n\n  return undefined;\n}\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false;\nvar hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n  {\n    if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n      hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n      console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n    }\n  }\n\n  return false;\n}\nfunction isConcurrentMode(object) {\n  {\n    if (!hasWarnedAboutDeprecatedIsConcurrentMode) {\n      hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint\n\n      console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');\n    }\n  }\n\n  return false;\n}\nfunction isContextConsumer(object) {\n  return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n  return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n  return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n  return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n  return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n  return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n  return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n  return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n  return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n  return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n  return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nreactIs_development.ContextConsumer = ContextConsumer;\nreactIs_development.ContextProvider = ContextProvider;\nreactIs_development.Element = Element;\nreactIs_development.ForwardRef = ForwardRef;\nreactIs_development.Fragment = Fragment;\nreactIs_development.Lazy = Lazy;\nreactIs_development.Memo = Memo;\nreactIs_development.Portal = Portal;\nreactIs_development.Profiler = Profiler;\nreactIs_development.StrictMode = StrictMode;\nreactIs_development.Suspense = Suspense;\nreactIs_development.isAsyncMode = isAsyncMode;\nreactIs_development.isConcurrentMode = isConcurrentMode;\nreactIs_development.isContextConsumer = isContextConsumer;\nreactIs_development.isContextProvider = isContextProvider;\nreactIs_development.isElement = isElement;\nreactIs_development.isForwardRef = isForwardRef;\nreactIs_development.isFragment = isFragment;\nreactIs_development.isLazy = isLazy;\nreactIs_development.isMemo = isMemo;\nreactIs_development.isPortal = isPortal;\nreactIs_development.isProfiler = isProfiler;\nreactIs_development.isStrictMode = isStrictMode;\nreactIs_development.isSuspense = isSuspense;\nreactIs_development.isValidElementType = isValidElementType;\nreactIs_development.typeOf = typeOf;\n  })();\n}\n\nif (false) {}\n\n/**\n * A hook to access the value of the `ReactReduxContext`. This is a low-level\n * hook that you should usually not need to call directly.\n *\n * @returns {any} the value of the `ReactReduxContext`\n *\n * @example\n *\n * import React from 'react'\n * import { useReduxContext } from 'react-redux'\n *\n * export const CounterComponent = ({ value }) => {\n *   const { store } = useReduxContext()\n *   return <div>{store.getState()}</div>\n * }\n */\n\nfunction useReduxContext() {\n  var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ReactReduxContext);\n\n  if ( true && !contextValue) {\n    throw new Error('could not find react-redux context value; please ensure the component is wrapped in a <Provider>');\n  }\n\n  return contextValue;\n}\n\n/**\n * Hook factory, which creates a `useStore` hook bound to a given context.\n *\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\n * @returns {Function} A `useStore` hook bound to the specified context.\n */\n\nfunction createStoreHook(context) {\n  if (context === void 0) {\n    context = ReactReduxContext;\n  }\n\n  var useReduxContext$1 = context === ReactReduxContext ? useReduxContext : function () {\n    return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);\n  };\n  return function useStore() {\n    var _useReduxContext = useReduxContext$1(),\n        store = _useReduxContext.store;\n\n    return store;\n  };\n}\n/**\n * A hook to access the redux store.\n *\n * @returns {any} the redux store\n *\n * @example\n *\n * import React from 'react'\n * import { useStore } from 'react-redux'\n *\n * export const ExampleComponent = () => {\n *   const store = useStore()\n *   return <div>{store.getState()}</div>\n * }\n */\n\nvar useStore$1 = /*#__PURE__*/createStoreHook();\n\n/**\n * Hook factory, which creates a `useDispatch` hook bound to a given context.\n *\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\n * @returns {Function} A `useDispatch` hook bound to the specified context.\n */\n\nfunction createDispatchHook(context) {\n  if (context === void 0) {\n    context = ReactReduxContext;\n  }\n\n  var useStore = context === ReactReduxContext ? useStore$1 : createStoreHook(context);\n  return function useDispatch() {\n    var store = useStore();\n    return store.dispatch;\n  };\n}\n/**\n * A hook to access the redux `dispatch` function.\n *\n * @returns {any|function} redux store's `dispatch` function\n *\n * @example\n *\n * import React, { useCallback } from 'react'\n * import { useDispatch } from 'react-redux'\n *\n * export const CounterComponent = ({ value }) => {\n *   const dispatch = useDispatch()\n *   const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])\n *   return (\n *     <div>\n *       <span>{value}</span>\n *       <button onClick={increaseCounter}>Increase counter</button>\n *     </div>\n *   )\n * }\n */\n\nvar useDispatch$1 = /*#__PURE__*/createDispatchHook();\n\nvar refEquality = function refEquality(a, b) {\n  return a === b;\n};\n\nfunction useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub) {\n  var _useReducer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useReducer)(function (s) {\n    return s + 1;\n  }, 0),\n      forceRender = _useReducer[1];\n\n  var subscription = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return createSubscription(store, contextSub);\n  }, [store, contextSub]);\n  var latestSubscriptionCallbackError = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n  var latestSelector = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n  var latestStoreState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n  var latestSelectedState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n  var storeState = store.getState();\n  var selectedState;\n\n  try {\n    if (selector !== latestSelector.current || storeState !== latestStoreState.current || latestSubscriptionCallbackError.current) {\n      var newSelectedState = selector(storeState); // ensure latest selected state is reused so that a custom equality function can result in identical references\n\n      if (latestSelectedState.current === undefined || !equalityFn(newSelectedState, latestSelectedState.current)) {\n        selectedState = newSelectedState;\n      } else {\n        selectedState = latestSelectedState.current;\n      }\n    } else {\n      selectedState = latestSelectedState.current;\n    }\n  } catch (err) {\n    if (latestSubscriptionCallbackError.current) {\n      err.message += \"\\nThe error may be correlated with this previous error:\\n\" + latestSubscriptionCallbackError.current.stack + \"\\n\\n\";\n    }\n\n    throw err;\n  }\n\n  useIsomorphicLayoutEffect(function () {\n    latestSelector.current = selector;\n    latestStoreState.current = storeState;\n    latestSelectedState.current = selectedState;\n    latestSubscriptionCallbackError.current = undefined;\n  });\n  useIsomorphicLayoutEffect(function () {\n    function checkForUpdates() {\n      try {\n        var newStoreState = store.getState(); // Avoid calling selector multiple times if the store's state has not changed\n\n        if (newStoreState === latestStoreState.current) {\n          return;\n        }\n\n        var _newSelectedState = latestSelector.current(newStoreState);\n\n        if (equalityFn(_newSelectedState, latestSelectedState.current)) {\n          return;\n        }\n\n        latestSelectedState.current = _newSelectedState;\n        latestStoreState.current = newStoreState;\n      } catch (err) {\n        // we ignore all errors here, since when the component\n        // is re-rendered, the selectors are called again, and\n        // will throw again, if neither props nor store state\n        // changed\n        latestSubscriptionCallbackError.current = err;\n      }\n\n      forceRender();\n    }\n\n    subscription.onStateChange = checkForUpdates;\n    subscription.trySubscribe();\n    checkForUpdates();\n    return function () {\n      return subscription.tryUnsubscribe();\n    };\n  }, [store, subscription]);\n  return selectedState;\n}\n/**\n * Hook factory, which creates a `useSelector` hook bound to a given context.\n *\n * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.\n * @returns {Function} A `useSelector` hook bound to the specified context.\n */\n\n\nfunction createSelectorHook(context) {\n  if (context === void 0) {\n    context = ReactReduxContext;\n  }\n\n  var useReduxContext$1 = context === ReactReduxContext ? useReduxContext : function () {\n    return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(context);\n  };\n  return function useSelector(selector, equalityFn) {\n    if (equalityFn === void 0) {\n      equalityFn = refEquality;\n    }\n\n    if (true) {\n      if (!selector) {\n        throw new Error(\"You must pass a selector to useSelector\");\n      }\n\n      if (typeof selector !== 'function') {\n        throw new Error(\"You must pass a function as a selector to useSelector\");\n      }\n\n      if (typeof equalityFn !== 'function') {\n        throw new Error(\"You must pass a function as an equality function to useSelector\");\n      }\n    }\n\n    var _useReduxContext = useReduxContext$1(),\n        store = _useReduxContext.store,\n        contextSub = _useReduxContext.subscription;\n\n    var selectedState = useSelectorWithStoreAndSubscription(selector, equalityFn, store, contextSub);\n    (0,react__WEBPACK_IMPORTED_MODULE_0__.useDebugValue)(selectedState);\n    return selectedState;\n  };\n}\n/**\n * A hook to access the redux store's state. This hook takes a selector function\n * as an argument. The selector is called with the store state.\n *\n * This hook takes an optional equality comparison function as the second parameter\n * that allows you to customize the way the selected state is compared to determine\n * whether the component needs to be re-rendered.\n *\n * @param {Function} selector the selector function\n * @param {Function=} equalityFn the function that will be used to determine equality\n *\n * @returns {any} the selected state\n *\n * @example\n *\n * import React from 'react'\n * import { useSelector } from 'react-redux'\n *\n * export const CounterComponent = () => {\n *   const counter = useSelector(state => state.counter)\n *   return <div>{counter}</div>\n * }\n */\n\nvar useSelector = /*#__PURE__*/createSelectorHook();\n\n// with standard React renderers (ReactDOM, React Native)\n\nsetBatch(react_dom__WEBPACK_IMPORTED_MODULE_1__.unstable_batchedUpdates);\n\nfunction createAction(type, payload) {\n  return {\n    type: type,\n    payload: payload\n  };\n}\n\nvar SET_ON_CONNECT = 'SET_ON_CONNECT';\nvar SET_ON_CONNECT_START = 'SET_ON_CONNECT_START';\nvar SET_ON_CONNECT_STOP = 'SET_ON_CONNECT_STOP';\nvar SET_ON_CONNECT_END = 'SET_ON_CONNECT_END';\nvar SET_ELEMENTS = 'SET_ELEMENTS';\nvar UPDATE_NODE_DIMENSIONS = 'UPDATE_NODE_DIMENSIONS';\nvar UPDATE_NODE_POS = 'UPDATE_NODE_POS';\nvar UPDATE_NODE_POS_DIFF = 'UPDATE_NODE_POS_DIFF';\nvar SET_USER_SELECTION = 'SET_USER_SELECTION';\nvar UPDATE_USER_SELECTION = 'UPDATE_USER_SELECTION';\nvar UNSET_USER_SELECTION = 'UNSET_USER_SELECTION';\nvar SET_SELECTION = 'SET_SELECTION';\nvar UNSET_NODES_SELECTION = 'UNSET_NODES_SELECTION';\nvar SET_SELECTED_ELEMENTS = 'SET_SELECTED_ELEMENTS';\nvar RESET_SELECTED_ELEMENTS = 'RESET_SELECTED_ELEMENTS';\nvar ADD_SELECTED_ELEMENTS = 'ADD_SELECTED_ELEMENTS';\nvar UPDATE_TRANSFORM = 'UPDATE_TRANSFORM';\nvar UPDATE_SIZE = 'UPDATE_SIZE';\nvar INIT_D3ZOOM = 'INIT_D3ZOOM';\nvar SET_MINZOOM = 'SET_MINZOOM';\nvar SET_MAXZOOM = 'SET_MAXZOOM';\nvar SET_TRANSLATEEXTENT = 'SET_TRANSLATEEXTENT';\nvar SET_CONNECTION_POSITION = 'SET_CONNECTION_POSITION';\nvar SET_CONNECTION_NODEID = 'SET_CONNECTION_NODEID';\nvar SET_SNAPTOGRID = 'SET_SNAPTOGRID';\nvar SET_SNAPGRID = 'SET_SNAPGRID';\nvar SET_INTERACTIVE = 'SET_INTERACTIVE';\nvar SET_NODES_DRAGGABLE = 'SET_NODES_DRAGGABLE';\nvar SET_NODES_CONNECTABLE = 'SET_NODES_CONNECTABLE';\nvar SET_ELEMENTS_SELECTABLE = 'SET_ELEMENTS_SELECTABLE';\nvar SET_MULTI_SELECTION_ACTIVE = 'SET_MULTI_SELECTION_ACTIVE';\nvar SET_CONNECTION_MODE = 'SET_CONNECTION_MODE';\nvar SET_NODE_EXTENT = 'SET_NODE_EXTENT';\n\nvar setOnConnect = function setOnConnect(onConnect) {\n  return createAction(SET_ON_CONNECT, {\n    onConnect: onConnect\n  });\n};\nvar setOnConnectStart = function setOnConnectStart(onConnectStart) {\n  return createAction(SET_ON_CONNECT_START, {\n    onConnectStart: onConnectStart\n  });\n};\nvar setOnConnectStop = function setOnConnectStop(onConnectStop) {\n  return createAction(SET_ON_CONNECT_STOP, {\n    onConnectStop: onConnectStop\n  });\n};\nvar setOnConnectEnd = function setOnConnectEnd(onConnectEnd) {\n  return createAction(SET_ON_CONNECT_END, {\n    onConnectEnd: onConnectEnd\n  });\n};\nvar setElements = function setElements(elements) {\n  return createAction(SET_ELEMENTS, elements);\n};\nvar updateNodeDimensions = function updateNodeDimensions(updates) {\n  return createAction(UPDATE_NODE_DIMENSIONS, updates);\n};\nvar updateNodePos = function updateNodePos(payload) {\n  return createAction(UPDATE_NODE_POS, payload);\n};\nvar updateNodePosDiff = function updateNodePosDiff(payload) {\n  return createAction(UPDATE_NODE_POS_DIFF, payload);\n};\nvar setUserSelection = function setUserSelection(mousePos) {\n  return createAction(SET_USER_SELECTION, mousePos);\n};\nvar updateUserSelection = function updateUserSelection(mousePos) {\n  return createAction(UPDATE_USER_SELECTION, mousePos);\n};\nvar unsetUserSelection = function unsetUserSelection() {\n  return createAction(UNSET_USER_SELECTION);\n};\nvar setSelection = function setSelection(selectionActive) {\n  return createAction(SET_SELECTION, {\n    selectionActive: selectionActive\n  });\n};\nvar unsetNodesSelection = function unsetNodesSelection() {\n  return createAction(UNSET_NODES_SELECTION, {\n    nodesSelectionActive: false\n  });\n};\nvar resetSelectedElements = function resetSelectedElements() {\n  return createAction(RESET_SELECTED_ELEMENTS, {\n    selectedElements: null\n  });\n};\nvar setSelectedElements = function setSelectedElements(elements) {\n  return createAction(SET_SELECTED_ELEMENTS, elements);\n};\nvar addSelectedElements = function addSelectedElements(elements) {\n  return createAction(ADD_SELECTED_ELEMENTS, elements);\n};\nvar updateTransform = function updateTransform(transform) {\n  return createAction(UPDATE_TRANSFORM, {\n    transform: transform\n  });\n};\nvar updateSize = function updateSize(size) {\n  return createAction(UPDATE_SIZE, {\n    width: size.width || 500,\n    height: size.height || 500\n  });\n};\nvar initD3Zoom = function initD3Zoom(payload) {\n  return createAction(INIT_D3ZOOM, payload);\n};\nvar setMinZoom = function setMinZoom(minZoom) {\n  return createAction(SET_MINZOOM, minZoom);\n};\nvar setMaxZoom = function setMaxZoom(maxZoom) {\n  return createAction(SET_MAXZOOM, maxZoom);\n};\nvar setTranslateExtent = function setTranslateExtent(translateExtent) {\n  return createAction(SET_TRANSLATEEXTENT, translateExtent);\n};\nvar setConnectionPosition = function setConnectionPosition(connectionPosition) {\n  return createAction(SET_CONNECTION_POSITION, {\n    connectionPosition: connectionPosition\n  });\n};\nvar setConnectionNodeId = function setConnectionNodeId(payload) {\n  return createAction(SET_CONNECTION_NODEID, payload);\n};\nvar setSnapToGrid = function setSnapToGrid(snapToGrid) {\n  return createAction(SET_SNAPTOGRID, {\n    snapToGrid: snapToGrid\n  });\n};\nvar setSnapGrid = function setSnapGrid(snapGrid) {\n  return createAction(SET_SNAPGRID, {\n    snapGrid: snapGrid\n  });\n};\nvar setInteractive = function setInteractive(isInteractive) {\n  return createAction(SET_INTERACTIVE, {\n    nodesDraggable: isInteractive,\n    nodesConnectable: isInteractive,\n    elementsSelectable: isInteractive\n  });\n};\nvar setNodesDraggable = function setNodesDraggable(nodesDraggable) {\n  return createAction(SET_NODES_DRAGGABLE, {\n    nodesDraggable: nodesDraggable\n  });\n};\nvar setNodesConnectable = function setNodesConnectable(nodesConnectable) {\n  return createAction(SET_NODES_CONNECTABLE, {\n    nodesConnectable: nodesConnectable\n  });\n};\nvar setElementsSelectable = function setElementsSelectable(elementsSelectable) {\n  return createAction(SET_ELEMENTS_SELECTABLE, {\n    elementsSelectable: elementsSelectable\n  });\n};\nvar setMultiSelectionActive = function setMultiSelectionActive(multiSelectionActive) {\n  return createAction(SET_MULTI_SELECTION_ACTIVE, {\n    multiSelectionActive: multiSelectionActive\n  });\n};\nvar setConnectionMode = function setConnectionMode(connectionMode) {\n  return createAction(SET_CONNECTION_MODE, {\n    connectionMode: connectionMode\n  });\n};\nvar setNodeExtent = function setNodeExtent(nodeExtent) {\n  return createAction(SET_NODE_EXTENT, nodeExtent);\n};\n\nvar actions = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  setOnConnect: setOnConnect,\n  setOnConnectStart: setOnConnectStart,\n  setOnConnectStop: setOnConnectStop,\n  setOnConnectEnd: setOnConnectEnd,\n  setElements: setElements,\n  updateNodeDimensions: updateNodeDimensions,\n  updateNodePos: updateNodePos,\n  updateNodePosDiff: updateNodePosDiff,\n  setUserSelection: setUserSelection,\n  updateUserSelection: updateUserSelection,\n  unsetUserSelection: unsetUserSelection,\n  setSelection: setSelection,\n  unsetNodesSelection: unsetNodesSelection,\n  resetSelectedElements: resetSelectedElements,\n  setSelectedElements: setSelectedElements,\n  addSelectedElements: addSelectedElements,\n  updateTransform: updateTransform,\n  updateSize: updateSize,\n  initD3Zoom: initD3Zoom,\n  setMinZoom: setMinZoom,\n  setMaxZoom: setMaxZoom,\n  setTranslateExtent: setTranslateExtent,\n  setConnectionPosition: setConnectionPosition,\n  setConnectionNodeId: setConnectionNodeId,\n  setSnapToGrid: setSnapToGrid,\n  setSnapGrid: setSnapGrid,\n  setInteractive: setInteractive,\n  setNodesDraggable: setNodesDraggable,\n  setNodesConnectable: setNodesConnectable,\n  setElementsSelectable: setElementsSelectable,\n  setMultiSelectionActive: setMultiSelectionActive,\n  setConnectionMode: setConnectionMode,\n  setNodeExtent: setNodeExtent\n});\n\nvar useTypedSelector = useSelector;\nfunction useStoreActions(actionSelector) {\n  var dispatch = useDispatch$1();\n  var currAction = actionSelector(actions);\n  var action = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    // this looks weird but required if both ActionSelector and ActionMapObjectSelector are supported\n    return typeof currAction === 'function' ? bindActionCreators(currAction, dispatch) : bindActionCreators(currAction, dispatch);\n  }, [dispatch, currAction]);\n  return action;\n}\nvar useStoreState = useTypedSelector;\nvar useStore = function useStore() {\n  var store = useStore$1();\n  return store;\n};\nvar useDispatch = useDispatch$1;\n\nfunction _arrayLikeToArray$1(arr, len) {\n  if (len == null || len > arr.length) len = arr.length;\n\n  for (var i = 0, arr2 = new Array(len); i < len; i++) {\n    arr2[i] = arr[i];\n  }\n\n  return arr2;\n}\n\nfunction _arrayWithoutHoles(arr) {\n  if (Array.isArray(arr)) return _arrayLikeToArray$1(arr);\n}\n\nfunction _iterableToArray(iter) {\n  if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}\n\nfunction _unsupportedIterableToArray$1(o, minLen) {\n  if (!o) return;\n  if (typeof o === \"string\") return _arrayLikeToArray$1(o, minLen);\n  var n = Object.prototype.toString.call(o).slice(8, -1);\n  if (n === \"Object\" && o.constructor) n = o.constructor.name;\n  if (n === \"Map\" || n === \"Set\") return Array.from(o);\n  if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$1(o, minLen);\n}\n\nfunction _nonIterableSpread() {\n  throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _toConsumableArray(arr) {\n  return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithHoles$1(arr) {\n  if (Array.isArray(arr)) return arr;\n}\n\nfunction _iterableToArrayLimit$1(arr, i) {\n  var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"];\n\n  if (_i == null) return;\n  var _arr = [];\n  var _n = true;\n  var _d = false;\n\n  var _s, _e;\n\n  try {\n    for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n      _arr.push(_s.value);\n\n      if (i && _arr.length === i) break;\n    }\n  } catch (err) {\n    _d = true;\n    _e = err;\n  } finally {\n    try {\n      if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n    } finally {\n      if (_d) throw _e;\n    }\n  }\n\n  return _arr;\n}\n\nfunction _nonIterableRest$1() {\n  throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\nfunction _slicedToArray$1(arr, i) {\n  return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest$1();\n}\n\nvar isInputDOMNode = function isInputDOMNode(e) {\n  var target = e === null || e === void 0 ? void 0 : e.target;\n  return ['INPUT', 'SELECT', 'TEXTAREA', 'BUTTON'].includes(target === null || target === void 0 ? void 0 : target.nodeName) || (target === null || target === void 0 ? void 0 : target.hasAttribute('contenteditable'));\n};\nvar getDimensions = function getDimensions(node) {\n  return {\n    width: node.offsetWidth,\n    height: node.offsetHeight\n  };\n};\nvar clamp = function clamp(val) {\n  var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n  return Math.min(Math.max(val, min), max);\n};\nvar clampPosition = function clampPosition(position, extent) {\n  return {\n    x: clamp(position.x, extent[0][0], extent[1][0]),\n    y: clamp(position.y, extent[0][1], extent[1][1])\n  };\n};\nvar getHostForElement = function getHostForElement(element) {\n  var _element$getRootNode, _window;\n\n  return ((_element$getRootNode = element.getRootNode) === null || _element$getRootNode === void 0 ? void 0 : _element$getRootNode.call(element)) || ((_window = window) === null || _window === void 0 ? void 0 : _window.document);\n};\n\nvar useKeyPress = (function (keyCode) {\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n      _useState2 = _slicedToArray$1(_useState, 2),\n      keyPressed = _useState2[0],\n      setKeyPressed = _useState2[1];\n\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof keyCode !== 'undefined') {\n      var downHandler = function downHandler(event) {\n        if (!isInputDOMNode(event) && (event.key === keyCode || event.keyCode === keyCode)) {\n          event.preventDefault();\n          setKeyPressed(true);\n        }\n      };\n\n      var upHandler = function upHandler(event) {\n        if (!isInputDOMNode(event) && (event.key === keyCode || event.keyCode === keyCode)) {\n          setKeyPressed(false);\n        }\n      };\n\n      var resetHandler = function resetHandler() {\n        return setKeyPressed(false);\n      };\n\n      window.addEventListener('keydown', downHandler);\n      window.addEventListener('keyup', upHandler);\n      window.addEventListener('blur', resetHandler);\n      return function () {\n        window.removeEventListener('keydown', downHandler);\n        window.removeEventListener('keyup', upHandler);\n        window.removeEventListener('blur', resetHandler);\n      };\n    }\n  }, [keyCode, setKeyPressed]);\n  return keyPressed;\n});\n\nfunction ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar isEdge = function isEdge(element) {\n  return 'id' in element && 'source' in element && 'target' in element;\n};\nvar isNode = function isNode(element) {\n  return 'id' in element && !('source' in element) && !('target' in element);\n};\nvar getOutgoers = function getOutgoers(node, elements) {\n  if (!isNode(node)) {\n    return [];\n  }\n\n  var outgoerIds = elements.filter(function (e) {\n    return isEdge(e) && e.source === node.id;\n  }).map(function (e) {\n    return e.target;\n  });\n  return elements.filter(function (e) {\n    return outgoerIds.includes(e.id);\n  });\n};\nvar getIncomers = function getIncomers(node, elements) {\n  if (!isNode(node)) {\n    return [];\n  }\n\n  var incomersIds = elements.filter(function (e) {\n    return isEdge(e) && e.target === node.id;\n  }).map(function (e) {\n    return e.source;\n  });\n  return elements.filter(function (e) {\n    return incomersIds.includes(e.id);\n  });\n};\nvar removeElements = function removeElements(elementsToRemove, elements) {\n  var nodeIdsToRemove = elementsToRemove.map(function (n) {\n    return n.id;\n  });\n  return elements.filter(function (element) {\n    var edgeElement = element;\n    return !(nodeIdsToRemove.includes(element.id) || nodeIdsToRemove.includes(edgeElement.target) || nodeIdsToRemove.includes(edgeElement.source));\n  });\n};\n\nvar getEdgeId = function getEdgeId(_ref) {\n  var source = _ref.source,\n      sourceHandle = _ref.sourceHandle,\n      target = _ref.target,\n      targetHandle = _ref.targetHandle;\n  return \"reactflow__edge-\".concat(source).concat(sourceHandle, \"-\").concat(target).concat(targetHandle);\n};\n\nvar connectionExists = function connectionExists(edge, elements) {\n  return elements.some(function (el) {\n    return isEdge(el) && el.source === edge.source && el.target === edge.target && (el.sourceHandle === edge.sourceHandle || !el.sourceHandle && !edge.sourceHandle) && (el.targetHandle === edge.targetHandle || !el.targetHandle && !edge.targetHandle);\n  });\n};\n\nvar addEdge = function addEdge(edgeParams, elements) {\n  if (!edgeParams.source || !edgeParams.target) {\n    console.warn(\"Can't create edge. An edge needs a source and a target.\");\n    return elements;\n  }\n\n  var edge;\n\n  if (isEdge(edgeParams)) {\n    edge = _objectSpread$d({}, edgeParams);\n  } else {\n    edge = _objectSpread$d(_objectSpread$d({}, edgeParams), {}, {\n      id: getEdgeId(edgeParams)\n    });\n  }\n\n  if (connectionExists(edge, elements)) {\n    return elements;\n  }\n\n  return elements.concat(edge);\n};\nvar updateEdge = function updateEdge(oldEdge, newConnection, elements) {\n  if (!newConnection.source || !newConnection.target) {\n    console.warn(\"Can't create new edge. An edge needs a source and a target.\");\n    return elements;\n  }\n\n  var foundEdge = elements.find(function (e) {\n    return isEdge(e) && e.id === oldEdge.id;\n  });\n\n  if (!foundEdge) {\n    console.warn(\"The old edge with id=\".concat(oldEdge.id, \" does not exist.\"));\n    return elements;\n  } // Remove old edge and create the new edge with parameters of old edge.\n\n\n  var edge = _objectSpread$d(_objectSpread$d({}, oldEdge), {}, {\n    id: getEdgeId(newConnection),\n    source: newConnection.source,\n    target: newConnection.target,\n    sourceHandle: newConnection.sourceHandle,\n    targetHandle: newConnection.targetHandle\n  });\n\n  return elements.filter(function (e) {\n    return e.id !== oldEdge.id;\n  }).concat(edge);\n};\nvar pointToRendererPoint = function pointToRendererPoint(_ref2, _ref3, snapToGrid, _ref4) {\n  var x = _ref2.x,\n      y = _ref2.y;\n\n  var _ref5 = _slicedToArray$1(_ref3, 3),\n      tx = _ref5[0],\n      ty = _ref5[1],\n      tScale = _ref5[2];\n\n  var _ref6 = _slicedToArray$1(_ref4, 2),\n      snapX = _ref6[0],\n      snapY = _ref6[1];\n\n  var position = {\n    x: (x - tx) / tScale,\n    y: (y - ty) / tScale\n  };\n\n  if (snapToGrid) {\n    return {\n      x: snapX * Math.round(position.x / snapX),\n      y: snapY * Math.round(position.y / snapY)\n    };\n  }\n\n  return position;\n};\nvar onLoadProject = function onLoadProject(currentStore) {\n  return function (position) {\n    var _currentStore$getStat = currentStore.getState(),\n        transform = _currentStore$getStat.transform,\n        snapToGrid = _currentStore$getStat.snapToGrid,\n        snapGrid = _currentStore$getStat.snapGrid;\n\n    return pointToRendererPoint(position, transform, snapToGrid, snapGrid);\n  };\n};\nvar parseNode = function parseNode(node, nodeExtent) {\n  var _node$style, _node$style2;\n\n  return _objectSpread$d(_objectSpread$d({}, node), {}, {\n    id: node.id.toString(),\n    type: node.type || 'default',\n    __rf: {\n      position: clampPosition(node.position, nodeExtent),\n      width: ((_node$style = node.style) === null || _node$style === void 0 ? void 0 : _node$style.width) || null,\n      height: ((_node$style2 = node.style) === null || _node$style2 === void 0 ? void 0 : _node$style2.height) || null,\n      handleBounds: {},\n      isDragging: false\n    }\n  });\n};\nvar parseEdge = function parseEdge(edge) {\n  return _objectSpread$d(_objectSpread$d({}, edge), {}, {\n    source: edge.source.toString(),\n    target: edge.target.toString(),\n    sourceHandle: edge.sourceHandle ? edge.sourceHandle.toString() : null,\n    targetHandle: edge.targetHandle ? edge.targetHandle.toString() : null,\n    id: edge.id.toString(),\n    type: edge.type || 'default'\n  });\n};\n\nvar getBoundsOfBoxes = function getBoundsOfBoxes(box1, box2) {\n  return {\n    x: Math.min(box1.x, box2.x),\n    y: Math.min(box1.y, box2.y),\n    x2: Math.max(box1.x2, box2.x2),\n    y2: Math.max(box1.y2, box2.y2)\n  };\n};\n\nvar rectToBox = function rectToBox(_ref7) {\n  var x = _ref7.x,\n      y = _ref7.y,\n      width = _ref7.width,\n      height = _ref7.height;\n  return {\n    x: x,\n    y: y,\n    x2: x + width,\n    y2: y + height\n  };\n};\nvar boxToRect = function boxToRect(_ref8) {\n  var x = _ref8.x,\n      y = _ref8.y,\n      x2 = _ref8.x2,\n      y2 = _ref8.y2;\n  return {\n    x: x,\n    y: y,\n    width: x2 - x,\n    height: y2 - y\n  };\n};\nvar getBoundsofRects = function getBoundsofRects(rect1, rect2) {\n  return boxToRect(getBoundsOfBoxes(rectToBox(rect1), rectToBox(rect2)));\n};\nvar getRectOfNodes = function getRectOfNodes(nodes) {\n  var box = nodes.reduce(function (currBox, _ref9) {\n    var _ref9$__rf = _ref9.__rf;\n    _ref9$__rf = _ref9$__rf === void 0 ? {} : _ref9$__rf;\n    var position = _ref9$__rf.position,\n        width = _ref9$__rf.width,\n        height = _ref9$__rf.height;\n    return getBoundsOfBoxes(currBox, rectToBox(_objectSpread$d(_objectSpread$d({}, position), {}, {\n      width: width,\n      height: height\n    })));\n  }, {\n    x: Infinity,\n    y: Infinity,\n    x2: -Infinity,\n    y2: -Infinity\n  });\n  return boxToRect(box);\n};\nvar getNodesInside = function getNodesInside(nodes, rect) {\n  var _ref13 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [0, 0, 1],\n      _ref14 = _slicedToArray$1(_ref13, 3),\n      tx = _ref14[0],\n      ty = _ref14[1],\n      tScale = _ref14[2];\n\n  var partially = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n  var excludeNonSelectableNodes = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : false;\n  var rBox = rectToBox({\n    x: (rect.x - tx) / tScale,\n    y: (rect.y - ty) / tScale,\n    width: rect.width / tScale,\n    height: rect.height / tScale\n  });\n  return nodes.filter(function (_ref15) {\n    var _ref15$selectable = _ref15.selectable,\n        selectable = _ref15$selectable === void 0 ? true : _ref15$selectable,\n        _ref15$__rf = _ref15.__rf,\n        position = _ref15$__rf.position,\n        width = _ref15$__rf.width,\n        height = _ref15$__rf.height,\n        isDragging = _ref15$__rf.isDragging;\n\n    if (excludeNonSelectableNodes && !selectable) {\n      return false;\n    }\n\n    var nBox = rectToBox(_objectSpread$d(_objectSpread$d({}, position), {}, {\n      width: width,\n      height: height\n    }));\n    var xOverlap = Math.max(0, Math.min(rBox.x2, nBox.x2) - Math.max(rBox.x, nBox.x));\n    var yOverlap = Math.max(0, Math.min(rBox.y2, nBox.y2) - Math.max(rBox.y, nBox.y));\n    var overlappingArea = Math.ceil(xOverlap * yOverlap);\n\n    if (width === null || height === null || isDragging) {\n      // nodes are initialized with width and height = null\n      return true;\n    }\n\n    if (partially) {\n      return overlappingArea > 0;\n    }\n\n    var area = width * height;\n    return overlappingArea >= area;\n  });\n};\nvar getConnectedEdges = function getConnectedEdges(nodes, edges) {\n  var nodeIds = nodes.map(function (node) {\n    return node.id;\n  });\n  return edges.filter(function (edge) {\n    return nodeIds.includes(edge.source) || nodeIds.includes(edge.target);\n  });\n};\n\nvar parseElements = function parseElements(nodes, edges) {\n  return [].concat(_toConsumableArray(nodes.map(function (node) {\n    var n = _objectSpread$d({}, node);\n\n    n.position = n.__rf.position;\n    delete n.__rf;\n    return n;\n  })), _toConsumableArray(edges.map(function (e) {\n    return _objectSpread$d({}, e);\n  })));\n};\n\nvar onLoadGetElements = function onLoadGetElements(currentStore) {\n  return function () {\n    var _currentStore$getStat2 = currentStore.getState(),\n        _currentStore$getStat3 = _currentStore$getStat2.nodes,\n        nodes = _currentStore$getStat3 === void 0 ? [] : _currentStore$getStat3,\n        _currentStore$getStat4 = _currentStore$getStat2.edges,\n        edges = _currentStore$getStat4 === void 0 ? [] : _currentStore$getStat4;\n\n    return parseElements(nodes, edges);\n  };\n};\nvar onLoadToObject = function onLoadToObject(currentStore) {\n  return function () {\n    var _currentStore$getStat5 = currentStore.getState(),\n        _currentStore$getStat6 = _currentStore$getStat5.nodes,\n        nodes = _currentStore$getStat6 === void 0 ? [] : _currentStore$getStat6,\n        _currentStore$getStat7 = _currentStore$getStat5.edges,\n        edges = _currentStore$getStat7 === void 0 ? [] : _currentStore$getStat7,\n        transform = _currentStore$getStat5.transform;\n\n    return {\n      elements: parseElements(nodes, edges),\n      position: [transform[0], transform[1]],\n      zoom: transform[2]\n    };\n  };\n};\nvar getTransformForBounds = function getTransformForBounds(bounds, width, height, minZoom, maxZoom) {\n  var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0.1;\n  var xZoom = width / (bounds.width * (1 + padding));\n  var yZoom = height / (bounds.height * (1 + padding));\n  var zoom = Math.min(xZoom, yZoom);\n  var clampedZoom = clamp(zoom, minZoom, maxZoom);\n  var boundsCenterX = bounds.x + bounds.width / 2;\n  var boundsCenterY = bounds.y + bounds.height / 2;\n  var x = width / 2 - boundsCenterX * clampedZoom;\n  var y = height / 2 - boundsCenterY * clampedZoom;\n  return [x, y, clampedZoom];\n};\n\nvar useGlobalKeyHandler = (function (_ref) {\n  var deleteKeyCode = _ref.deleteKeyCode,\n      multiSelectionKeyCode = _ref.multiSelectionKeyCode,\n      onElementsRemove = _ref.onElementsRemove;\n  var store = useStore();\n  var unsetNodesSelection = useStoreActions(function (actions) {\n    return actions.unsetNodesSelection;\n  });\n  var setMultiSelectionActive = useStoreActions(function (actions) {\n    return actions.setMultiSelectionActive;\n  });\n  var resetSelectedElements = useStoreActions(function (actions) {\n    return actions.resetSelectedElements;\n  });\n  var deleteKeyPressed = useKeyPress(deleteKeyCode);\n  var multiSelectionKeyPressed = useKeyPress(multiSelectionKeyCode);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var _store$getState = store.getState(),\n        edges = _store$getState.edges,\n        selectedElements = _store$getState.selectedElements;\n\n    if (onElementsRemove && deleteKeyPressed && selectedElements) {\n      var selectedNodes = selectedElements.filter(isNode);\n      var connectedEdges = getConnectedEdges(selectedNodes, edges);\n      var elementsToRemove = [].concat(_toConsumableArray(selectedElements), _toConsumableArray(connectedEdges)).reduce(function (res, item) {\n        return res.set(item.id, item);\n      }, new Map());\n      onElementsRemove(Array.from(elementsToRemove.values()));\n      unsetNodesSelection();\n      resetSelectedElements();\n    }\n  }, [deleteKeyPressed]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    setMultiSelectionActive(multiSelectionKeyPressed);\n  }, [multiSelectionKeyPressed]);\n});\n\nvar noop = {value: () => {}};\n\nfunction dispatch() {\n  for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {\n    if (!(t = arguments[i] + \"\") || (t in _) || /[\\s.]/.test(t)) throw new Error(\"illegal type: \" + t);\n    _[t] = [];\n  }\n  return new Dispatch(_);\n}\n\nfunction Dispatch(_) {\n  this._ = _;\n}\n\nfunction parseTypenames$1(typenames, types) {\n  return typenames.trim().split(/^|\\s+/).map(function(t) {\n    var name = \"\", i = t.indexOf(\".\");\n    if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n    if (t && !types.hasOwnProperty(t)) throw new Error(\"unknown type: \" + t);\n    return {type: t, name: name};\n  });\n}\n\nDispatch.prototype = dispatch.prototype = {\n  constructor: Dispatch,\n  on: function(typename, callback) {\n    var _ = this._,\n        T = parseTypenames$1(typename + \"\", _),\n        t,\n        i = -1,\n        n = T.length;\n\n    // If no callback was specified, return the callback of the given type and name.\n    if (arguments.length < 2) {\n      while (++i < n) if ((t = (typename = T[i]).type) && (t = get$1(_[t], typename.name))) return t;\n      return;\n    }\n\n    // If a type was specified, set the callback for the given type and name.\n    // Otherwise, if a null callback was specified, remove callbacks of the given name.\n    if (callback != null && typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n    while (++i < n) {\n      if (t = (typename = T[i]).type) _[t] = set$1(_[t], typename.name, callback);\n      else if (callback == null) for (t in _) _[t] = set$1(_[t], typename.name, null);\n    }\n\n    return this;\n  },\n  copy: function() {\n    var copy = {}, _ = this._;\n    for (var t in _) copy[t] = _[t].slice();\n    return new Dispatch(copy);\n  },\n  call: function(type, that) {\n    if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];\n    if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n    for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n  },\n  apply: function(type, that, args) {\n    if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n    for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n  }\n};\n\nfunction get$1(type, name) {\n  for (var i = 0, n = type.length, c; i < n; ++i) {\n    if ((c = type[i]).name === name) {\n      return c.value;\n    }\n  }\n}\n\nfunction set$1(type, name, callback) {\n  for (var i = 0, n = type.length; i < n; ++i) {\n    if (type[i].name === name) {\n      type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));\n      break;\n    }\n  }\n  if (callback != null) type.push({name: name, value: callback});\n  return type;\n}\n\nvar xhtml = \"http://www.w3.org/1999/xhtml\";\n\nvar namespaces = {\n  svg: \"http://www.w3.org/2000/svg\",\n  xhtml: xhtml,\n  xlink: \"http://www.w3.org/1999/xlink\",\n  xml: \"http://www.w3.org/XML/1998/namespace\",\n  xmlns: \"http://www.w3.org/2000/xmlns/\"\n};\n\nfunction namespace(name) {\n  var prefix = name += \"\", i = prefix.indexOf(\":\");\n  if (i >= 0 && (prefix = name.slice(0, i)) !== \"xmlns\") name = name.slice(i + 1);\n  return namespaces.hasOwnProperty(prefix) ? {space: namespaces[prefix], local: name} : name; // eslint-disable-line no-prototype-builtins\n}\n\nfunction creatorInherit(name) {\n  return function() {\n    var document = this.ownerDocument,\n        uri = this.namespaceURI;\n    return uri === xhtml && document.documentElement.namespaceURI === xhtml\n        ? document.createElement(name)\n        : document.createElementNS(uri, name);\n  };\n}\n\nfunction creatorFixed(fullname) {\n  return function() {\n    return this.ownerDocument.createElementNS(fullname.space, fullname.local);\n  };\n}\n\nfunction creator(name) {\n  var fullname = namespace(name);\n  return (fullname.local\n      ? creatorFixed\n      : creatorInherit)(fullname);\n}\n\nfunction none() {}\n\nfunction selector(selector) {\n  return selector == null ? none : function() {\n    return this.querySelector(selector);\n  };\n}\n\nfunction selection_select(select) {\n  if (typeof select !== \"function\") select = selector(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n      if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n        if (\"__data__\" in node) subnode.__data__ = node.__data__;\n        subgroup[i] = subnode;\n      }\n    }\n  }\n\n  return new Selection$1(subgroups, this._parents);\n}\n\n// Given something array like (or null), returns something that is strictly an\n// array. This is used to ensure that array-like objects passed to d3.selectAll\n// or selection.selectAll are converted into proper arrays when creating a\n// selection; we don’t ever want to create a selection backed by a live\n// HTMLCollection or NodeList. However, note that selection.selectAll will use a\n// static NodeList as a group, since it safely derived from querySelectorAll.\nfunction array(x) {\n  return x == null ? [] : Array.isArray(x) ? x : Array.from(x);\n}\n\nfunction empty() {\n  return [];\n}\n\nfunction selectorAll(selector) {\n  return selector == null ? empty : function() {\n    return this.querySelectorAll(selector);\n  };\n}\n\nfunction arrayAll(select) {\n  return function() {\n    return array(select.apply(this, arguments));\n  };\n}\n\nfunction selection_selectAll(select) {\n  if (typeof select === \"function\") select = arrayAll(select);\n  else select = selectorAll(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        subgroups.push(select.call(node, node.__data__, i, group));\n        parents.push(node);\n      }\n    }\n  }\n\n  return new Selection$1(subgroups, parents);\n}\n\nfunction matcher(selector) {\n  return function() {\n    return this.matches(selector);\n  };\n}\n\nfunction childMatcher(selector) {\n  return function(node) {\n    return node.matches(selector);\n  };\n}\n\nvar find = Array.prototype.find;\n\nfunction childFind(match) {\n  return function() {\n    return find.call(this.children, match);\n  };\n}\n\nfunction childFirst() {\n  return this.firstElementChild;\n}\n\nfunction selection_selectChild(match) {\n  return this.select(match == null ? childFirst\n      : childFind(typeof match === \"function\" ? match : childMatcher(match)));\n}\n\nvar filter = Array.prototype.filter;\n\nfunction children() {\n  return Array.from(this.children);\n}\n\nfunction childrenFilter(match) {\n  return function() {\n    return filter.call(this.children, match);\n  };\n}\n\nfunction selection_selectChildren(match) {\n  return this.selectAll(match == null ? children\n      : childrenFilter(typeof match === \"function\" ? match : childMatcher(match)));\n}\n\nfunction selection_filter(match) {\n  if (typeof match !== \"function\") match = matcher(match);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n      if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n        subgroup.push(node);\n      }\n    }\n  }\n\n  return new Selection$1(subgroups, this._parents);\n}\n\nfunction sparse(update) {\n  return new Array(update.length);\n}\n\nfunction selection_enter() {\n  return new Selection$1(this._enter || this._groups.map(sparse), this._parents);\n}\n\nfunction EnterNode(parent, datum) {\n  this.ownerDocument = parent.ownerDocument;\n  this.namespaceURI = parent.namespaceURI;\n  this._next = null;\n  this._parent = parent;\n  this.__data__ = datum;\n}\n\nEnterNode.prototype = {\n  constructor: EnterNode,\n  appendChild: function(child) { return this._parent.insertBefore(child, this._next); },\n  insertBefore: function(child, next) { return this._parent.insertBefore(child, next); },\n  querySelector: function(selector) { return this._parent.querySelector(selector); },\n  querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); }\n};\n\nfunction constant$2(x) {\n  return function() {\n    return x;\n  };\n}\n\nfunction bindIndex(parent, group, enter, update, exit, data) {\n  var i = 0,\n      node,\n      groupLength = group.length,\n      dataLength = data.length;\n\n  // Put any non-null nodes that fit into update.\n  // Put any null nodes into enter.\n  // Put any remaining data into enter.\n  for (; i < dataLength; ++i) {\n    if (node = group[i]) {\n      node.__data__ = data[i];\n      update[i] = node;\n    } else {\n      enter[i] = new EnterNode(parent, data[i]);\n    }\n  }\n\n  // Put any non-null nodes that don’t fit into exit.\n  for (; i < groupLength; ++i) {\n    if (node = group[i]) {\n      exit[i] = node;\n    }\n  }\n}\n\nfunction bindKey(parent, group, enter, update, exit, data, key) {\n  var i,\n      node,\n      nodeByKeyValue = new Map,\n      groupLength = group.length,\n      dataLength = data.length,\n      keyValues = new Array(groupLength),\n      keyValue;\n\n  // Compute the key for each node.\n  // If multiple nodes have the same key, the duplicates are added to exit.\n  for (i = 0; i < groupLength; ++i) {\n    if (node = group[i]) {\n      keyValues[i] = keyValue = key.call(node, node.__data__, i, group) + \"\";\n      if (nodeByKeyValue.has(keyValue)) {\n        exit[i] = node;\n      } else {\n        nodeByKeyValue.set(keyValue, node);\n      }\n    }\n  }\n\n  // Compute the key for each datum.\n  // If there a node associated with this key, join and add it to update.\n  // If there is not (or the key is a duplicate), add it to enter.\n  for (i = 0; i < dataLength; ++i) {\n    keyValue = key.call(parent, data[i], i, data) + \"\";\n    if (node = nodeByKeyValue.get(keyValue)) {\n      update[i] = node;\n      node.__data__ = data[i];\n      nodeByKeyValue.delete(keyValue);\n    } else {\n      enter[i] = new EnterNode(parent, data[i]);\n    }\n  }\n\n  // Add any remaining nodes that were not bound to data to exit.\n  for (i = 0; i < groupLength; ++i) {\n    if ((node = group[i]) && (nodeByKeyValue.get(keyValues[i]) === node)) {\n      exit[i] = node;\n    }\n  }\n}\n\nfunction datum(node) {\n  return node.__data__;\n}\n\nfunction selection_data(value, key) {\n  if (!arguments.length) return Array.from(this, datum);\n\n  var bind = key ? bindKey : bindIndex,\n      parents = this._parents,\n      groups = this._groups;\n\n  if (typeof value !== \"function\") value = constant$2(value);\n\n  for (var m = groups.length, update = new Array(m), enter = new Array(m), exit = new Array(m), j = 0; j < m; ++j) {\n    var parent = parents[j],\n        group = groups[j],\n        groupLength = group.length,\n        data = arraylike(value.call(parent, parent && parent.__data__, j, parents)),\n        dataLength = data.length,\n        enterGroup = enter[j] = new Array(dataLength),\n        updateGroup = update[j] = new Array(dataLength),\n        exitGroup = exit[j] = new Array(groupLength);\n\n    bind(parent, group, enterGroup, updateGroup, exitGroup, data, key);\n\n    // Now connect the enter nodes to their following update node, such that\n    // appendChild can insert the materialized enter node before this node,\n    // rather than at the end of the parent node.\n    for (var i0 = 0, i1 = 0, previous, next; i0 < dataLength; ++i0) {\n      if (previous = enterGroup[i0]) {\n        if (i0 >= i1) i1 = i0 + 1;\n        while (!(next = updateGroup[i1]) && ++i1 < dataLength);\n        previous._next = next || null;\n      }\n    }\n  }\n\n  update = new Selection$1(update, parents);\n  update._enter = enter;\n  update._exit = exit;\n  return update;\n}\n\n// Given some data, this returns an array-like view of it: an object that\n// exposes a length property and allows numeric indexing. Note that unlike\n// selectAll, this isn’t worried about “live” collections because the resulting\n// array will only be used briefly while data is being bound. (It is possible to\n// cause the data to change while iterating by using a key function, but please\n// don’t; we’d rather avoid a gratuitous copy.)\nfunction arraylike(data) {\n  return typeof data === \"object\" && \"length\" in data\n    ? data // Array, TypedArray, NodeList, array-like\n    : Array.from(data); // Map, Set, iterable, string, or anything else\n}\n\nfunction selection_exit() {\n  return new Selection$1(this._exit || this._groups.map(sparse), this._parents);\n}\n\nfunction selection_join(onenter, onupdate, onexit) {\n  var enter = this.enter(), update = this, exit = this.exit();\n  if (typeof onenter === \"function\") {\n    enter = onenter(enter);\n    if (enter) enter = enter.selection();\n  } else {\n    enter = enter.append(onenter + \"\");\n  }\n  if (onupdate != null) {\n    update = onupdate(update);\n    if (update) update = update.selection();\n  }\n  if (onexit == null) exit.remove(); else onexit(exit);\n  return enter && update ? enter.merge(update).order() : update;\n}\n\nfunction selection_merge(context) {\n  var selection = context.selection ? context.selection() : context;\n\n  for (var groups0 = this._groups, groups1 = selection._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n    for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group0[i] || group1[i]) {\n        merge[i] = node;\n      }\n    }\n  }\n\n  for (; j < m0; ++j) {\n    merges[j] = groups0[j];\n  }\n\n  return new Selection$1(merges, this._parents);\n}\n\nfunction selection_order() {\n\n  for (var groups = this._groups, j = -1, m = groups.length; ++j < m;) {\n    for (var group = groups[j], i = group.length - 1, next = group[i], node; --i >= 0;) {\n      if (node = group[i]) {\n        if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next);\n        next = node;\n      }\n    }\n  }\n\n  return this;\n}\n\nfunction selection_sort(compare) {\n  if (!compare) compare = ascending;\n\n  function compareNode(a, b) {\n    return a && b ? compare(a.__data__, b.__data__) : !a - !b;\n  }\n\n  for (var groups = this._groups, m = groups.length, sortgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, sortgroup = sortgroups[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        sortgroup[i] = node;\n      }\n    }\n    sortgroup.sort(compareNode);\n  }\n\n  return new Selection$1(sortgroups, this._parents).order();\n}\n\nfunction ascending(a, b) {\n  return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n\nfunction selection_call() {\n  var callback = arguments[0];\n  arguments[0] = this;\n  callback.apply(null, arguments);\n  return this;\n}\n\nfunction selection_nodes() {\n  return Array.from(this);\n}\n\nfunction selection_node() {\n\n  for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n    for (var group = groups[j], i = 0, n = group.length; i < n; ++i) {\n      var node = group[i];\n      if (node) return node;\n    }\n  }\n\n  return null;\n}\n\nfunction selection_size() {\n  let size = 0;\n  for (const node of this) ++size; // eslint-disable-line no-unused-vars\n  return size;\n}\n\nfunction selection_empty() {\n  return !this.node();\n}\n\nfunction selection_each(callback) {\n\n  for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n    for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n      if (node = group[i]) callback.call(node, node.__data__, i, group);\n    }\n  }\n\n  return this;\n}\n\nfunction attrRemove$1(name) {\n  return function() {\n    this.removeAttribute(name);\n  };\n}\n\nfunction attrRemoveNS$1(fullname) {\n  return function() {\n    this.removeAttributeNS(fullname.space, fullname.local);\n  };\n}\n\nfunction attrConstant$1(name, value) {\n  return function() {\n    this.setAttribute(name, value);\n  };\n}\n\nfunction attrConstantNS$1(fullname, value) {\n  return function() {\n    this.setAttributeNS(fullname.space, fullname.local, value);\n  };\n}\n\nfunction attrFunction$1(name, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.removeAttribute(name);\n    else this.setAttribute(name, v);\n  };\n}\n\nfunction attrFunctionNS$1(fullname, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.removeAttributeNS(fullname.space, fullname.local);\n    else this.setAttributeNS(fullname.space, fullname.local, v);\n  };\n}\n\nfunction selection_attr(name, value) {\n  var fullname = namespace(name);\n\n  if (arguments.length < 2) {\n    var node = this.node();\n    return fullname.local\n        ? node.getAttributeNS(fullname.space, fullname.local)\n        : node.getAttribute(fullname);\n  }\n\n  return this.each((value == null\n      ? (fullname.local ? attrRemoveNS$1 : attrRemove$1) : (typeof value === \"function\"\n      ? (fullname.local ? attrFunctionNS$1 : attrFunction$1)\n      : (fullname.local ? attrConstantNS$1 : attrConstant$1)))(fullname, value));\n}\n\nfunction defaultView(node) {\n  return (node.ownerDocument && node.ownerDocument.defaultView) // node is a Node\n      || (node.document && node) // node is a Window\n      || node.defaultView; // node is a Document\n}\n\nfunction styleRemove$1(name) {\n  return function() {\n    this.style.removeProperty(name);\n  };\n}\n\nfunction styleConstant$1(name, value, priority) {\n  return function() {\n    this.style.setProperty(name, value, priority);\n  };\n}\n\nfunction styleFunction$1(name, value, priority) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) this.style.removeProperty(name);\n    else this.style.setProperty(name, v, priority);\n  };\n}\n\nfunction selection_style(name, value, priority) {\n  return arguments.length > 1\n      ? this.each((value == null\n            ? styleRemove$1 : typeof value === \"function\"\n            ? styleFunction$1\n            : styleConstant$1)(name, value, priority == null ? \"\" : priority))\n      : styleValue(this.node(), name);\n}\n\nfunction styleValue(node, name) {\n  return node.style.getPropertyValue(name)\n      || defaultView(node).getComputedStyle(node, null).getPropertyValue(name);\n}\n\nfunction propertyRemove(name) {\n  return function() {\n    delete this[name];\n  };\n}\n\nfunction propertyConstant(name, value) {\n  return function() {\n    this[name] = value;\n  };\n}\n\nfunction propertyFunction(name, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (v == null) delete this[name];\n    else this[name] = v;\n  };\n}\n\nfunction selection_property(name, value) {\n  return arguments.length > 1\n      ? this.each((value == null\n          ? propertyRemove : typeof value === \"function\"\n          ? propertyFunction\n          : propertyConstant)(name, value))\n      : this.node()[name];\n}\n\nfunction classArray(string) {\n  return string.trim().split(/^|\\s+/);\n}\n\nfunction classList(node) {\n  return node.classList || new ClassList(node);\n}\n\nfunction ClassList(node) {\n  this._node = node;\n  this._names = classArray(node.getAttribute(\"class\") || \"\");\n}\n\nClassList.prototype = {\n  add: function(name) {\n    var i = this._names.indexOf(name);\n    if (i < 0) {\n      this._names.push(name);\n      this._node.setAttribute(\"class\", this._names.join(\" \"));\n    }\n  },\n  remove: function(name) {\n    var i = this._names.indexOf(name);\n    if (i >= 0) {\n      this._names.splice(i, 1);\n      this._node.setAttribute(\"class\", this._names.join(\" \"));\n    }\n  },\n  contains: function(name) {\n    return this._names.indexOf(name) >= 0;\n  }\n};\n\nfunction classedAdd(node, names) {\n  var list = classList(node), i = -1, n = names.length;\n  while (++i < n) list.add(names[i]);\n}\n\nfunction classedRemove(node, names) {\n  var list = classList(node), i = -1, n = names.length;\n  while (++i < n) list.remove(names[i]);\n}\n\nfunction classedTrue(names) {\n  return function() {\n    classedAdd(this, names);\n  };\n}\n\nfunction classedFalse(names) {\n  return function() {\n    classedRemove(this, names);\n  };\n}\n\nfunction classedFunction(names, value) {\n  return function() {\n    (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names);\n  };\n}\n\nfunction selection_classed(name, value) {\n  var names = classArray(name + \"\");\n\n  if (arguments.length < 2) {\n    var list = classList(this.node()), i = -1, n = names.length;\n    while (++i < n) if (!list.contains(names[i])) return false;\n    return true;\n  }\n\n  return this.each((typeof value === \"function\"\n      ? classedFunction : value\n      ? classedTrue\n      : classedFalse)(names, value));\n}\n\nfunction textRemove() {\n  this.textContent = \"\";\n}\n\nfunction textConstant$1(value) {\n  return function() {\n    this.textContent = value;\n  };\n}\n\nfunction textFunction$1(value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    this.textContent = v == null ? \"\" : v;\n  };\n}\n\nfunction selection_text(value) {\n  return arguments.length\n      ? this.each(value == null\n          ? textRemove : (typeof value === \"function\"\n          ? textFunction$1\n          : textConstant$1)(value))\n      : this.node().textContent;\n}\n\nfunction htmlRemove() {\n  this.innerHTML = \"\";\n}\n\nfunction htmlConstant(value) {\n  return function() {\n    this.innerHTML = value;\n  };\n}\n\nfunction htmlFunction(value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    this.innerHTML = v == null ? \"\" : v;\n  };\n}\n\nfunction selection_html(value) {\n  return arguments.length\n      ? this.each(value == null\n          ? htmlRemove : (typeof value === \"function\"\n          ? htmlFunction\n          : htmlConstant)(value))\n      : this.node().innerHTML;\n}\n\nfunction raise() {\n  if (this.nextSibling) this.parentNode.appendChild(this);\n}\n\nfunction selection_raise() {\n  return this.each(raise);\n}\n\nfunction lower() {\n  if (this.previousSibling) this.parentNode.insertBefore(this, this.parentNode.firstChild);\n}\n\nfunction selection_lower() {\n  return this.each(lower);\n}\n\nfunction selection_append(name) {\n  var create = typeof name === \"function\" ? name : creator(name);\n  return this.select(function() {\n    return this.appendChild(create.apply(this, arguments));\n  });\n}\n\nfunction constantNull() {\n  return null;\n}\n\nfunction selection_insert(name, before) {\n  var create = typeof name === \"function\" ? name : creator(name),\n      select = before == null ? constantNull : typeof before === \"function\" ? before : selector(before);\n  return this.select(function() {\n    return this.insertBefore(create.apply(this, arguments), select.apply(this, arguments) || null);\n  });\n}\n\nfunction remove() {\n  var parent = this.parentNode;\n  if (parent) parent.removeChild(this);\n}\n\nfunction selection_remove() {\n  return this.each(remove);\n}\n\nfunction selection_cloneShallow() {\n  var clone = this.cloneNode(false), parent = this.parentNode;\n  return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_cloneDeep() {\n  var clone = this.cloneNode(true), parent = this.parentNode;\n  return parent ? parent.insertBefore(clone, this.nextSibling) : clone;\n}\n\nfunction selection_clone(deep) {\n  return this.select(deep ? selection_cloneDeep : selection_cloneShallow);\n}\n\nfunction selection_datum(value) {\n  return arguments.length\n      ? this.property(\"__data__\", value)\n      : this.node().__data__;\n}\n\nfunction contextListener(listener) {\n  return function(event) {\n    listener.call(this, event, this.__data__);\n  };\n}\n\nfunction parseTypenames(typenames) {\n  return typenames.trim().split(/^|\\s+/).map(function(t) {\n    var name = \"\", i = t.indexOf(\".\");\n    if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n    return {type: t, name: name};\n  });\n}\n\nfunction onRemove(typename) {\n  return function() {\n    var on = this.__on;\n    if (!on) return;\n    for (var j = 0, i = -1, m = on.length, o; j < m; ++j) {\n      if (o = on[j], (!typename.type || o.type === typename.type) && o.name === typename.name) {\n        this.removeEventListener(o.type, o.listener, o.options);\n      } else {\n        on[++i] = o;\n      }\n    }\n    if (++i) on.length = i;\n    else delete this.__on;\n  };\n}\n\nfunction onAdd(typename, value, options) {\n  return function() {\n    var on = this.__on, o, listener = contextListener(value);\n    if (on) for (var j = 0, m = on.length; j < m; ++j) {\n      if ((o = on[j]).type === typename.type && o.name === typename.name) {\n        this.removeEventListener(o.type, o.listener, o.options);\n        this.addEventListener(o.type, o.listener = listener, o.options = options);\n        o.value = value;\n        return;\n      }\n    }\n    this.addEventListener(typename.type, listener, options);\n    o = {type: typename.type, name: typename.name, value: value, listener: listener, options: options};\n    if (!on) this.__on = [o];\n    else on.push(o);\n  };\n}\n\nfunction selection_on(typename, value, options) {\n  var typenames = parseTypenames(typename + \"\"), i, n = typenames.length, t;\n\n  if (arguments.length < 2) {\n    var on = this.node().__on;\n    if (on) for (var j = 0, m = on.length, o; j < m; ++j) {\n      for (i = 0, o = on[j]; i < n; ++i) {\n        if ((t = typenames[i]).type === o.type && t.name === o.name) {\n          return o.value;\n        }\n      }\n    }\n    return;\n  }\n\n  on = value ? onAdd : onRemove;\n  for (i = 0; i < n; ++i) this.each(on(typenames[i], value, options));\n  return this;\n}\n\nfunction dispatchEvent(node, type, params) {\n  var window = defaultView(node),\n      event = window.CustomEvent;\n\n  if (typeof event === \"function\") {\n    event = new event(type, params);\n  } else {\n    event = window.document.createEvent(\"Event\");\n    if (params) event.initEvent(type, params.bubbles, params.cancelable), event.detail = params.detail;\n    else event.initEvent(type, false, false);\n  }\n\n  node.dispatchEvent(event);\n}\n\nfunction dispatchConstant(type, params) {\n  return function() {\n    return dispatchEvent(this, type, params);\n  };\n}\n\nfunction dispatchFunction(type, params) {\n  return function() {\n    return dispatchEvent(this, type, params.apply(this, arguments));\n  };\n}\n\nfunction selection_dispatch(type, params) {\n  return this.each((typeof params === \"function\"\n      ? dispatchFunction\n      : dispatchConstant)(type, params));\n}\n\nfunction* selection_iterator() {\n  for (var groups = this._groups, j = 0, m = groups.length; j < m; ++j) {\n    for (var group = groups[j], i = 0, n = group.length, node; i < n; ++i) {\n      if (node = group[i]) yield node;\n    }\n  }\n}\n\nvar root = [null];\n\nfunction Selection$1(groups, parents) {\n  this._groups = groups;\n  this._parents = parents;\n}\n\nfunction selection() {\n  return new Selection$1([[document.documentElement]], root);\n}\n\nfunction selection_selection() {\n  return this;\n}\n\nSelection$1.prototype = selection.prototype = {\n  constructor: Selection$1,\n  select: selection_select,\n  selectAll: selection_selectAll,\n  selectChild: selection_selectChild,\n  selectChildren: selection_selectChildren,\n  filter: selection_filter,\n  data: selection_data,\n  enter: selection_enter,\n  exit: selection_exit,\n  join: selection_join,\n  merge: selection_merge,\n  selection: selection_selection,\n  order: selection_order,\n  sort: selection_sort,\n  call: selection_call,\n  nodes: selection_nodes,\n  node: selection_node,\n  size: selection_size,\n  empty: selection_empty,\n  each: selection_each,\n  attr: selection_attr,\n  style: selection_style,\n  property: selection_property,\n  classed: selection_classed,\n  text: selection_text,\n  html: selection_html,\n  raise: selection_raise,\n  lower: selection_lower,\n  append: selection_append,\n  insert: selection_insert,\n  remove: selection_remove,\n  clone: selection_clone,\n  datum: selection_datum,\n  on: selection_on,\n  dispatch: selection_dispatch,\n  [Symbol.iterator]: selection_iterator\n};\n\nfunction select(selector) {\n  return typeof selector === \"string\"\n      ? new Selection$1([[document.querySelector(selector)]], [document.documentElement])\n      : new Selection$1([[selector]], root);\n}\n\nfunction sourceEvent(event) {\n  let sourceEvent;\n  while (sourceEvent = event.sourceEvent) event = sourceEvent;\n  return event;\n}\n\nfunction pointer(event, node) {\n  event = sourceEvent(event);\n  if (node === undefined) node = event.currentTarget;\n  if (node) {\n    var svg = node.ownerSVGElement || node;\n    if (svg.createSVGPoint) {\n      var point = svg.createSVGPoint();\n      point.x = event.clientX, point.y = event.clientY;\n      point = point.matrixTransform(node.getScreenCTM().inverse());\n      return [point.x, point.y];\n    }\n    if (node.getBoundingClientRect) {\n      var rect = node.getBoundingClientRect();\n      return [event.clientX - rect.left - node.clientLeft, event.clientY - rect.top - node.clientTop];\n    }\n  }\n  return [event.pageX, event.pageY];\n}\n\n// These are typically used in conjunction with noevent to ensure that we can\nconst nonpassivecapture = {capture: true, passive: false};\n\nfunction noevent$1(event) {\n  event.preventDefault();\n  event.stopImmediatePropagation();\n}\n\nfunction dragDisable(view) {\n  var root = view.document.documentElement,\n      selection = select(view).on(\"dragstart.drag\", noevent$1, nonpassivecapture);\n  if (\"onselectstart\" in root) {\n    selection.on(\"selectstart.drag\", noevent$1, nonpassivecapture);\n  } else {\n    root.__noselect = root.style.MozUserSelect;\n    root.style.MozUserSelect = \"none\";\n  }\n}\n\nfunction yesdrag(view, noclick) {\n  var root = view.document.documentElement,\n      selection = select(view).on(\"dragstart.drag\", null);\n  if (noclick) {\n    selection.on(\"click.drag\", noevent$1, nonpassivecapture);\n    setTimeout(function() { selection.on(\"click.drag\", null); }, 0);\n  }\n  if (\"onselectstart\" in root) {\n    selection.on(\"selectstart.drag\", null);\n  } else {\n    root.style.MozUserSelect = root.__noselect;\n    delete root.__noselect;\n  }\n}\n\nfunction define(constructor, factory, prototype) {\n  constructor.prototype = factory.prototype = prototype;\n  prototype.constructor = constructor;\n}\n\nfunction extend(parent, definition) {\n  var prototype = Object.create(parent.prototype);\n  for (var key in definition) prototype[key] = definition[key];\n  return prototype;\n}\n\nfunction Color() {}\n\nvar darker = 0.7;\nvar brighter = 1 / darker;\n\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n    reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n    reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n    reHex = /^#([0-9a-f]{3,8})$/,\n    reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n    reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n    reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n    reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n    reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n    reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\n\nvar named = {\n  aliceblue: 0xf0f8ff,\n  antiquewhite: 0xfaebd7,\n  aqua: 0x00ffff,\n  aquamarine: 0x7fffd4,\n  azure: 0xf0ffff,\n  beige: 0xf5f5dc,\n  bisque: 0xffe4c4,\n  black: 0x000000,\n  blanchedalmond: 0xffebcd,\n  blue: 0x0000ff,\n  blueviolet: 0x8a2be2,\n  brown: 0xa52a2a,\n  burlywood: 0xdeb887,\n  cadetblue: 0x5f9ea0,\n  chartreuse: 0x7fff00,\n  chocolate: 0xd2691e,\n  coral: 0xff7f50,\n  cornflowerblue: 0x6495ed,\n  cornsilk: 0xfff8dc,\n  crimson: 0xdc143c,\n  cyan: 0x00ffff,\n  darkblue: 0x00008b,\n  darkcyan: 0x008b8b,\n  darkgoldenrod: 0xb8860b,\n  darkgray: 0xa9a9a9,\n  darkgreen: 0x006400,\n  darkgrey: 0xa9a9a9,\n  darkkhaki: 0xbdb76b,\n  darkmagenta: 0x8b008b,\n  darkolivegreen: 0x556b2f,\n  darkorange: 0xff8c00,\n  darkorchid: 0x9932cc,\n  darkred: 0x8b0000,\n  darksalmon: 0xe9967a,\n  darkseagreen: 0x8fbc8f,\n  darkslateblue: 0x483d8b,\n  darkslategray: 0x2f4f4f,\n  darkslategrey: 0x2f4f4f,\n  darkturquoise: 0x00ced1,\n  darkviolet: 0x9400d3,\n  deeppink: 0xff1493,\n  deepskyblue: 0x00bfff,\n  dimgray: 0x696969,\n  dimgrey: 0x696969,\n  dodgerblue: 0x1e90ff,\n  firebrick: 0xb22222,\n  floralwhite: 0xfffaf0,\n  forestgreen: 0x228b22,\n  fuchsia: 0xff00ff,\n  gainsboro: 0xdcdcdc,\n  ghostwhite: 0xf8f8ff,\n  gold: 0xffd700,\n  goldenrod: 0xdaa520,\n  gray: 0x808080,\n  green: 0x008000,\n  greenyellow: 0xadff2f,\n  grey: 0x808080,\n  honeydew: 0xf0fff0,\n  hotpink: 0xff69b4,\n  indianred: 0xcd5c5c,\n  indigo: 0x4b0082,\n  ivory: 0xfffff0,\n  khaki: 0xf0e68c,\n  lavender: 0xe6e6fa,\n  lavenderblush: 0xfff0f5,\n  lawngreen: 0x7cfc00,\n  lemonchiffon: 0xfffacd,\n  lightblue: 0xadd8e6,\n  lightcoral: 0xf08080,\n  lightcyan: 0xe0ffff,\n  lightgoldenrodyellow: 0xfafad2,\n  lightgray: 0xd3d3d3,\n  lightgreen: 0x90ee90,\n  lightgrey: 0xd3d3d3,\n  lightpink: 0xffb6c1,\n  lightsalmon: 0xffa07a,\n  lightseagreen: 0x20b2aa,\n  lightskyblue: 0x87cefa,\n  lightslategray: 0x778899,\n  lightslategrey: 0x778899,\n  lightsteelblue: 0xb0c4de,\n  lightyellow: 0xffffe0,\n  lime: 0x00ff00,\n  limegreen: 0x32cd32,\n  linen: 0xfaf0e6,\n  magenta: 0xff00ff,\n  maroon: 0x800000,\n  mediumaquamarine: 0x66cdaa,\n  mediumblue: 0x0000cd,\n  mediumorchid: 0xba55d3,\n  mediumpurple: 0x9370db,\n  mediumseagreen: 0x3cb371,\n  mediumslateblue: 0x7b68ee,\n  mediumspringgreen: 0x00fa9a,\n  mediumturquoise: 0x48d1cc,\n  mediumvioletred: 0xc71585,\n  midnightblue: 0x191970,\n  mintcream: 0xf5fffa,\n  mistyrose: 0xffe4e1,\n  moccasin: 0xffe4b5,\n  navajowhite: 0xffdead,\n  navy: 0x000080,\n  oldlace: 0xfdf5e6,\n  olive: 0x808000,\n  olivedrab: 0x6b8e23,\n  orange: 0xffa500,\n  orangered: 0xff4500,\n  orchid: 0xda70d6,\n  palegoldenrod: 0xeee8aa,\n  palegreen: 0x98fb98,\n  paleturquoise: 0xafeeee,\n  palevioletred: 0xdb7093,\n  papayawhip: 0xffefd5,\n  peachpuff: 0xffdab9,\n  peru: 0xcd853f,\n  pink: 0xffc0cb,\n  plum: 0xdda0dd,\n  powderblue: 0xb0e0e6,\n  purple: 0x800080,\n  rebeccapurple: 0x663399,\n  red: 0xff0000,\n  rosybrown: 0xbc8f8f,\n  royalblue: 0x4169e1,\n  saddlebrown: 0x8b4513,\n  salmon: 0xfa8072,\n  sandybrown: 0xf4a460,\n  seagreen: 0x2e8b57,\n  seashell: 0xfff5ee,\n  sienna: 0xa0522d,\n  silver: 0xc0c0c0,\n  skyblue: 0x87ceeb,\n  slateblue: 0x6a5acd,\n  slategray: 0x708090,\n  slategrey: 0x708090,\n  snow: 0xfffafa,\n  springgreen: 0x00ff7f,\n  steelblue: 0x4682b4,\n  tan: 0xd2b48c,\n  teal: 0x008080,\n  thistle: 0xd8bfd8,\n  tomato: 0xff6347,\n  turquoise: 0x40e0d0,\n  violet: 0xee82ee,\n  wheat: 0xf5deb3,\n  white: 0xffffff,\n  whitesmoke: 0xf5f5f5,\n  yellow: 0xffff00,\n  yellowgreen: 0x9acd32\n};\n\ndefine(Color, color, {\n  copy: function(channels) {\n    return Object.assign(new this.constructor, this, channels);\n  },\n  displayable: function() {\n    return this.rgb().displayable();\n  },\n  hex: color_formatHex, // Deprecated! Use color.formatHex.\n  formatHex: color_formatHex,\n  formatHsl: color_formatHsl,\n  formatRgb: color_formatRgb,\n  toString: color_formatRgb\n});\n\nfunction color_formatHex() {\n  return this.rgb().formatHex();\n}\n\nfunction color_formatHsl() {\n  return hslConvert(this).formatHsl();\n}\n\nfunction color_formatRgb() {\n  return this.rgb().formatRgb();\n}\n\nfunction color(format) {\n  var m, l;\n  format = (format + \"\").trim().toLowerCase();\n  return (m = reHex.exec(format)) ? (l = m[1].length, m = parseInt(m[1], 16), l === 6 ? rgbn(m) // #ff0000\n      : l === 3 ? new Rgb((m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1) // #f00\n      : l === 8 ? rgba(m >> 24 & 0xff, m >> 16 & 0xff, m >> 8 & 0xff, (m & 0xff) / 0xff) // #ff000000\n      : l === 4 ? rgba((m >> 12 & 0xf) | (m >> 8 & 0xf0), (m >> 8 & 0xf) | (m >> 4 & 0xf0), (m >> 4 & 0xf) | (m & 0xf0), (((m & 0xf) << 4) | (m & 0xf)) / 0xff) // #f000\n      : null) // invalid hex\n      : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n      : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n      : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n      : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n      : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n      : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n      : named.hasOwnProperty(format) ? rgbn(named[format]) // eslint-disable-line no-prototype-builtins\n      : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0)\n      : null;\n}\n\nfunction rgbn(n) {\n  return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n  if (a <= 0) r = g = b = NaN;\n  return new Rgb(r, g, b, a);\n}\n\nfunction rgbConvert(o) {\n  if (!(o instanceof Color)) o = color(o);\n  if (!o) return new Rgb;\n  o = o.rgb();\n  return new Rgb(o.r, o.g, o.b, o.opacity);\n}\n\nfunction rgb(r, g, b, opacity) {\n  return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\n\nfunction Rgb(r, g, b, opacity) {\n  this.r = +r;\n  this.g = +g;\n  this.b = +b;\n  this.opacity = +opacity;\n}\n\ndefine(Rgb, rgb, extend(Color, {\n  brighter: function(k) {\n    k = k == null ? brighter : Math.pow(brighter, k);\n    return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n  },\n  darker: function(k) {\n    k = k == null ? darker : Math.pow(darker, k);\n    return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n  },\n  rgb: function() {\n    return this;\n  },\n  displayable: function() {\n    return (-0.5 <= this.r && this.r < 255.5)\n        && (-0.5 <= this.g && this.g < 255.5)\n        && (-0.5 <= this.b && this.b < 255.5)\n        && (0 <= this.opacity && this.opacity <= 1);\n  },\n  hex: rgb_formatHex, // Deprecated! Use color.formatHex.\n  formatHex: rgb_formatHex,\n  formatRgb: rgb_formatRgb,\n  toString: rgb_formatRgb\n}));\n\nfunction rgb_formatHex() {\n  return \"#\" + hex(this.r) + hex(this.g) + hex(this.b);\n}\n\nfunction rgb_formatRgb() {\n  var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n  return (a === 1 ? \"rgb(\" : \"rgba(\")\n      + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \"\n      + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \"\n      + Math.max(0, Math.min(255, Math.round(this.b) || 0))\n      + (a === 1 ? \")\" : \", \" + a + \")\");\n}\n\nfunction hex(value) {\n  value = Math.max(0, Math.min(255, Math.round(value) || 0));\n  return (value < 16 ? \"0\" : \"\") + value.toString(16);\n}\n\nfunction hsla(h, s, l, a) {\n  if (a <= 0) h = s = l = NaN;\n  else if (l <= 0 || l >= 1) h = s = NaN;\n  else if (s <= 0) h = NaN;\n  return new Hsl(h, s, l, a);\n}\n\nfunction hslConvert(o) {\n  if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n  if (!(o instanceof Color)) o = color(o);\n  if (!o) return new Hsl;\n  if (o instanceof Hsl) return o;\n  o = o.rgb();\n  var r = o.r / 255,\n      g = o.g / 255,\n      b = o.b / 255,\n      min = Math.min(r, g, b),\n      max = Math.max(r, g, b),\n      h = NaN,\n      s = max - min,\n      l = (max + min) / 2;\n  if (s) {\n    if (r === max) h = (g - b) / s + (g < b) * 6;\n    else if (g === max) h = (b - r) / s + 2;\n    else h = (r - g) / s + 4;\n    s /= l < 0.5 ? max + min : 2 - max - min;\n    h *= 60;\n  } else {\n    s = l > 0 && l < 1 ? 0 : h;\n  }\n  return new Hsl(h, s, l, o.opacity);\n}\n\nfunction hsl(h, s, l, opacity) {\n  return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n  this.h = +h;\n  this.s = +s;\n  this.l = +l;\n  this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n  brighter: function(k) {\n    k = k == null ? brighter : Math.pow(brighter, k);\n    return new Hsl(this.h, this.s, this.l * k, this.opacity);\n  },\n  darker: function(k) {\n    k = k == null ? darker : Math.pow(darker, k);\n    return new Hsl(this.h, this.s, this.l * k, this.opacity);\n  },\n  rgb: function() {\n    var h = this.h % 360 + (this.h < 0) * 360,\n        s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n        l = this.l,\n        m2 = l + (l < 0.5 ? l : 1 - l) * s,\n        m1 = 2 * l - m2;\n    return new Rgb(\n      hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),\n      hsl2rgb(h, m1, m2),\n      hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),\n      this.opacity\n    );\n  },\n  displayable: function() {\n    return (0 <= this.s && this.s <= 1 || isNaN(this.s))\n        && (0 <= this.l && this.l <= 1)\n        && (0 <= this.opacity && this.opacity <= 1);\n  },\n  formatHsl: function() {\n    var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n    return (a === 1 ? \"hsl(\" : \"hsla(\")\n        + (this.h || 0) + \", \"\n        + (this.s || 0) * 100 + \"%, \"\n        + (this.l || 0) * 100 + \"%\"\n        + (a === 1 ? \")\" : \", \" + a + \")\");\n  }\n}));\n\n/* From FvD 13.37, CSS Color Module Level 3 */\nfunction hsl2rgb(h, m1, m2) {\n  return (h < 60 ? m1 + (m2 - m1) * h / 60\n      : h < 180 ? m2\n      : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60\n      : m1) * 255;\n}\n\nvar constant$1 = x => () => x;\n\nfunction linear(a, d) {\n  return function(t) {\n    return a + t * d;\n  };\n}\n\nfunction exponential(a, b, y) {\n  return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {\n    return Math.pow(a + t * b, y);\n  };\n}\n\nfunction gamma(y) {\n  return (y = +y) === 1 ? nogamma : function(a, b) {\n    return b - a ? exponential(a, b, y) : constant$1(isNaN(a) ? b : a);\n  };\n}\n\nfunction nogamma(a, b) {\n  var d = b - a;\n  return d ? linear(a, d) : constant$1(isNaN(a) ? b : a);\n}\n\nvar interpolateRgb = (function rgbGamma(y) {\n  var color = gamma(y);\n\n  function rgb$1(start, end) {\n    var r = color((start = rgb(start)).r, (end = rgb(end)).r),\n        g = color(start.g, end.g),\n        b = color(start.b, end.b),\n        opacity = nogamma(start.opacity, end.opacity);\n    return function(t) {\n      start.r = r(t);\n      start.g = g(t);\n      start.b = b(t);\n      start.opacity = opacity(t);\n      return start + \"\";\n    };\n  }\n\n  rgb$1.gamma = rgbGamma;\n\n  return rgb$1;\n})(1);\n\nfunction interpolateNumber(a, b) {\n  return a = +a, b = +b, function(t) {\n    return a * (1 - t) + b * t;\n  };\n}\n\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n    reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n  return function() {\n    return b;\n  };\n}\n\nfunction one(b) {\n  return function(t) {\n    return b(t) + \"\";\n  };\n}\n\nfunction interpolateString(a, b) {\n  var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b\n      am, // current match in a\n      bm, // current match in b\n      bs, // string preceding current number in b, if any\n      i = -1, // index in s\n      s = [], // string constants and placeholders\n      q = []; // number interpolators\n\n  // Coerce inputs to strings.\n  a = a + \"\", b = b + \"\";\n\n  // Interpolate pairs of numbers in a & b.\n  while ((am = reA.exec(a))\n      && (bm = reB.exec(b))) {\n    if ((bs = bm.index) > bi) { // a string precedes the next number in b\n      bs = b.slice(bi, bs);\n      if (s[i]) s[i] += bs; // coalesce with previous string\n      else s[++i] = bs;\n    }\n    if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match\n      if (s[i]) s[i] += bm; // coalesce with previous string\n      else s[++i] = bm;\n    } else { // interpolate non-matching numbers\n      s[++i] = null;\n      q.push({i: i, x: interpolateNumber(am, bm)});\n    }\n    bi = reB.lastIndex;\n  }\n\n  // Add remains of b.\n  if (bi < b.length) {\n    bs = b.slice(bi);\n    if (s[i]) s[i] += bs; // coalesce with previous string\n    else s[++i] = bs;\n  }\n\n  // Special optimization for only a single match.\n  // Otherwise, interpolate each of the numbers and rejoin the string.\n  return s.length < 2 ? (q[0]\n      ? one(q[0].x)\n      : zero(b))\n      : (b = q.length, function(t) {\n          for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n          return s.join(\"\");\n        });\n}\n\nvar degrees = 180 / Math.PI;\n\nvar identity$1 = {\n  translateX: 0,\n  translateY: 0,\n  rotate: 0,\n  skewX: 0,\n  scaleX: 1,\n  scaleY: 1\n};\n\nfunction decompose(a, b, c, d, e, f) {\n  var scaleX, scaleY, skewX;\n  if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n  if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n  if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n  if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n  return {\n    translateX: e,\n    translateY: f,\n    rotate: Math.atan2(b, a) * degrees,\n    skewX: Math.atan(skewX) * degrees,\n    scaleX: scaleX,\n    scaleY: scaleY\n  };\n}\n\nvar svgNode;\n\n/* eslint-disable no-undef */\nfunction parseCss(value) {\n  const m = new (typeof DOMMatrix === \"function\" ? DOMMatrix : WebKitCSSMatrix)(value + \"\");\n  return m.isIdentity ? identity$1 : decompose(m.a, m.b, m.c, m.d, m.e, m.f);\n}\n\nfunction parseSvg(value) {\n  if (value == null) return identity$1;\n  if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n  svgNode.setAttribute(\"transform\", value);\n  if (!(value = svgNode.transform.baseVal.consolidate())) return identity$1;\n  value = value.matrix;\n  return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n\n  function pop(s) {\n    return s.length ? s.pop() + \" \" : \"\";\n  }\n\n  function translate(xa, ya, xb, yb, s, q) {\n    if (xa !== xb || ya !== yb) {\n      var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n      q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});\n    } else if (xb || yb) {\n      s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n    }\n  }\n\n  function rotate(a, b, s, q) {\n    if (a !== b) {\n      if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path\n      q.push({i: s.push(pop(s) + \"rotate(\", null, degParen) - 2, x: interpolateNumber(a, b)});\n    } else if (b) {\n      s.push(pop(s) + \"rotate(\" + b + degParen);\n    }\n  }\n\n  function skewX(a, b, s, q) {\n    if (a !== b) {\n      q.push({i: s.push(pop(s) + \"skewX(\", null, degParen) - 2, x: interpolateNumber(a, b)});\n    } else if (b) {\n      s.push(pop(s) + \"skewX(\" + b + degParen);\n    }\n  }\n\n  function scale(xa, ya, xb, yb, s, q) {\n    if (xa !== xb || ya !== yb) {\n      var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n      q.push({i: i - 4, x: interpolateNumber(xa, xb)}, {i: i - 2, x: interpolateNumber(ya, yb)});\n    } else if (xb !== 1 || yb !== 1) {\n      s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n    }\n  }\n\n  return function(a, b) {\n    var s = [], // string constants and placeholders\n        q = []; // number interpolators\n    a = parse(a), b = parse(b);\n    translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n    rotate(a.rotate, b.rotate, s, q);\n    skewX(a.skewX, b.skewX, s, q);\n    scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n    a = b = null; // gc\n    return function(t) {\n      var i = -1, n = q.length, o;\n      while (++i < n) s[(o = q[i]).i] = o.x(t);\n      return s.join(\"\");\n    };\n  };\n}\n\nvar interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nvar interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n\nvar epsilon2 = 1e-12;\n\nfunction cosh(x) {\n  return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n  return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n  return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n}\n\nvar interpolateZoom = (function zoomRho(rho, rho2, rho4) {\n\n  // p0 = [ux0, uy0, w0]\n  // p1 = [ux1, uy1, w1]\n  function zoom(p0, p1) {\n    var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],\n        ux1 = p1[0], uy1 = p1[1], w1 = p1[2],\n        dx = ux1 - ux0,\n        dy = uy1 - uy0,\n        d2 = dx * dx + dy * dy,\n        i,\n        S;\n\n    // Special case for u0 ≅ u1.\n    if (d2 < epsilon2) {\n      S = Math.log(w1 / w0) / rho;\n      i = function(t) {\n        return [\n          ux0 + t * dx,\n          uy0 + t * dy,\n          w0 * Math.exp(rho * t * S)\n        ];\n      };\n    }\n\n    // General case.\n    else {\n      var d1 = Math.sqrt(d2),\n          b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n          b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n          r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n          r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n      S = (r1 - r0) / rho;\n      i = function(t) {\n        var s = t * S,\n            coshr0 = cosh(r0),\n            u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n        return [\n          ux0 + u * dx,\n          uy0 + u * dy,\n          w0 * coshr0 / cosh(rho * s + r0)\n        ];\n      };\n    }\n\n    i.duration = S * 1000 * rho / Math.SQRT2;\n\n    return i;\n  }\n\n  zoom.rho = function(_) {\n    var _1 = Math.max(1e-3, +_), _2 = _1 * _1, _4 = _2 * _2;\n    return zoomRho(_1, _2, _4);\n  };\n\n  return zoom;\n})(Math.SQRT2, 2, 4);\n\nvar frame = 0, // is an animation frame pending?\n    timeout$1 = 0, // is a timeout pending?\n    interval = 0, // are any timers active?\n    pokeDelay = 1000, // how frequently we check for clock skew\n    taskHead,\n    taskTail,\n    clockLast = 0,\n    clockNow = 0,\n    clockSkew = 0,\n    clock = typeof performance === \"object\" && performance.now ? performance : Date,\n    setFrame = typeof window === \"object\" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f) { setTimeout(f, 17); };\n\nfunction now() {\n  return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n  clockNow = 0;\n}\n\nfunction Timer() {\n  this._call =\n  this._time =\n  this._next = null;\n}\n\nTimer.prototype = timer.prototype = {\n  constructor: Timer,\n  restart: function(callback, delay, time) {\n    if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n    time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n    if (!this._next && taskTail !== this) {\n      if (taskTail) taskTail._next = this;\n      else taskHead = this;\n      taskTail = this;\n    }\n    this._call = callback;\n    this._time = time;\n    sleep();\n  },\n  stop: function() {\n    if (this._call) {\n      this._call = null;\n      this._time = Infinity;\n      sleep();\n    }\n  }\n};\n\nfunction timer(callback, delay, time) {\n  var t = new Timer;\n  t.restart(callback, delay, time);\n  return t;\n}\n\nfunction timerFlush() {\n  now(); // Get the current time, if not already set.\n  ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n  var t = taskHead, e;\n  while (t) {\n    if ((e = clockNow - t._time) >= 0) t._call.call(undefined, e);\n    t = t._next;\n  }\n  --frame;\n}\n\nfunction wake() {\n  clockNow = (clockLast = clock.now()) + clockSkew;\n  frame = timeout$1 = 0;\n  try {\n    timerFlush();\n  } finally {\n    frame = 0;\n    nap();\n    clockNow = 0;\n  }\n}\n\nfunction poke() {\n  var now = clock.now(), delay = now - clockLast;\n  if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n  var t0, t1 = taskHead, t2, time = Infinity;\n  while (t1) {\n    if (t1._call) {\n      if (time > t1._time) time = t1._time;\n      t0 = t1, t1 = t1._next;\n    } else {\n      t2 = t1._next, t1._next = null;\n      t1 = t0 ? t0._next = t2 : taskHead = t2;\n    }\n  }\n  taskTail = t0;\n  sleep(time);\n}\n\nfunction sleep(time) {\n  if (frame) return; // Soonest alarm already set, or will be.\n  if (timeout$1) timeout$1 = clearTimeout(timeout$1);\n  var delay = time - clockNow; // Strictly less than if we recomputed clockNow.\n  if (delay > 24) {\n    if (time < Infinity) timeout$1 = setTimeout(wake, time - clock.now() - clockSkew);\n    if (interval) interval = clearInterval(interval);\n  } else {\n    if (!interval) clockLast = clock.now(), interval = setInterval(poke, pokeDelay);\n    frame = 1, setFrame(wake);\n  }\n}\n\nfunction timeout(callback, delay, time) {\n  var t = new Timer;\n  delay = delay == null ? 0 : +delay;\n  t.restart(elapsed => {\n    t.stop();\n    callback(elapsed + delay);\n  }, delay, time);\n  return t;\n}\n\nvar emptyOn = dispatch(\"start\", \"end\", \"cancel\", \"interrupt\");\nvar emptyTween = [];\n\nvar CREATED = 0;\nvar SCHEDULED = 1;\nvar STARTING = 2;\nvar STARTED = 3;\nvar RUNNING = 4;\nvar ENDING = 5;\nvar ENDED = 6;\n\nfunction schedule(node, name, id, index, group, timing) {\n  var schedules = node.__transition;\n  if (!schedules) node.__transition = {};\n  else if (id in schedules) return;\n  create(node, id, {\n    name: name,\n    index: index, // For context during callback.\n    group: group, // For context during callback.\n    on: emptyOn,\n    tween: emptyTween,\n    time: timing.time,\n    delay: timing.delay,\n    duration: timing.duration,\n    ease: timing.ease,\n    timer: null,\n    state: CREATED\n  });\n}\n\nfunction init(node, id) {\n  var schedule = get(node, id);\n  if (schedule.state > CREATED) throw new Error(\"too late; already scheduled\");\n  return schedule;\n}\n\nfunction set(node, id) {\n  var schedule = get(node, id);\n  if (schedule.state > STARTED) throw new Error(\"too late; already running\");\n  return schedule;\n}\n\nfunction get(node, id) {\n  var schedule = node.__transition;\n  if (!schedule || !(schedule = schedule[id])) throw new Error(\"transition not found\");\n  return schedule;\n}\n\nfunction create(node, id, self) {\n  var schedules = node.__transition,\n      tween;\n\n  // Initialize the self timer when the transition is created.\n  // Note the actual delay is not known until the first callback!\n  schedules[id] = self;\n  self.timer = timer(schedule, 0, self.time);\n\n  function schedule(elapsed) {\n    self.state = SCHEDULED;\n    self.timer.restart(start, self.delay, self.time);\n\n    // If the elapsed delay is less than our first sleep, start immediately.\n    if (self.delay <= elapsed) start(elapsed - self.delay);\n  }\n\n  function start(elapsed) {\n    var i, j, n, o;\n\n    // If the state is not SCHEDULED, then we previously errored on start.\n    if (self.state !== SCHEDULED) return stop();\n\n    for (i in schedules) {\n      o = schedules[i];\n      if (o.name !== self.name) continue;\n\n      // While this element already has a starting transition during this frame,\n      // defer starting an interrupting transition until that transition has a\n      // chance to tick (and possibly end); see d3/d3-transition#54!\n      if (o.state === STARTED) return timeout(start);\n\n      // Interrupt the active transition, if any.\n      if (o.state === RUNNING) {\n        o.state = ENDED;\n        o.timer.stop();\n        o.on.call(\"interrupt\", node, node.__data__, o.index, o.group);\n        delete schedules[i];\n      }\n\n      // Cancel any pre-empted transitions.\n      else if (+i < id) {\n        o.state = ENDED;\n        o.timer.stop();\n        o.on.call(\"cancel\", node, node.__data__, o.index, o.group);\n        delete schedules[i];\n      }\n    }\n\n    // Defer the first tick to end of the current frame; see d3/d3#1576.\n    // Note the transition may be canceled after start and before the first tick!\n    // Note this must be scheduled before the start event; see d3/d3-transition#16!\n    // Assuming this is successful, subsequent callbacks go straight to tick.\n    timeout(function() {\n      if (self.state === STARTED) {\n        self.state = RUNNING;\n        self.timer.restart(tick, self.delay, self.time);\n        tick(elapsed);\n      }\n    });\n\n    // Dispatch the start event.\n    // Note this must be done before the tween are initialized.\n    self.state = STARTING;\n    self.on.call(\"start\", node, node.__data__, self.index, self.group);\n    if (self.state !== STARTING) return; // interrupted\n    self.state = STARTED;\n\n    // Initialize the tween, deleting null tween.\n    tween = new Array(n = self.tween.length);\n    for (i = 0, j = -1; i < n; ++i) {\n      if (o = self.tween[i].value.call(node, node.__data__, self.index, self.group)) {\n        tween[++j] = o;\n      }\n    }\n    tween.length = j + 1;\n  }\n\n  function tick(elapsed) {\n    var t = elapsed < self.duration ? self.ease.call(null, elapsed / self.duration) : (self.timer.restart(stop), self.state = ENDING, 1),\n        i = -1,\n        n = tween.length;\n\n    while (++i < n) {\n      tween[i].call(node, t);\n    }\n\n    // Dispatch the end event.\n    if (self.state === ENDING) {\n      self.on.call(\"end\", node, node.__data__, self.index, self.group);\n      stop();\n    }\n  }\n\n  function stop() {\n    self.state = ENDED;\n    self.timer.stop();\n    delete schedules[id];\n    for (var i in schedules) return; // eslint-disable-line no-unused-vars\n    delete node.__transition;\n  }\n}\n\nfunction interrupt(node, name) {\n  var schedules = node.__transition,\n      schedule,\n      active,\n      empty = true,\n      i;\n\n  if (!schedules) return;\n\n  name = name == null ? null : name + \"\";\n\n  for (i in schedules) {\n    if ((schedule = schedules[i]).name !== name) { empty = false; continue; }\n    active = schedule.state > STARTING && schedule.state < ENDING;\n    schedule.state = ENDED;\n    schedule.timer.stop();\n    schedule.on.call(active ? \"interrupt\" : \"cancel\", node, node.__data__, schedule.index, schedule.group);\n    delete schedules[i];\n  }\n\n  if (empty) delete node.__transition;\n}\n\nfunction selection_interrupt(name) {\n  return this.each(function() {\n    interrupt(this, name);\n  });\n}\n\nfunction tweenRemove(id, name) {\n  var tween0, tween1;\n  return function() {\n    var schedule = set(this, id),\n        tween = schedule.tween;\n\n    // If this node shared tween with the previous node,\n    // just assign the updated shared tween and we’re done!\n    // Otherwise, copy-on-write.\n    if (tween !== tween0) {\n      tween1 = tween0 = tween;\n      for (var i = 0, n = tween1.length; i < n; ++i) {\n        if (tween1[i].name === name) {\n          tween1 = tween1.slice();\n          tween1.splice(i, 1);\n          break;\n        }\n      }\n    }\n\n    schedule.tween = tween1;\n  };\n}\n\nfunction tweenFunction(id, name, value) {\n  var tween0, tween1;\n  if (typeof value !== \"function\") throw new Error;\n  return function() {\n    var schedule = set(this, id),\n        tween = schedule.tween;\n\n    // If this node shared tween with the previous node,\n    // just assign the updated shared tween and we’re done!\n    // Otherwise, copy-on-write.\n    if (tween !== tween0) {\n      tween1 = (tween0 = tween).slice();\n      for (var t = {name: name, value: value}, i = 0, n = tween1.length; i < n; ++i) {\n        if (tween1[i].name === name) {\n          tween1[i] = t;\n          break;\n        }\n      }\n      if (i === n) tween1.push(t);\n    }\n\n    schedule.tween = tween1;\n  };\n}\n\nfunction transition_tween(name, value) {\n  var id = this._id;\n\n  name += \"\";\n\n  if (arguments.length < 2) {\n    var tween = get(this.node(), id).tween;\n    for (var i = 0, n = tween.length, t; i < n; ++i) {\n      if ((t = tween[i]).name === name) {\n        return t.value;\n      }\n    }\n    return null;\n  }\n\n  return this.each((value == null ? tweenRemove : tweenFunction)(id, name, value));\n}\n\nfunction tweenValue(transition, name, value) {\n  var id = transition._id;\n\n  transition.each(function() {\n    var schedule = set(this, id);\n    (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments);\n  });\n\n  return function(node) {\n    return get(node, id).value[name];\n  };\n}\n\nfunction interpolate(a, b) {\n  var c;\n  return (typeof b === \"number\" ? interpolateNumber\n      : b instanceof color ? interpolateRgb\n      : (c = color(b)) ? (b = c, interpolateRgb)\n      : interpolateString)(a, b);\n}\n\nfunction attrRemove(name) {\n  return function() {\n    this.removeAttribute(name);\n  };\n}\n\nfunction attrRemoveNS(fullname) {\n  return function() {\n    this.removeAttributeNS(fullname.space, fullname.local);\n  };\n}\n\nfunction attrConstant(name, interpolate, value1) {\n  var string00,\n      string1 = value1 + \"\",\n      interpolate0;\n  return function() {\n    var string0 = this.getAttribute(name);\n    return string0 === string1 ? null\n        : string0 === string00 ? interpolate0\n        : interpolate0 = interpolate(string00 = string0, value1);\n  };\n}\n\nfunction attrConstantNS(fullname, interpolate, value1) {\n  var string00,\n      string1 = value1 + \"\",\n      interpolate0;\n  return function() {\n    var string0 = this.getAttributeNS(fullname.space, fullname.local);\n    return string0 === string1 ? null\n        : string0 === string00 ? interpolate0\n        : interpolate0 = interpolate(string00 = string0, value1);\n  };\n}\n\nfunction attrFunction(name, interpolate, value) {\n  var string00,\n      string10,\n      interpolate0;\n  return function() {\n    var string0, value1 = value(this), string1;\n    if (value1 == null) return void this.removeAttribute(name);\n    string0 = this.getAttribute(name);\n    string1 = value1 + \"\";\n    return string0 === string1 ? null\n        : string0 === string00 && string1 === string10 ? interpolate0\n        : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n  };\n}\n\nfunction attrFunctionNS(fullname, interpolate, value) {\n  var string00,\n      string10,\n      interpolate0;\n  return function() {\n    var string0, value1 = value(this), string1;\n    if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local);\n    string0 = this.getAttributeNS(fullname.space, fullname.local);\n    string1 = value1 + \"\";\n    return string0 === string1 ? null\n        : string0 === string00 && string1 === string10 ? interpolate0\n        : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n  };\n}\n\nfunction transition_attr(name, value) {\n  var fullname = namespace(name), i = fullname === \"transform\" ? interpolateTransformSvg : interpolate;\n  return this.attrTween(name, typeof value === \"function\"\n      ? (fullname.local ? attrFunctionNS : attrFunction)(fullname, i, tweenValue(this, \"attr.\" + name, value))\n      : value == null ? (fullname.local ? attrRemoveNS : attrRemove)(fullname)\n      : (fullname.local ? attrConstantNS : attrConstant)(fullname, i, value));\n}\n\nfunction attrInterpolate(name, i) {\n  return function(t) {\n    this.setAttribute(name, i.call(this, t));\n  };\n}\n\nfunction attrInterpolateNS(fullname, i) {\n  return function(t) {\n    this.setAttributeNS(fullname.space, fullname.local, i.call(this, t));\n  };\n}\n\nfunction attrTweenNS(fullname, value) {\n  var t0, i0;\n  function tween() {\n    var i = value.apply(this, arguments);\n    if (i !== i0) t0 = (i0 = i) && attrInterpolateNS(fullname, i);\n    return t0;\n  }\n  tween._value = value;\n  return tween;\n}\n\nfunction attrTween(name, value) {\n  var t0, i0;\n  function tween() {\n    var i = value.apply(this, arguments);\n    if (i !== i0) t0 = (i0 = i) && attrInterpolate(name, i);\n    return t0;\n  }\n  tween._value = value;\n  return tween;\n}\n\nfunction transition_attrTween(name, value) {\n  var key = \"attr.\" + name;\n  if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n  if (value == null) return this.tween(key, null);\n  if (typeof value !== \"function\") throw new Error;\n  var fullname = namespace(name);\n  return this.tween(key, (fullname.local ? attrTweenNS : attrTween)(fullname, value));\n}\n\nfunction delayFunction(id, value) {\n  return function() {\n    init(this, id).delay = +value.apply(this, arguments);\n  };\n}\n\nfunction delayConstant(id, value) {\n  return value = +value, function() {\n    init(this, id).delay = value;\n  };\n}\n\nfunction transition_delay(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each((typeof value === \"function\"\n          ? delayFunction\n          : delayConstant)(id, value))\n      : get(this.node(), id).delay;\n}\n\nfunction durationFunction(id, value) {\n  return function() {\n    set(this, id).duration = +value.apply(this, arguments);\n  };\n}\n\nfunction durationConstant(id, value) {\n  return value = +value, function() {\n    set(this, id).duration = value;\n  };\n}\n\nfunction transition_duration(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each((typeof value === \"function\"\n          ? durationFunction\n          : durationConstant)(id, value))\n      : get(this.node(), id).duration;\n}\n\nfunction easeConstant(id, value) {\n  if (typeof value !== \"function\") throw new Error;\n  return function() {\n    set(this, id).ease = value;\n  };\n}\n\nfunction transition_ease(value) {\n  var id = this._id;\n\n  return arguments.length\n      ? this.each(easeConstant(id, value))\n      : get(this.node(), id).ease;\n}\n\nfunction easeVarying(id, value) {\n  return function() {\n    var v = value.apply(this, arguments);\n    if (typeof v !== \"function\") throw new Error;\n    set(this, id).ease = v;\n  };\n}\n\nfunction transition_easeVarying(value) {\n  if (typeof value !== \"function\") throw new Error;\n  return this.each(easeVarying(this._id, value));\n}\n\nfunction transition_filter(match) {\n  if (typeof match !== \"function\") match = matcher(match);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = [], node, i = 0; i < n; ++i) {\n      if ((node = group[i]) && match.call(node, node.__data__, i, group)) {\n        subgroup.push(node);\n      }\n    }\n  }\n\n  return new Transition(subgroups, this._parents, this._name, this._id);\n}\n\nfunction transition_merge(transition) {\n  if (transition._id !== this._id) throw new Error;\n\n  for (var groups0 = this._groups, groups1 = transition._groups, m0 = groups0.length, m1 = groups1.length, m = Math.min(m0, m1), merges = new Array(m0), j = 0; j < m; ++j) {\n    for (var group0 = groups0[j], group1 = groups1[j], n = group0.length, merge = merges[j] = new Array(n), node, i = 0; i < n; ++i) {\n      if (node = group0[i] || group1[i]) {\n        merge[i] = node;\n      }\n    }\n  }\n\n  for (; j < m0; ++j) {\n    merges[j] = groups0[j];\n  }\n\n  return new Transition(merges, this._parents, this._name, this._id);\n}\n\nfunction start(name) {\n  return (name + \"\").trim().split(/^|\\s+/).every(function(t) {\n    var i = t.indexOf(\".\");\n    if (i >= 0) t = t.slice(0, i);\n    return !t || t === \"start\";\n  });\n}\n\nfunction onFunction(id, name, listener) {\n  var on0, on1, sit = start(name) ? init : set;\n  return function() {\n    var schedule = sit(this, id),\n        on = schedule.on;\n\n    // If this node shared a dispatch with the previous node,\n    // just assign the updated shared dispatch and we’re done!\n    // Otherwise, copy-on-write.\n    if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener);\n\n    schedule.on = on1;\n  };\n}\n\nfunction transition_on(name, listener) {\n  var id = this._id;\n\n  return arguments.length < 2\n      ? get(this.node(), id).on.on(name)\n      : this.each(onFunction(id, name, listener));\n}\n\nfunction removeFunction(id) {\n  return function() {\n    var parent = this.parentNode;\n    for (var i in this.__transition) if (+i !== id) return;\n    if (parent) parent.removeChild(this);\n  };\n}\n\nfunction transition_remove() {\n  return this.on(\"end.remove\", removeFunction(this._id));\n}\n\nfunction transition_select(select) {\n  var name = this._name,\n      id = this._id;\n\n  if (typeof select !== \"function\") select = selector(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = new Array(m), j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, subgroup = subgroups[j] = new Array(n), node, subnode, i = 0; i < n; ++i) {\n      if ((node = group[i]) && (subnode = select.call(node, node.__data__, i, group))) {\n        if (\"__data__\" in node) subnode.__data__ = node.__data__;\n        subgroup[i] = subnode;\n        schedule(subgroup[i], name, id, i, subgroup, get(node, id));\n      }\n    }\n  }\n\n  return new Transition(subgroups, this._parents, name, id);\n}\n\nfunction transition_selectAll(select) {\n  var name = this._name,\n      id = this._id;\n\n  if (typeof select !== \"function\") select = selectorAll(select);\n\n  for (var groups = this._groups, m = groups.length, subgroups = [], parents = [], j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        for (var children = select.call(node, node.__data__, i, group), child, inherit = get(node, id), k = 0, l = children.length; k < l; ++k) {\n          if (child = children[k]) {\n            schedule(child, name, id, k, children, inherit);\n          }\n        }\n        subgroups.push(children);\n        parents.push(node);\n      }\n    }\n  }\n\n  return new Transition(subgroups, parents, name, id);\n}\n\nvar Selection = selection.prototype.constructor;\n\nfunction transition_selection() {\n  return new Selection(this._groups, this._parents);\n}\n\nfunction styleNull(name, interpolate) {\n  var string00,\n      string10,\n      interpolate0;\n  return function() {\n    var string0 = styleValue(this, name),\n        string1 = (this.style.removeProperty(name), styleValue(this, name));\n    return string0 === string1 ? null\n        : string0 === string00 && string1 === string10 ? interpolate0\n        : interpolate0 = interpolate(string00 = string0, string10 = string1);\n  };\n}\n\nfunction styleRemove(name) {\n  return function() {\n    this.style.removeProperty(name);\n  };\n}\n\nfunction styleConstant(name, interpolate, value1) {\n  var string00,\n      string1 = value1 + \"\",\n      interpolate0;\n  return function() {\n    var string0 = styleValue(this, name);\n    return string0 === string1 ? null\n        : string0 === string00 ? interpolate0\n        : interpolate0 = interpolate(string00 = string0, value1);\n  };\n}\n\nfunction styleFunction(name, interpolate, value) {\n  var string00,\n      string10,\n      interpolate0;\n  return function() {\n    var string0 = styleValue(this, name),\n        value1 = value(this),\n        string1 = value1 + \"\";\n    if (value1 == null) string1 = value1 = (this.style.removeProperty(name), styleValue(this, name));\n    return string0 === string1 ? null\n        : string0 === string00 && string1 === string10 ? interpolate0\n        : (string10 = string1, interpolate0 = interpolate(string00 = string0, value1));\n  };\n}\n\nfunction styleMaybeRemove(id, name) {\n  var on0, on1, listener0, key = \"style.\" + name, event = \"end.\" + key, remove;\n  return function() {\n    var schedule = set(this, id),\n        on = schedule.on,\n        listener = schedule.value[key] == null ? remove || (remove = styleRemove(name)) : undefined;\n\n    // If this node shared a dispatch with the previous node,\n    // just assign the updated shared dispatch and we’re done!\n    // Otherwise, copy-on-write.\n    if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener);\n\n    schedule.on = on1;\n  };\n}\n\nfunction transition_style(name, value, priority) {\n  var i = (name += \"\") === \"transform\" ? interpolateTransformCss : interpolate;\n  return value == null ? this\n      .styleTween(name, styleNull(name, i))\n      .on(\"end.style.\" + name, styleRemove(name))\n    : typeof value === \"function\" ? this\n      .styleTween(name, styleFunction(name, i, tweenValue(this, \"style.\" + name, value)))\n      .each(styleMaybeRemove(this._id, name))\n    : this\n      .styleTween(name, styleConstant(name, i, value), priority)\n      .on(\"end.style.\" + name, null);\n}\n\nfunction styleInterpolate(name, i, priority) {\n  return function(t) {\n    this.style.setProperty(name, i.call(this, t), priority);\n  };\n}\n\nfunction styleTween(name, value, priority) {\n  var t, i0;\n  function tween() {\n    var i = value.apply(this, arguments);\n    if (i !== i0) t = (i0 = i) && styleInterpolate(name, i, priority);\n    return t;\n  }\n  tween._value = value;\n  return tween;\n}\n\nfunction transition_styleTween(name, value, priority) {\n  var key = \"style.\" + (name += \"\");\n  if (arguments.length < 2) return (key = this.tween(key)) && key._value;\n  if (value == null) return this.tween(key, null);\n  if (typeof value !== \"function\") throw new Error;\n  return this.tween(key, styleTween(name, value, priority == null ? \"\" : priority));\n}\n\nfunction textConstant(value) {\n  return function() {\n    this.textContent = value;\n  };\n}\n\nfunction textFunction(value) {\n  return function() {\n    var value1 = value(this);\n    this.textContent = value1 == null ? \"\" : value1;\n  };\n}\n\nfunction transition_text(value) {\n  return this.tween(\"text\", typeof value === \"function\"\n      ? textFunction(tweenValue(this, \"text\", value))\n      : textConstant(value == null ? \"\" : value + \"\"));\n}\n\nfunction textInterpolate(i) {\n  return function(t) {\n    this.textContent = i.call(this, t);\n  };\n}\n\nfunction textTween(value) {\n  var t0, i0;\n  function tween() {\n    var i = value.apply(this, arguments);\n    if (i !== i0) t0 = (i0 = i) && textInterpolate(i);\n    return t0;\n  }\n  tween._value = value;\n  return tween;\n}\n\nfunction transition_textTween(value) {\n  var key = \"text\";\n  if (arguments.length < 1) return (key = this.tween(key)) && key._value;\n  if (value == null) return this.tween(key, null);\n  if (typeof value !== \"function\") throw new Error;\n  return this.tween(key, textTween(value));\n}\n\nfunction transition_transition() {\n  var name = this._name,\n      id0 = this._id,\n      id1 = newId();\n\n  for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        var inherit = get(node, id0);\n        schedule(node, name, id1, i, group, {\n          time: inherit.time + inherit.delay + inherit.duration,\n          delay: 0,\n          duration: inherit.duration,\n          ease: inherit.ease\n        });\n      }\n    }\n  }\n\n  return new Transition(groups, this._parents, name, id1);\n}\n\nfunction transition_end() {\n  var on0, on1, that = this, id = that._id, size = that.size();\n  return new Promise(function(resolve, reject) {\n    var cancel = {value: reject},\n        end = {value: function() { if (--size === 0) resolve(); }};\n\n    that.each(function() {\n      var schedule = set(this, id),\n          on = schedule.on;\n\n      // If this node shared a dispatch with the previous node,\n      // just assign the updated shared dispatch and we’re done!\n      // Otherwise, copy-on-write.\n      if (on !== on0) {\n        on1 = (on0 = on).copy();\n        on1._.cancel.push(cancel);\n        on1._.interrupt.push(cancel);\n        on1._.end.push(end);\n      }\n\n      schedule.on = on1;\n    });\n\n    // The selection was empty, resolve end immediately\n    if (size === 0) resolve();\n  });\n}\n\nvar id = 0;\n\nfunction Transition(groups, parents, name, id) {\n  this._groups = groups;\n  this._parents = parents;\n  this._name = name;\n  this._id = id;\n}\n\nfunction newId() {\n  return ++id;\n}\n\nvar selection_prototype = selection.prototype;\n\nTransition.prototype = {\n  constructor: Transition,\n  select: transition_select,\n  selectAll: transition_selectAll,\n  selectChild: selection_prototype.selectChild,\n  selectChildren: selection_prototype.selectChildren,\n  filter: transition_filter,\n  merge: transition_merge,\n  selection: transition_selection,\n  transition: transition_transition,\n  call: selection_prototype.call,\n  nodes: selection_prototype.nodes,\n  node: selection_prototype.node,\n  size: selection_prototype.size,\n  empty: selection_prototype.empty,\n  each: selection_prototype.each,\n  on: transition_on,\n  attr: transition_attr,\n  attrTween: transition_attrTween,\n  style: transition_style,\n  styleTween: transition_styleTween,\n  text: transition_text,\n  textTween: transition_textTween,\n  remove: transition_remove,\n  tween: transition_tween,\n  delay: transition_delay,\n  duration: transition_duration,\n  ease: transition_ease,\n  easeVarying: transition_easeVarying,\n  end: transition_end,\n  [Symbol.iterator]: selection_prototype[Symbol.iterator]\n};\n\nfunction cubicInOut(t) {\n  return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;\n}\n\nvar defaultTiming = {\n  time: null, // Set on use.\n  delay: 0,\n  duration: 250,\n  ease: cubicInOut\n};\n\nfunction inherit(node, id) {\n  var timing;\n  while (!(timing = node.__transition) || !(timing = timing[id])) {\n    if (!(node = node.parentNode)) {\n      throw new Error(`transition ${id} not found`);\n    }\n  }\n  return timing;\n}\n\nfunction selection_transition(name) {\n  var id,\n      timing;\n\n  if (name instanceof Transition) {\n    id = name._id, name = name._name;\n  } else {\n    id = newId(), (timing = defaultTiming).time = now(), name = name == null ? null : name + \"\";\n  }\n\n  for (var groups = this._groups, m = groups.length, j = 0; j < m; ++j) {\n    for (var group = groups[j], n = group.length, node, i = 0; i < n; ++i) {\n      if (node = group[i]) {\n        schedule(node, name, id, i, group, timing || inherit(node, id));\n      }\n    }\n  }\n\n  return new Transition(groups, this._parents, name, id);\n}\n\nselection.prototype.interrupt = selection_interrupt;\nselection.prototype.transition = selection_transition;\n\nvar constant = x => () => x;\n\nfunction ZoomEvent(type, {\n  sourceEvent,\n  target,\n  transform,\n  dispatch\n}) {\n  Object.defineProperties(this, {\n    type: {value: type, enumerable: true, configurable: true},\n    sourceEvent: {value: sourceEvent, enumerable: true, configurable: true},\n    target: {value: target, enumerable: true, configurable: true},\n    transform: {value: transform, enumerable: true, configurable: true},\n    _: {value: dispatch}\n  });\n}\n\nfunction Transform(k, x, y) {\n  this.k = k;\n  this.x = x;\n  this.y = y;\n}\n\nTransform.prototype = {\n  constructor: Transform,\n  scale: function(k) {\n    return k === 1 ? this : new Transform(this.k * k, this.x, this.y);\n  },\n  translate: function(x, y) {\n    return x === 0 & y === 0 ? this : new Transform(this.k, this.x + this.k * x, this.y + this.k * y);\n  },\n  apply: function(point) {\n    return [point[0] * this.k + this.x, point[1] * this.k + this.y];\n  },\n  applyX: function(x) {\n    return x * this.k + this.x;\n  },\n  applyY: function(y) {\n    return y * this.k + this.y;\n  },\n  invert: function(location) {\n    return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k];\n  },\n  invertX: function(x) {\n    return (x - this.x) / this.k;\n  },\n  invertY: function(y) {\n    return (y - this.y) / this.k;\n  },\n  rescaleX: function(x) {\n    return x.copy().domain(x.range().map(this.invertX, this).map(x.invert, x));\n  },\n  rescaleY: function(y) {\n    return y.copy().domain(y.range().map(this.invertY, this).map(y.invert, y));\n  },\n  toString: function() {\n    return \"translate(\" + this.x + \",\" + this.y + \") scale(\" + this.k + \")\";\n  }\n};\n\nvar identity = new Transform(1, 0, 0);\n\nfunction nopropagation(event) {\n  event.stopImmediatePropagation();\n}\n\nfunction noevent(event) {\n  event.preventDefault();\n  event.stopImmediatePropagation();\n}\n\n// Ignore right-click, since that should open the context menu.\n// except for pinch-to-zoom, which is sent as a wheel+ctrlKey event\nfunction defaultFilter(event) {\n  return (!event.ctrlKey || event.type === 'wheel') && !event.button;\n}\n\nfunction defaultExtent() {\n  var e = this;\n  if (e instanceof SVGElement) {\n    e = e.ownerSVGElement || e;\n    if (e.hasAttribute(\"viewBox\")) {\n      e = e.viewBox.baseVal;\n      return [[e.x, e.y], [e.x + e.width, e.y + e.height]];\n    }\n    return [[0, 0], [e.width.baseVal.value, e.height.baseVal.value]];\n  }\n  return [[0, 0], [e.clientWidth, e.clientHeight]];\n}\n\nfunction defaultTransform() {\n  return this.__zoom || identity;\n}\n\nfunction defaultWheelDelta(event) {\n  return -event.deltaY * (event.deltaMode === 1 ? 0.05 : event.deltaMode ? 1 : 0.002) * (event.ctrlKey ? 10 : 1);\n}\n\nfunction defaultTouchable() {\n  return navigator.maxTouchPoints || (\"ontouchstart\" in this);\n}\n\nfunction defaultConstrain(transform, extent, translateExtent) {\n  var dx0 = transform.invertX(extent[0][0]) - translateExtent[0][0],\n      dx1 = transform.invertX(extent[1][0]) - translateExtent[1][0],\n      dy0 = transform.invertY(extent[0][1]) - translateExtent[0][1],\n      dy1 = transform.invertY(extent[1][1]) - translateExtent[1][1];\n  return transform.translate(\n    dx1 > dx0 ? (dx0 + dx1) / 2 : Math.min(0, dx0) || Math.max(0, dx1),\n    dy1 > dy0 ? (dy0 + dy1) / 2 : Math.min(0, dy0) || Math.max(0, dy1)\n  );\n}\n\nfunction zoom() {\n  var filter = defaultFilter,\n      extent = defaultExtent,\n      constrain = defaultConstrain,\n      wheelDelta = defaultWheelDelta,\n      touchable = defaultTouchable,\n      scaleExtent = [0, Infinity],\n      translateExtent = [[-Infinity, -Infinity], [Infinity, Infinity]],\n      duration = 250,\n      interpolate = interpolateZoom,\n      listeners = dispatch(\"start\", \"zoom\", \"end\"),\n      touchstarting,\n      touchfirst,\n      touchending,\n      touchDelay = 500,\n      wheelDelay = 150,\n      clickDistance2 = 0,\n      tapDistance = 10;\n\n  function zoom(selection) {\n    selection\n        .property(\"__zoom\", defaultTransform)\n        .on(\"wheel.zoom\", wheeled, {passive: false})\n        .on(\"mousedown.zoom\", mousedowned)\n        .on(\"dblclick.zoom\", dblclicked)\n      .filter(touchable)\n        .on(\"touchstart.zoom\", touchstarted)\n        .on(\"touchmove.zoom\", touchmoved)\n        .on(\"touchend.zoom touchcancel.zoom\", touchended)\n        .style(\"-webkit-tap-highlight-color\", \"rgba(0,0,0,0)\");\n  }\n\n  zoom.transform = function(collection, transform, point, event) {\n    var selection = collection.selection ? collection.selection() : collection;\n    selection.property(\"__zoom\", defaultTransform);\n    if (collection !== selection) {\n      schedule(collection, transform, point, event);\n    } else {\n      selection.interrupt().each(function() {\n        gesture(this, arguments)\n          .event(event)\n          .start()\n          .zoom(null, typeof transform === \"function\" ? transform.apply(this, arguments) : transform)\n          .end();\n      });\n    }\n  };\n\n  zoom.scaleBy = function(selection, k, p, event) {\n    zoom.scaleTo(selection, function() {\n      var k0 = this.__zoom.k,\n          k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n      return k0 * k1;\n    }, p, event);\n  };\n\n  zoom.scaleTo = function(selection, k, p, event) {\n    zoom.transform(selection, function() {\n      var e = extent.apply(this, arguments),\n          t0 = this.__zoom,\n          p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p,\n          p1 = t0.invert(p0),\n          k1 = typeof k === \"function\" ? k.apply(this, arguments) : k;\n      return constrain(translate(scale(t0, k1), p0, p1), e, translateExtent);\n    }, p, event);\n  };\n\n  zoom.translateBy = function(selection, x, y, event) {\n    zoom.transform(selection, function() {\n      return constrain(this.__zoom.translate(\n        typeof x === \"function\" ? x.apply(this, arguments) : x,\n        typeof y === \"function\" ? y.apply(this, arguments) : y\n      ), extent.apply(this, arguments), translateExtent);\n    }, null, event);\n  };\n\n  zoom.translateTo = function(selection, x, y, p, event) {\n    zoom.transform(selection, function() {\n      var e = extent.apply(this, arguments),\n          t = this.__zoom,\n          p0 = p == null ? centroid(e) : typeof p === \"function\" ? p.apply(this, arguments) : p;\n      return constrain(identity.translate(p0[0], p0[1]).scale(t.k).translate(\n        typeof x === \"function\" ? -x.apply(this, arguments) : -x,\n        typeof y === \"function\" ? -y.apply(this, arguments) : -y\n      ), e, translateExtent);\n    }, p, event);\n  };\n\n  function scale(transform, k) {\n    k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], k));\n    return k === transform.k ? transform : new Transform(k, transform.x, transform.y);\n  }\n\n  function translate(transform, p0, p1) {\n    var x = p0[0] - p1[0] * transform.k, y = p0[1] - p1[1] * transform.k;\n    return x === transform.x && y === transform.y ? transform : new Transform(transform.k, x, y);\n  }\n\n  function centroid(extent) {\n    return [(+extent[0][0] + +extent[1][0]) / 2, (+extent[0][1] + +extent[1][1]) / 2];\n  }\n\n  function schedule(transition, transform, point, event) {\n    transition\n        .on(\"start.zoom\", function() { gesture(this, arguments).event(event).start(); })\n        .on(\"interrupt.zoom end.zoom\", function() { gesture(this, arguments).event(event).end(); })\n        .tween(\"zoom\", function() {\n          var that = this,\n              args = arguments,\n              g = gesture(that, args).event(event),\n              e = extent.apply(that, args),\n              p = point == null ? centroid(e) : typeof point === \"function\" ? point.apply(that, args) : point,\n              w = Math.max(e[1][0] - e[0][0], e[1][1] - e[0][1]),\n              a = that.__zoom,\n              b = typeof transform === \"function\" ? transform.apply(that, args) : transform,\n              i = interpolate(a.invert(p).concat(w / a.k), b.invert(p).concat(w / b.k));\n          return function(t) {\n            if (t === 1) t = b; // Avoid rounding error on end.\n            else { var l = i(t), k = w / l[2]; t = new Transform(k, p[0] - l[0] * k, p[1] - l[1] * k); }\n            g.zoom(null, t);\n          };\n        });\n  }\n\n  function gesture(that, args, clean) {\n    return (!clean && that.__zooming) || new Gesture(that, args);\n  }\n\n  function Gesture(that, args) {\n    this.that = that;\n    this.args = args;\n    this.active = 0;\n    this.sourceEvent = null;\n    this.extent = extent.apply(that, args);\n    this.taps = 0;\n  }\n\n  Gesture.prototype = {\n    event: function(event) {\n      if (event) this.sourceEvent = event;\n      return this;\n    },\n    start: function() {\n      if (++this.active === 1) {\n        this.that.__zooming = this;\n        this.emit(\"start\");\n      }\n      return this;\n    },\n    zoom: function(key, transform) {\n      if (this.mouse && key !== \"mouse\") this.mouse[1] = transform.invert(this.mouse[0]);\n      if (this.touch0 && key !== \"touch\") this.touch0[1] = transform.invert(this.touch0[0]);\n      if (this.touch1 && key !== \"touch\") this.touch1[1] = transform.invert(this.touch1[0]);\n      this.that.__zoom = transform;\n      this.emit(\"zoom\");\n      return this;\n    },\n    end: function() {\n      if (--this.active === 0) {\n        delete this.that.__zooming;\n        this.emit(\"end\");\n      }\n      return this;\n    },\n    emit: function(type) {\n      var d = select(this.that).datum();\n      listeners.call(\n        type,\n        this.that,\n        new ZoomEvent(type, {\n          sourceEvent: this.sourceEvent,\n          target: zoom,\n          type,\n          transform: this.that.__zoom,\n          dispatch: listeners\n        }),\n        d\n      );\n    }\n  };\n\n  function wheeled(event, ...args) {\n    if (!filter.apply(this, arguments)) return;\n    var g = gesture(this, args).event(event),\n        t = this.__zoom,\n        k = Math.max(scaleExtent[0], Math.min(scaleExtent[1], t.k * Math.pow(2, wheelDelta.apply(this, arguments)))),\n        p = pointer(event);\n\n    // If the mouse is in the same location as before, reuse it.\n    // If there were recent wheel events, reset the wheel idle timeout.\n    if (g.wheel) {\n      if (g.mouse[0][0] !== p[0] || g.mouse[0][1] !== p[1]) {\n        g.mouse[1] = t.invert(g.mouse[0] = p);\n      }\n      clearTimeout(g.wheel);\n    }\n\n    // If this wheel event won’t trigger a transform change, ignore it.\n    else if (t.k === k) return;\n\n    // Otherwise, capture the mouse point and location at the start.\n    else {\n      g.mouse = [p, t.invert(p)];\n      interrupt(this);\n      g.start();\n    }\n\n    noevent(event);\n    g.wheel = setTimeout(wheelidled, wheelDelay);\n    g.zoom(\"mouse\", constrain(translate(scale(t, k), g.mouse[0], g.mouse[1]), g.extent, translateExtent));\n\n    function wheelidled() {\n      g.wheel = null;\n      g.end();\n    }\n  }\n\n  function mousedowned(event, ...args) {\n    if (touchending || !filter.apply(this, arguments)) return;\n    var currentTarget = event.currentTarget,\n        g = gesture(this, args, true).event(event),\n        v = select(event.view).on(\"mousemove.zoom\", mousemoved, true).on(\"mouseup.zoom\", mouseupped, true),\n        p = pointer(event, currentTarget),\n        x0 = event.clientX,\n        y0 = event.clientY;\n\n    dragDisable(event.view);\n    nopropagation(event);\n    g.mouse = [p, this.__zoom.invert(p)];\n    interrupt(this);\n    g.start();\n\n    function mousemoved(event) {\n      noevent(event);\n      if (!g.moved) {\n        var dx = event.clientX - x0, dy = event.clientY - y0;\n        g.moved = dx * dx + dy * dy > clickDistance2;\n      }\n      g.event(event)\n       .zoom(\"mouse\", constrain(translate(g.that.__zoom, g.mouse[0] = pointer(event, currentTarget), g.mouse[1]), g.extent, translateExtent));\n    }\n\n    function mouseupped(event) {\n      v.on(\"mousemove.zoom mouseup.zoom\", null);\n      yesdrag(event.view, g.moved);\n      noevent(event);\n      g.event(event).end();\n    }\n  }\n\n  function dblclicked(event, ...args) {\n    if (!filter.apply(this, arguments)) return;\n    var t0 = this.__zoom,\n        p0 = pointer(event.changedTouches ? event.changedTouches[0] : event, this),\n        p1 = t0.invert(p0),\n        k1 = t0.k * (event.shiftKey ? 0.5 : 2),\n        t1 = constrain(translate(scale(t0, k1), p0, p1), extent.apply(this, args), translateExtent);\n\n    noevent(event);\n    if (duration > 0) select(this).transition().duration(duration).call(schedule, t1, p0, event);\n    else select(this).call(zoom.transform, t1, p0, event);\n  }\n\n  function touchstarted(event, ...args) {\n    if (!filter.apply(this, arguments)) return;\n    var touches = event.touches,\n        n = touches.length,\n        g = gesture(this, args, event.changedTouches.length === n).event(event),\n        started, i, t, p;\n\n    nopropagation(event);\n    for (i = 0; i < n; ++i) {\n      t = touches[i], p = pointer(t, this);\n      p = [p, this.__zoom.invert(p), t.identifier];\n      if (!g.touch0) g.touch0 = p, started = true, g.taps = 1 + !!touchstarting;\n      else if (!g.touch1 && g.touch0[2] !== p[2]) g.touch1 = p, g.taps = 0;\n    }\n\n    if (touchstarting) touchstarting = clearTimeout(touchstarting);\n\n    if (started) {\n      if (g.taps < 2) touchfirst = p[0], touchstarting = setTimeout(function() { touchstarting = null; }, touchDelay);\n      interrupt(this);\n      g.start();\n    }\n  }\n\n  function touchmoved(event, ...args) {\n    if (!this.__zooming) return;\n    var g = gesture(this, args).event(event),\n        touches = event.changedTouches,\n        n = touches.length, i, t, p, l;\n\n    noevent(event);\n    for (i = 0; i < n; ++i) {\n      t = touches[i], p = pointer(t, this);\n      if (g.touch0 && g.touch0[2] === t.identifier) g.touch0[0] = p;\n      else if (g.touch1 && g.touch1[2] === t.identifier) g.touch1[0] = p;\n    }\n    t = g.that.__zoom;\n    if (g.touch1) {\n      var p0 = g.touch0[0], l0 = g.touch0[1],\n          p1 = g.touch1[0], l1 = g.touch1[1],\n          dp = (dp = p1[0] - p0[0]) * dp + (dp = p1[1] - p0[1]) * dp,\n          dl = (dl = l1[0] - l0[0]) * dl + (dl = l1[1] - l0[1]) * dl;\n      t = scale(t, Math.sqrt(dp / dl));\n      p = [(p0[0] + p1[0]) / 2, (p0[1] + p1[1]) / 2];\n      l = [(l0[0] + l1[0]) / 2, (l0[1] + l1[1]) / 2];\n    }\n    else if (g.touch0) p = g.touch0[0], l = g.touch0[1];\n    else return;\n\n    g.zoom(\"touch\", constrain(translate(t, p, l), g.extent, translateExtent));\n  }\n\n  function touchended(event, ...args) {\n    if (!this.__zooming) return;\n    var g = gesture(this, args).event(event),\n        touches = event.changedTouches,\n        n = touches.length, i, t;\n\n    nopropagation(event);\n    if (touchending) clearTimeout(touchending);\n    touchending = setTimeout(function() { touchending = null; }, touchDelay);\n    for (i = 0; i < n; ++i) {\n      t = touches[i];\n      if (g.touch0 && g.touch0[2] === t.identifier) delete g.touch0;\n      else if (g.touch1 && g.touch1[2] === t.identifier) delete g.touch1;\n    }\n    if (g.touch1 && !g.touch0) g.touch0 = g.touch1, delete g.touch1;\n    if (g.touch0) g.touch0[1] = this.__zoom.invert(g.touch0[0]);\n    else {\n      g.end();\n      // If this was a dbltap, reroute to the (optional) dblclick.zoom handler.\n      if (g.taps === 2) {\n        t = pointer(t, this);\n        if (Math.hypot(touchfirst[0] - t[0], touchfirst[1] - t[1]) < tapDistance) {\n          var p = select(this).on(\"dblclick.zoom\");\n          if (p) p.apply(this, arguments);\n        }\n      }\n    }\n  }\n\n  zoom.wheelDelta = function(_) {\n    return arguments.length ? (wheelDelta = typeof _ === \"function\" ? _ : constant(+_), zoom) : wheelDelta;\n  };\n\n  zoom.filter = function(_) {\n    return arguments.length ? (filter = typeof _ === \"function\" ? _ : constant(!!_), zoom) : filter;\n  };\n\n  zoom.touchable = function(_) {\n    return arguments.length ? (touchable = typeof _ === \"function\" ? _ : constant(!!_), zoom) : touchable;\n  };\n\n  zoom.extent = function(_) {\n    return arguments.length ? (extent = typeof _ === \"function\" ? _ : constant([[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]]), zoom) : extent;\n  };\n\n  zoom.scaleExtent = function(_) {\n    return arguments.length ? (scaleExtent[0] = +_[0], scaleExtent[1] = +_[1], zoom) : [scaleExtent[0], scaleExtent[1]];\n  };\n\n  zoom.translateExtent = function(_) {\n    return arguments.length ? (translateExtent[0][0] = +_[0][0], translateExtent[1][0] = +_[1][0], translateExtent[0][1] = +_[0][1], translateExtent[1][1] = +_[1][1], zoom) : [[translateExtent[0][0], translateExtent[0][1]], [translateExtent[1][0], translateExtent[1][1]]];\n  };\n\n  zoom.constrain = function(_) {\n    return arguments.length ? (constrain = _, zoom) : constrain;\n  };\n\n  zoom.duration = function(_) {\n    return arguments.length ? (duration = +_, zoom) : duration;\n  };\n\n  zoom.interpolate = function(_) {\n    return arguments.length ? (interpolate = _, zoom) : interpolate;\n  };\n\n  zoom.on = function() {\n    var value = listeners.on.apply(listeners, arguments);\n    return value === listeners ? zoom : value;\n  };\n\n  zoom.clickDistance = function(_) {\n    return arguments.length ? (clickDistance2 = (_ = +_) * _, zoom) : Math.sqrt(clickDistance2);\n  };\n\n  zoom.tapDistance = function(_) {\n    return arguments.length ? (tapDistance = +_, zoom) : tapDistance;\n  };\n\n  return zoom;\n}\n\nvar useResizeHandler = (function (rendererNode) {\n  var updateSize = useStoreActions(function (actions) {\n    return actions.updateSize;\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var resizeObserver;\n\n    var updateDimensions = function updateDimensions() {\n      if (!rendererNode.current) {\n        return;\n      }\n\n      var size = getDimensions(rendererNode.current);\n\n      if (size.height === 0 || size.width === 0) {\n        console.warn('The React Flow parent container needs a width and a height to render the graph.');\n      }\n\n      updateSize(size);\n    };\n\n    updateDimensions();\n    window.onresize = updateDimensions;\n\n    if (rendererNode.current) {\n      resizeObserver = new ResizeObserver(function () {\n        return updateDimensions();\n      });\n      resizeObserver.observe(rendererNode.current);\n    }\n\n    return function () {\n      window.onresize = null;\n\n      if (resizeObserver && rendererNode.current) {\n        resizeObserver.unobserve(rendererNode.current);\n      }\n    };\n  }, []);\n});\n\nvar Position;\n\n(function (Position) {\n  Position[\"Left\"] = \"left\";\n  Position[\"Top\"] = \"top\";\n  Position[\"Right\"] = \"right\";\n  Position[\"Bottom\"] = \"bottom\";\n})(Position || (Position = {}));\n\nvar ArrowHeadType;\n\n(function (ArrowHeadType) {\n  ArrowHeadType[\"Arrow\"] = \"arrow\";\n  ArrowHeadType[\"ArrowClosed\"] = \"arrowclosed\";\n})(ArrowHeadType || (ArrowHeadType = {}));\n\nvar BackgroundVariant;\n\n(function (BackgroundVariant) {\n  BackgroundVariant[\"Lines\"] = \"lines\";\n  BackgroundVariant[\"Dots\"] = \"dots\";\n})(BackgroundVariant || (BackgroundVariant = {}));\n\nvar ConnectionMode;\n\n(function (ConnectionMode) {\n  ConnectionMode[\"Strict\"] = \"strict\";\n  ConnectionMode[\"Loose\"] = \"loose\";\n})(ConnectionMode || (ConnectionMode = {}));\n\nvar ConnectionLineType;\n\n(function (ConnectionLineType) {\n  ConnectionLineType[\"Bezier\"] = \"default\";\n  ConnectionLineType[\"Straight\"] = \"straight\";\n  ConnectionLineType[\"Step\"] = \"step\";\n  ConnectionLineType[\"SmoothStep\"] = \"smoothstep\";\n})(ConnectionLineType || (ConnectionLineType = {}));\n\nvar PanOnScrollMode;\n\n(function (PanOnScrollMode) {\n  PanOnScrollMode[\"Free\"] = \"free\";\n  PanOnScrollMode[\"Vertical\"] = \"vertical\";\n  PanOnScrollMode[\"Horizontal\"] = \"horizontal\";\n})(PanOnScrollMode || (PanOnScrollMode = {}));\n\nvar viewChanged = function viewChanged(prevTransform, eventTransform) {\n  return prevTransform.x !== eventTransform.x || prevTransform.y !== eventTransform.y || prevTransform.zoom !== eventTransform.k;\n};\n\nvar eventToFlowTransform = function eventToFlowTransform(eventTransform) {\n  return {\n    x: eventTransform.x,\n    y: eventTransform.y,\n    zoom: eventTransform.k\n  };\n};\n\nvar hasNoWheelClass = function hasNoWheelClass(event) {\n  return event.target.closest('.nowheel');\n};\n\nvar ZoomPane = function ZoomPane(_ref) {\n  var onMove = _ref.onMove,\n      onMoveStart = _ref.onMoveStart,\n      onMoveEnd = _ref.onMoveEnd,\n      _ref$zoomOnScroll = _ref.zoomOnScroll,\n      zoomOnScroll = _ref$zoomOnScroll === void 0 ? true : _ref$zoomOnScroll,\n      _ref$zoomOnPinch = _ref.zoomOnPinch,\n      zoomOnPinch = _ref$zoomOnPinch === void 0 ? true : _ref$zoomOnPinch,\n      _ref$panOnScroll = _ref.panOnScroll,\n      panOnScroll = _ref$panOnScroll === void 0 ? false : _ref$panOnScroll,\n      _ref$panOnScrollSpeed = _ref.panOnScrollSpeed,\n      panOnScrollSpeed = _ref$panOnScrollSpeed === void 0 ? 0.5 : _ref$panOnScrollSpeed,\n      _ref$panOnScrollMode = _ref.panOnScrollMode,\n      panOnScrollMode = _ref$panOnScrollMode === void 0 ? PanOnScrollMode.Free : _ref$panOnScrollMode,\n      _ref$zoomOnDoubleClic = _ref.zoomOnDoubleClick,\n      zoomOnDoubleClick = _ref$zoomOnDoubleClic === void 0 ? true : _ref$zoomOnDoubleClic,\n      selectionKeyPressed = _ref.selectionKeyPressed,\n      elementsSelectable = _ref.elementsSelectable,\n      _ref$paneMoveable = _ref.paneMoveable,\n      paneMoveable = _ref$paneMoveable === void 0 ? true : _ref$paneMoveable,\n      _ref$defaultPosition = _ref.defaultPosition,\n      defaultPosition = _ref$defaultPosition === void 0 ? [0, 0] : _ref$defaultPosition,\n      _ref$defaultZoom = _ref.defaultZoom,\n      defaultZoom = _ref$defaultZoom === void 0 ? 1 : _ref$defaultZoom,\n      translateExtent = _ref.translateExtent,\n      zoomActivationKeyCode = _ref.zoomActivationKeyCode,\n      _ref$preventScrolling = _ref.preventScrolling,\n      preventScrolling = _ref$preventScrolling === void 0 ? true : _ref$preventScrolling,\n      children = _ref.children;\n  var zoomPane = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n  var prevTransform = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)({\n    x: 0,\n    y: 0,\n    zoom: 0\n  });\n  var store = useStore();\n  var d3Zoom = useStoreState(function (s) {\n    return s.d3Zoom;\n  });\n  var d3Selection = useStoreState(function (s) {\n    return s.d3Selection;\n  });\n  var d3ZoomHandler = useStoreState(function (s) {\n    return s.d3ZoomHandler;\n  });\n  var initD3Zoom = useStoreActions(function (actions) {\n    return actions.initD3Zoom;\n  });\n  var updateTransform = useStoreActions(function (actions) {\n    return actions.updateTransform;\n  });\n  var zoomActivationKeyPressed = useKeyPress(zoomActivationKeyCode);\n  useResizeHandler(zoomPane);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (zoomPane.current) {\n      var state = store.getState();\n      var currentTranslateExtent = typeof translateExtent !== 'undefined' ? translateExtent : state.translateExtent;\n      var d3ZoomInstance = zoom().scaleExtent([state.minZoom, state.maxZoom]).translateExtent(currentTranslateExtent);\n      var selection = select(zoomPane.current).call(d3ZoomInstance);\n      var clampedX = clamp(defaultPosition[0], currentTranslateExtent[0][0], currentTranslateExtent[1][0]);\n      var clampedY = clamp(defaultPosition[1], currentTranslateExtent[0][1], currentTranslateExtent[1][1]);\n      var clampedZoom = clamp(defaultZoom, state.minZoom, state.maxZoom);\n      var updatedTransform = identity.translate(clampedX, clampedY).scale(clampedZoom);\n      d3ZoomInstance.transform(selection, updatedTransform);\n      initD3Zoom({\n        d3Zoom: d3ZoomInstance,\n        d3Selection: selection,\n        d3ZoomHandler: selection.on('wheel.zoom'),\n        // we need to pass transform because zoom handler is not registered when we set the initial transform\n        transform: [clampedX, clampedY, clampedZoom]\n      });\n    }\n  }, []);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (d3Selection && d3Zoom) {\n      if (panOnScroll && !zoomActivationKeyPressed) {\n        d3Selection.on('wheel', function (event) {\n          if (hasNoWheelClass(event)) {\n            return false;\n          }\n\n          event.preventDefault();\n          event.stopImmediatePropagation();\n          var currentZoom = d3Selection.property('__zoom').k || 1;\n\n          if (event.ctrlKey && zoomOnPinch) {\n            var point = pointer(event); // taken from https://github.com/d3/d3-zoom/blob/master/src/zoom.js\n\n            var pinchDelta = -event.deltaY * (event.deltaMode === 1 ? 0.05 : event.deltaMode ? 1 : 0.002) * 10;\n\n            var _zoom = currentZoom * Math.pow(2, pinchDelta);\n\n            d3Zoom.scaleTo(d3Selection, _zoom, point);\n            return;\n          } // increase scroll speed in firefox\n          // firefox: deltaMode === 1; chrome: deltaMode === 0\n\n\n          var deltaNormalize = event.deltaMode === 1 ? 20 : 1;\n          var deltaX = panOnScrollMode === PanOnScrollMode.Vertical ? 0 : event.deltaX * deltaNormalize;\n          var deltaY = panOnScrollMode === PanOnScrollMode.Horizontal ? 0 : event.deltaY * deltaNormalize;\n          d3Zoom.translateBy(d3Selection, -(deltaX / currentZoom) * panOnScrollSpeed, -(deltaY / currentZoom) * panOnScrollSpeed);\n        }).on('wheel.zoom', null);\n      } else if (typeof d3ZoomHandler !== 'undefined') {\n        d3Selection.on('wheel', function (event) {\n          if (!preventScrolling || hasNoWheelClass(event)) {\n            return null;\n          }\n\n          event.preventDefault();\n        }).on('wheel.zoom', d3ZoomHandler);\n      }\n    }\n  }, [panOnScroll, panOnScrollMode, d3Selection, d3Zoom, d3ZoomHandler, zoomActivationKeyPressed, zoomOnPinch, preventScrolling]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (d3Zoom) {\n      if (selectionKeyPressed) {\n        d3Zoom.on('zoom', null);\n      } else {\n        d3Zoom.on('zoom', function (event) {\n          updateTransform([event.transform.x, event.transform.y, event.transform.k]);\n\n          if (onMove) {\n            var flowTransform = eventToFlowTransform(event.transform);\n            onMove(flowTransform);\n          }\n        });\n      }\n    }\n  }, [selectionKeyPressed, d3Zoom, updateTransform, onMove]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (d3Zoom) {\n      if (onMoveStart) {\n        d3Zoom.on('start', function (event) {\n          var flowTransform = eventToFlowTransform(event.transform);\n          prevTransform.current = flowTransform;\n          onMoveStart(flowTransform);\n        });\n      } else {\n        d3Zoom.on('start', null);\n      }\n    }\n  }, [d3Zoom, onMoveStart]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (d3Zoom) {\n      if (onMoveEnd) {\n        d3Zoom.on('end', function (event) {\n          if (viewChanged(prevTransform.current, event.transform)) {\n            var flowTransform = eventToFlowTransform(event.transform);\n            prevTransform.current = flowTransform;\n            onMoveEnd(flowTransform);\n          }\n        });\n      } else {\n        d3Zoom.on('end', null);\n      }\n    }\n  }, [d3Zoom, onMoveEnd]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (d3Zoom) {\n      d3Zoom.filter(function (event) {\n        var zoomScroll = zoomActivationKeyPressed || zoomOnScroll;\n        var pinchZoom = zoomOnPinch && event.ctrlKey; // if all interactions are disabled, we prevent all zoom events\n\n        if (!paneMoveable && !zoomScroll && !panOnScroll && !zoomOnDoubleClick && !zoomOnPinch) {\n          return false;\n        } // during a selection we prevent all other interactions\n\n\n        if (selectionKeyPressed) {\n          return false;\n        } // if zoom on double click is disabled, we prevent the double click event\n\n\n        if (!zoomOnDoubleClick && event.type === 'dblclick') {\n          return false;\n        }\n\n        if (hasNoWheelClass(event) && event.type === 'wheel') {\n          return false;\n        } // when the target element is a node, we still allow zooming\n\n\n        if ((event.target.closest('.react-flow__node') || event.target.closest('.react-flow__edge')) && event.type !== 'wheel') {\n          return false;\n        } // when the target element is a node selection, we still allow zooming\n\n\n        if (event.target.closest('.react-flow__nodesselection') && event.type !== 'wheel') {\n          return false;\n        }\n\n        if (!zoomOnPinch && event.ctrlKey && event.type === 'wheel') {\n          return false;\n        } // when there is no scroll handling enabled, we prevent all wheel events\n\n\n        if (!zoomScroll && !panOnScroll && !pinchZoom && event.type === 'wheel') {\n          return false;\n        } // if the pane is not movable, we prevent dragging it with mousestart or touchstart\n\n\n        if (!paneMoveable && (event.type === 'mousedown' || event.type === 'touchstart')) {\n          return false;\n        } // default filter for d3-zoom\n\n\n        return (!event.ctrlKey || event.type === 'wheel') && !event.button;\n      });\n    }\n  }, [d3Zoom, zoomOnScroll, zoomOnPinch, panOnScroll, zoomOnDoubleClick, paneMoveable, selectionKeyPressed, elementsSelectable, zoomActivationKeyPressed]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__renderer react-flow__zoompane\",\n    ref: zoomPane\n  }, children);\n};\n\n/**\r\n * The user selection rectangle gets displayed when a user drags the mouse while pressing shift\r\n */\n\nfunction getMousePosition(event) {\n  var reactFlowNode = event.target.closest('.react-flow');\n\n  if (!reactFlowNode) {\n    return;\n  }\n\n  var containerBounds = reactFlowNode.getBoundingClientRect();\n  return {\n    x: event.clientX - containerBounds.left,\n    y: event.clientY - containerBounds.top\n  };\n}\n\nvar SelectionRect = function SelectionRect() {\n  var userSelectionRect = useStoreState(function (state) {\n    return state.userSelectionRect;\n  });\n\n  if (!userSelectionRect.draw) {\n    return null;\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__selection\",\n    style: {\n      width: userSelectionRect.width,\n      height: userSelectionRect.height,\n      transform: \"translate(\".concat(userSelectionRect.x, \"px, \").concat(userSelectionRect.y, \"px)\")\n    }\n  });\n};\n\nvar UserSelection = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref) {\n  var selectionKeyPressed = _ref.selectionKeyPressed;\n  var selectionActive = useStoreState(function (state) {\n    return state.selectionActive;\n  });\n  var elementsSelectable = useStoreState(function (state) {\n    return state.elementsSelectable;\n  });\n  var setUserSelection = useStoreActions(function (actions) {\n    return actions.setUserSelection;\n  });\n  var updateUserSelection = useStoreActions(function (actions) {\n    return actions.updateUserSelection;\n  });\n  var unsetUserSelection = useStoreActions(function (actions) {\n    return actions.unsetUserSelection;\n  });\n  var unsetNodesSelection = useStoreActions(function (actions) {\n    return actions.unsetNodesSelection;\n  });\n  var renderUserSelectionPane = selectionActive || selectionKeyPressed;\n\n  if (!elementsSelectable || !renderUserSelectionPane) {\n    return null;\n  }\n\n  var onMouseDown = function onMouseDown(event) {\n    var mousePos = getMousePosition(event);\n\n    if (!mousePos) {\n      return;\n    }\n\n    setUserSelection(mousePos);\n  };\n\n  var onMouseMove = function onMouseMove(event) {\n    if (!selectionKeyPressed || !selectionActive) {\n      return;\n    }\n\n    var mousePos = getMousePosition(event);\n\n    if (!mousePos) {\n      return;\n    }\n\n    updateUserSelection(mousePos);\n  };\n\n  var onMouseUp = function onMouseUp() {\n    return unsetUserSelection();\n  };\n\n  var onMouseLeave = function onMouseLeave() {\n    unsetUserSelection();\n    unsetNodesSelection();\n  };\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__selectionpane\",\n    onMouseDown: onMouseDown,\n    onMouseMove: onMouseMove,\n    onMouseUp: onMouseUp,\n    onMouseLeave: onMouseLeave\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SelectionRect, null));\n});\n\nvar cjs = {exports: {}};\n\nvar Draggable$1 = {};\n\nfunction toVal(mix) {\n\tvar k, y, str='';\n\n\tif (typeof mix === 'string' || typeof mix === 'number') {\n\t\tstr += mix;\n\t} else if (typeof mix === 'object') {\n\t\tif (Array.isArray(mix)) {\n\t\t\tfor (k=0; k < mix.length; k++) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tif (y = toVal(mix[k])) {\n\t\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\t\tstr += y;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor (k in mix) {\n\t\t\t\tif (mix[k]) {\n\t\t\t\t\tstr && (str += ' ');\n\t\t\t\t\tstr += k;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn str;\n}\n\nfunction clsx_m () {\n\tvar i=0, tmp, x, str='';\n\twhile (i < arguments.length) {\n\t\tif (tmp = arguments[i++]) {\n\t\t\tif (x = toVal(tmp)) {\n\t\t\t\tstr && (str += ' ');\n\t\t\t\tstr += x;\n\t\t\t}\n\t\t}\n\t}\n\treturn str;\n}\n\nvar clsx_m$1 = /*#__PURE__*/Object.freeze({\n  __proto__: null,\n  'default': clsx_m\n});\n\nvar require$$3 = /*@__PURE__*/getAugmentedNamespace(clsx_m$1);\n\nvar domFns = {};\n\nvar shims = {};\n\nObject.defineProperty(shims, \"__esModule\", {\n  value: true\n});\nshims.findInArray = findInArray;\nshims.isFunction = isFunction;\nshims.isNum = isNum;\nshims.int = int;\nshims.dontSetMe = dontSetMe;\n\n// @credits https://gist.github.com/rogozhnikoff/a43cfed27c41e4e68cdc\nfunction findInArray(array\n/*: Array<any> | TouchList*/\n, callback\n/*: Function*/\n)\n/*: any*/\n{\n  for (var i = 0, length = array.length; i < length; i++) {\n    if (callback.apply(callback, [array[i], i, array])) return array[i];\n  }\n}\n\nfunction isFunction(func\n/*: any*/\n)\n/*: boolean %checks*/\n{\n  // $FlowIgnore[method-unbinding]\n  return typeof func === 'function' || Object.prototype.toString.call(func) === '[object Function]';\n}\n\nfunction isNum(num\n/*: any*/\n)\n/*: boolean %checks*/\n{\n  return typeof num === 'number' && !isNaN(num);\n}\n\nfunction int(a\n/*: string*/\n)\n/*: number*/\n{\n  return parseInt(a, 10);\n}\n\nfunction dontSetMe(props\n/*: Object*/\n, propName\n/*: string*/\n, componentName\n/*: string*/\n)\n/*: ?Error*/\n{\n  if (props[propName]) {\n    return new Error(\"Invalid prop \".concat(propName, \" passed to \").concat(componentName, \" - do not set this, set it on the child.\"));\n  }\n}\n\nvar getPrefix$1 = {};\n\nObject.defineProperty(getPrefix$1, \"__esModule\", {\n  value: true\n});\ngetPrefix$1.getPrefix = getPrefix;\ngetPrefix$1.browserPrefixToKey = browserPrefixToKey;\ngetPrefix$1.browserPrefixToStyle = browserPrefixToStyle;\ngetPrefix$1.default = void 0;\nvar prefixes = ['Moz', 'Webkit', 'O', 'ms'];\n\nfunction getPrefix()\n/*: string*/\n{\n  var _window$document, _window$document$docu;\n\n  var prop\n  /*: string*/\n  = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'transform';\n  // Ensure we're running in an environment where there is actually a global\n  // `window` obj\n  if (typeof window === 'undefined') return ''; // If we're in a pseudo-browser server-side environment, this access\n  // path may not exist, so bail out if it doesn't.\n\n  var style = (_window$document = window.document) === null || _window$document === void 0 ? void 0 : (_window$document$docu = _window$document.documentElement) === null || _window$document$docu === void 0 ? void 0 : _window$document$docu.style;\n  if (!style) return '';\n  if (prop in style) return '';\n\n  for (var i = 0; i < prefixes.length; i++) {\n    if (browserPrefixToKey(prop, prefixes[i]) in style) return prefixes[i];\n  }\n\n  return '';\n}\n\nfunction browserPrefixToKey(prop\n/*: string*/\n, prefix\n/*: string*/\n)\n/*: string*/\n{\n  return prefix ? \"\".concat(prefix).concat(kebabToTitleCase(prop)) : prop;\n}\n\nfunction browserPrefixToStyle(prop\n/*: string*/\n, prefix\n/*: string*/\n)\n/*: string*/\n{\n  return prefix ? \"-\".concat(prefix.toLowerCase(), \"-\").concat(prop) : prop;\n}\n\nfunction kebabToTitleCase(str\n/*: string*/\n)\n/*: string*/\n{\n  var out = '';\n  var shouldCapitalize = true;\n\n  for (var i = 0; i < str.length; i++) {\n    if (shouldCapitalize) {\n      out += str[i].toUpperCase();\n      shouldCapitalize = false;\n    } else if (str[i] === '-') {\n      shouldCapitalize = true;\n    } else {\n      out += str[i];\n    }\n  }\n\n  return out;\n} // Default export is the prefix itself, like 'Moz', 'Webkit', etc\n// Note that you may have to re-test for certain things; for instance, Chrome 50\n// can handle unprefixed `transform`, but not unprefixed `user-select`\n\n\nvar _default = (getPrefix()\n/*: string*/\n);\n\ngetPrefix$1.default = _default;\n\nfunction _typeof$1(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof$1 = function _typeof(obj) { return typeof obj; }; } else { _typeof$1 = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof$1(obj); }\n\nObject.defineProperty(domFns, \"__esModule\", {\n  value: true\n});\ndomFns.matchesSelector = matchesSelector;\ndomFns.matchesSelectorAndParentsTo = matchesSelectorAndParentsTo;\ndomFns.addEvent = addEvent;\ndomFns.removeEvent = removeEvent;\ndomFns.outerHeight = outerHeight;\ndomFns.outerWidth = outerWidth;\ndomFns.innerHeight = innerHeight;\ndomFns.innerWidth = innerWidth;\ndomFns.offsetXYFromParent = offsetXYFromParent;\ndomFns.createCSSTransform = createCSSTransform;\ndomFns.createSVGTransform = createSVGTransform;\ndomFns.getTranslation = getTranslation;\ndomFns.getTouch = getTouch;\ndomFns.getTouchIdentifier = getTouchIdentifier;\ndomFns.addUserSelectStyles = addUserSelectStyles;\ndomFns.removeUserSelectStyles = removeUserSelectStyles;\ndomFns.addClassName = addClassName;\ndomFns.removeClassName = removeClassName;\n\nvar _shims$2 = shims;\n\nvar _getPrefix = _interopRequireWildcard$1(getPrefix$1);\n\nfunction _getRequireWildcardCache$1(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache$1 = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard$1(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof$1(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache$1(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$c(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys$c(Object(source), true).forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys$c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar matchesSelectorFunc = '';\n\nfunction matchesSelector(el\n/*: Node*/\n, selector\n/*: string*/\n)\n/*: boolean*/\n{\n  if (!matchesSelectorFunc) {\n    matchesSelectorFunc = (0, _shims$2.findInArray)(['matches', 'webkitMatchesSelector', 'mozMatchesSelector', 'msMatchesSelector', 'oMatchesSelector'], function (method) {\n      // $FlowIgnore: Doesn't think elements are indexable\n      return (0, _shims$2.isFunction)(el[method]);\n    });\n  } // Might not be found entirely (not an Element?) - in that case, bail\n  // $FlowIgnore: Doesn't think elements are indexable\n\n\n  if (!(0, _shims$2.isFunction)(el[matchesSelectorFunc])) return false; // $FlowIgnore: Doesn't think elements are indexable\n\n  return el[matchesSelectorFunc](selector);\n} // Works up the tree to the draggable itself attempting to match selector.\n\n\nfunction matchesSelectorAndParentsTo(el\n/*: Node*/\n, selector\n/*: string*/\n, baseNode\n/*: Node*/\n)\n/*: boolean*/\n{\n  var node = el;\n\n  do {\n    if (matchesSelector(node, selector)) return true;\n    if (node === baseNode) return false;\n    node = node.parentNode;\n  } while (node);\n\n  return false;\n}\n\nfunction addEvent(el\n/*: ?Node*/\n, event\n/*: string*/\n, handler\n/*: Function*/\n, inputOptions\n/*: Object*/\n)\n/*: void*/\n{\n  if (!el) return;\n\n  var options = _objectSpread$c({\n    capture: true\n  }, inputOptions); // $FlowIgnore[method-unbinding]\n\n\n  if (el.addEventListener) {\n    el.addEventListener(event, handler, options);\n  } else if (el.attachEvent) {\n    el.attachEvent('on' + event, handler);\n  } else {\n    // $FlowIgnore: Doesn't think elements are indexable\n    el['on' + event] = handler;\n  }\n}\n\nfunction removeEvent(el\n/*: ?Node*/\n, event\n/*: string*/\n, handler\n/*: Function*/\n, inputOptions\n/*: Object*/\n)\n/*: void*/\n{\n  if (!el) return;\n\n  var options = _objectSpread$c({\n    capture: true\n  }, inputOptions); // $FlowIgnore[method-unbinding]\n\n\n  if (el.removeEventListener) {\n    el.removeEventListener(event, handler, options);\n  } else if (el.detachEvent) {\n    el.detachEvent('on' + event, handler);\n  } else {\n    // $FlowIgnore: Doesn't think elements are indexable\n    el['on' + event] = null;\n  }\n}\n\nfunction outerHeight(node\n/*: HTMLElement*/\n)\n/*: number*/\n{\n  // This is deliberately excluding margin for our calculations, since we are using\n  // offsetTop which is including margin. See getBoundPosition\n  var height = node.clientHeight;\n  var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);\n  height += (0, _shims$2.int)(computedStyle.borderTopWidth);\n  height += (0, _shims$2.int)(computedStyle.borderBottomWidth);\n  return height;\n}\n\nfunction outerWidth(node\n/*: HTMLElement*/\n)\n/*: number*/\n{\n  // This is deliberately excluding margin for our calculations, since we are using\n  // offsetLeft which is including margin. See getBoundPosition\n  var width = node.clientWidth;\n  var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);\n  width += (0, _shims$2.int)(computedStyle.borderLeftWidth);\n  width += (0, _shims$2.int)(computedStyle.borderRightWidth);\n  return width;\n}\n\nfunction innerHeight(node\n/*: HTMLElement*/\n)\n/*: number*/\n{\n  var height = node.clientHeight;\n  var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);\n  height -= (0, _shims$2.int)(computedStyle.paddingTop);\n  height -= (0, _shims$2.int)(computedStyle.paddingBottom);\n  return height;\n}\n\nfunction innerWidth(node\n/*: HTMLElement*/\n)\n/*: number*/\n{\n  var width = node.clientWidth;\n  var computedStyle = node.ownerDocument.defaultView.getComputedStyle(node);\n  width -= (0, _shims$2.int)(computedStyle.paddingLeft);\n  width -= (0, _shims$2.int)(computedStyle.paddingRight);\n  return width;\n}\n/*:: interface EventWithOffset {\n  clientX: number, clientY: number\n}*/\n\n\n// Get from offsetParent\nfunction offsetXYFromParent(evt\n/*: EventWithOffset*/\n, offsetParent\n/*: HTMLElement*/\n, scale\n/*: number*/\n)\n/*: ControlPosition*/\n{\n  var isBody = offsetParent === offsetParent.ownerDocument.body;\n  var offsetParentRect = isBody ? {\n    left: 0,\n    top: 0\n  } : offsetParent.getBoundingClientRect();\n  var x = (evt.clientX + offsetParent.scrollLeft - offsetParentRect.left) / scale;\n  var y = (evt.clientY + offsetParent.scrollTop - offsetParentRect.top) / scale;\n  return {\n    x: x,\n    y: y\n  };\n}\n\nfunction createCSSTransform(controlPos\n/*: ControlPosition*/\n, positionOffset\n/*: PositionOffsetControlPosition*/\n)\n/*: Object*/\n{\n  var translation = getTranslation(controlPos, positionOffset, 'px');\n  return _defineProperty$1({}, (0, _getPrefix.browserPrefixToKey)('transform', _getPrefix.default), translation);\n}\n\nfunction createSVGTransform(controlPos\n/*: ControlPosition*/\n, positionOffset\n/*: PositionOffsetControlPosition*/\n)\n/*: string*/\n{\n  var translation = getTranslation(controlPos, positionOffset, '');\n  return translation;\n}\n\nfunction getTranslation(_ref2, positionOffset\n/*: PositionOffsetControlPosition*/\n, unitSuffix\n/*: string*/\n)\n/*: string*/\n{\n  var x = _ref2.x,\n      y = _ref2.y;\n  var translation = \"translate(\".concat(x).concat(unitSuffix, \",\").concat(y).concat(unitSuffix, \")\");\n\n  if (positionOffset) {\n    var defaultX = \"\".concat(typeof positionOffset.x === 'string' ? positionOffset.x : positionOffset.x + unitSuffix);\n    var defaultY = \"\".concat(typeof positionOffset.y === 'string' ? positionOffset.y : positionOffset.y + unitSuffix);\n    translation = \"translate(\".concat(defaultX, \", \").concat(defaultY, \")\") + translation;\n  }\n\n  return translation;\n}\n\nfunction getTouch(e\n/*: MouseTouchEvent*/\n, identifier\n/*: number*/\n)\n/*: ?{clientX: number, clientY: number}*/\n{\n  return e.targetTouches && (0, _shims$2.findInArray)(e.targetTouches, function (t) {\n    return identifier === t.identifier;\n  }) || e.changedTouches && (0, _shims$2.findInArray)(e.changedTouches, function (t) {\n    return identifier === t.identifier;\n  });\n}\n\nfunction getTouchIdentifier(e\n/*: MouseTouchEvent*/\n)\n/*: ?number*/\n{\n  if (e.targetTouches && e.targetTouches[0]) return e.targetTouches[0].identifier;\n  if (e.changedTouches && e.changedTouches[0]) return e.changedTouches[0].identifier;\n} // User-select Hacks:\n//\n// Useful for preventing blue highlights all over everything when dragging.\n// Note we're passing `document` b/c we could be iframed\n\n\nfunction addUserSelectStyles(doc\n/*: ?Document*/\n) {\n  if (!doc) return;\n  var styleEl = doc.getElementById('react-draggable-style-el');\n\n  if (!styleEl) {\n    styleEl = doc.createElement('style');\n    styleEl.type = 'text/css';\n    styleEl.id = 'react-draggable-style-el';\n    styleEl.innerHTML = '.react-draggable-transparent-selection *::-moz-selection {all: inherit;}\\n';\n    styleEl.innerHTML += '.react-draggable-transparent-selection *::selection {all: inherit;}\\n';\n    doc.getElementsByTagName('head')[0].appendChild(styleEl);\n  }\n\n  if (doc.body) addClassName(doc.body, 'react-draggable-transparent-selection');\n}\n\nfunction removeUserSelectStyles(doc\n/*: ?Document*/\n) {\n  if (!doc) return;\n\n  try {\n    if (doc.body) removeClassName(doc.body, 'react-draggable-transparent-selection'); // $FlowIgnore: IE\n\n    if (doc.selection) {\n      // $FlowIgnore: IE\n      doc.selection.empty();\n    } else {\n      // Remove selection caused by scroll, unless it's a focused input\n      // (we use doc.defaultView in case we're in an iframe)\n      var selection = (doc.defaultView || window).getSelection();\n\n      if (selection && selection.type !== 'Caret') {\n        selection.removeAllRanges();\n      }\n    }\n  } catch (e) {// probably IE\n  }\n}\n\nfunction addClassName(el\n/*: HTMLElement*/\n, className\n/*: string*/\n) {\n  if (el.classList) {\n    el.classList.add(className);\n  } else {\n    if (!el.className.match(new RegExp(\"(?:^|\\\\s)\".concat(className, \"(?!\\\\S)\")))) {\n      el.className += \" \".concat(className);\n    }\n  }\n}\n\nfunction removeClassName(el\n/*: HTMLElement*/\n, className\n/*: string*/\n) {\n  if (el.classList) {\n    el.classList.remove(className);\n  } else {\n    el.className = el.className.replace(new RegExp(\"(?:^|\\\\s)\".concat(className, \"(?!\\\\S)\"), 'g'), '');\n  }\n}\n\nvar positionFns = {};\n\nObject.defineProperty(positionFns, \"__esModule\", {\n  value: true\n});\npositionFns.getBoundPosition = getBoundPosition;\npositionFns.snapToGrid = snapToGrid;\npositionFns.canDragX = canDragX;\npositionFns.canDragY = canDragY;\npositionFns.getControlPosition = getControlPosition;\npositionFns.createCoreData = createCoreData;\npositionFns.createDraggableData = createDraggableData;\n\nvar _shims$1 = shims;\n\nvar _domFns$1 = domFns;\n\nfunction getBoundPosition(draggable\n/*: Draggable*/\n, x\n/*: number*/\n, y\n/*: number*/\n)\n/*: [number, number]*/\n{\n  // If no bounds, short-circuit and move on\n  if (!draggable.props.bounds) return [x, y]; // Clone new bounds\n\n  var bounds = draggable.props.bounds;\n  bounds = typeof bounds === 'string' ? bounds : cloneBounds(bounds);\n  var node = findDOMNode(draggable);\n\n  if (typeof bounds === 'string') {\n    var ownerDocument = node.ownerDocument;\n    var ownerWindow = ownerDocument.defaultView;\n    var boundNode;\n\n    if (bounds === 'parent') {\n      boundNode = node.parentNode;\n    } else {\n      boundNode = ownerDocument.querySelector(bounds);\n    }\n\n    if (!(boundNode instanceof ownerWindow.HTMLElement)) {\n      throw new Error('Bounds selector \"' + bounds + '\" could not find an element.');\n    }\n\n    var boundNodeEl\n    /*: HTMLElement*/\n    = boundNode; // for Flow, can't seem to refine correctly\n\n    var nodeStyle = ownerWindow.getComputedStyle(node);\n    var boundNodeStyle = ownerWindow.getComputedStyle(boundNodeEl); // Compute bounds. This is a pain with padding and offsets but this gets it exactly right.\n\n    bounds = {\n      left: -node.offsetLeft + (0, _shims$1.int)(boundNodeStyle.paddingLeft) + (0, _shims$1.int)(nodeStyle.marginLeft),\n      top: -node.offsetTop + (0, _shims$1.int)(boundNodeStyle.paddingTop) + (0, _shims$1.int)(nodeStyle.marginTop),\n      right: (0, _domFns$1.innerWidth)(boundNodeEl) - (0, _domFns$1.outerWidth)(node) - node.offsetLeft + (0, _shims$1.int)(boundNodeStyle.paddingRight) - (0, _shims$1.int)(nodeStyle.marginRight),\n      bottom: (0, _domFns$1.innerHeight)(boundNodeEl) - (0, _domFns$1.outerHeight)(node) - node.offsetTop + (0, _shims$1.int)(boundNodeStyle.paddingBottom) - (0, _shims$1.int)(nodeStyle.marginBottom)\n    };\n  } // Keep x and y below right and bottom limits...\n\n\n  if ((0, _shims$1.isNum)(bounds.right)) x = Math.min(x, bounds.right);\n  if ((0, _shims$1.isNum)(bounds.bottom)) y = Math.min(y, bounds.bottom); // But above left and top limits.\n\n  if ((0, _shims$1.isNum)(bounds.left)) x = Math.max(x, bounds.left);\n  if ((0, _shims$1.isNum)(bounds.top)) y = Math.max(y, bounds.top);\n  return [x, y];\n}\n\nfunction snapToGrid(grid\n/*: [number, number]*/\n, pendingX\n/*: number*/\n, pendingY\n/*: number*/\n)\n/*: [number, number]*/\n{\n  var x = Math.round(pendingX / grid[0]) * grid[0];\n  var y = Math.round(pendingY / grid[1]) * grid[1];\n  return [x, y];\n}\n\nfunction canDragX(draggable\n/*: Draggable*/\n)\n/*: boolean*/\n{\n  return draggable.props.axis === 'both' || draggable.props.axis === 'x';\n}\n\nfunction canDragY(draggable\n/*: Draggable*/\n)\n/*: boolean*/\n{\n  return draggable.props.axis === 'both' || draggable.props.axis === 'y';\n} // Get {x, y} positions from event.\n\n\nfunction getControlPosition(e\n/*: MouseTouchEvent*/\n, touchIdentifier\n/*: ?number*/\n, draggableCore\n/*: DraggableCore*/\n)\n/*: ?ControlPosition*/\n{\n  var touchObj = typeof touchIdentifier === 'number' ? (0, _domFns$1.getTouch)(e, touchIdentifier) : null;\n  if (typeof touchIdentifier === 'number' && !touchObj) return null; // not the right touch\n\n  var node = findDOMNode(draggableCore); // User can provide an offsetParent if desired.\n\n  var offsetParent = draggableCore.props.offsetParent || node.offsetParent || node.ownerDocument.body;\n  return (0, _domFns$1.offsetXYFromParent)(touchObj || e, offsetParent, draggableCore.props.scale);\n} // Create an data object exposed by <DraggableCore>'s events\n\n\nfunction createCoreData(draggable\n/*: DraggableCore*/\n, x\n/*: number*/\n, y\n/*: number*/\n)\n/*: DraggableData*/\n{\n  var state = draggable.state;\n  var isStart = !(0, _shims$1.isNum)(state.lastX);\n  var node = findDOMNode(draggable);\n\n  if (isStart) {\n    // If this is our first move, use the x and y as last coords.\n    return {\n      node: node,\n      deltaX: 0,\n      deltaY: 0,\n      lastX: x,\n      lastY: y,\n      x: x,\n      y: y\n    };\n  } else {\n    // Otherwise calculate proper values.\n    return {\n      node: node,\n      deltaX: x - state.lastX,\n      deltaY: y - state.lastY,\n      lastX: state.lastX,\n      lastY: state.lastY,\n      x: x,\n      y: y\n    };\n  }\n} // Create an data exposed by <Draggable>'s events\n\n\nfunction createDraggableData(draggable\n/*: Draggable*/\n, coreData\n/*: DraggableData*/\n)\n/*: DraggableData*/\n{\n  var scale = draggable.props.scale;\n  return {\n    node: coreData.node,\n    x: draggable.state.x + coreData.deltaX / scale,\n    y: draggable.state.y + coreData.deltaY / scale,\n    deltaX: coreData.deltaX / scale,\n    deltaY: coreData.deltaY / scale,\n    lastX: draggable.state.x,\n    lastY: draggable.state.y\n  };\n} // A lot faster than stringify/parse\n\n\nfunction cloneBounds(bounds\n/*: Bounds*/\n)\n/*: Bounds*/\n{\n  return {\n    left: bounds.left,\n    top: bounds.top,\n    right: bounds.right,\n    bottom: bounds.bottom\n  };\n}\n\nfunction findDOMNode(draggable\n/*: Draggable | DraggableCore*/\n)\n/*: HTMLElement*/\n{\n  var node = draggable.findDOMNode();\n\n  if (!node) {\n    throw new Error('<DraggableCore>: Unmounted during event!');\n  } // $FlowIgnore we can't assert on HTMLElement due to tests... FIXME\n\n\n  return node;\n}\n\nvar DraggableCore$2 = {};\n\nvar log$1 = {};\n\nObject.defineProperty(log$1, \"__esModule\", {\n  value: true\n});\nlog$1.default = log;\n\n/*eslint no-console:0*/\nfunction log() {\n}\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(DraggableCore$2, \"__esModule\", {\n  value: true\n});\nDraggableCore$2.default = void 0;\n\nvar React = _interopRequireWildcard((react__WEBPACK_IMPORTED_MODULE_0___default()));\n\nvar _propTypes = _interopRequireDefault(propTypes.exports);\n\nvar _reactDom = _interopRequireDefault((react_dom__WEBPACK_IMPORTED_MODULE_1___default()));\n\nvar _domFns = domFns;\n\nvar _positionFns = positionFns;\n\nvar _shims = shims;\n\nvar _log = _interopRequireDefault(log$1);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// Simple abstraction for dragging events names.\nvar eventsFor = {\n  touch: {\n    start: 'touchstart',\n    move: 'touchmove',\n    stop: 'touchend'\n  },\n  mouse: {\n    start: 'mousedown',\n    move: 'mousemove',\n    stop: 'mouseup'\n  }\n}; // Default to mouse events.\n\nvar dragEventFor = eventsFor.mouse;\n/*:: type DraggableCoreState = {\n  dragging: boolean,\n  lastX: number,\n  lastY: number,\n  touchIdentifier: ?number\n};*/\n\n/*:: export type DraggableData = {\n  node: HTMLElement,\n  x: number, y: number,\n  deltaX: number, deltaY: number,\n  lastX: number, lastY: number,\n};*/\n\n/*:: export type DraggableEventHandler = (e: MouseEvent, data: DraggableData) => void | false;*/\n\n/*:: export type ControlPosition = {x: number, y: number};*/\n\n/*:: export type PositionOffsetControlPosition = {x: number|string, y: number|string};*/\n\n/*:: export type DraggableCoreDefaultProps = {\n  allowAnyClick: boolean,\n  disabled: boolean,\n  enableUserSelectHack: boolean,\n  onStart: DraggableEventHandler,\n  onDrag: DraggableEventHandler,\n  onStop: DraggableEventHandler,\n  onMouseDown: (e: MouseEvent) => void,\n  scale: number,\n};*/\n\n/*:: export type DraggableCoreProps = {\n  ...DraggableCoreDefaultProps,\n  cancel: string,\n  children: ReactElement<any>,\n  offsetParent: HTMLElement,\n  grid: [number, number],\n  handle: string,\n  nodeRef?: ?React.ElementRef<any>,\n};*/\n\n//\n// Define <DraggableCore>.\n//\n// <DraggableCore> is for advanced usage of <Draggable>. It maintains minimal internal state so it can\n// work well with libraries that require more control over the element.\n//\nvar DraggableCore$1 = /*#__PURE__*/function (_React$Component) {\n  _inherits(DraggableCore, _React$Component);\n\n  var _super = _createSuper(DraggableCore);\n\n  function DraggableCore() {\n    var _this;\n\n    _classCallCheck(this, DraggableCore);\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    _this = _super.call.apply(_super, [this].concat(args));\n\n    _defineProperty(_assertThisInitialized(_this), \"state\", {\n      dragging: false,\n      // Used while dragging to determine deltas.\n      lastX: NaN,\n      lastY: NaN,\n      touchIdentifier: null\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"mounted\", false);\n\n    _defineProperty(_assertThisInitialized(_this), \"handleDragStart\", function (e) {\n      // Make it possible to attach event handlers on top of this one.\n      _this.props.onMouseDown(e); // Only accept left-clicks.\n\n\n      if (!_this.props.allowAnyClick && typeof e.button === 'number' && e.button !== 0) return false; // Get nodes. Be sure to grab relative document (could be iframed)\n\n      var thisNode = _this.findDOMNode();\n\n      if (!thisNode || !thisNode.ownerDocument || !thisNode.ownerDocument.body) {\n        throw new Error('<DraggableCore> not mounted on DragStart!');\n      }\n\n      var ownerDocument = thisNode.ownerDocument; // Short circuit if handle or cancel prop was provided and selector doesn't match.\n\n      if (_this.props.disabled || !(e.target instanceof ownerDocument.defaultView.Node) || _this.props.handle && !(0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.handle, thisNode) || _this.props.cancel && (0, _domFns.matchesSelectorAndParentsTo)(e.target, _this.props.cancel, thisNode)) {\n        return;\n      } // Prevent scrolling on mobile devices, like ipad/iphone.\n      // Important that this is after handle/cancel.\n\n\n      if (e.type === 'touchstart') e.preventDefault(); // Set touch identifier in component state if this is a touch event. This allows us to\n      // distinguish between individual touches on multitouch screens by identifying which\n      // touchpoint was set to this element.\n\n      var touchIdentifier = (0, _domFns.getTouchIdentifier)(e);\n\n      _this.setState({\n        touchIdentifier: touchIdentifier\n      }); // Get the current drag point from the event. This is used as the offset.\n\n\n      var position = (0, _positionFns.getControlPosition)(e, touchIdentifier, _assertThisInitialized(_this));\n      if (position == null) return; // not possible but satisfies flow\n\n      var x = position.x,\n          y = position.y; // Create an event object with all the data parents need to make a decision here.\n\n      var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y);\n      (0, _log.default)('DraggableCore: handleDragStart: %j', coreEvent); // Call event handler. If it returns explicit false, cancel.\n\n      (0, _log.default)('calling', _this.props.onStart);\n\n      var shouldUpdate = _this.props.onStart(e, coreEvent);\n\n      if (shouldUpdate === false || _this.mounted === false) return; // Add a style to the body to disable user-select. This prevents text from\n      // being selected all over the page.\n\n      if (_this.props.enableUserSelectHack) (0, _domFns.addUserSelectStyles)(ownerDocument); // Initiate dragging. Set the current x and y as offsets\n      // so we know how much we've moved during the drag. This allows us\n      // to drag elements around even if they have been moved, without issue.\n\n      _this.setState({\n        dragging: true,\n        lastX: x,\n        lastY: y\n      }); // Add events to the document directly so we catch when the user's mouse/touch moves outside of\n      // this element. We use different events depending on whether or not we have detected that this\n      // is a touch-capable device.\n\n\n      (0, _domFns.addEvent)(ownerDocument, dragEventFor.move, _this.handleDrag);\n      (0, _domFns.addEvent)(ownerDocument, dragEventFor.stop, _this.handleDragStop);\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"handleDrag\", function (e) {\n      // Get the current drag point from the event. This is used as the offset.\n      var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this));\n      if (position == null) return;\n      var x = position.x,\n          y = position.y; // Snap to grid if prop has been provided\n\n      if (Array.isArray(_this.props.grid)) {\n        var deltaX = x - _this.state.lastX,\n            deltaY = y - _this.state.lastY;\n\n        var _snapToGrid = (0, _positionFns.snapToGrid)(_this.props.grid, deltaX, deltaY);\n\n        var _snapToGrid2 = _slicedToArray(_snapToGrid, 2);\n\n        deltaX = _snapToGrid2[0];\n        deltaY = _snapToGrid2[1];\n        if (!deltaX && !deltaY) return; // skip useless drag\n\n        x = _this.state.lastX + deltaX, y = _this.state.lastY + deltaY;\n      }\n\n      var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y);\n      (0, _log.default)('DraggableCore: handleDrag: %j', coreEvent); // Call event handler. If it returns explicit false, trigger end.\n\n      var shouldUpdate = _this.props.onDrag(e, coreEvent);\n\n      if (shouldUpdate === false || _this.mounted === false) {\n        try {\n          // $FlowIgnore\n          _this.handleDragStop(new MouseEvent('mouseup'));\n        } catch (err) {\n          // Old browsers\n          var event = ((document.createEvent('MouseEvents')\n          /*: any*/\n          )\n          /*: MouseTouchEvent*/\n          ); // I see why this insanity was deprecated\n          // $FlowIgnore\n\n          event.initMouseEvent('mouseup', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\n\n          _this.handleDragStop(event);\n        }\n\n        return;\n      }\n\n      _this.setState({\n        lastX: x,\n        lastY: y\n      });\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"handleDragStop\", function (e) {\n      if (!_this.state.dragging) return;\n      var position = (0, _positionFns.getControlPosition)(e, _this.state.touchIdentifier, _assertThisInitialized(_this));\n      if (position == null) return;\n      var x = position.x,\n          y = position.y;\n      var coreEvent = (0, _positionFns.createCoreData)(_assertThisInitialized(_this), x, y); // Call event handler\n\n      var shouldContinue = _this.props.onStop(e, coreEvent);\n\n      if (shouldContinue === false || _this.mounted === false) return false;\n\n      var thisNode = _this.findDOMNode();\n\n      if (thisNode) {\n        // Remove user-select hack\n        if (_this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(thisNode.ownerDocument);\n      }\n\n      (0, _log.default)('DraggableCore: handleDragStop: %j', coreEvent); // Reset the el.\n\n      _this.setState({\n        dragging: false,\n        lastX: NaN,\n        lastY: NaN\n      });\n\n      if (thisNode) {\n        // Remove event handlers\n        (0, _log.default)('DraggableCore: Removing handlers');\n        (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.move, _this.handleDrag);\n        (0, _domFns.removeEvent)(thisNode.ownerDocument, dragEventFor.stop, _this.handleDragStop);\n      }\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onMouseDown\", function (e) {\n      dragEventFor = eventsFor.mouse; // on touchscreen laptops we could switch back to mouse\n\n      return _this.handleDragStart(e);\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onMouseUp\", function (e) {\n      dragEventFor = eventsFor.mouse;\n      return _this.handleDragStop(e);\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onTouchStart\", function (e) {\n      // We're on a touch device now, so change the event handlers\n      dragEventFor = eventsFor.touch;\n      return _this.handleDragStart(e);\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onTouchEnd\", function (e) {\n      // We're on a touch device now, so change the event handlers\n      dragEventFor = eventsFor.touch;\n      return _this.handleDragStop(e);\n    });\n\n    return _this;\n  }\n\n  _createClass(DraggableCore, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      this.mounted = true; // Touch handlers must be added with {passive: false} to be cancelable.\n      // https://developers.google.com/web/updates/2017/01/scrolling-intervention\n\n      var thisNode = this.findDOMNode();\n\n      if (thisNode) {\n        (0, _domFns.addEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, {\n          passive: false\n        });\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.mounted = false; // Remove any leftover event handlers. Remove both touch and mouse handlers in case\n      // some browser quirk caused a touch event to fire during a mouse move, or vice versa.\n\n      var thisNode = this.findDOMNode();\n\n      if (thisNode) {\n        var ownerDocument = thisNode.ownerDocument;\n        (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.move, this.handleDrag);\n        (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.move, this.handleDrag);\n        (0, _domFns.removeEvent)(ownerDocument, eventsFor.mouse.stop, this.handleDragStop);\n        (0, _domFns.removeEvent)(ownerDocument, eventsFor.touch.stop, this.handleDragStop);\n        (0, _domFns.removeEvent)(thisNode, eventsFor.touch.start, this.onTouchStart, {\n          passive: false\n        });\n        if (this.props.enableUserSelectHack) (0, _domFns.removeUserSelectStyles)(ownerDocument);\n      }\n    } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find\n    // the underlying DOM node ourselves. See the README for more information.\n\n  }, {\n    key: \"findDOMNode\",\n    value: function findDOMNode()\n    /*: ?HTMLElement*/\n    {\n      var _this$props$nodeRef$c, _this$props, _this$props$nodeRef;\n\n      return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 ? void 0 : (_this$props$nodeRef = _this$props.nodeRef) === null || _this$props$nodeRef === void 0 ? void 0 : _this$props$nodeRef.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom.default.findDOMNode(this);\n    }\n  }, {\n    key: \"render\",\n    value: function render()\n    /*: React.Element<any>*/\n    {\n      // Reuse the child provided\n      // This makes it flexible to use whatever element is wanted (div, ul, etc)\n      return /*#__PURE__*/React.cloneElement(React.Children.only(this.props.children), {\n        // Note: mouseMove handler is attached to document so it will still function\n        // when the user drags quickly and leaves the bounds of the element.\n        onMouseDown: this.onMouseDown,\n        onMouseUp: this.onMouseUp,\n        // onTouchStart is added on `componentDidMount` so they can be added with\n        // {passive: false}, which allows it to cancel. See\n        // https://developers.google.com/web/updates/2017/01/scrolling-intervention\n        onTouchEnd: this.onTouchEnd\n      });\n    }\n  }]);\n\n  return DraggableCore;\n}(React.Component);\n\nDraggableCore$2.default = DraggableCore$1;\n\n_defineProperty(DraggableCore$1, \"displayName\", 'DraggableCore');\n\n_defineProperty(DraggableCore$1, \"propTypes\", {\n  /**\n   * `allowAnyClick` allows dragging using any mouse button.\n   * By default, we only accept the left button.\n   *\n   * Defaults to `false`.\n   */\n  allowAnyClick: _propTypes.default.bool,\n\n  /**\n   * `disabled`, if true, stops the <Draggable> from dragging. All handlers,\n   * with the exception of `onMouseDown`, will not fire.\n   */\n  disabled: _propTypes.default.bool,\n\n  /**\n   * By default, we add 'user-select:none' attributes to the document body\n   * to prevent ugly text selection during drag. If this is causing problems\n   * for your app, set this to `false`.\n   */\n  enableUserSelectHack: _propTypes.default.bool,\n\n  /**\n   * `offsetParent`, if set, uses the passed DOM node to compute drag offsets\n   * instead of using the parent node.\n   */\n  offsetParent: function offsetParent(props\n  /*: DraggableCoreProps*/\n  , propName\n  /*: $Keys<DraggableCoreProps>*/\n  ) {\n    if (props[propName] && props[propName].nodeType !== 1) {\n      throw new Error('Draggable\\'s offsetParent must be a DOM Node.');\n    }\n  },\n\n  /**\n   * `grid` specifies the x and y that dragging should snap to.\n   */\n  grid: _propTypes.default.arrayOf(_propTypes.default.number),\n\n  /**\n   * `handle` specifies a selector to be used as the handle that initiates drag.\n   *\n   * Example:\n   *\n   * ```jsx\n   *   let App = React.createClass({\n   *       render: function () {\n   *         return (\n   *            <Draggable handle=\".handle\">\n   *              <div>\n   *                  <div className=\"handle\">Click me to drag</div>\n   *                  <div>This is some other content</div>\n   *              </div>\n   *           </Draggable>\n   *         );\n   *       }\n   *   });\n   * ```\n   */\n  handle: _propTypes.default.string,\n\n  /**\n   * `cancel` specifies a selector to be used to prevent drag initialization.\n   *\n   * Example:\n   *\n   * ```jsx\n   *   let App = React.createClass({\n   *       render: function () {\n   *           return(\n   *               <Draggable cancel=\".cancel\">\n   *                   <div>\n   *                     <div className=\"cancel\">You can't drag from here</div>\n   *                     <div>Dragging here works fine</div>\n   *                   </div>\n   *               </Draggable>\n   *           );\n   *       }\n   *   });\n   * ```\n   */\n  cancel: _propTypes.default.string,\n\n  /* If running in React Strict mode, ReactDOM.findDOMNode() is deprecated.\n   * Unfortunately, in order for <Draggable> to work properly, we need raw access\n   * to the underlying DOM node. If you want to avoid the warning, pass a `nodeRef`\n   * as in this example:\n   *\n   * function MyComponent() {\n   *   const nodeRef = React.useRef(null);\n   *   return (\n   *     <Draggable nodeRef={nodeRef}>\n   *       <div ref={nodeRef}>Example Target</div>\n   *     </Draggable>\n   *   );\n   * }\n   *\n   * This can be used for arbitrarily nested components, so long as the ref ends up\n   * pointing to the actual child DOM node and not a custom component.\n   */\n  nodeRef: _propTypes.default.object,\n\n  /**\n   * Called when dragging starts.\n   * If this function returns the boolean false, dragging will be canceled.\n   */\n  onStart: _propTypes.default.func,\n\n  /**\n   * Called while dragging.\n   * If this function returns the boolean false, dragging will be canceled.\n   */\n  onDrag: _propTypes.default.func,\n\n  /**\n   * Called when dragging stops.\n   * If this function returns the boolean false, the drag will remain active.\n   */\n  onStop: _propTypes.default.func,\n\n  /**\n   * A workaround option which can be passed if onMouseDown needs to be accessed,\n   * since it'll always be blocked (as there is internal use of onMouseDown)\n   */\n  onMouseDown: _propTypes.default.func,\n\n  /**\n   * `scale`, if set, applies scaling while dragging an element\n   */\n  scale: _propTypes.default.number,\n\n  /**\n   * These properties should be defined on the child, not here.\n   */\n  className: _shims.dontSetMe,\n  style: _shims.dontSetMe,\n  transform: _shims.dontSetMe\n});\n\n_defineProperty(DraggableCore$1, \"defaultProps\", {\n  allowAnyClick: false,\n  // by default only accept left click\n  disabled: false,\n  enableUserSelectHack: true,\n  onStart: function onStart() {},\n  onDrag: function onDrag() {},\n  onStop: function onStop() {},\n  onMouseDown: function onMouseDown() {},\n  scale: 1\n});\n\n(function (exports) {\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nObject.defineProperty(exports, \"DraggableCore\", {\n  enumerable: true,\n  get: function get() {\n    return _DraggableCore.default;\n  }\n});\nexports.default = void 0;\n\nvar React = _interopRequireWildcard((react__WEBPACK_IMPORTED_MODULE_0___default()));\n\nvar _propTypes = _interopRequireDefault(propTypes.exports);\n\nvar _reactDom = _interopRequireDefault((react_dom__WEBPACK_IMPORTED_MODULE_1___default()));\n\nvar _clsx2 = _interopRequireDefault(require$$3);\n\nvar _domFns = domFns;\n\nvar _positionFns = positionFns;\n\nvar _shims = shims;\n\nvar _DraggableCore = _interopRequireDefault(DraggableCore$2);\n\nvar _log = _interopRequireDefault(log$1);\n\nvar _excluded = [\"axis\", \"bounds\", \"children\", \"defaultPosition\", \"defaultClassName\", \"defaultClassNameDragging\", \"defaultClassNameDragged\", \"position\", \"positionOffset\", \"scale\"];\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== \"function\") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }\n\nfunction _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== \"default\" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } else if (call !== void 0) { throw new TypeError(\"Derived constructors may only return object or undefined\"); } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n//\n// Define <Draggable>\n//\nvar Draggable = /*#__PURE__*/function (_React$Component) {\n  _inherits(Draggable, _React$Component);\n\n  var _super = _createSuper(Draggable);\n\n  function Draggable(props\n  /*: DraggableProps*/\n  ) {\n    var _this;\n\n    _classCallCheck(this, Draggable);\n\n    _this = _super.call(this, props);\n\n    _defineProperty(_assertThisInitialized(_this), \"onDragStart\", function (e, coreData) {\n      (0, _log.default)('Draggable: onDragStart: %j', coreData); // Short-circuit if user's callback killed it.\n\n      var shouldStart = _this.props.onStart(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData)); // Kills start event on core as well, so move handlers are never bound.\n\n\n      if (shouldStart === false) return false;\n\n      _this.setState({\n        dragging: true,\n        dragged: true\n      });\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onDrag\", function (e, coreData) {\n      if (!_this.state.dragging) return false;\n      (0, _log.default)('Draggable: onDrag: %j', coreData);\n      var uiData = (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData);\n      var newState\n      /*: $Shape<DraggableState>*/\n      = {\n        x: uiData.x,\n        y: uiData.y\n      }; // Keep within bounds.\n\n      if (_this.props.bounds) {\n        // Save original x and y.\n        var x = newState.x,\n            y = newState.y; // Add slack to the values used to calculate bound position. This will ensure that if\n        // we start removing slack, the element won't react to it right away until it's been\n        // completely removed.\n\n        newState.x += _this.state.slackX;\n        newState.y += _this.state.slackY; // Get bound position. This will ceil/floor the x and y within the boundaries.\n\n        var _getBoundPosition = (0, _positionFns.getBoundPosition)(_assertThisInitialized(_this), newState.x, newState.y),\n            _getBoundPosition2 = _slicedToArray(_getBoundPosition, 2),\n            newStateX = _getBoundPosition2[0],\n            newStateY = _getBoundPosition2[1];\n\n        newState.x = newStateX;\n        newState.y = newStateY; // Recalculate slack by noting how much was shaved by the boundPosition handler.\n\n        newState.slackX = _this.state.slackX + (x - newState.x);\n        newState.slackY = _this.state.slackY + (y - newState.y); // Update the event we fire to reflect what really happened after bounds took effect.\n\n        uiData.x = newState.x;\n        uiData.y = newState.y;\n        uiData.deltaX = newState.x - _this.state.x;\n        uiData.deltaY = newState.y - _this.state.y;\n      } // Short-circuit if user's callback killed it.\n\n\n      var shouldUpdate = _this.props.onDrag(e, uiData);\n\n      if (shouldUpdate === false) return false;\n\n      _this.setState(newState);\n    });\n\n    _defineProperty(_assertThisInitialized(_this), \"onDragStop\", function (e, coreData) {\n      if (!_this.state.dragging) return false; // Short-circuit if user's callback killed it.\n\n      var shouldContinue = _this.props.onStop(e, (0, _positionFns.createDraggableData)(_assertThisInitialized(_this), coreData));\n\n      if (shouldContinue === false) return false;\n      (0, _log.default)('Draggable: onDragStop: %j', coreData);\n      var newState\n      /*: $Shape<DraggableState>*/\n      = {\n        dragging: false,\n        slackX: 0,\n        slackY: 0\n      }; // If this is a controlled component, the result of this operation will be to\n      // revert back to the old position. We expect a handler on `onDragStop`, at the least.\n\n      var controlled = Boolean(_this.props.position);\n\n      if (controlled) {\n        var _this$props$position = _this.props.position,\n            x = _this$props$position.x,\n            y = _this$props$position.y;\n        newState.x = x;\n        newState.y = y;\n      }\n\n      _this.setState(newState);\n    });\n\n    _this.state = {\n      // Whether or not we are currently dragging.\n      dragging: false,\n      // Whether or not we have been dragged before.\n      dragged: false,\n      // Current transform x and y.\n      x: props.position ? props.position.x : props.defaultPosition.x,\n      y: props.position ? props.position.y : props.defaultPosition.y,\n      prevPropsPosition: _objectSpread({}, props.position),\n      // Used for compensating for out-of-bounds drags\n      slackX: 0,\n      slackY: 0,\n      // Can only determine if SVG after mounting\n      isElementSVG: false\n    };\n\n    if (props.position && !(props.onDrag || props.onStop)) {\n      // eslint-disable-next-line no-console\n      console.warn('A `position` was applied to this <Draggable>, without drag handlers. This will make this ' + 'component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the ' + '`position` of this element.');\n    }\n\n    return _this;\n  }\n\n  _createClass(Draggable, [{\n    key: \"componentDidMount\",\n    value: function componentDidMount() {\n      // Check to see if the element passed is an instanceof SVGElement\n      if (typeof window.SVGElement !== 'undefined' && this.findDOMNode() instanceof window.SVGElement) {\n        this.setState({\n          isElementSVG: true\n        });\n      }\n    }\n  }, {\n    key: \"componentWillUnmount\",\n    value: function componentWillUnmount() {\n      this.setState({\n        dragging: false\n      }); // prevents invariant if unmounted while dragging\n    } // React Strict Mode compatibility: if `nodeRef` is passed, we will use it instead of trying to find\n    // the underlying DOM node ourselves. See the README for more information.\n\n  }, {\n    key: \"findDOMNode\",\n    value: function findDOMNode()\n    /*: ?HTMLElement*/\n    {\n      var _this$props$nodeRef$c, _this$props, _this$props$nodeRef;\n\n      return (_this$props$nodeRef$c = (_this$props = this.props) === null || _this$props === void 0 ? void 0 : (_this$props$nodeRef = _this$props.nodeRef) === null || _this$props$nodeRef === void 0 ? void 0 : _this$props$nodeRef.current) !== null && _this$props$nodeRef$c !== void 0 ? _this$props$nodeRef$c : _reactDom.default.findDOMNode(this);\n    }\n  }, {\n    key: \"render\",\n    value: function render()\n    /*: ReactElement<any>*/\n    {\n      var _clsx;\n\n      var _this$props2 = this.props;\n          _this$props2.axis;\n          _this$props2.bounds;\n          var children = _this$props2.children,\n          defaultPosition = _this$props2.defaultPosition,\n          defaultClassName = _this$props2.defaultClassName,\n          defaultClassNameDragging = _this$props2.defaultClassNameDragging,\n          defaultClassNameDragged = _this$props2.defaultClassNameDragged,\n          position = _this$props2.position,\n          positionOffset = _this$props2.positionOffset;\n          _this$props2.scale;\n          var draggableCoreProps = _objectWithoutProperties(_this$props2, _excluded);\n\n      var style = {};\n      var svgTransform = null; // If this is controlled, we don't want to move it - unless it's dragging.\n\n      var controlled = Boolean(position);\n      var draggable = !controlled || this.state.dragging;\n      var validPosition = position || defaultPosition;\n      var transformOpts = {\n        // Set left if horizontal drag is enabled\n        x: (0, _positionFns.canDragX)(this) && draggable ? this.state.x : validPosition.x,\n        // Set top if vertical drag is enabled\n        y: (0, _positionFns.canDragY)(this) && draggable ? this.state.y : validPosition.y\n      }; // If this element was SVG, we use the `transform` attribute.\n\n      if (this.state.isElementSVG) {\n        svgTransform = (0, _domFns.createSVGTransform)(transformOpts, positionOffset);\n      } else {\n        // Add a CSS transform to move the element around. This allows us to move the element around\n        // without worrying about whether or not it is relatively or absolutely positioned.\n        // If the item you are dragging already has a transform set, wrap it in a <span> so <Draggable>\n        // has a clean slate.\n        style = (0, _domFns.createCSSTransform)(transformOpts, positionOffset);\n      } // Mark with class while dragging\n\n\n      var className = (0, _clsx2.default)(children.props.className || '', defaultClassName, (_clsx = {}, _defineProperty(_clsx, defaultClassNameDragging, this.state.dragging), _defineProperty(_clsx, defaultClassNameDragged, this.state.dragged), _clsx)); // Reuse the child provided\n      // This makes it flexible to use whatever element is wanted (div, ul, etc)\n\n      return /*#__PURE__*/React.createElement(_DraggableCore.default, _extends({}, draggableCoreProps, {\n        onStart: this.onDragStart,\n        onDrag: this.onDrag,\n        onStop: this.onDragStop\n      }), /*#__PURE__*/React.cloneElement(React.Children.only(children), {\n        className: className,\n        style: _objectSpread(_objectSpread({}, children.props.style), style),\n        transform: svgTransform\n      }));\n    }\n  }], [{\n    key: \"getDerivedStateFromProps\",\n    value: // React 16.3+\n    // Arity (props, state)\n    function getDerivedStateFromProps(_ref, _ref2)\n    /*: ?$Shape<DraggableState>*/\n    {\n      var position = _ref.position;\n      var prevPropsPosition = _ref2.prevPropsPosition;\n\n      // Set x/y if a new position is provided in props that is different than the previous.\n      if (position && (!prevPropsPosition || position.x !== prevPropsPosition.x || position.y !== prevPropsPosition.y)) {\n        (0, _log.default)('Draggable: getDerivedStateFromProps %j', {\n          position: position,\n          prevPropsPosition: prevPropsPosition\n        });\n        return {\n          x: position.x,\n          y: position.y,\n          prevPropsPosition: _objectSpread({}, position)\n        };\n      }\n\n      return null;\n    }\n  }]);\n\n  return Draggable;\n}(React.Component);\n\nexports.default = Draggable;\n\n_defineProperty(Draggable, \"displayName\", 'Draggable');\n\n_defineProperty(Draggable, \"propTypes\", _objectSpread(_objectSpread({}, _DraggableCore.default.propTypes), {}, {\n  /**\n   * `axis` determines which axis the draggable can move.\n   *\n   *  Note that all callbacks will still return data as normal. This only\n   *  controls flushing to the DOM.\n   *\n   * 'both' allows movement horizontally and vertically.\n   * 'x' limits movement to horizontal axis.\n   * 'y' limits movement to vertical axis.\n   * 'none' limits all movement.\n   *\n   * Defaults to 'both'.\n   */\n  axis: _propTypes.default.oneOf(['both', 'x', 'y', 'none']),\n\n  /**\n   * `bounds` determines the range of movement available to the element.\n   * Available values are:\n   *\n   * 'parent' restricts movement within the Draggable's parent node.\n   *\n   * Alternatively, pass an object with the following properties, all of which are optional:\n   *\n   * {left: LEFT_BOUND, right: RIGHT_BOUND, bottom: BOTTOM_BOUND, top: TOP_BOUND}\n   *\n   * All values are in px.\n   *\n   * Example:\n   *\n   * ```jsx\n   *   let App = React.createClass({\n   *       render: function () {\n   *         return (\n   *            <Draggable bounds={{right: 300, bottom: 300}}>\n   *              <div>Content</div>\n   *           </Draggable>\n   *         );\n   *       }\n   *   });\n   * ```\n   */\n  bounds: _propTypes.default.oneOfType([_propTypes.default.shape({\n    left: _propTypes.default.number,\n    right: _propTypes.default.number,\n    top: _propTypes.default.number,\n    bottom: _propTypes.default.number\n  }), _propTypes.default.string, _propTypes.default.oneOf([false])]),\n  defaultClassName: _propTypes.default.string,\n  defaultClassNameDragging: _propTypes.default.string,\n  defaultClassNameDragged: _propTypes.default.string,\n\n  /**\n   * `defaultPosition` specifies the x and y that the dragged item should start at\n   *\n   * Example:\n   *\n   * ```jsx\n   *      let App = React.createClass({\n   *          render: function () {\n   *              return (\n   *                  <Draggable defaultPosition={{x: 25, y: 25}}>\n   *                      <div>I start with transformX: 25px and transformY: 25px;</div>\n   *                  </Draggable>\n   *              );\n   *          }\n   *      });\n   * ```\n   */\n  defaultPosition: _propTypes.default.shape({\n    x: _propTypes.default.number,\n    y: _propTypes.default.number\n  }),\n  positionOffset: _propTypes.default.shape({\n    x: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),\n    y: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string])\n  }),\n\n  /**\n   * `position`, if present, defines the current position of the element.\n   *\n   *  This is similar to how form elements in React work - if no `position` is supplied, the component\n   *  is uncontrolled.\n   *\n   * Example:\n   *\n   * ```jsx\n   *      let App = React.createClass({\n   *          render: function () {\n   *              return (\n   *                  <Draggable position={{x: 25, y: 25}}>\n   *                      <div>I start with transformX: 25px and transformY: 25px;</div>\n   *                  </Draggable>\n   *              );\n   *          }\n   *      });\n   * ```\n   */\n  position: _propTypes.default.shape({\n    x: _propTypes.default.number,\n    y: _propTypes.default.number\n  }),\n\n  /**\n   * These properties should be defined on the child, not here.\n   */\n  className: _shims.dontSetMe,\n  style: _shims.dontSetMe,\n  transform: _shims.dontSetMe\n}));\n\n_defineProperty(Draggable, \"defaultProps\", _objectSpread(_objectSpread({}, _DraggableCore.default.defaultProps), {}, {\n  axis: 'both',\n  bounds: false,\n  defaultClassName: 'react-draggable',\n  defaultClassNameDragging: 'react-draggable-dragging',\n  defaultClassNameDragged: 'react-draggable-dragged',\n  defaultPosition: {\n    x: 0,\n    y: 0\n  },\n  scale: 1\n}));\n}(Draggable$1));\n\nvar _require = Draggable$1,\n    Draggable = _require.default,\n    DraggableCore = _require.DraggableCore; // Previous versions of this lib exported <Draggable> as the root export. As to no-// them, or TypeScript, we export *both* as the root and as 'default'.\n// See https://github.com/mzabriskie/react-draggable/pull/254\n// and https://github.com/mzabriskie/react-draggable/issues/266\n\n\ncjs.exports = Draggable;\ncjs.exports.default = Draggable;\nvar DraggableCore_1 = cjs.exports.DraggableCore = DraggableCore;\n\nvar ReactDraggable = cjs.exports;\n\nfunction ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar NodesSelection = (function (_ref) {\n  var onSelectionDragStart = _ref.onSelectionDragStart,\n      onSelectionDrag = _ref.onSelectionDrag,\n      onSelectionDragStop = _ref.onSelectionDragStop,\n      onSelectionContextMenu = _ref.onSelectionContextMenu;\n\n  var _useStoreState = useStoreState(function (state) {\n    return state.transform;\n  }),\n      _useStoreState2 = _slicedToArray$1(_useStoreState, 3),\n      tX = _useStoreState2[0],\n      tY = _useStoreState2[1],\n      tScale = _useStoreState2[2];\n\n  var selectedNodesBbox = useStoreState(function (state) {\n    return state.selectedNodesBbox;\n  });\n  var selectionActive = useStoreState(function (state) {\n    return state.selectionActive;\n  });\n  var selectedElements = useStoreState(function (state) {\n    return state.selectedElements;\n  });\n  var snapToGrid = useStoreState(function (state) {\n    return state.snapToGrid;\n  });\n  var snapGrid = useStoreState(function (state) {\n    return state.snapGrid;\n  });\n  var nodes = useStoreState(function (state) {\n    return state.nodes;\n  });\n  var updateNodePosDiff = useStoreActions(function (actions) {\n    return actions.updateNodePosDiff;\n  });\n  var nodeRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n  var grid = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return snapToGrid ? snapGrid : [1, 1];\n  }, [snapToGrid, snapGrid]);\n  var selectedNodes = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return selectedElements ? selectedElements.filter(isNode).map(function (selectedNode) {\n      var matchingNode = nodes.find(function (node) {\n        return node.id === selectedNode.id;\n      });\n      return _objectSpread$b(_objectSpread$b({}, matchingNode), {}, {\n        position: matchingNode === null || matchingNode === void 0 ? void 0 : matchingNode.__rf.position\n      });\n    }) : [];\n  }, [selectedElements, nodes]);\n  var style = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return {\n      transform: \"translate(\".concat(tX, \"px,\").concat(tY, \"px) scale(\").concat(tScale, \")\")\n    };\n  }, [tX, tY, tScale]);\n  var innerStyle = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return {\n      width: selectedNodesBbox.width,\n      height: selectedNodesBbox.height,\n      top: selectedNodesBbox.y,\n      left: selectedNodesBbox.x\n    };\n  }, [selectedNodesBbox]);\n\n  var _onStart = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    onSelectionDragStart === null || onSelectionDragStart === void 0 ? void 0 : onSelectionDragStart(event, selectedNodes);\n  }, [onSelectionDragStart, selectedNodes]);\n\n  var _onDrag = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event, data) {\n    if (onSelectionDrag) {\n      onSelectionDrag(event, selectedNodes);\n    }\n\n    updateNodePosDiff({\n      diff: {\n        x: data.deltaX,\n        y: data.deltaY\n      },\n      isDragging: true\n    });\n  }, [onSelectionDrag, selectedNodes, updateNodePosDiff]);\n\n  var _onStop = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    updateNodePosDiff({\n      isDragging: false\n    });\n    onSelectionDragStop === null || onSelectionDragStop === void 0 ? void 0 : onSelectionDragStop(event, selectedNodes);\n  }, [selectedNodes, onSelectionDragStop]);\n\n  var onContextMenu = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    var selectedNodes = selectedElements ? selectedElements.filter(isNode).map(function (selectedNode) {\n      return nodes.find(function (node) {\n        return node.id === selectedNode.id;\n      });\n    }) : [];\n    onSelectionContextMenu === null || onSelectionContextMenu === void 0 ? void 0 : onSelectionContextMenu(event, selectedNodes);\n  }, [onSelectionContextMenu]);\n\n  if (!selectedElements || selectionActive) {\n    return null;\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__nodesselection\",\n    style: style\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ReactDraggable, {\n    scale: tScale,\n    grid: grid,\n    onStart: function onStart(event) {\n      return _onStart(event);\n    },\n    onDrag: function onDrag(event, data) {\n      return _onDrag(event, data);\n    },\n    onStop: function onStop(event) {\n      return _onStop(event);\n    },\n    nodeRef: nodeRef,\n    enableUserSelectHack: false\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    ref: nodeRef,\n    className: \"react-flow__nodesselection-rect\",\n    onContextMenu: onContextMenu,\n    style: innerStyle\n  })));\n});\n\nvar FlowRenderer = function FlowRenderer(_ref) {\n  var children = _ref.children,\n      onPaneClick = _ref.onPaneClick,\n      onPaneContextMenu = _ref.onPaneContextMenu,\n      onPaneScroll = _ref.onPaneScroll,\n      onElementsRemove = _ref.onElementsRemove,\n      deleteKeyCode = _ref.deleteKeyCode,\n      onMove = _ref.onMove,\n      onMoveStart = _ref.onMoveStart,\n      onMoveEnd = _ref.onMoveEnd,\n      selectionKeyCode = _ref.selectionKeyCode,\n      multiSelectionKeyCode = _ref.multiSelectionKeyCode,\n      zoomActivationKeyCode = _ref.zoomActivationKeyCode,\n      elementsSelectable = _ref.elementsSelectable,\n      zoomOnScroll = _ref.zoomOnScroll,\n      zoomOnPinch = _ref.zoomOnPinch,\n      panOnScroll = _ref.panOnScroll,\n      panOnScrollSpeed = _ref.panOnScrollSpeed,\n      panOnScrollMode = _ref.panOnScrollMode,\n      zoomOnDoubleClick = _ref.zoomOnDoubleClick,\n      paneMoveable = _ref.paneMoveable,\n      defaultPosition = _ref.defaultPosition,\n      defaultZoom = _ref.defaultZoom,\n      translateExtent = _ref.translateExtent,\n      preventScrolling = _ref.preventScrolling,\n      onSelectionDragStart = _ref.onSelectionDragStart,\n      onSelectionDrag = _ref.onSelectionDrag,\n      onSelectionDragStop = _ref.onSelectionDragStop,\n      onSelectionContextMenu = _ref.onSelectionContextMenu;\n  var unsetNodesSelection = useStoreActions(function (actions) {\n    return actions.unsetNodesSelection;\n  });\n  var resetSelectedElements = useStoreActions(function (actions) {\n    return actions.resetSelectedElements;\n  });\n  var nodesSelectionActive = useStoreState(function (state) {\n    return state.nodesSelectionActive;\n  });\n  var selectionKeyPressed = useKeyPress(selectionKeyCode);\n  useGlobalKeyHandler({\n    onElementsRemove: onElementsRemove,\n    deleteKeyCode: deleteKeyCode,\n    multiSelectionKeyCode: multiSelectionKeyCode\n  });\n  var onClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    onPaneClick === null || onPaneClick === void 0 ? void 0 : onPaneClick(event);\n    unsetNodesSelection();\n    resetSelectedElements();\n  }, [onPaneClick]);\n  var onContextMenu = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    onPaneContextMenu === null || onPaneContextMenu === void 0 ? void 0 : onPaneContextMenu(event);\n  }, [onPaneContextMenu]);\n  var onWheel = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    onPaneScroll === null || onPaneScroll === void 0 ? void 0 : onPaneScroll(event);\n  }, [onPaneScroll]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ZoomPane, {\n    onMove: onMove,\n    onMoveStart: onMoveStart,\n    onMoveEnd: onMoveEnd,\n    selectionKeyPressed: selectionKeyPressed,\n    elementsSelectable: elementsSelectable,\n    zoomOnScroll: zoomOnScroll,\n    zoomOnPinch: zoomOnPinch,\n    panOnScroll: panOnScroll,\n    panOnScrollSpeed: panOnScrollSpeed,\n    panOnScrollMode: panOnScrollMode,\n    zoomOnDoubleClick: zoomOnDoubleClick,\n    paneMoveable: paneMoveable,\n    defaultPosition: defaultPosition,\n    defaultZoom: defaultZoom,\n    translateExtent: translateExtent,\n    zoomActivationKeyCode: zoomActivationKeyCode,\n    preventScrolling: preventScrolling\n  }, children, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(UserSelection, {\n    selectionKeyPressed: selectionKeyPressed\n  }), nodesSelectionActive && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NodesSelection, {\n    onSelectionDragStart: onSelectionDragStart,\n    onSelectionDrag: onSelectionDrag,\n    onSelectionDragStop: onSelectionDragStop,\n    onSelectionContextMenu: onSelectionContextMenu\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__pane\",\n    onClick: onClick,\n    onContextMenu: onContextMenu,\n    onWheel: onWheel\n  }));\n};\n\nFlowRenderer.displayName = 'FlowRenderer';\nvar FlowRenderer$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(FlowRenderer);\n\nvar NodeRenderer = function NodeRenderer(props) {\n  var transform = useStoreState(function (state) {\n    return state.transform;\n  });\n  var selectedElements = useStoreState(function (state) {\n    return state.selectedElements;\n  });\n  var nodesDraggable = useStoreState(function (state) {\n    return state.nodesDraggable;\n  });\n  var nodesConnectable = useStoreState(function (state) {\n    return state.nodesConnectable;\n  });\n  var elementsSelectable = useStoreState(function (state) {\n    return state.elementsSelectable;\n  });\n  var width = useStoreState(function (state) {\n    return state.width;\n  });\n  var height = useStoreState(function (state) {\n    return state.height;\n  });\n  var nodes = useStoreState(function (state) {\n    return state.nodes;\n  });\n  var updateNodeDimensions = useStoreActions(function (actions) {\n    return actions.updateNodeDimensions;\n  });\n  var visibleNodes = props.onlyRenderVisibleElements ? getNodesInside(nodes, {\n    x: 0,\n    y: 0,\n    width: width,\n    height: height\n  }, transform, true) : nodes;\n  var transformStyle = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return {\n      transform: \"translate(\".concat(transform[0], \"px,\").concat(transform[1], \"px) scale(\").concat(transform[2], \")\")\n    };\n  }, [transform[0], transform[1], transform[2]]);\n  var resizeObserver = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    if (typeof ResizeObserver === 'undefined') {\n      return null;\n    }\n\n    return new ResizeObserver(function (entries) {\n      var updates = entries.map(function (entry) {\n        return {\n          id: entry.target.getAttribute('data-id'),\n          nodeElement: entry.target\n        };\n      });\n      updateNodeDimensions(updates);\n    });\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: \"react-flow__nodes\",\n    style: transformStyle\n  }, visibleNodes.map(function (node) {\n    var nodeType = node.type || 'default';\n    var NodeComponent = props.nodeTypes[nodeType] || props.nodeTypes[\"default\"];\n\n    if (!props.nodeTypes[nodeType]) {\n      console.warn(\"Node type \\\"\".concat(nodeType, \"\\\" not found. Using fallback type \\\"default\\\".\"));\n    }\n\n    var isDraggable = !!(node.draggable || nodesDraggable && typeof node.draggable === 'undefined');\n    var isSelectable = !!(node.selectable || elementsSelectable && typeof node.selectable === 'undefined');\n    var isConnectable = !!(node.connectable || nodesConnectable && typeof node.connectable === 'undefined');\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NodeComponent, {\n      key: node.id,\n      id: node.id,\n      className: node.className,\n      style: node.style,\n      type: nodeType,\n      data: node.data,\n      sourcePosition: node.sourcePosition,\n      targetPosition: node.targetPosition,\n      isHidden: node.isHidden,\n      xPos: node.__rf.position.x,\n      yPos: node.__rf.position.y,\n      isDragging: node.__rf.isDragging,\n      isInitialized: node.__rf.width !== null && node.__rf.height !== null,\n      snapGrid: props.snapGrid,\n      snapToGrid: props.snapToGrid,\n      selectNodesOnDrag: props.selectNodesOnDrag,\n      onClick: props.onElementClick,\n      onMouseEnter: props.onNodeMouseEnter,\n      onMouseMove: props.onNodeMouseMove,\n      onMouseLeave: props.onNodeMouseLeave,\n      onContextMenu: props.onNodeContextMenu,\n      onNodeDoubleClick: props.onNodeDoubleClick,\n      onNodeDragStart: props.onNodeDragStart,\n      onNodeDrag: props.onNodeDrag,\n      onNodeDragStop: props.onNodeDragStop,\n      scale: transform[2],\n      selected: (selectedElements === null || selectedElements === void 0 ? void 0 : selectedElements.some(function (_ref) {\n        var id = _ref.id;\n        return id === node.id;\n      })) || false,\n      isDraggable: isDraggable,\n      isSelectable: isSelectable,\n      isConnectable: isConnectable,\n      resizeObserver: resizeObserver,\n      dragHandle: node.dragHandle\n    });\n  }));\n};\n\nNodeRenderer.displayName = 'NodeRenderer';\nvar NodeRenderer$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(NodeRenderer);\n\nvar _excluded$3 = [\"x\", \"y\", \"label\", \"labelStyle\", \"labelShowBg\", \"labelBgStyle\", \"labelBgPadding\", \"labelBgBorderRadius\", \"children\", \"className\"];\n\nfunction ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$a(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nvar EdgeText = function EdgeText(_ref) {\n  var x = _ref.x,\n      y = _ref.y,\n      label = _ref.label,\n      _ref$labelStyle = _ref.labelStyle,\n      labelStyle = _ref$labelStyle === void 0 ? {} : _ref$labelStyle,\n      _ref$labelShowBg = _ref.labelShowBg,\n      labelShowBg = _ref$labelShowBg === void 0 ? true : _ref$labelShowBg,\n      _ref$labelBgStyle = _ref.labelBgStyle,\n      labelBgStyle = _ref$labelBgStyle === void 0 ? {} : _ref$labelBgStyle,\n      _ref$labelBgPadding = _ref.labelBgPadding,\n      labelBgPadding = _ref$labelBgPadding === void 0 ? [2, 4] : _ref$labelBgPadding,\n      _ref$labelBgBorderRad = _ref.labelBgBorderRadius,\n      labelBgBorderRadius = _ref$labelBgBorderRad === void 0 ? 2 : _ref$labelBgBorderRad,\n      children = _ref.children,\n      className = _ref.className,\n      rest = _objectWithoutProperties(_ref, _excluded$3);\n\n  var edgeRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)({\n    x: 0,\n    y: 0,\n    width: 0,\n    height: 0\n  }),\n      _useState2 = _slicedToArray$1(_useState, 2),\n      edgeTextBbox = _useState2[0],\n      setEdgeTextBbox = _useState2[1];\n\n  var edgeTextClasses = cc(['react-flow__edge-textwrapper', className]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (edgeRef.current) {\n      var textBbox = edgeRef.current.getBBox();\n      setEdgeTextBbox({\n        x: textBbox.x,\n        y: textBbox.y,\n        width: textBbox.width,\n        height: textBbox.height\n      });\n    }\n  }, [label]);\n\n  if (typeof label === 'undefined' || !label) {\n    return null;\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", _objectSpread$a({\n    transform: \"translate(\".concat(x - edgeTextBbox.width / 2, \" \").concat(y - edgeTextBbox.height / 2, \")\"),\n    className: edgeTextClasses\n  }, rest), labelShowBg && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    width: edgeTextBbox.width + 2 * labelBgPadding[0],\n    x: -labelBgPadding[0],\n    y: -labelBgPadding[1],\n    height: edgeTextBbox.height + 2 * labelBgPadding[1],\n    className: \"react-flow__edge-textbg\",\n    style: labelBgStyle,\n    rx: labelBgBorderRadius,\n    ry: labelBgBorderRadius\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"text\", {\n    className: \"react-flow__edge-text\",\n    y: edgeTextBbox.height / 2,\n    dy: \"0.3em\",\n    ref: edgeRef,\n    style: labelStyle\n  }, label), children);\n};\n\nvar EdgeText$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(EdgeText);\n\nvar getMarkerEnd = function getMarkerEnd(arrowHeadType, markerEndId) {\n  if (typeof markerEndId !== 'undefined' && markerEndId) {\n    return \"url(#\".concat(markerEndId, \")\");\n  }\n\n  return typeof arrowHeadType !== 'undefined' ? \"url(#react-flow__\".concat(arrowHeadType, \")\") : 'none';\n};\nvar LeftOrRight = [Position.Left, Position.Right];\nvar getCenter = function getCenter(_ref) {\n  var sourceX = _ref.sourceX,\n      sourceY = _ref.sourceY,\n      targetX = _ref.targetX,\n      targetY = _ref.targetY,\n      _ref$sourcePosition = _ref.sourcePosition,\n      sourcePosition = _ref$sourcePosition === void 0 ? Position.Bottom : _ref$sourcePosition,\n      _ref$targetPosition = _ref.targetPosition,\n      targetPosition = _ref$targetPosition === void 0 ? Position.Top : _ref$targetPosition;\n  var sourceIsLeftOrRight = LeftOrRight.includes(sourcePosition);\n  var targetIsLeftOrRight = LeftOrRight.includes(targetPosition); // we expect flows to be horizontal or vertical (all handles left or right respectively top or bottom)\n  // a mixed edge is when one the source is on the left and the target is on the top for example.\n\n  var mixedEdge = sourceIsLeftOrRight && !targetIsLeftOrRight || targetIsLeftOrRight && !sourceIsLeftOrRight;\n\n  if (mixedEdge) {\n    var _xOffset = sourceIsLeftOrRight ? Math.abs(targetX - sourceX) : 0;\n\n    var _centerX = sourceX > targetX ? sourceX - _xOffset : sourceX + _xOffset;\n\n    var _yOffset = sourceIsLeftOrRight ? 0 : Math.abs(targetY - sourceY);\n\n    var _centerY = sourceY < targetY ? sourceY + _yOffset : sourceY - _yOffset;\n\n    return [_centerX, _centerY, _xOffset, _yOffset];\n  }\n\n  var xOffset = Math.abs(targetX - sourceX) / 2;\n  var centerX = targetX < sourceX ? targetX + xOffset : targetX - xOffset;\n  var yOffset = Math.abs(targetY - sourceY) / 2;\n  var centerY = targetY < sourceY ? targetY + yOffset : targetY - yOffset;\n  return [centerX, centerY, xOffset, yOffset];\n};\n\nfunction getBezierPath(_ref) {\n  var sourceX = _ref.sourceX,\n      sourceY = _ref.sourceY,\n      _ref$sourcePosition = _ref.sourcePosition,\n      sourcePosition = _ref$sourcePosition === void 0 ? Position.Bottom : _ref$sourcePosition,\n      targetX = _ref.targetX,\n      targetY = _ref.targetY,\n      _ref$targetPosition = _ref.targetPosition,\n      targetPosition = _ref$targetPosition === void 0 ? Position.Top : _ref$targetPosition,\n      centerX = _ref.centerX,\n      centerY = _ref.centerY;\n\n  var _getCenter = getCenter({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    targetX: targetX,\n    targetY: targetY\n  }),\n      _getCenter2 = _slicedToArray$1(_getCenter, 2),\n      _centerX = _getCenter2[0],\n      _centerY = _getCenter2[1];\n\n  var leftAndRight = [Position.Left, Position.Right];\n  var cX = typeof centerX !== 'undefined' ? centerX : _centerX;\n  var cY = typeof centerY !== 'undefined' ? centerY : _centerY;\n  var path = \"M\".concat(sourceX, \",\").concat(sourceY, \" C\").concat(sourceX, \",\").concat(cY, \" \").concat(targetX, \",\").concat(cY, \" \").concat(targetX, \",\").concat(targetY);\n\n  if (leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {\n    path = \"M\".concat(sourceX, \",\").concat(sourceY, \" C\").concat(cX, \",\").concat(sourceY, \" \").concat(cX, \",\").concat(targetY, \" \").concat(targetX, \",\").concat(targetY);\n  } else if (leftAndRight.includes(targetPosition)) {\n    path = \"M\".concat(sourceX, \",\").concat(sourceY, \" Q\").concat(sourceX, \",\").concat(targetY, \" \").concat(targetX, \",\").concat(targetY);\n  } else if (leftAndRight.includes(sourcePosition)) {\n    path = \"M\".concat(sourceX, \",\").concat(sourceY, \" Q\").concat(targetX, \",\").concat(sourceY, \" \").concat(targetX, \",\").concat(targetY);\n  }\n\n  return path;\n}\nvar BezierEdge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref2) {\n  var sourceX = _ref2.sourceX,\n      sourceY = _ref2.sourceY,\n      targetX = _ref2.targetX,\n      targetY = _ref2.targetY,\n      _ref2$sourcePosition = _ref2.sourcePosition,\n      sourcePosition = _ref2$sourcePosition === void 0 ? Position.Bottom : _ref2$sourcePosition,\n      _ref2$targetPosition = _ref2.targetPosition,\n      targetPosition = _ref2$targetPosition === void 0 ? Position.Top : _ref2$targetPosition,\n      label = _ref2.label,\n      labelStyle = _ref2.labelStyle,\n      labelShowBg = _ref2.labelShowBg,\n      labelBgStyle = _ref2.labelBgStyle,\n      labelBgPadding = _ref2.labelBgPadding,\n      labelBgBorderRadius = _ref2.labelBgBorderRadius,\n      style = _ref2.style,\n      arrowHeadType = _ref2.arrowHeadType,\n      markerEndId = _ref2.markerEndId;\n\n  var _getCenter3 = getCenter({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    targetX: targetX,\n    targetY: targetY,\n    sourcePosition: sourcePosition,\n    targetPosition: targetPosition\n  }),\n      _getCenter4 = _slicedToArray$1(_getCenter3, 2),\n      centerX = _getCenter4[0],\n      centerY = _getCenter4[1];\n\n  var path = getBezierPath({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    sourcePosition: sourcePosition,\n    targetX: targetX,\n    targetY: targetY,\n    targetPosition: targetPosition\n  });\n  var text = label ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeText$1, {\n    x: centerX,\n    y: centerY,\n    label: label,\n    labelStyle: labelStyle,\n    labelShowBg: labelShowBg,\n    labelBgStyle: labelBgStyle,\n    labelBgPadding: labelBgPadding,\n    labelBgBorderRadius: labelBgBorderRadius\n  }) : null;\n  var markerEnd = getMarkerEnd(arrowHeadType, markerEndId);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    style: style,\n    d: path,\n    className: \"react-flow__edge-path\",\n    markerEnd: markerEnd\n  }), text);\n});\n\n// The name indicates the direction of the path. \"bottomLeftCorner\" goes\n// from bottom to the left and \"leftBottomCorner\" goes from left to the bottom.\n// We have to consider the direction of the paths because of the animated lines.\n\nvar bottomLeftCorner = function bottomLeftCorner(x, y, size) {\n  return \"L \".concat(x, \",\").concat(y - size, \"Q \").concat(x, \",\").concat(y, \" \").concat(x + size, \",\").concat(y);\n};\n\nvar leftBottomCorner = function leftBottomCorner(x, y, size) {\n  return \"L \".concat(x + size, \",\").concat(y, \"Q \").concat(x, \",\").concat(y, \" \").concat(x, \",\").concat(y - size);\n};\n\nvar bottomRightCorner = function bottomRightCorner(x, y, size) {\n  return \"L \".concat(x, \",\").concat(y - size, \"Q \").concat(x, \",\").concat(y, \" \").concat(x - size, \",\").concat(y);\n};\n\nvar rightBottomCorner = function rightBottomCorner(x, y, size) {\n  return \"L \".concat(x - size, \",\").concat(y, \"Q \").concat(x, \",\").concat(y, \" \").concat(x, \",\").concat(y - size);\n};\n\nvar leftTopCorner = function leftTopCorner(x, y, size) {\n  return \"L \".concat(x + size, \",\").concat(y, \"Q \").concat(x, \",\").concat(y, \" \").concat(x, \",\").concat(y + size);\n};\n\nvar topLeftCorner = function topLeftCorner(x, y, size) {\n  return \"L \".concat(x, \",\").concat(y + size, \"Q \").concat(x, \",\").concat(y, \" \").concat(x + size, \",\").concat(y);\n};\n\nvar topRightCorner = function topRightCorner(x, y, size) {\n  return \"L \".concat(x, \",\").concat(y + size, \"Q \").concat(x, \",\").concat(y, \" \").concat(x - size, \",\").concat(y);\n};\n\nvar rightTopCorner = function rightTopCorner(x, y, size) {\n  return \"L \".concat(x - size, \",\").concat(y, \"Q \").concat(x, \",\").concat(y, \" \").concat(x, \",\").concat(y + size);\n};\n\nfunction getSmoothStepPath(_ref) {\n  var sourceX = _ref.sourceX,\n      sourceY = _ref.sourceY,\n      _ref$sourcePosition = _ref.sourcePosition,\n      sourcePosition = _ref$sourcePosition === void 0 ? Position.Bottom : _ref$sourcePosition,\n      targetX = _ref.targetX,\n      targetY = _ref.targetY,\n      _ref$targetPosition = _ref.targetPosition,\n      targetPosition = _ref$targetPosition === void 0 ? Position.Top : _ref$targetPosition,\n      _ref$borderRadius = _ref.borderRadius,\n      borderRadius = _ref$borderRadius === void 0 ? 5 : _ref$borderRadius,\n      centerX = _ref.centerX,\n      centerY = _ref.centerY;\n\n  var _getCenter = getCenter({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    targetX: targetX,\n    targetY: targetY\n  }),\n      _getCenter2 = _slicedToArray$1(_getCenter, 4),\n      _centerX = _getCenter2[0],\n      _centerY = _getCenter2[1],\n      offsetX = _getCenter2[2],\n      offsetY = _getCenter2[3];\n\n  var cornerWidth = Math.min(borderRadius, Math.abs(targetX - sourceX));\n  var cornerHeight = Math.min(borderRadius, Math.abs(targetY - sourceY));\n  var cornerSize = Math.min(cornerWidth, cornerHeight, offsetX, offsetY);\n  var leftAndRight = [Position.Left, Position.Right];\n  var cX = typeof centerX !== 'undefined' ? centerX : _centerX;\n  var cY = typeof centerY !== 'undefined' ? centerY : _centerY;\n  var firstCornerPath = null;\n  var secondCornerPath = null;\n\n  if (sourceX <= targetX) {\n    firstCornerPath = sourceY <= targetY ? bottomLeftCorner(sourceX, cY, cornerSize) : topLeftCorner(sourceX, cY, cornerSize);\n    secondCornerPath = sourceY <= targetY ? rightTopCorner(targetX, cY, cornerSize) : rightBottomCorner(targetX, cY, cornerSize);\n  } else {\n    firstCornerPath = sourceY < targetY ? bottomRightCorner(sourceX, cY, cornerSize) : topRightCorner(sourceX, cY, cornerSize);\n    secondCornerPath = sourceY < targetY ? leftTopCorner(targetX, cY, cornerSize) : leftBottomCorner(targetX, cY, cornerSize);\n  }\n\n  if (leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {\n    if (sourceX <= targetX) {\n      firstCornerPath = sourceY <= targetY ? rightTopCorner(cX, sourceY, cornerSize) : rightBottomCorner(cX, sourceY, cornerSize);\n      secondCornerPath = sourceY <= targetY ? bottomLeftCorner(cX, targetY, cornerSize) : topLeftCorner(cX, targetY, cornerSize);\n    } else if (sourcePosition === Position.Right && targetPosition === Position.Left || sourcePosition === Position.Left && targetPosition === Position.Right || sourcePosition === Position.Left && targetPosition === Position.Left) {\n      // and sourceX > targetX\n      firstCornerPath = sourceY <= targetY ? leftTopCorner(cX, sourceY, cornerSize) : leftBottomCorner(cX, sourceY, cornerSize);\n      secondCornerPath = sourceY <= targetY ? bottomRightCorner(cX, targetY, cornerSize) : topRightCorner(cX, targetY, cornerSize);\n    }\n  } else if (leftAndRight.includes(sourcePosition) && !leftAndRight.includes(targetPosition)) {\n    if (sourceX <= targetX) {\n      firstCornerPath = sourceY <= targetY ? rightTopCorner(targetX, sourceY, cornerSize) : rightBottomCorner(targetX, sourceY, cornerSize);\n    } else {\n      firstCornerPath = sourceY <= targetY ? leftTopCorner(targetX, sourceY, cornerSize) : leftBottomCorner(targetX, sourceY, cornerSize);\n    }\n\n    secondCornerPath = '';\n  } else if (!leftAndRight.includes(sourcePosition) && leftAndRight.includes(targetPosition)) {\n    if (sourceX <= targetX) {\n      firstCornerPath = sourceY <= targetY ? bottomLeftCorner(sourceX, targetY, cornerSize) : topLeftCorner(sourceX, targetY, cornerSize);\n    } else {\n      firstCornerPath = sourceY <= targetY ? bottomRightCorner(sourceX, targetY, cornerSize) : topRightCorner(sourceX, targetY, cornerSize);\n    }\n\n    secondCornerPath = '';\n  }\n\n  return \"M \".concat(sourceX, \",\").concat(sourceY).concat(firstCornerPath).concat(secondCornerPath, \"L \").concat(targetX, \",\").concat(targetY);\n}\nvar SmoothStepEdge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref2) {\n  var sourceX = _ref2.sourceX,\n      sourceY = _ref2.sourceY,\n      targetX = _ref2.targetX,\n      targetY = _ref2.targetY,\n      label = _ref2.label,\n      labelStyle = _ref2.labelStyle,\n      labelShowBg = _ref2.labelShowBg,\n      labelBgStyle = _ref2.labelBgStyle,\n      labelBgPadding = _ref2.labelBgPadding,\n      labelBgBorderRadius = _ref2.labelBgBorderRadius,\n      style = _ref2.style,\n      _ref2$sourcePosition = _ref2.sourcePosition,\n      sourcePosition = _ref2$sourcePosition === void 0 ? Position.Bottom : _ref2$sourcePosition,\n      _ref2$targetPosition = _ref2.targetPosition,\n      targetPosition = _ref2$targetPosition === void 0 ? Position.Top : _ref2$targetPosition,\n      arrowHeadType = _ref2.arrowHeadType,\n      markerEndId = _ref2.markerEndId,\n      _ref2$borderRadius = _ref2.borderRadius,\n      borderRadius = _ref2$borderRadius === void 0 ? 5 : _ref2$borderRadius;\n\n  var _getCenter3 = getCenter({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    targetX: targetX,\n    targetY: targetY,\n    sourcePosition: sourcePosition,\n    targetPosition: targetPosition\n  }),\n      _getCenter4 = _slicedToArray$1(_getCenter3, 2),\n      centerX = _getCenter4[0],\n      centerY = _getCenter4[1];\n\n  var path = getSmoothStepPath({\n    sourceX: sourceX,\n    sourceY: sourceY,\n    sourcePosition: sourcePosition,\n    targetX: targetX,\n    targetY: targetY,\n    targetPosition: targetPosition,\n    borderRadius: borderRadius\n  });\n  var markerEnd = getMarkerEnd(arrowHeadType, markerEndId);\n  var text = label ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeText$1, {\n    x: centerX,\n    y: centerY,\n    label: label,\n    labelStyle: labelStyle,\n    labelShowBg: labelShowBg,\n    labelBgStyle: labelBgStyle,\n    labelBgPadding: labelBgPadding,\n    labelBgBorderRadius: labelBgBorderRadius\n  }) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    style: style,\n    className: \"react-flow__edge-path\",\n    d: path,\n    markerEnd: markerEnd\n  }), text);\n});\n\nvar getSourceHandle = function getSourceHandle(handleId, sourceNode, connectionHandleType) {\n  var handleTypeInverted = connectionHandleType === 'source' ? 'target' : 'source';\n  var handleBound = sourceNode.__rf.handleBounds[connectionHandleType] || sourceNode.__rf.handleBounds[handleTypeInverted];\n  return handleId ? handleBound.find(function (d) {\n    return d.id === handleId;\n  }) : handleBound[0];\n};\n\nvar ConnectionLine = (function (_ref) {\n  var connectionNodeId = _ref.connectionNodeId,\n      connectionHandleId = _ref.connectionHandleId,\n      connectionHandleType = _ref.connectionHandleType,\n      connectionLineStyle = _ref.connectionLineStyle,\n      connectionPositionX = _ref.connectionPositionX,\n      connectionPositionY = _ref.connectionPositionY,\n      _ref$connectionLineTy = _ref.connectionLineType,\n      connectionLineType = _ref$connectionLineTy === void 0 ? ConnectionLineType.Bezier : _ref$connectionLineTy,\n      _ref$nodes = _ref.nodes,\n      nodes = _ref$nodes === void 0 ? [] : _ref$nodes,\n      transform = _ref.transform,\n      isConnectable = _ref.isConnectable,\n      CustomConnectionLineComponent = _ref.CustomConnectionLineComponent;\n\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null),\n      _useState2 = _slicedToArray$1(_useState, 2),\n      sourceNode = _useState2[0],\n      setSourceNode = _useState2[1];\n\n  var nodeId = connectionNodeId;\n  var handleId = connectionHandleId;\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    var nextSourceNode = nodes.find(function (n) {\n      return n.id === nodeId;\n    }) || null;\n    setSourceNode(nextSourceNode);\n  }, []);\n\n  if (!sourceNode || !isConnectable) {\n    return null;\n  }\n\n  var sourceHandle = getSourceHandle(handleId, sourceNode, connectionHandleType);\n  var sourceHandleX = sourceHandle ? sourceHandle.x + sourceHandle.width / 2 : sourceNode.__rf.width / 2;\n  var sourceHandleY = sourceHandle ? sourceHandle.y + sourceHandle.height / 2 : sourceNode.__rf.height;\n  var sourceX = sourceNode.__rf.position.x + sourceHandleX;\n  var sourceY = sourceNode.__rf.position.y + sourceHandleY;\n  var targetX = (connectionPositionX - transform[0]) / transform[2];\n  var targetY = (connectionPositionY - transform[1]) / transform[2];\n  var isRightOrLeft = (sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position) === Position.Left || (sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position) === Position.Right;\n  var targetPosition = isRightOrLeft ? Position.Left : Position.Top;\n\n  if (CustomConnectionLineComponent) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n      className: \"react-flow__connection\"\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(CustomConnectionLineComponent, {\n      sourceX: sourceX,\n      sourceY: sourceY,\n      sourcePosition: sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position,\n      targetX: targetX,\n      targetY: targetY,\n      targetPosition: targetPosition,\n      connectionLineType: connectionLineType,\n      connectionLineStyle: connectionLineStyle,\n      sourceNode: sourceNode,\n      sourceHandle: sourceHandle\n    }));\n  }\n\n  var dAttr = '';\n\n  if (connectionLineType === ConnectionLineType.Bezier) {\n    dAttr = getBezierPath({\n      sourceX: sourceX,\n      sourceY: sourceY,\n      sourcePosition: sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position,\n      targetX: targetX,\n      targetY: targetY,\n      targetPosition: targetPosition\n    });\n  } else if (connectionLineType === ConnectionLineType.Step) {\n    dAttr = getSmoothStepPath({\n      sourceX: sourceX,\n      sourceY: sourceY,\n      sourcePosition: sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position,\n      targetX: targetX,\n      targetY: targetY,\n      targetPosition: targetPosition,\n      borderRadius: 0\n    });\n  } else if (connectionLineType === ConnectionLineType.SmoothStep) {\n    dAttr = getSmoothStepPath({\n      sourceX: sourceX,\n      sourceY: sourceY,\n      sourcePosition: sourceHandle === null || sourceHandle === void 0 ? void 0 : sourceHandle.position,\n      targetX: targetX,\n      targetY: targetY,\n      targetPosition: targetPosition\n    });\n  } else {\n    dAttr = \"M\".concat(sourceX, \",\").concat(sourceY, \" \").concat(targetX, \",\").concat(targetY);\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    className: \"react-flow__connection\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    d: dAttr,\n    className: \"react-flow__connection-path\",\n    style: connectionLineStyle\n  }));\n});\n\nvar Marker = function Marker(_ref) {\n  var id = _ref.id,\n      children = _ref.children;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"marker\", {\n    className: \"react-flow__arrowhead\",\n    id: id,\n    markerWidth: \"12.5\",\n    markerHeight: \"12.5\",\n    viewBox: \"-10 -10 20 20\",\n    orient: \"auto\",\n    refX: \"0\",\n    refY: \"0\"\n  }, children);\n};\n\nvar MarkerDefinitions = function MarkerDefinitions(_ref2) {\n  var color = _ref2.color;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"defs\", null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Marker, {\n    id: \"react-flow__arrowclosed\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polyline\", {\n    stroke: color,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\",\n    strokeWidth: \"1\",\n    fill: color,\n    points: \"-5,-4 0,0 -5,4 -5,-4\"\n  })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Marker, {\n    id: \"react-flow__arrow\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"polyline\", {\n    stroke: color,\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\",\n    strokeWidth: \"1.5\",\n    fill: \"none\",\n    points: \"-5,-4 0,0 -5,4\"\n  })));\n};\n\nMarkerDefinitions.displayName = 'MarkerDefinitions';\n\nfunction ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar StepEdge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SmoothStepEdge, _objectSpread$9(_objectSpread$9({}, props), {}, {\n    borderRadius: 0\n  }));\n});\n\nvar StraightEdge = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(function (_ref) {\n  var sourceX = _ref.sourceX,\n      sourceY = _ref.sourceY,\n      targetX = _ref.targetX,\n      targetY = _ref.targetY,\n      label = _ref.label,\n      labelStyle = _ref.labelStyle,\n      labelShowBg = _ref.labelShowBg,\n      labelBgStyle = _ref.labelBgStyle,\n      labelBgPadding = _ref.labelBgPadding,\n      labelBgBorderRadius = _ref.labelBgBorderRadius,\n      style = _ref.style,\n      arrowHeadType = _ref.arrowHeadType,\n      markerEndId = _ref.markerEndId;\n  var yOffset = Math.abs(targetY - sourceY) / 2;\n  var centerY = targetY < sourceY ? targetY + yOffset : targetY - yOffset;\n  var xOffset = Math.abs(targetX - sourceX) / 2;\n  var centerX = targetX < sourceX ? targetX + xOffset : targetX - xOffset;\n  var markerEnd = getMarkerEnd(arrowHeadType, markerEndId);\n  var text = label ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeText$1, {\n    x: centerX,\n    y: centerY,\n    label: label,\n    labelStyle: labelStyle,\n    labelShowBg: labelShowBg,\n    labelBgStyle: labelBgStyle,\n    labelBgPadding: labelBgPadding,\n    labelBgBorderRadius: labelBgBorderRadius\n  }) : null;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    style: style,\n    className: \"react-flow__edge-path\",\n    d: \"M \".concat(sourceX, \",\").concat(sourceY, \"L \").concat(targetX, \",\").concat(targetY),\n    markerEnd: markerEnd\n  }), text);\n});\n\nfunction checkElementBelowIsValid(event, connectionMode, isTarget, nodeId, handleId, isValidConnection, doc) {\n  // TODO: why does this throw an error? elementFromPoint should be available for ShadowRoot too\n  // @ts-ignore\n  var elementBelow = doc.elementFromPoint(event.clientX, event.clientY);\n  var elementBelowIsTarget = (elementBelow === null || elementBelow === void 0 ? void 0 : elementBelow.classList.contains('target')) || false;\n  var elementBelowIsSource = (elementBelow === null || elementBelow === void 0 ? void 0 : elementBelow.classList.contains('source')) || false;\n  var result = {\n    elementBelow: elementBelow,\n    isValid: false,\n    connection: {\n      source: null,\n      target: null,\n      sourceHandle: null,\n      targetHandle: null\n    },\n    isHoveringHandle: false\n  };\n\n  if (elementBelow && (elementBelowIsTarget || elementBelowIsSource)) {\n    result.isHoveringHandle = true; // in strict mode we don't allow target to target or source to source connections\n\n    var isValid = connectionMode === ConnectionMode.Strict ? isTarget && elementBelowIsSource || !isTarget && elementBelowIsTarget : true;\n\n    if (isValid) {\n      var elementBelowNodeId = elementBelow.getAttribute('data-nodeid');\n      var elementBelowHandleId = elementBelow.getAttribute('data-handleid');\n      var connection = isTarget ? {\n        source: elementBelowNodeId,\n        sourceHandle: elementBelowHandleId,\n        target: nodeId,\n        targetHandle: handleId\n      } : {\n        source: nodeId,\n        sourceHandle: handleId,\n        target: elementBelowNodeId,\n        targetHandle: elementBelowHandleId\n      };\n      result.connection = connection;\n      result.isValid = isValidConnection(connection);\n    }\n  }\n\n  return result;\n}\n\nfunction resetRecentHandle(hoveredHandle) {\n  hoveredHandle === null || hoveredHandle === void 0 ? void 0 : hoveredHandle.classList.remove('react-flow__handle-valid');\n  hoveredHandle === null || hoveredHandle === void 0 ? void 0 : hoveredHandle.classList.remove('react-flow__handle-connecting');\n}\n\nfunction onMouseDown(event, handleId, nodeId, setConnectionNodeId, setPosition, onConnect, isTarget, isValidConnection, connectionMode, elementEdgeUpdaterType, onEdgeUpdateEnd, onConnectStart, onConnectStop, onConnectEnd) {\n  var reactFlowNode = event.target.closest('.react-flow'); // when react-flow is used inside a shadow root we can't use document\n\n  var doc = getHostForElement(event.target);\n\n  if (!doc) {\n    return;\n  } // @ts-ignore\n\n\n  var elementBelow = doc.elementFromPoint(event.clientX, event.clientY);\n  var elementBelowIsTarget = elementBelow === null || elementBelow === void 0 ? void 0 : elementBelow.classList.contains('target');\n  var elementBelowIsSource = elementBelow === null || elementBelow === void 0 ? void 0 : elementBelow.classList.contains('source');\n\n  if (!reactFlowNode || !elementBelowIsTarget && !elementBelowIsSource && !elementEdgeUpdaterType) {\n    return;\n  }\n\n  var handleType = elementEdgeUpdaterType ? elementEdgeUpdaterType : elementBelowIsTarget ? 'target' : 'source';\n  var containerBounds = reactFlowNode.getBoundingClientRect();\n  var recentHoveredHandle;\n  setPosition({\n    x: event.clientX - containerBounds.left,\n    y: event.clientY - containerBounds.top\n  });\n  setConnectionNodeId({\n    connectionNodeId: nodeId,\n    connectionHandleId: handleId,\n    connectionHandleType: handleType\n  });\n  onConnectStart === null || onConnectStart === void 0 ? void 0 : onConnectStart(event, {\n    nodeId: nodeId,\n    handleId: handleId,\n    handleType: handleType\n  });\n\n  function onMouseMove(event) {\n    setPosition({\n      x: event.clientX - containerBounds.left,\n      y: event.clientY - containerBounds.top\n    });\n\n    var _checkElementBelowIsV = checkElementBelowIsValid(event, connectionMode, isTarget, nodeId, handleId, isValidConnection, doc),\n        connection = _checkElementBelowIsV.connection,\n        elementBelow = _checkElementBelowIsV.elementBelow,\n        isValid = _checkElementBelowIsV.isValid,\n        isHoveringHandle = _checkElementBelowIsV.isHoveringHandle;\n\n    if (!isHoveringHandle) {\n      return resetRecentHandle(recentHoveredHandle);\n    }\n\n    var isOwnHandle = connection.source === connection.target;\n\n    if (!isOwnHandle && elementBelow) {\n      recentHoveredHandle = elementBelow;\n      elementBelow.classList.add('react-flow__handle-connecting');\n      elementBelow.classList.toggle('react-flow__handle-valid', isValid);\n    }\n  }\n\n  function onMouseUp(event) {\n    var _checkElementBelowIsV2 = checkElementBelowIsValid(event, connectionMode, isTarget, nodeId, handleId, isValidConnection, doc),\n        connection = _checkElementBelowIsV2.connection,\n        isValid = _checkElementBelowIsV2.isValid;\n\n    onConnectStop === null || onConnectStop === void 0 ? void 0 : onConnectStop(event);\n\n    if (isValid) {\n      onConnect === null || onConnect === void 0 ? void 0 : onConnect(connection);\n    }\n\n    onConnectEnd === null || onConnectEnd === void 0 ? void 0 : onConnectEnd(event);\n\n    if (elementEdgeUpdaterType && onEdgeUpdateEnd) {\n      onEdgeUpdateEnd(event);\n    }\n\n    resetRecentHandle(recentHoveredHandle);\n    setConnectionNodeId({\n      connectionNodeId: null,\n      connectionHandleId: null,\n      connectionHandleType: null\n    });\n    doc.removeEventListener('mousemove', onMouseMove);\n    doc.removeEventListener('mouseup', onMouseUp);\n  }\n\n  doc.addEventListener('mousemove', onMouseMove);\n  doc.addEventListener('mouseup', onMouseUp);\n}\n\nvar shiftX = function shiftX(x, shift, position) {\n  if (position === Position.Left) return x - shift;\n  if (position === Position.Right) return x + shift;\n  return x;\n};\n\nvar shiftY = function shiftY(y, shift, position) {\n  if (position === Position.Top) return y - shift;\n  if (position === Position.Bottom) return y + shift;\n  return y;\n};\n\nvar EdgeAnchor = function EdgeAnchor(_ref) {\n  var className = _ref.className,\n      position = _ref.position,\n      centerX = _ref.centerX,\n      centerY = _ref.centerY,\n      _ref$radius = _ref.radius,\n      radius = _ref$radius === void 0 ? 10 : _ref$radius;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"circle\", {\n    className: cc(['react-flow__edgeupdater', className]),\n    cx: shiftX(centerX, radius, position),\n    cy: shiftY(centerY, radius, position),\n    r: radius,\n    stroke: \"transparent\",\n    fill: \"transparent\"\n  });\n};\n\nvar wrapEdge = (function (EdgeComponent) {\n  var EdgeWrapper = function EdgeWrapper(_ref) {\n    var id = _ref.id,\n        className = _ref.className,\n        type = _ref.type,\n        data = _ref.data,\n        onClick = _ref.onClick,\n        onEdgeDoubleClick = _ref.onEdgeDoubleClick,\n        selected = _ref.selected,\n        animated = _ref.animated,\n        label = _ref.label,\n        labelStyle = _ref.labelStyle,\n        labelShowBg = _ref.labelShowBg,\n        labelBgStyle = _ref.labelBgStyle,\n        labelBgPadding = _ref.labelBgPadding,\n        labelBgBorderRadius = _ref.labelBgBorderRadius,\n        style = _ref.style,\n        arrowHeadType = _ref.arrowHeadType,\n        source = _ref.source,\n        target = _ref.target,\n        sourceX = _ref.sourceX,\n        sourceY = _ref.sourceY,\n        targetX = _ref.targetX,\n        targetY = _ref.targetY,\n        sourcePosition = _ref.sourcePosition,\n        targetPosition = _ref.targetPosition,\n        elementsSelectable = _ref.elementsSelectable,\n        markerEndId = _ref.markerEndId,\n        isHidden = _ref.isHidden,\n        sourceHandleId = _ref.sourceHandleId,\n        targetHandleId = _ref.targetHandleId,\n        handleEdgeUpdate = _ref.handleEdgeUpdate,\n        onConnectEdge = _ref.onConnectEdge,\n        onContextMenu = _ref.onContextMenu,\n        onMouseEnter = _ref.onMouseEnter,\n        onMouseMove = _ref.onMouseMove,\n        onMouseLeave = _ref.onMouseLeave,\n        edgeUpdaterRadius = _ref.edgeUpdaterRadius,\n        onEdgeUpdateStart = _ref.onEdgeUpdateStart,\n        onEdgeUpdateEnd = _ref.onEdgeUpdateEnd;\n    var addSelectedElements = useStoreActions(function (actions) {\n      return actions.addSelectedElements;\n    });\n    var setConnectionNodeId = useStoreActions(function (actions) {\n      return actions.setConnectionNodeId;\n    });\n    var unsetNodesSelection = useStoreActions(function (actions) {\n      return actions.unsetNodesSelection;\n    });\n    var setPosition = useStoreActions(function (actions) {\n      return actions.setConnectionPosition;\n    });\n    var connectionMode = useStoreState(function (state) {\n      return state.connectionMode;\n    });\n\n    var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n        _useState2 = _slicedToArray$1(_useState, 2),\n        updating = _useState2[0],\n        setUpdating = _useState2[1];\n\n    var inactive = !elementsSelectable && !onClick;\n    var edgeClasses = cc(['react-flow__edge', \"react-flow__edge-\".concat(type), className, {\n      selected: selected,\n      animated: animated,\n      inactive: inactive,\n      updating: updating\n    }]);\n    var edgeElement = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      var el = {\n        id: id,\n        source: source,\n        target: target,\n        type: type\n      };\n\n      if (sourceHandleId) {\n        el.sourceHandle = sourceHandleId;\n      }\n\n      if (targetHandleId) {\n        el.targetHandle = targetHandleId;\n      }\n\n      if (typeof data !== 'undefined') {\n        el.data = data;\n      }\n\n      return el;\n    }, [id, source, target, type, sourceHandleId, targetHandleId, data]);\n    var onEdgeClick = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      if (elementsSelectable) {\n        unsetNodesSelection();\n        addSelectedElements(edgeElement);\n      }\n\n      onClick === null || onClick === void 0 ? void 0 : onClick(event, edgeElement);\n    }, [elementsSelectable, edgeElement, onClick]);\n    var onEdgeDoubleClickHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onEdgeDoubleClick === null || onEdgeDoubleClick === void 0 ? void 0 : onEdgeDoubleClick(event, edgeElement);\n    }, [edgeElement, onEdgeDoubleClick]);\n    var onEdgeContextMenu = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onContextMenu === null || onContextMenu === void 0 ? void 0 : onContextMenu(event, edgeElement);\n    }, [edgeElement, onContextMenu]);\n    var onEdgeMouseEnter = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onMouseEnter === null || onMouseEnter === void 0 ? void 0 : onMouseEnter(event, edgeElement);\n    }, [edgeElement, onContextMenu]);\n    var onEdgeMouseMove = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onMouseMove === null || onMouseMove === void 0 ? void 0 : onMouseMove(event, edgeElement);\n    }, [edgeElement, onContextMenu]);\n    var onEdgeMouseLeave = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onMouseLeave === null || onMouseLeave === void 0 ? void 0 : onMouseLeave(event, edgeElement);\n    }, [edgeElement, onContextMenu]);\n    var handleEdgeUpdater = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event, isSourceHandle) {\n      var nodeId = isSourceHandle ? target : source;\n      var handleId = isSourceHandle ? targetHandleId : sourceHandleId;\n\n      var isValidConnection = function isValidConnection() {\n        return true;\n      };\n\n      var isTarget = isSourceHandle;\n      onEdgeUpdateStart === null || onEdgeUpdateStart === void 0 ? void 0 : onEdgeUpdateStart(event, edgeElement);\n\n      var _onEdgeUpdate = onEdgeUpdateEnd ? function (evt) {\n        return onEdgeUpdateEnd(evt, edgeElement);\n      } : undefined;\n\n      onMouseDown(event, handleId, nodeId, setConnectionNodeId, setPosition, onConnectEdge, isTarget, isValidConnection, connectionMode, isSourceHandle ? 'target' : 'source', _onEdgeUpdate);\n    }, [id, source, target, type, sourceHandleId, targetHandleId, setConnectionNodeId, setPosition, edgeElement, onConnectEdge]);\n    var onEdgeUpdaterSourceMouseDown = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      handleEdgeUpdater(event, true);\n    }, [id, source, sourceHandleId, handleEdgeUpdater]);\n    var onEdgeUpdaterTargetMouseDown = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      handleEdgeUpdater(event, false);\n    }, [id, target, targetHandleId, handleEdgeUpdater]);\n    var onEdgeUpdaterMouseEnter = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n      return setUpdating(true);\n    }, [setUpdating]);\n    var onEdgeUpdaterMouseOut = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n      return setUpdating(false);\n    }, [setUpdating]);\n\n    if (isHidden) {\n      return null;\n    }\n\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n      className: edgeClasses,\n      onClick: onEdgeClick,\n      onDoubleClick: onEdgeDoubleClickHandler,\n      onContextMenu: onEdgeContextMenu,\n      onMouseEnter: onEdgeMouseEnter,\n      onMouseMove: onEdgeMouseMove,\n      onMouseLeave: onEdgeMouseLeave\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeComponent, {\n      id: id,\n      source: source,\n      target: target,\n      selected: selected,\n      animated: animated,\n      label: label,\n      labelStyle: labelStyle,\n      labelShowBg: labelShowBg,\n      labelBgStyle: labelBgStyle,\n      labelBgPadding: labelBgPadding,\n      labelBgBorderRadius: labelBgBorderRadius,\n      data: data,\n      style: style,\n      arrowHeadType: arrowHeadType,\n      sourceX: sourceX,\n      sourceY: sourceY,\n      targetX: targetX,\n      targetY: targetY,\n      sourcePosition: sourcePosition,\n      targetPosition: targetPosition,\n      markerEndId: markerEndId,\n      sourceHandleId: sourceHandleId,\n      targetHandleId: targetHandleId\n    }), handleEdgeUpdate && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n      onMouseDown: onEdgeUpdaterSourceMouseDown,\n      onMouseEnter: onEdgeUpdaterMouseEnter,\n      onMouseOut: onEdgeUpdaterMouseOut\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeAnchor, {\n      position: sourcePosition,\n      centerX: sourceX,\n      centerY: sourceY,\n      radius: edgeUpdaterRadius\n    })), handleEdgeUpdate && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n      onMouseDown: onEdgeUpdaterTargetMouseDown,\n      onMouseEnter: onEdgeUpdaterMouseEnter,\n      onMouseOut: onEdgeUpdaterMouseOut\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeAnchor, {\n      position: targetPosition,\n      centerX: targetX,\n      centerY: targetY,\n      radius: edgeUpdaterRadius\n    })));\n  };\n\n  EdgeWrapper.displayName = 'EdgeWrapper';\n  return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(EdgeWrapper);\n});\n\nfunction ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction createEdgeTypes(edgeTypes) {\n  var standardTypes = {\n    \"default\": wrapEdge(edgeTypes[\"default\"] || BezierEdge),\n    straight: wrapEdge(edgeTypes.bezier || StraightEdge),\n    step: wrapEdge(edgeTypes.step || StepEdge),\n    smoothstep: wrapEdge(edgeTypes.step || SmoothStepEdge)\n  };\n  var wrappedTypes = {};\n  var specialTypes = Object.keys(edgeTypes).filter(function (k) {\n    return !['default', 'bezier'].includes(k);\n  }).reduce(function (res, key) {\n    res[key] = wrapEdge(edgeTypes[key] || BezierEdge);\n    return res;\n  }, wrappedTypes);\n  return _objectSpread$8(_objectSpread$8({}, standardTypes), specialTypes);\n}\nfunction getHandlePosition(position, node) {\n  var handle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n  var x = ((handle === null || handle === void 0 ? void 0 : handle.x) || 0) + node.__rf.position.x;\n  var y = ((handle === null || handle === void 0 ? void 0 : handle.y) || 0) + node.__rf.position.y;\n  var width = (handle === null || handle === void 0 ? void 0 : handle.width) || node.__rf.width;\n  var height = (handle === null || handle === void 0 ? void 0 : handle.height) || node.__rf.height;\n\n  switch (position) {\n    case Position.Top:\n      return {\n        x: x + width / 2,\n        y: y\n      };\n\n    case Position.Right:\n      return {\n        x: x + width,\n        y: y + height / 2\n      };\n\n    case Position.Bottom:\n      return {\n        x: x + width / 2,\n        y: y + height\n      };\n\n    case Position.Left:\n      return {\n        x: x,\n        y: y + height / 2\n      };\n  }\n}\nfunction getHandle(bounds, handleId) {\n  if (!bounds) {\n    return null;\n  } // there is no handleId when there are no multiple handles/ handles with ids\n  // so we just pick the first one\n\n\n  var handle = null;\n\n  if (bounds.length === 1 || !handleId) {\n    handle = bounds[0];\n  } else if (handleId) {\n    handle = bounds.find(function (d) {\n      return d.id === handleId;\n    });\n  }\n\n  return typeof handle === 'undefined' ? null : handle;\n}\nvar getEdgePositions = function getEdgePositions(sourceNode, sourceHandle, sourcePosition, targetNode, targetHandle, targetPosition) {\n  var sourceHandlePos = getHandlePosition(sourcePosition, sourceNode, sourceHandle);\n  var targetHandlePos = getHandlePosition(targetPosition, targetNode, targetHandle);\n  return {\n    sourceX: sourceHandlePos.x,\n    sourceY: sourceHandlePos.y,\n    targetX: targetHandlePos.x,\n    targetY: targetHandlePos.y\n  };\n};\nfunction isEdgeVisible(_ref) {\n  var sourcePos = _ref.sourcePos,\n      targetPos = _ref.targetPos,\n      width = _ref.width,\n      height = _ref.height,\n      transform = _ref.transform;\n  var edgeBox = {\n    x: Math.min(sourcePos.x, targetPos.x),\n    y: Math.min(sourcePos.y, targetPos.y),\n    x2: Math.max(sourcePos.x, targetPos.x),\n    y2: Math.max(sourcePos.y, targetPos.y)\n  };\n\n  if (edgeBox.x === edgeBox.x2) {\n    edgeBox.x2 += 1;\n  }\n\n  if (edgeBox.y === edgeBox.y2) {\n    edgeBox.y2 += 1;\n  }\n\n  var viewBox = rectToBox({\n    x: (0 - transform[0]) / transform[2],\n    y: (0 - transform[1]) / transform[2],\n    width: width / transform[2],\n    height: height / transform[2]\n  });\n  var xOverlap = Math.max(0, Math.min(viewBox.x2, edgeBox.x2) - Math.max(viewBox.x, edgeBox.x));\n  var yOverlap = Math.max(0, Math.min(viewBox.y2, edgeBox.y2) - Math.max(viewBox.y, edgeBox.y));\n  var overlappingArea = Math.ceil(xOverlap * yOverlap);\n  return overlappingArea > 0;\n}\nvar getSourceTargetNodes = function getSourceTargetNodes(edge, nodes) {\n  return nodes.reduce(function (res, node) {\n    if (node.id === edge.source) {\n      res.sourceNode = node;\n    }\n\n    if (node.id === edge.target) {\n      res.targetNode = node;\n    }\n\n    return res;\n  }, {\n    sourceNode: null,\n    targetNode: null\n  });\n};\n\nvar Edge = function Edge(_ref) {\n  var edge = _ref.edge,\n      props = _ref.props,\n      nodes = _ref.nodes,\n      selectedElements = _ref.selectedElements,\n      elementsSelectable = _ref.elementsSelectable,\n      transform = _ref.transform,\n      width = _ref.width,\n      height = _ref.height,\n      onlyRenderVisibleElements = _ref.onlyRenderVisibleElements,\n      connectionMode = _ref.connectionMode;\n  var sourceHandleId = edge.sourceHandle || null;\n  var targetHandleId = edge.targetHandle || null;\n\n  var _getSourceTargetNodes = getSourceTargetNodes(edge, nodes),\n      sourceNode = _getSourceTargetNodes.sourceNode,\n      targetNode = _getSourceTargetNodes.targetNode;\n\n  var onConnectEdge = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (connection) {\n    var _props$onEdgeUpdate;\n\n    (_props$onEdgeUpdate = props.onEdgeUpdate) === null || _props$onEdgeUpdate === void 0 ? void 0 : _props$onEdgeUpdate.call(props, edge, connection);\n  }, [edge, props.onEdgeUpdate]);\n\n  if (!sourceNode) {\n    console.warn(\"couldn't create edge for source id: \".concat(edge.source, \"; edge id: \").concat(edge.id));\n    return null;\n  }\n\n  if (!targetNode) {\n    console.warn(\"couldn't create edge for target id: \".concat(edge.target, \"; edge id: \").concat(edge.id));\n    return null;\n  } // source and target node need to be initialized\n\n\n  if (!sourceNode.__rf.width || !targetNode.__rf.width) {\n    return null;\n  }\n\n  var edgeType = edge.type || 'default';\n  var EdgeComponent = props.edgeTypes[edgeType] || props.edgeTypes[\"default\"];\n  var targetNodeBounds = targetNode.__rf.handleBounds; // when connection type is loose we can define all handles as sources\n\n  var targetNodeHandles = connectionMode === ConnectionMode.Strict ? targetNodeBounds.target : targetNodeBounds.target || targetNodeBounds.source;\n  var sourceHandle = getHandle(sourceNode.__rf.handleBounds.source, sourceHandleId);\n  var targetHandle = getHandle(targetNodeHandles, targetHandleId);\n  var sourcePosition = sourceHandle ? sourceHandle.position : Position.Bottom;\n  var targetPosition = targetHandle ? targetHandle.position : Position.Top;\n\n  if (!sourceHandle) {\n    console.warn(\"couldn't create edge for source handle id: \".concat(sourceHandleId, \"; edge id: \").concat(edge.id));\n    return null;\n  }\n\n  if (!targetHandle) {\n    console.warn(\"couldn't create edge for target handle id: \".concat(targetHandleId, \"; edge id: \").concat(edge.id));\n    return null;\n  }\n\n  var _getEdgePositions = getEdgePositions(sourceNode, sourceHandle, sourcePosition, targetNode, targetHandle, targetPosition),\n      sourceX = _getEdgePositions.sourceX,\n      sourceY = _getEdgePositions.sourceY,\n      targetX = _getEdgePositions.targetX,\n      targetY = _getEdgePositions.targetY;\n\n  var isVisible = onlyRenderVisibleElements ? isEdgeVisible({\n    sourcePos: {\n      x: sourceX,\n      y: sourceY\n    },\n    targetPos: {\n      x: targetX,\n      y: targetY\n    },\n    width: width,\n    height: height,\n    transform: transform\n  }) : true;\n\n  if (!isVisible) {\n    return null;\n  }\n\n  var isSelected = (selectedElements === null || selectedElements === void 0 ? void 0 : selectedElements.some(function (elm) {\n    return isEdge(elm) && elm.id === edge.id;\n  })) || false;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeComponent, {\n    key: edge.id,\n    id: edge.id,\n    className: edge.className,\n    type: edge.type,\n    data: edge.data,\n    onClick: props.onElementClick,\n    selected: isSelected,\n    animated: edge.animated,\n    label: edge.label,\n    labelStyle: edge.labelStyle,\n    labelShowBg: edge.labelShowBg,\n    labelBgStyle: edge.labelBgStyle,\n    labelBgPadding: edge.labelBgPadding,\n    labelBgBorderRadius: edge.labelBgBorderRadius,\n    style: edge.style,\n    arrowHeadType: edge.arrowHeadType,\n    source: edge.source,\n    target: edge.target,\n    sourceHandleId: sourceHandleId,\n    targetHandleId: targetHandleId,\n    sourceX: sourceX,\n    sourceY: sourceY,\n    targetX: targetX,\n    targetY: targetY,\n    sourcePosition: sourcePosition,\n    targetPosition: targetPosition,\n    elementsSelectable: elementsSelectable,\n    markerEndId: props.markerEndId,\n    isHidden: edge.isHidden,\n    onConnectEdge: onConnectEdge,\n    handleEdgeUpdate: typeof props.onEdgeUpdate !== 'undefined',\n    onContextMenu: props.onEdgeContextMenu,\n    onMouseEnter: props.onEdgeMouseEnter,\n    onMouseMove: props.onEdgeMouseMove,\n    onMouseLeave: props.onEdgeMouseLeave,\n    edgeUpdaterRadius: props.edgeUpdaterRadius,\n    onEdgeDoubleClick: props.onEdgeDoubleClick,\n    onEdgeUpdateStart: props.onEdgeUpdateStart,\n    onEdgeUpdateEnd: props.onEdgeUpdateEnd\n  });\n};\n\nvar EdgeRenderer = function EdgeRenderer(props) {\n  var transform = useStoreState(function (state) {\n    return state.transform;\n  });\n  var nodes = useStoreState(function (state) {\n    return state.nodes;\n  });\n  var edges = useStoreState(function (state) {\n    return state.edges;\n  });\n  var connectionNodeId = useStoreState(function (state) {\n    return state.connectionNodeId;\n  });\n  var connectionHandleId = useStoreState(function (state) {\n    return state.connectionHandleId;\n  });\n  var connectionHandleType = useStoreState(function (state) {\n    return state.connectionHandleType;\n  });\n  var connectionPosition = useStoreState(function (state) {\n    return state.connectionPosition;\n  });\n  var selectedElements = useStoreState(function (state) {\n    return state.selectedElements;\n  });\n  var nodesConnectable = useStoreState(function (state) {\n    return state.nodesConnectable;\n  });\n  var elementsSelectable = useStoreState(function (state) {\n    return state.elementsSelectable;\n  });\n  var width = useStoreState(function (state) {\n    return state.width;\n  });\n  var height = useStoreState(function (state) {\n    return state.height;\n  });\n\n  if (!width) {\n    return null;\n  }\n\n  var connectionLineType = props.connectionLineType,\n      arrowHeadColor = props.arrowHeadColor,\n      connectionLineStyle = props.connectionLineStyle,\n      connectionLineComponent = props.connectionLineComponent,\n      onlyRenderVisibleElements = props.onlyRenderVisibleElements;\n  var transformStyle = \"translate(\".concat(transform[0], \"px,\").concat(transform[1], \"px) scale(\").concat(transform[2], \")\");\n  var renderConnectionLine = connectionNodeId && connectionHandleType;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    width: width,\n    height: height,\n    className: \"react-flow__edges\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MarkerDefinitions, {\n    color: arrowHeadColor\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"g\", {\n    style: {\n      transform: transformStyle\n    }\n  }, edges.map(function (edge) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Edge, {\n      key: edge.id,\n      edge: edge,\n      props: props,\n      nodes: nodes,\n      selectedElements: selectedElements,\n      elementsSelectable: elementsSelectable,\n      transform: transform,\n      width: width,\n      height: height,\n      onlyRenderVisibleElements: onlyRenderVisibleElements\n    });\n  }), renderConnectionLine && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ConnectionLine, {\n    nodes: nodes,\n    connectionNodeId: connectionNodeId,\n    connectionHandleId: connectionHandleId,\n    connectionHandleType: connectionHandleType,\n    connectionPositionX: connectionPosition.x,\n    connectionPositionY: connectionPosition.y,\n    transform: transform,\n    connectionLineStyle: connectionLineStyle,\n    connectionLineType: connectionLineType,\n    isConnectable: nodesConnectable,\n    CustomConnectionLineComponent: connectionLineComponent\n  })));\n};\n\nEdgeRenderer.displayName = 'EdgeRenderer';\nvar EdgeRenderer$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(EdgeRenderer);\n\nvar DEFAULT_PADDING = 0.1;\nvar initialZoomPanHelper = {\n  zoomIn: function zoomIn() {},\n  zoomOut: function zoomOut() {},\n  zoomTo: function zoomTo(_) {},\n  transform: function transform(_) {},\n  fitView: function fitView() {\n  },\n  setCenter: function setCenter(_, __) {},\n  fitBounds: function fitBounds(_) {},\n  project: function project(position) {\n    return position;\n  },\n  initialized: false\n};\n\nvar getTransition = function getTransition(selection) {\n  var duration = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n  return selection.transition().duration(duration);\n};\n\nvar useZoomPanHelper = function useZoomPanHelper() {\n  var store = useStore();\n  var d3Zoom = useStoreState(function (s) {\n    return s.d3Zoom;\n  });\n  var d3Selection = useStoreState(function (s) {\n    return s.d3Selection;\n  });\n  var zoomPanHelperFunctions = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    if (d3Selection && d3Zoom) {\n      return {\n        zoomIn: function zoomIn(duration) {\n          return d3Zoom.scaleBy(getTransition(d3Selection, duration), 1.2);\n        },\n        zoomOut: function zoomOut(duration) {\n          return d3Zoom.scaleBy(getTransition(d3Selection, duration), 1 / 1.2);\n        },\n        zoomTo: function zoomTo(zoomLevel, duration) {\n          return d3Zoom.scaleTo(getTransition(d3Selection, duration), zoomLevel);\n        },\n        transform: function transform(_transform, duration) {\n          var nextTransform = identity.translate(_transform.x, _transform.y).scale(_transform.zoom);\n          d3Zoom.transform(getTransition(d3Selection, duration), nextTransform);\n        },\n        fitView: function fitView() {\n          var _options$minZoom, _options$maxZoom, _options$padding;\n\n          var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n            padding: DEFAULT_PADDING,\n            includeHiddenNodes: false,\n            duration: 0\n          };\n\n          var _store$getState = store.getState(),\n              nodes = _store$getState.nodes,\n              width = _store$getState.width,\n              height = _store$getState.height,\n              minZoom = _store$getState.minZoom,\n              maxZoom = _store$getState.maxZoom;\n\n          if (!nodes.length) {\n            return;\n          }\n\n          var bounds = getRectOfNodes(options.includeHiddenNodes ? nodes : nodes.filter(function (node) {\n            return !node.isHidden;\n          }));\n\n          var _getTransformForBound = getTransformForBounds(bounds, width, height, (_options$minZoom = options.minZoom) !== null && _options$minZoom !== void 0 ? _options$minZoom : minZoom, (_options$maxZoom = options.maxZoom) !== null && _options$maxZoom !== void 0 ? _options$maxZoom : maxZoom, (_options$padding = options.padding) !== null && _options$padding !== void 0 ? _options$padding : DEFAULT_PADDING),\n              _getTransformForBound2 = _slicedToArray$1(_getTransformForBound, 3),\n              x = _getTransformForBound2[0],\n              y = _getTransformForBound2[1],\n              zoom = _getTransformForBound2[2];\n\n          var transform = identity.translate(x, y).scale(zoom);\n          d3Zoom.transform(getTransition(d3Selection, options.duration), transform);\n        },\n        setCenter: function setCenter(x, y, zoom, duration) {\n          var _store$getState2 = store.getState(),\n              width = _store$getState2.width,\n              height = _store$getState2.height,\n              maxZoom = _store$getState2.maxZoom;\n\n          var nextZoom = typeof zoom !== 'undefined' ? zoom : maxZoom;\n          var centerX = width / 2 - x * nextZoom;\n          var centerY = height / 2 - y * nextZoom;\n          var transform = identity.translate(centerX, centerY).scale(nextZoom);\n          d3Zoom.transform(getTransition(d3Selection, duration), transform);\n        },\n        fitBounds: function fitBounds(bounds) {\n          var padding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DEFAULT_PADDING;\n          var duration = arguments.length > 2 ? arguments[2] : undefined;\n\n          var _store$getState3 = store.getState(),\n              width = _store$getState3.width,\n              height = _store$getState3.height,\n              minZoom = _store$getState3.minZoom,\n              maxZoom = _store$getState3.maxZoom;\n\n          var _getTransformForBound3 = getTransformForBounds(bounds, width, height, minZoom, maxZoom, padding),\n              _getTransformForBound4 = _slicedToArray$1(_getTransformForBound3, 3),\n              x = _getTransformForBound4[0],\n              y = _getTransformForBound4[1],\n              zoom = _getTransformForBound4[2];\n\n          var transform = identity.translate(x, y).scale(zoom);\n          d3Zoom.transform(getTransition(d3Selection, duration), transform);\n        },\n        project: function project(position) {\n          var _store$getState4 = store.getState(),\n              transform = _store$getState4.transform,\n              snapToGrid = _store$getState4.snapToGrid,\n              snapGrid = _store$getState4.snapGrid;\n\n          return pointToRendererPoint(position, transform, snapToGrid, snapGrid);\n        },\n        initialized: true\n      };\n    }\n\n    return initialZoomPanHelper;\n  }, [d3Zoom, d3Selection]);\n  return zoomPanHelperFunctions;\n};\n\nvar GraphView = function GraphView(_ref) {\n  var nodeTypes = _ref.nodeTypes,\n      edgeTypes = _ref.edgeTypes,\n      onMove = _ref.onMove,\n      onMoveStart = _ref.onMoveStart,\n      onMoveEnd = _ref.onMoveEnd,\n      onLoad = _ref.onLoad,\n      onElementClick = _ref.onElementClick,\n      onNodeDoubleClick = _ref.onNodeDoubleClick,\n      onEdgeDoubleClick = _ref.onEdgeDoubleClick,\n      onNodeMouseEnter = _ref.onNodeMouseEnter,\n      onNodeMouseMove = _ref.onNodeMouseMove,\n      onNodeMouseLeave = _ref.onNodeMouseLeave,\n      onNodeContextMenu = _ref.onNodeContextMenu,\n      onNodeDragStart = _ref.onNodeDragStart,\n      onNodeDrag = _ref.onNodeDrag,\n      onNodeDragStop = _ref.onNodeDragStop,\n      onSelectionDragStart = _ref.onSelectionDragStart,\n      onSelectionDrag = _ref.onSelectionDrag,\n      onSelectionDragStop = _ref.onSelectionDragStop,\n      onSelectionContextMenu = _ref.onSelectionContextMenu,\n      connectionMode = _ref.connectionMode,\n      connectionLineType = _ref.connectionLineType,\n      connectionLineStyle = _ref.connectionLineStyle,\n      connectionLineComponent = _ref.connectionLineComponent,\n      selectionKeyCode = _ref.selectionKeyCode,\n      multiSelectionKeyCode = _ref.multiSelectionKeyCode,\n      zoomActivationKeyCode = _ref.zoomActivationKeyCode,\n      onElementsRemove = _ref.onElementsRemove,\n      deleteKeyCode = _ref.deleteKeyCode,\n      onConnect = _ref.onConnect,\n      onConnectStart = _ref.onConnectStart,\n      onConnectStop = _ref.onConnectStop,\n      onConnectEnd = _ref.onConnectEnd,\n      snapToGrid = _ref.snapToGrid,\n      snapGrid = _ref.snapGrid,\n      onlyRenderVisibleElements = _ref.onlyRenderVisibleElements,\n      nodesDraggable = _ref.nodesDraggable,\n      nodesConnectable = _ref.nodesConnectable,\n      elementsSelectable = _ref.elementsSelectable,\n      selectNodesOnDrag = _ref.selectNodesOnDrag,\n      minZoom = _ref.minZoom,\n      maxZoom = _ref.maxZoom,\n      defaultZoom = _ref.defaultZoom,\n      defaultPosition = _ref.defaultPosition,\n      translateExtent = _ref.translateExtent,\n      preventScrolling = _ref.preventScrolling,\n      nodeExtent = _ref.nodeExtent,\n      arrowHeadColor = _ref.arrowHeadColor,\n      markerEndId = _ref.markerEndId,\n      zoomOnScroll = _ref.zoomOnScroll,\n      zoomOnPinch = _ref.zoomOnPinch,\n      panOnScroll = _ref.panOnScroll,\n      panOnScrollSpeed = _ref.panOnScrollSpeed,\n      panOnScrollMode = _ref.panOnScrollMode,\n      zoomOnDoubleClick = _ref.zoomOnDoubleClick,\n      paneMoveable = _ref.paneMoveable,\n      onPaneClick = _ref.onPaneClick,\n      onPaneScroll = _ref.onPaneScroll,\n      onPaneContextMenu = _ref.onPaneContextMenu,\n      onEdgeUpdate = _ref.onEdgeUpdate,\n      onEdgeContextMenu = _ref.onEdgeContextMenu,\n      onEdgeMouseEnter = _ref.onEdgeMouseEnter,\n      onEdgeMouseMove = _ref.onEdgeMouseMove,\n      onEdgeMouseLeave = _ref.onEdgeMouseLeave,\n      edgeUpdaterRadius = _ref.edgeUpdaterRadius,\n      onEdgeUpdateStart = _ref.onEdgeUpdateStart,\n      onEdgeUpdateEnd = _ref.onEdgeUpdateEnd;\n  var isInitialized = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(false);\n  var setOnConnect = useStoreActions(function (actions) {\n    return actions.setOnConnect;\n  });\n  var setOnConnectStart = useStoreActions(function (actions) {\n    return actions.setOnConnectStart;\n  });\n  var setOnConnectStop = useStoreActions(function (actions) {\n    return actions.setOnConnectStop;\n  });\n  var setOnConnectEnd = useStoreActions(function (actions) {\n    return actions.setOnConnectEnd;\n  });\n  var setSnapGrid = useStoreActions(function (actions) {\n    return actions.setSnapGrid;\n  });\n  var setSnapToGrid = useStoreActions(function (actions) {\n    return actions.setSnapToGrid;\n  });\n  var setNodesDraggable = useStoreActions(function (actions) {\n    return actions.setNodesDraggable;\n  });\n  var setNodesConnectable = useStoreActions(function (actions) {\n    return actions.setNodesConnectable;\n  });\n  var setElementsSelectable = useStoreActions(function (actions) {\n    return actions.setElementsSelectable;\n  });\n  var setMinZoom = useStoreActions(function (actions) {\n    return actions.setMinZoom;\n  });\n  var setMaxZoom = useStoreActions(function (actions) {\n    return actions.setMaxZoom;\n  });\n  var setTranslateExtent = useStoreActions(function (actions) {\n    return actions.setTranslateExtent;\n  });\n  var setNodeExtent = useStoreActions(function (actions) {\n    return actions.setNodeExtent;\n  });\n  var setConnectionMode = useStoreActions(function (actions) {\n    return actions.setConnectionMode;\n  });\n  var currentStore = useStore();\n\n  var _useZoomPanHelper = useZoomPanHelper(),\n      zoomIn = _useZoomPanHelper.zoomIn,\n      zoomOut = _useZoomPanHelper.zoomOut,\n      zoomTo = _useZoomPanHelper.zoomTo,\n      transform = _useZoomPanHelper.transform,\n      _fitView = _useZoomPanHelper.fitView,\n      initialized = _useZoomPanHelper.initialized;\n\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (!isInitialized.current && initialized) {\n      if (onLoad) {\n        onLoad({\n          fitView: function fitView() {\n            var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {\n              padding: 0.1\n            };\n            return _fitView(params);\n          },\n          zoomIn: zoomIn,\n          zoomOut: zoomOut,\n          zoomTo: zoomTo,\n          setTransform: transform,\n          project: onLoadProject(currentStore),\n          getElements: onLoadGetElements(currentStore),\n          toObject: onLoadToObject(currentStore)\n        });\n      }\n\n      isInitialized.current = true;\n    }\n  }, [onLoad, zoomIn, zoomOut, zoomTo, transform, _fitView, initialized]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (onConnect) {\n      setOnConnect(onConnect);\n    }\n  }, [onConnect]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (onConnectStart) {\n      setOnConnectStart(onConnectStart);\n    }\n  }, [onConnectStart]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (onConnectStop) {\n      setOnConnectStop(onConnectStop);\n    }\n  }, [onConnectStop]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (onConnectEnd) {\n      setOnConnectEnd(onConnectEnd);\n    }\n  }, [onConnectEnd]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof snapToGrid !== 'undefined') {\n      setSnapToGrid(snapToGrid);\n    }\n  }, [snapToGrid]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof snapGrid !== 'undefined') {\n      setSnapGrid(snapGrid);\n    }\n  }, [snapGrid]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof nodesDraggable !== 'undefined') {\n      setNodesDraggable(nodesDraggable);\n    }\n  }, [nodesDraggable]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof nodesConnectable !== 'undefined') {\n      setNodesConnectable(nodesConnectable);\n    }\n  }, [nodesConnectable]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof elementsSelectable !== 'undefined') {\n      setElementsSelectable(elementsSelectable);\n    }\n  }, [elementsSelectable]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof minZoom !== 'undefined') {\n      setMinZoom(minZoom);\n    }\n  }, [minZoom]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof maxZoom !== 'undefined') {\n      setMaxZoom(maxZoom);\n    }\n  }, [maxZoom]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof translateExtent !== 'undefined') {\n      setTranslateExtent(translateExtent);\n    }\n  }, [translateExtent]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof nodeExtent !== 'undefined') {\n      setNodeExtent(nodeExtent);\n    }\n  }, [nodeExtent]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    if (typeof connectionMode !== 'undefined') {\n      setConnectionMode(connectionMode);\n    }\n  }, [connectionMode]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(FlowRenderer$1, {\n    onPaneClick: onPaneClick,\n    onPaneContextMenu: onPaneContextMenu,\n    onPaneScroll: onPaneScroll,\n    onElementsRemove: onElementsRemove,\n    deleteKeyCode: deleteKeyCode,\n    selectionKeyCode: selectionKeyCode,\n    multiSelectionKeyCode: multiSelectionKeyCode,\n    zoomActivationKeyCode: zoomActivationKeyCode,\n    elementsSelectable: elementsSelectable,\n    onMove: onMove,\n    onMoveStart: onMoveStart,\n    onMoveEnd: onMoveEnd,\n    zoomOnScroll: zoomOnScroll,\n    zoomOnPinch: zoomOnPinch,\n    zoomOnDoubleClick: zoomOnDoubleClick,\n    panOnScroll: panOnScroll,\n    panOnScrollSpeed: panOnScrollSpeed,\n    panOnScrollMode: panOnScrollMode,\n    paneMoveable: paneMoveable,\n    defaultPosition: defaultPosition,\n    defaultZoom: defaultZoom,\n    translateExtent: translateExtent,\n    onSelectionDragStart: onSelectionDragStart,\n    onSelectionDrag: onSelectionDrag,\n    onSelectionDragStop: onSelectionDragStop,\n    onSelectionContextMenu: onSelectionContextMenu,\n    preventScrolling: preventScrolling\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NodeRenderer$1, {\n    nodeTypes: nodeTypes,\n    onElementClick: onElementClick,\n    onNodeDoubleClick: onNodeDoubleClick,\n    onNodeMouseEnter: onNodeMouseEnter,\n    onNodeMouseMove: onNodeMouseMove,\n    onNodeMouseLeave: onNodeMouseLeave,\n    onNodeContextMenu: onNodeContextMenu,\n    onNodeDragStop: onNodeDragStop,\n    onNodeDrag: onNodeDrag,\n    onNodeDragStart: onNodeDragStart,\n    selectNodesOnDrag: selectNodesOnDrag,\n    snapToGrid: snapToGrid,\n    snapGrid: snapGrid,\n    onlyRenderVisibleElements: onlyRenderVisibleElements\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(EdgeRenderer$1, {\n    edgeTypes: edgeTypes,\n    onElementClick: onElementClick,\n    onEdgeDoubleClick: onEdgeDoubleClick,\n    connectionLineType: connectionLineType,\n    connectionLineStyle: connectionLineStyle,\n    connectionLineComponent: connectionLineComponent,\n    connectionMode: connectionMode,\n    arrowHeadColor: arrowHeadColor,\n    markerEndId: markerEndId,\n    onEdgeUpdate: onEdgeUpdate,\n    onlyRenderVisibleElements: onlyRenderVisibleElements,\n    onEdgeContextMenu: onEdgeContextMenu,\n    onEdgeMouseEnter: onEdgeMouseEnter,\n    onEdgeMouseMove: onEdgeMouseMove,\n    onEdgeMouseLeave: onEdgeMouseLeave,\n    onEdgeUpdateStart: onEdgeUpdateStart,\n    onEdgeUpdateEnd: onEdgeUpdateEnd,\n    edgeUpdaterRadius: edgeUpdaterRadius\n  }));\n};\n\nGraphView.displayName = 'GraphView';\nvar GraphView$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(GraphView);\n\nvar ElementUpdater = function ElementUpdater(_ref) {\n  var elements = _ref.elements;\n  var setElements = useStoreActions(function (actions) {\n    return actions.setElements;\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    setElements(elements);\n  }, [elements]);\n  return null;\n};\n\nvar NodeIdContext = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)(null);\nvar Provider = NodeIdContext.Provider;\nNodeIdContext.Consumer;\n\nvar _excluded$2 = [\"type\", \"position\", \"isValidConnection\", \"isConnectable\", \"id\", \"onConnect\", \"children\", \"className\"];\n\nfunction ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nvar alwaysValid = function alwaysValid() {\n  return true;\n};\n\nvar Handle = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_ref, ref) {\n  var _ref$type = _ref.type,\n      type = _ref$type === void 0 ? 'source' : _ref$type,\n      _ref$position = _ref.position,\n      position = _ref$position === void 0 ? Position.Top : _ref$position,\n      _ref$isValidConnectio = _ref.isValidConnection,\n      isValidConnection = _ref$isValidConnectio === void 0 ? alwaysValid : _ref$isValidConnectio,\n      _ref$isConnectable = _ref.isConnectable,\n      isConnectable = _ref$isConnectable === void 0 ? true : _ref$isConnectable,\n      id = _ref.id,\n      onConnect = _ref.onConnect,\n      children = _ref.children,\n      className = _ref.className,\n      rest = _objectWithoutProperties(_ref, _excluded$2);\n\n  var nodeId = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(NodeIdContext);\n  var setPosition = useStoreActions(function (actions) {\n    return actions.setConnectionPosition;\n  });\n  var setConnectionNodeId = useStoreActions(function (actions) {\n    return actions.setConnectionNodeId;\n  });\n  var onConnectAction = useStoreState(function (state) {\n    return state.onConnect;\n  });\n  var onConnectStart = useStoreState(function (state) {\n    return state.onConnectStart;\n  });\n  var onConnectStop = useStoreState(function (state) {\n    return state.onConnectStop;\n  });\n  var onConnectEnd = useStoreState(function (state) {\n    return state.onConnectEnd;\n  });\n  var connectionMode = useStoreState(function (state) {\n    return state.connectionMode;\n  });\n  var handleId = id || null;\n  var isTarget = type === 'target';\n  var onConnectExtended = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (params) {\n    onConnectAction === null || onConnectAction === void 0 ? void 0 : onConnectAction(params);\n    onConnect === null || onConnect === void 0 ? void 0 : onConnect(params);\n  }, [onConnectAction, onConnect]);\n  var onMouseDownHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n    onMouseDown(event, handleId, nodeId, setConnectionNodeId, setPosition, onConnectExtended, isTarget, isValidConnection, connectionMode, undefined, undefined, onConnectStart, onConnectStop, onConnectEnd);\n  }, [handleId, nodeId, setConnectionNodeId, setPosition, onConnectExtended, isTarget, isValidConnection, connectionMode, onConnectStart, onConnectStop, onConnectEnd]);\n  var handleClasses = cc(['react-flow__handle', \"react-flow__handle-\".concat(position), 'nodrag', className, {\n    source: !isTarget,\n    target: isTarget,\n    connectable: isConnectable\n  }]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", _objectSpread$7({\n    \"data-handleid\": handleId,\n    \"data-nodeid\": nodeId,\n    \"data-handlepos\": position,\n    className: handleClasses,\n    onMouseDown: onMouseDownHandler,\n    ref: ref\n  }, rest), children);\n});\nHandle.displayName = 'Handle';\nvar Handle$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(Handle);\n\nvar DefaultNode = function DefaultNode(_ref) {\n  var data = _ref.data,\n      isConnectable = _ref.isConnectable,\n      _ref$targetPosition = _ref.targetPosition,\n      targetPosition = _ref$targetPosition === void 0 ? Position.Top : _ref$targetPosition,\n      _ref$sourcePosition = _ref.sourcePosition,\n      sourcePosition = _ref$sourcePosition === void 0 ? Position.Bottom : _ref$sourcePosition;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Handle$1, {\n    type: \"target\",\n    position: targetPosition,\n    isConnectable: isConnectable\n  }), data.label, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Handle$1, {\n    type: \"source\",\n    position: sourcePosition,\n    isConnectable: isConnectable\n  }));\n};\n\nDefaultNode.displayName = 'DefaultNode';\nvar DefaultNode$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(DefaultNode);\n\nvar InputNode = function InputNode(_ref) {\n  var data = _ref.data,\n      isConnectable = _ref.isConnectable,\n      _ref$sourcePosition = _ref.sourcePosition,\n      sourcePosition = _ref$sourcePosition === void 0 ? Position.Bottom : _ref$sourcePosition;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, data.label, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Handle$1, {\n    type: \"source\",\n    position: sourcePosition,\n    isConnectable: isConnectable\n  }));\n};\n\nInputNode.displayName = 'InputNode';\nvar InputNode$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(InputNode);\n\nvar OutputNode = function OutputNode(_ref) {\n  var data = _ref.data,\n      isConnectable = _ref.isConnectable,\n      _ref$targetPosition = _ref.targetPosition,\n      targetPosition = _ref$targetPosition === void 0 ? Position.Top : _ref$targetPosition;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Handle$1, {\n    type: \"target\",\n    position: targetPosition,\n    isConnectable: isConnectable\n  }), data.label);\n};\n\nOutputNode.displayName = 'OutputNode';\nvar OutputNode$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(OutputNode);\n\nfunction ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar wrapNode = (function (NodeComponent) {\n  var NodeWrapper = function NodeWrapper(_ref) {\n    var id = _ref.id,\n        type = _ref.type,\n        data = _ref.data,\n        scale = _ref.scale,\n        xPos = _ref.xPos,\n        yPos = _ref.yPos,\n        selected = _ref.selected,\n        onClick = _ref.onClick,\n        onMouseEnter = _ref.onMouseEnter,\n        onMouseMove = _ref.onMouseMove,\n        onMouseLeave = _ref.onMouseLeave,\n        onContextMenu = _ref.onContextMenu,\n        onNodeDoubleClick = _ref.onNodeDoubleClick,\n        onNodeDragStart = _ref.onNodeDragStart,\n        onNodeDrag = _ref.onNodeDrag,\n        onNodeDragStop = _ref.onNodeDragStop,\n        style = _ref.style,\n        className = _ref.className,\n        isDraggable = _ref.isDraggable,\n        isSelectable = _ref.isSelectable,\n        isConnectable = _ref.isConnectable,\n        selectNodesOnDrag = _ref.selectNodesOnDrag,\n        sourcePosition = _ref.sourcePosition,\n        targetPosition = _ref.targetPosition,\n        isHidden = _ref.isHidden,\n        isInitialized = _ref.isInitialized,\n        snapToGrid = _ref.snapToGrid,\n        snapGrid = _ref.snapGrid,\n        isDragging = _ref.isDragging,\n        resizeObserver = _ref.resizeObserver,\n        dragHandle = _ref.dragHandle;\n    var updateNodeDimensions = useStoreActions(function (actions) {\n      return actions.updateNodeDimensions;\n    });\n    var addSelectedElements = useStoreActions(function (actions) {\n      return actions.addSelectedElements;\n    });\n    var updateNodePosDiff = useStoreActions(function (actions) {\n      return actions.updateNodePosDiff;\n    });\n    var unsetNodesSelection = useStoreActions(function (actions) {\n      return actions.unsetNodesSelection;\n    });\n    var nodeElement = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\n    var node = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      return {\n        id: id,\n        type: type,\n        position: {\n          x: xPos,\n          y: yPos\n        },\n        data: data\n      };\n    }, [id, type, xPos, yPos, data]);\n    var grid = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      return snapToGrid ? snapGrid : [1, 1];\n    }, [snapToGrid, snapGrid]);\n    var nodeStyle = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      return _objectSpread$6({\n        zIndex: selected ? 10 : 3,\n        transform: \"translate(\".concat(xPos, \"px,\").concat(yPos, \"px)\"),\n        pointerEvents: isSelectable || isDraggable || onClick || onMouseEnter || onMouseMove || onMouseLeave ? 'all' : 'none',\n        // prevents jumping of nodes on start\n        opacity: isInitialized ? 1 : 0\n      }, style);\n    }, [selected, xPos, yPos, isSelectable, isDraggable, onClick, isInitialized, style, onMouseEnter, onMouseMove, onMouseLeave]);\n    var onMouseEnterHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      if (!onMouseEnter || isDragging) {\n        return;\n      }\n\n      return function (event) {\n        return onMouseEnter(event, node);\n      };\n    }, [onMouseEnter, isDragging, node]);\n    var onMouseMoveHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      if (!onMouseMove || isDragging) {\n        return;\n      }\n\n      return function (event) {\n        return onMouseMove(event, node);\n      };\n    }, [onMouseMove, isDragging, node]);\n    var onMouseLeaveHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      if (!onMouseLeave || isDragging) {\n        return;\n      }\n\n      return function (event) {\n        return onMouseLeave(event, node);\n      };\n    }, [onMouseLeave, isDragging, node]);\n    var onContextMenuHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n      if (!onContextMenu) {\n        return;\n      }\n\n      return function (event) {\n        return onContextMenu(event, node);\n      };\n    }, [onContextMenu, node]);\n    var onSelectNodeHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      if (!isDraggable) {\n        if (isSelectable) {\n          unsetNodesSelection();\n\n          if (!selected) {\n            addSelectedElements(node);\n          }\n        }\n\n        onClick === null || onClick === void 0 ? void 0 : onClick(event, node);\n      }\n    }, [isSelectable, selected, isDraggable, onClick, node]);\n    var onDragStart = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onNodeDragStart === null || onNodeDragStart === void 0 ? void 0 : onNodeDragStart(event, node);\n\n      if (selectNodesOnDrag && isSelectable) {\n        unsetNodesSelection();\n\n        if (!selected) {\n          addSelectedElements(node);\n        }\n      } else if (!selectNodesOnDrag && !selected && isSelectable) {\n        unsetNodesSelection();\n        addSelectedElements([]);\n      }\n    }, [node, selected, selectNodesOnDrag, isSelectable, onNodeDragStart]);\n    var onDrag = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event, draggableData) {\n      if (onNodeDrag) {\n        node.position.x += draggableData.deltaX;\n        node.position.y += draggableData.deltaY;\n        onNodeDrag(event, node);\n      }\n\n      updateNodePosDiff({\n        id: id,\n        diff: {\n          x: draggableData.deltaX,\n          y: draggableData.deltaY\n        },\n        isDragging: true\n      });\n    }, [id, node, onNodeDrag]);\n    var onDragStop = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      // onDragStop also gets called when user just clicks on a node.\n      // Because of that we set dragging to true inside the onDrag handler and handle the click here\n      if (!isDragging) {\n        if (isSelectable && !selectNodesOnDrag && !selected) {\n          addSelectedElements(node);\n        }\n\n        onClick === null || onClick === void 0 ? void 0 : onClick(event, node);\n        return;\n      }\n\n      updateNodePosDiff({\n        id: node.id,\n        isDragging: false\n      });\n      onNodeDragStop === null || onNodeDragStop === void 0 ? void 0 : onNodeDragStop(event, node);\n    }, [node, isSelectable, selectNodesOnDrag, onClick, onNodeDragStop, isDragging, selected]);\n    var onNodeDoubleClickHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (event) {\n      onNodeDoubleClick === null || onNodeDoubleClick === void 0 ? void 0 : onNodeDoubleClick(event, node);\n    }, [node, onNodeDoubleClick]);\n    (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () {\n      if (nodeElement.current && !isHidden) {\n        updateNodeDimensions([{\n          id: id,\n          nodeElement: nodeElement.current,\n          forceUpdate: true\n        }]);\n      }\n    }, [id, isHidden, sourcePosition, targetPosition]);\n    (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n      if (nodeElement.current) {\n        var currNode = nodeElement.current;\n        resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.observe(currNode);\n        return function () {\n          return resizeObserver === null || resizeObserver === void 0 ? void 0 : resizeObserver.unobserve(currNode);\n        };\n      }\n    }, []);\n\n    if (isHidden) {\n      return null;\n    }\n\n    var nodeClasses = cc(['react-flow__node', \"react-flow__node-\".concat(type), className, {\n      selected: selected,\n      selectable: isSelectable\n    }]);\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(DraggableCore_1, {\n      onStart: onDragStart,\n      onDrag: onDrag,\n      onStop: onDragStop,\n      scale: scale,\n      disabled: !isDraggable,\n      cancel: \".nodrag\",\n      nodeRef: nodeElement,\n      grid: grid,\n      enableUserSelectHack: false,\n      handle: dragHandle\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n      className: nodeClasses,\n      ref: nodeElement,\n      style: nodeStyle,\n      onMouseEnter: onMouseEnterHandler,\n      onMouseMove: onMouseMoveHandler,\n      onMouseLeave: onMouseLeaveHandler,\n      onContextMenu: onContextMenuHandler,\n      onClick: onSelectNodeHandler,\n      onDoubleClick: onNodeDoubleClickHandler,\n      \"data-id\": id\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Provider, {\n      value: id\n    }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(NodeComponent, {\n      id: id,\n      data: data,\n      type: type,\n      xPos: xPos,\n      yPos: yPos,\n      selected: selected,\n      isConnectable: isConnectable,\n      sourcePosition: sourcePosition,\n      targetPosition: targetPosition,\n      isDragging: isDragging,\n      dragHandle: dragHandle\n    }))));\n  };\n\n  NodeWrapper.displayName = 'NodeWrapper';\n  return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(NodeWrapper);\n});\n\nfunction ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction createNodeTypes(nodeTypes) {\n  var standardTypes = {\n    input: wrapNode(nodeTypes.input || InputNode$1),\n    \"default\": wrapNode(nodeTypes[\"default\"] || DefaultNode$1),\n    output: wrapNode(nodeTypes.output || OutputNode$1)\n  };\n  var wrappedTypes = {};\n  var specialTypes = Object.keys(nodeTypes).filter(function (k) {\n    return !['input', 'default', 'output'].includes(k);\n  }).reduce(function (res, key) {\n    res[key] = wrapNode(nodeTypes[key] || DefaultNode$1);\n    return res;\n  }, wrappedTypes);\n  return _objectSpread$5(_objectSpread$5({}, standardTypes), specialTypes);\n}\n\nvar SelectionListener = (function (_ref) {\n  var onSelectionChange = _ref.onSelectionChange;\n  var selectedElements = useStoreState(function (s) {\n    return s.selectedElements;\n  });\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    onSelectionChange(selectedElements);\n  }, [selectedElements]);\n  return null;\n});\n\n// do not edit .js files directly - edit src/index.jst\n\n\n\nvar fastDeepEqual = function equal(a, b) {\n  if (a === b) return true;\n\n  if (a && b && typeof a == 'object' && typeof b == 'object') {\n    if (a.constructor !== b.constructor) return false;\n\n    var length, i, keys;\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length != b.length) return false;\n      for (i = length; i-- !== 0;)\n        if (!equal(a[i], b[i])) return false;\n      return true;\n    }\n\n\n\n    if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n    if (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n    if (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) return false;\n\n    for (i = length; i-- !== 0;)\n      if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\n    for (i = length; i-- !== 0;) {\n      var key = keys[i];\n\n      if (!equal(a[key], b[key])) return false;\n    }\n\n    return true;\n  }\n\n  // true if both NaN, false otherwise\n  return a!==a && b!==b;\n};\n\nfunction ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar getHandleBounds = function getHandleBounds(nodeElement, scale) {\n  var bounds = nodeElement.getBoundingClientRect();\n  return {\n    source: getHandleBoundsByHandleType('.source', nodeElement, bounds, scale),\n    target: getHandleBoundsByHandleType('.target', nodeElement, bounds, scale)\n  };\n};\nvar getHandleBoundsByHandleType = function getHandleBoundsByHandleType(selector, nodeElement, parentBounds, k) {\n  var handles = nodeElement.querySelectorAll(selector);\n\n  if (!handles || !handles.length) {\n    return null;\n  }\n\n  var handlesArray = Array.from(handles);\n  return handlesArray.map(function (handle) {\n    var bounds = handle.getBoundingClientRect();\n    var dimensions = getDimensions(handle);\n    var handleId = handle.getAttribute('data-handleid');\n    var handlePosition = handle.getAttribute('data-handlepos');\n    return _objectSpread$4({\n      id: handleId,\n      position: handlePosition,\n      x: (bounds.left - parentBounds.left) / k,\n      y: (bounds.top - parentBounds.top) / k\n    }, dimensions);\n  });\n};\n\nfunction ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nfunction reactFlowReducer() {\n  var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : initialState;\n  var action = arguments.length > 1 ? arguments[1] : undefined;\n\n  switch (action.type) {\n    case SET_ELEMENTS:\n      {\n        var propElements = action.payload;\n        var nextElements = {\n          nextNodes: [],\n          nextEdges: []\n        };\n\n        var _propElements$reduce = propElements.reduce(function (res, propElement) {\n          if (isNode(propElement)) {\n            var storeNode = state.nodes.find(function (node) {\n              return node.id === propElement.id;\n            });\n\n            if (storeNode) {\n              var updatedNode = _objectSpread$3(_objectSpread$3({}, storeNode), propElement);\n\n              if (storeNode.position.x !== propElement.position.x || storeNode.position.y !== propElement.position.y) {\n                updatedNode.__rf.position = propElement.position;\n              }\n\n              if (typeof propElement.type !== 'undefined' && propElement.type !== storeNode.type) {\n                // we reset the elements dimensions here in order to force a re-calculation of the bounds.\n                // When the type of a node changes it is possible that the number or positions of handles changes too.\n                updatedNode.__rf.width = null;\n              }\n\n              res.nextNodes.push(updatedNode);\n            } else {\n              res.nextNodes.push(parseNode(propElement, state.nodeExtent));\n            }\n          } else if (isEdge(propElement)) {\n            var storeEdge = state.edges.find(function (se) {\n              return se.id === propElement.id;\n            });\n\n            if (storeEdge) {\n              res.nextEdges.push(_objectSpread$3(_objectSpread$3({}, storeEdge), propElement));\n            } else {\n              res.nextEdges.push(parseEdge(propElement));\n            }\n          }\n\n          return res;\n        }, nextElements),\n            nextNodes = _propElements$reduce.nextNodes,\n            nextEdges = _propElements$reduce.nextEdges;\n\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          nodes: nextNodes,\n          edges: nextEdges\n        });\n      }\n\n    case UPDATE_NODE_DIMENSIONS:\n      {\n        var updatedNodes = state.nodes.map(function (node) {\n          var update = action.payload.find(function (u) {\n            return u.id === node.id;\n          });\n\n          if (update) {\n            var dimensions = getDimensions(update.nodeElement);\n            var doUpdate = dimensions.width && dimensions.height && (node.__rf.width !== dimensions.width || node.__rf.height !== dimensions.height || update.forceUpdate);\n\n            if (doUpdate) {\n              var handleBounds = getHandleBounds(update.nodeElement, state.transform[2]);\n              return _objectSpread$3(_objectSpread$3({}, node), {}, {\n                __rf: _objectSpread$3(_objectSpread$3(_objectSpread$3({}, node.__rf), dimensions), {}, {\n                  handleBounds: handleBounds\n                })\n              });\n            }\n          }\n\n          return node;\n        });\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          nodes: updatedNodes\n        });\n      }\n\n    case UPDATE_NODE_POS:\n      {\n        var _action$payload = action.payload,\n            id = _action$payload.id,\n            pos = _action$payload.pos;\n        var position = pos;\n\n        if (state.snapToGrid) {\n          var _state$snapGrid = _slicedToArray$1(state.snapGrid, 2),\n              gridSizeX = _state$snapGrid[0],\n              gridSizeY = _state$snapGrid[1];\n\n          position = {\n            x: gridSizeX * Math.round(pos.x / gridSizeX),\n            y: gridSizeY * Math.round(pos.y / gridSizeY)\n          };\n        }\n\n        var _nextNodes = state.nodes.map(function (node) {\n          if (node.id === id) {\n            return _objectSpread$3(_objectSpread$3({}, node), {}, {\n              __rf: _objectSpread$3(_objectSpread$3({}, node.__rf), {}, {\n                position: position\n              })\n            });\n          }\n\n          return node;\n        });\n\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          nodes: _nextNodes\n        });\n      }\n\n    case UPDATE_NODE_POS_DIFF:\n      {\n        var _action$payload2 = action.payload,\n            _id = _action$payload2.id,\n            diff = _action$payload2.diff,\n            isDragging = _action$payload2.isDragging;\n\n        var _nextNodes2 = state.nodes.map(function (node) {\n          var _state$selectedElemen;\n\n          if (_id === node.id || (_state$selectedElemen = state.selectedElements) !== null && _state$selectedElemen !== void 0 && _state$selectedElemen.find(function (sNode) {\n            return sNode.id === node.id;\n          })) {\n            var updatedNode = _objectSpread$3(_objectSpread$3({}, node), {}, {\n              __rf: _objectSpread$3(_objectSpread$3({}, node.__rf), {}, {\n                isDragging: isDragging\n              })\n            });\n\n            if (diff) {\n              updatedNode.__rf.position = {\n                x: node.__rf.position.x + diff.x,\n                y: node.__rf.position.y + diff.y\n              };\n            }\n\n            return updatedNode;\n          }\n\n          return node;\n        });\n\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          nodes: _nextNodes2\n        });\n      }\n\n    case SET_USER_SELECTION:\n      {\n        var mousePos = action.payload;\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          selectionActive: true,\n          userSelectionRect: {\n            width: 0,\n            height: 0,\n            startX: mousePos.x,\n            startY: mousePos.y,\n            x: mousePos.x,\n            y: mousePos.y,\n            draw: true\n          }\n        });\n      }\n\n    case UPDATE_USER_SELECTION:\n      {\n        var _state$userSelectionR, _state$userSelectionR2;\n\n        var _mousePos = action.payload;\n        var startX = (_state$userSelectionR = state.userSelectionRect.startX) !== null && _state$userSelectionR !== void 0 ? _state$userSelectionR : 0;\n        var startY = (_state$userSelectionR2 = state.userSelectionRect.startY) !== null && _state$userSelectionR2 !== void 0 ? _state$userSelectionR2 : 0;\n\n        var nextUserSelectRect = _objectSpread$3(_objectSpread$3({}, state.userSelectionRect), {}, {\n          x: _mousePos.x < startX ? _mousePos.x : startX,\n          y: _mousePos.y < startY ? _mousePos.y : startY,\n          width: Math.abs(_mousePos.x - startX),\n          height: Math.abs(_mousePos.y - startY)\n        });\n\n        var selectedNodes = getNodesInside(state.nodes, nextUserSelectRect, state.transform, false, true);\n        var selectedEdges = getConnectedEdges(selectedNodes, state.edges);\n        var nextSelectedElements = [].concat(_toConsumableArray(selectedNodes), _toConsumableArray(selectedEdges));\n        var selectedElementsChanged = !fastDeepEqual(nextSelectedElements, state.selectedElements);\n        var selectedElementsUpdate = selectedElementsChanged ? {\n          selectedElements: nextSelectedElements.length > 0 ? nextSelectedElements : null\n        } : {};\n        return _objectSpread$3(_objectSpread$3(_objectSpread$3({}, state), selectedElementsUpdate), {}, {\n          userSelectionRect: nextUserSelectRect\n        });\n      }\n\n    case UNSET_USER_SELECTION:\n      {\n        var _state$selectedElemen2;\n\n        var _selectedNodes = (_state$selectedElemen2 = state.selectedElements) === null || _state$selectedElemen2 === void 0 ? void 0 : _state$selectedElemen2.filter(function (node) {\n          return isNode(node) && node.__rf;\n        });\n\n        var stateUpdate = _objectSpread$3(_objectSpread$3({}, state), {}, {\n          selectionActive: false,\n          userSelectionRect: _objectSpread$3(_objectSpread$3({}, state.userSelectionRect), {}, {\n            draw: false\n          })\n        });\n\n        if (!_selectedNodes || _selectedNodes.length === 0) {\n          stateUpdate.selectedElements = null;\n          stateUpdate.nodesSelectionActive = false;\n        } else {\n          var selectedNodesBbox = getRectOfNodes(_selectedNodes);\n          stateUpdate.selectedNodesBbox = selectedNodesBbox;\n          stateUpdate.nodesSelectionActive = true;\n        }\n\n        return stateUpdate;\n      }\n\n    case SET_SELECTED_ELEMENTS:\n      {\n        var elements = action.payload;\n        var selectedElementsArr = Array.isArray(elements) ? elements : [elements];\n        var selectedElementsUpdated = !fastDeepEqual(selectedElementsArr, state.selectedElements);\n        var selectedElements = selectedElementsUpdated ? selectedElementsArr : state.selectedElements;\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          selectedElements: selectedElements\n        });\n      }\n\n    case ADD_SELECTED_ELEMENTS:\n      {\n        var multiSelectionActive = state.multiSelectionActive,\n            _selectedElements = state.selectedElements;\n        var _elements = action.payload;\n\n        var _selectedElementsArr = Array.isArray(_elements) ? _elements : [_elements];\n\n        var _nextElements = _selectedElementsArr;\n\n        if (multiSelectionActive) {\n          _nextElements = _selectedElements ? [].concat(_toConsumableArray(_selectedElements), _toConsumableArray(_selectedElementsArr)) : _selectedElementsArr;\n        }\n\n        var _selectedElementsUpdated = !fastDeepEqual(_nextElements, state.selectedElements);\n\n        var _nextSelectedElements = _selectedElementsUpdated ? _nextElements : state.selectedElements;\n\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          selectedElements: _nextSelectedElements\n        });\n      }\n\n    case INIT_D3ZOOM:\n      {\n        var _action$payload3 = action.payload,\n            d3Zoom = _action$payload3.d3Zoom,\n            d3Selection = _action$payload3.d3Selection,\n            d3ZoomHandler = _action$payload3.d3ZoomHandler,\n            transform = _action$payload3.transform;\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          d3Zoom: d3Zoom,\n          d3Selection: d3Selection,\n          d3ZoomHandler: d3ZoomHandler,\n          transform: transform\n        });\n      }\n\n    case SET_MINZOOM:\n      {\n        var _state$d3Zoom;\n\n        var minZoom = action.payload;\n        (_state$d3Zoom = state.d3Zoom) === null || _state$d3Zoom === void 0 ? void 0 : _state$d3Zoom.scaleExtent([minZoom, state.maxZoom]);\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          minZoom: minZoom\n        });\n      }\n\n    case SET_MAXZOOM:\n      {\n        var _state$d3Zoom2;\n\n        var maxZoom = action.payload;\n        (_state$d3Zoom2 = state.d3Zoom) === null || _state$d3Zoom2 === void 0 ? void 0 : _state$d3Zoom2.scaleExtent([state.minZoom, maxZoom]);\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          maxZoom: maxZoom\n        });\n      }\n\n    case SET_TRANSLATEEXTENT:\n      {\n        var _state$d3Zoom3;\n\n        var translateExtent = action.payload;\n        (_state$d3Zoom3 = state.d3Zoom) === null || _state$d3Zoom3 === void 0 ? void 0 : _state$d3Zoom3.translateExtent(translateExtent);\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          translateExtent: translateExtent\n        });\n      }\n\n    case SET_NODE_EXTENT:\n      {\n        var nodeExtent = action.payload;\n        return _objectSpread$3(_objectSpread$3({}, state), {}, {\n          nodeExtent: nodeExtent,\n          nodes: state.nodes.map(function (node) {\n            return _objectSpread$3(_objectSpread$3({}, node), {}, {\n              __rf: _objectSpread$3(_objectSpread$3({}, node.__rf), {}, {\n                position: clampPosition(node.__rf.position, nodeExtent)\n              })\n            });\n          })\n        });\n      }\n\n    case SET_ON_CONNECT:\n    case SET_ON_CONNECT_START:\n    case SET_ON_CONNECT_STOP:\n    case SET_ON_CONNECT_END:\n    case RESET_SELECTED_ELEMENTS:\n    case UNSET_NODES_SELECTION:\n    case UPDATE_TRANSFORM:\n    case UPDATE_SIZE:\n    case SET_CONNECTION_POSITION:\n    case SET_CONNECTION_NODEID:\n    case SET_SNAPTOGRID:\n    case SET_SNAPGRID:\n    case SET_INTERACTIVE:\n    case SET_NODES_DRAGGABLE:\n    case SET_NODES_CONNECTABLE:\n    case SET_ELEMENTS_SELECTABLE:\n    case SET_MULTI_SELECTION_ACTIVE:\n    case SET_CONNECTION_MODE:\n      return _objectSpread$3(_objectSpread$3({}, state), action.payload);\n\n    default:\n      return state;\n  }\n}\n\nfunction configureStore(preloadedState) {\n  var store = createStore(reactFlowReducer, preloadedState);\n  return store;\n}\n\nvar initialState = {\n  width: 0,\n  height: 0,\n  transform: [0, 0, 1],\n  nodes: [],\n  edges: [],\n  selectedElements: null,\n  selectedNodesBbox: {\n    x: 0,\n    y: 0,\n    width: 0,\n    height: 0\n  },\n  d3Zoom: null,\n  d3Selection: null,\n  d3ZoomHandler: undefined,\n  minZoom: 0.5,\n  maxZoom: 2,\n  translateExtent: [[Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY]],\n  nodeExtent: [[Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY], [Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY]],\n  nodesSelectionActive: false,\n  selectionActive: false,\n  userSelectionRect: {\n    startX: 0,\n    startY: 0,\n    x: 0,\n    y: 0,\n    width: 0,\n    height: 0,\n    draw: false\n  },\n  connectionNodeId: null,\n  connectionHandleId: null,\n  connectionHandleType: 'source',\n  connectionPosition: {\n    x: 0,\n    y: 0\n  },\n  connectionMode: ConnectionMode.Strict,\n  snapGrid: [15, 15],\n  snapToGrid: false,\n  nodesDraggable: true,\n  nodesConnectable: true,\n  elementsSelectable: true,\n  multiSelectionActive: false,\n  reactFlowVersion: \"9.7.4\" \n};\nvar store = configureStore(initialState);\n\nvar Wrapper = function Wrapper(_ref) {\n  var children = _ref.children;\n  var contextValue = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ReactReduxContext);\n  var isWrappedWithReactFlowProvider = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    var _contextValue$store, _contextValue$store$g;\n\n    return contextValue === null || contextValue === void 0 ? void 0 : (_contextValue$store = contextValue.store) === null || _contextValue$store === void 0 ? void 0 : (_contextValue$store$g = _contextValue$store.getState()) === null || _contextValue$store$g === void 0 ? void 0 : _contextValue$store$g.reactFlowVersion;\n  }, [contextValue]);\n\n  if (isWrappedWithReactFlowProvider) {\n    // we need to wrap it with a fragment because it's not allowed for children to be a ReactNode\n    // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18051\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, children);\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Provider$1, {\n    store: store\n  }, children);\n};\n\nWrapper.displayName = 'ReactFlowWrapper';\n\nfunction styleInject(css, ref) {\n  if ( ref === void 0 ) ref = {};\n  var insertAt = ref.insertAt;\n\n  if (!css || typeof document === 'undefined') { return; }\n\n  var head = document.head || document.getElementsByTagName('head')[0];\n  var style = document.createElement('style');\n  style.type = 'text/css';\n\n  if (insertAt === 'top') {\n    if (head.firstChild) {\n      head.insertBefore(style, head.firstChild);\n    } else {\n      head.appendChild(style);\n    }\n  } else {\n    head.appendChild(style);\n  }\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = css;\n  } else {\n    style.appendChild(document.createTextNode(css));\n  }\n}\n\nvar css_248z$1 = \".react-flow{height:100%;overflow:hidden;position:relative;width:100%}.react-flow__pane,.react-flow__renderer,.react-flow__selectionpane{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__renderer{z-index:4}.react-flow__selectionpane{z-index:5}.react-flow__edges,.react-flow__selection{left:0;position:absolute;top:0}.react-flow__edges{pointer-events:none;z-index:2}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.inactive{pointer-events:none}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edge-path{fill:none}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connection-path{fill:none}.react-flow__nodes{height:100%;pointer-events:none;width:100%;z-index:3}.react-flow__node,.react-flow__nodes{position:absolute;transform-origin:0 0}.react-flow__node{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-flow__nodesselection{height:100%;left:0;pointer-events:none;position:absolute;top:0;transform-origin:left top;width:100%;z-index:3}.react-flow__nodesselection-rect{cursor:-webkit-grab;cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{pointer-events:none}.react-flow__handle.connectable{pointer-events:all}.react-flow__handle-bottom{bottom:-4px;left:50%;top:auto;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{left:-4px;top:50%;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__background{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__controls{bottom:10px;left:10px;position:absolute;z-index:5}.react-flow__controls-button{border:none;height:24px;width:24px}.react-flow__controls-button svg{width:100%}.react-flow__minimap{bottom:10px;position:absolute;right:10px;z-index:5}\";\nstyleInject(css_248z$1);\n\nvar css_248z = \".react-flow__selection{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__edge.selected .react-flow__edge-path{stroke:#555}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-path{stroke:#b1b1b7;stroke-width:1}.react-flow__edge-text{font-size:10px}.react-flow__edge-textbg{fill:#fff}.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1}.react-flow__node{cursor:-webkit-grab;cursor:grab}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output{border-radius:3px;border-style:solid;border-width:1px;color:#222;font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:0 1px 4px 1px rgba(0,0,0,.08)}.react-flow__node-input{background:#fff;border-color:#0041d0}.react-flow__node-input.selected,.react-flow__node-input.selected:hover{box-shadow:0 0 0 .5px #0041d0}.react-flow__node-input .react-flow__handle{background:#0041d0}.react-flow__node-default{background:#fff;border-color:#1a192b}.react-flow__node-default.selected,.react-flow__node-default.selected:hover{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-default .react-flow__handle{background:#1a192b}.react-flow__node-output{background:#fff;border-color:#ff0072}.react-flow__node-output.selected,.react-flow__node-output.selected:hover{box-shadow:0 0 0 .5px #ff0072}.react-flow__node-output .react-flow__handle{background:#ff0072}.react-flow__nodesselection-rect{background:rgba(0,89,220,.08);border:1px dotted rgba(0,89,220,.8)}.react-flow__handle{background:#555;border:1px solid #fff;border-radius:100%;height:6px;position:absolute;width:6px}.react-flow__handle.connectable{cursor:crosshair}.react-flow__minimap{background-color:#fff}.react-flow__controls{box-shadow:0 0 2px 1px rgba(0,0,0,.08)}.react-flow__controls-button{align-items:center;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;cursor:pointer;display:flex;height:16px;justify-content:center;padding:5px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:16px}.react-flow__controls-button svg{max-height:12px;max-width:12px}.react-flow__controls-button:hover{background:#f4f4f4}\";\nstyleInject(css_248z);\n\nvar _excluded$1 = [\"elements\", \"className\", \"nodeTypes\", \"edgeTypes\", \"onElementClick\", \"onLoad\", \"onMove\", \"onMoveStart\", \"onMoveEnd\", \"onElementsRemove\", \"onConnect\", \"onConnectStart\", \"onConnectStop\", \"onConnectEnd\", \"onNodeMouseEnter\", \"onNodeMouseMove\", \"onNodeMouseLeave\", \"onNodeContextMenu\", \"onNodeDoubleClick\", \"onNodeDragStart\", \"onNodeDrag\", \"onNodeDragStop\", \"onSelectionChange\", \"onSelectionDragStart\", \"onSelectionDrag\", \"onSelectionDragStop\", \"onSelectionContextMenu\", \"connectionMode\", \"connectionLineType\", \"connectionLineStyle\", \"connectionLineComponent\", \"deleteKeyCode\", \"selectionKeyCode\", \"multiSelectionKeyCode\", \"zoomActivationKeyCode\", \"snapToGrid\", \"snapGrid\", \"onlyRenderVisibleElements\", \"selectNodesOnDrag\", \"nodesDraggable\", \"nodesConnectable\", \"elementsSelectable\", \"minZoom\", \"maxZoom\", \"defaultZoom\", \"defaultPosition\", \"translateExtent\", \"preventScrolling\", \"nodeExtent\", \"arrowHeadColor\", \"markerEndId\", \"zoomOnScroll\", \"zoomOnPinch\", \"panOnScroll\", \"panOnScrollSpeed\", \"panOnScrollMode\", \"zoomOnDoubleClick\", \"paneMoveable\", \"onPaneClick\", \"onPaneScroll\", \"onPaneContextMenu\", \"children\", \"onEdgeUpdate\", \"onEdgeContextMenu\", \"onEdgeDoubleClick\", \"onEdgeMouseEnter\", \"onEdgeMouseMove\", \"onEdgeMouseLeave\", \"onEdgeUpdateStart\", \"onEdgeUpdateEnd\", \"edgeUpdaterRadius\", \"nodeTypesId\", \"edgeTypesId\"];\n\nfunction ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar defaultNodeTypes = {\n  input: InputNode$1,\n  \"default\": DefaultNode$1,\n  output: OutputNode$1\n};\nvar defaultEdgeTypes = {\n  \"default\": BezierEdge,\n  straight: StraightEdge,\n  step: StepEdge,\n  smoothstep: SmoothStepEdge\n};\nvar ReactFlow = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(function (_ref, ref) {\n  var _ref$elements = _ref.elements,\n      elements = _ref$elements === void 0 ? [] : _ref$elements,\n      className = _ref.className,\n      _ref$nodeTypes = _ref.nodeTypes,\n      nodeTypes = _ref$nodeTypes === void 0 ? defaultNodeTypes : _ref$nodeTypes,\n      _ref$edgeTypes = _ref.edgeTypes,\n      edgeTypes = _ref$edgeTypes === void 0 ? defaultEdgeTypes : _ref$edgeTypes,\n      onElementClick = _ref.onElementClick,\n      onLoad = _ref.onLoad,\n      onMove = _ref.onMove,\n      onMoveStart = _ref.onMoveStart,\n      onMoveEnd = _ref.onMoveEnd,\n      onElementsRemove = _ref.onElementsRemove,\n      onConnect = _ref.onConnect,\n      onConnectStart = _ref.onConnectStart,\n      onConnectStop = _ref.onConnectStop,\n      onConnectEnd = _ref.onConnectEnd,\n      onNodeMouseEnter = _ref.onNodeMouseEnter,\n      onNodeMouseMove = _ref.onNodeMouseMove,\n      onNodeMouseLeave = _ref.onNodeMouseLeave,\n      onNodeContextMenu = _ref.onNodeContextMenu,\n      onNodeDoubleClick = _ref.onNodeDoubleClick,\n      onNodeDragStart = _ref.onNodeDragStart,\n      onNodeDrag = _ref.onNodeDrag,\n      onNodeDragStop = _ref.onNodeDragStop,\n      onSelectionChange = _ref.onSelectionChange,\n      onSelectionDragStart = _ref.onSelectionDragStart,\n      onSelectionDrag = _ref.onSelectionDrag,\n      onSelectionDragStop = _ref.onSelectionDragStop,\n      onSelectionContextMenu = _ref.onSelectionContextMenu,\n      _ref$connectionMode = _ref.connectionMode,\n      connectionMode = _ref$connectionMode === void 0 ? ConnectionMode.Strict : _ref$connectionMode,\n      _ref$connectionLineTy = _ref.connectionLineType,\n      connectionLineType = _ref$connectionLineTy === void 0 ? ConnectionLineType.Bezier : _ref$connectionLineTy,\n      connectionLineStyle = _ref.connectionLineStyle,\n      connectionLineComponent = _ref.connectionLineComponent,\n      _ref$deleteKeyCode = _ref.deleteKeyCode,\n      deleteKeyCode = _ref$deleteKeyCode === void 0 ? 'Backspace' : _ref$deleteKeyCode,\n      _ref$selectionKeyCode = _ref.selectionKeyCode,\n      selectionKeyCode = _ref$selectionKeyCode === void 0 ? 'Shift' : _ref$selectionKeyCode,\n      _ref$multiSelectionKe = _ref.multiSelectionKeyCode,\n      multiSelectionKeyCode = _ref$multiSelectionKe === void 0 ? 'Meta' : _ref$multiSelectionKe,\n      _ref$zoomActivationKe = _ref.zoomActivationKeyCode,\n      zoomActivationKeyCode = _ref$zoomActivationKe === void 0 ? 'Meta' : _ref$zoomActivationKe,\n      _ref$snapToGrid = _ref.snapToGrid,\n      snapToGrid = _ref$snapToGrid === void 0 ? false : _ref$snapToGrid,\n      _ref$snapGrid = _ref.snapGrid,\n      snapGrid = _ref$snapGrid === void 0 ? [15, 15] : _ref$snapGrid,\n      _ref$onlyRenderVisibl = _ref.onlyRenderVisibleElements,\n      onlyRenderVisibleElements = _ref$onlyRenderVisibl === void 0 ? false : _ref$onlyRenderVisibl,\n      _ref$selectNodesOnDra = _ref.selectNodesOnDrag,\n      selectNodesOnDrag = _ref$selectNodesOnDra === void 0 ? true : _ref$selectNodesOnDra,\n      nodesDraggable = _ref.nodesDraggable,\n      nodesConnectable = _ref.nodesConnectable,\n      elementsSelectable = _ref.elementsSelectable,\n      minZoom = _ref.minZoom,\n      maxZoom = _ref.maxZoom,\n      _ref$defaultZoom = _ref.defaultZoom,\n      defaultZoom = _ref$defaultZoom === void 0 ? 1 : _ref$defaultZoom,\n      _ref$defaultPosition = _ref.defaultPosition,\n      defaultPosition = _ref$defaultPosition === void 0 ? [0, 0] : _ref$defaultPosition,\n      translateExtent = _ref.translateExtent,\n      _ref$preventScrolling = _ref.preventScrolling,\n      preventScrolling = _ref$preventScrolling === void 0 ? true : _ref$preventScrolling,\n      nodeExtent = _ref.nodeExtent,\n      _ref$arrowHeadColor = _ref.arrowHeadColor,\n      arrowHeadColor = _ref$arrowHeadColor === void 0 ? '#b1b1b7' : _ref$arrowHeadColor,\n      markerEndId = _ref.markerEndId,\n      _ref$zoomOnScroll = _ref.zoomOnScroll,\n      zoomOnScroll = _ref$zoomOnScroll === void 0 ? true : _ref$zoomOnScroll,\n      _ref$zoomOnPinch = _ref.zoomOnPinch,\n      zoomOnPinch = _ref$zoomOnPinch === void 0 ? true : _ref$zoomOnPinch,\n      _ref$panOnScroll = _ref.panOnScroll,\n      panOnScroll = _ref$panOnScroll === void 0 ? false : _ref$panOnScroll,\n      _ref$panOnScrollSpeed = _ref.panOnScrollSpeed,\n      panOnScrollSpeed = _ref$panOnScrollSpeed === void 0 ? 0.5 : _ref$panOnScrollSpeed,\n      _ref$panOnScrollMode = _ref.panOnScrollMode,\n      panOnScrollMode = _ref$panOnScrollMode === void 0 ? PanOnScrollMode.Free : _ref$panOnScrollMode,\n      _ref$zoomOnDoubleClic = _ref.zoomOnDoubleClick,\n      zoomOnDoubleClick = _ref$zoomOnDoubleClic === void 0 ? true : _ref$zoomOnDoubleClic,\n      _ref$paneMoveable = _ref.paneMoveable,\n      paneMoveable = _ref$paneMoveable === void 0 ? true : _ref$paneMoveable,\n      onPaneClick = _ref.onPaneClick,\n      onPaneScroll = _ref.onPaneScroll,\n      onPaneContextMenu = _ref.onPaneContextMenu,\n      children = _ref.children,\n      onEdgeUpdate = _ref.onEdgeUpdate,\n      onEdgeContextMenu = _ref.onEdgeContextMenu,\n      onEdgeDoubleClick = _ref.onEdgeDoubleClick,\n      onEdgeMouseEnter = _ref.onEdgeMouseEnter,\n      onEdgeMouseMove = _ref.onEdgeMouseMove,\n      onEdgeMouseLeave = _ref.onEdgeMouseLeave,\n      onEdgeUpdateStart = _ref.onEdgeUpdateStart,\n      onEdgeUpdateEnd = _ref.onEdgeUpdateEnd,\n      _ref$edgeUpdaterRadiu = _ref.edgeUpdaterRadius,\n      edgeUpdaterRadius = _ref$edgeUpdaterRadiu === void 0 ? 10 : _ref$edgeUpdaterRadiu,\n      _ref$nodeTypesId = _ref.nodeTypesId,\n      nodeTypesId = _ref$nodeTypesId === void 0 ? '1' : _ref$nodeTypesId,\n      _ref$edgeTypesId = _ref.edgeTypesId,\n      edgeTypesId = _ref$edgeTypesId === void 0 ? '1' : _ref$edgeTypesId,\n      rest = _objectWithoutProperties(_ref, _excluded$1);\n\n  var nodeTypesParsed = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return createNodeTypes(nodeTypes);\n  }, [nodeTypesId]);\n  var edgeTypesParsed = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return createEdgeTypes(edgeTypes);\n  }, [edgeTypesId]);\n  var reactFlowClasses = cc(['react-flow', className]);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", _objectSpread$2(_objectSpread$2({}, rest), {}, {\n    ref: ref,\n    className: reactFlowClasses\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Wrapper, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(GraphView$1, {\n    onLoad: onLoad,\n    onMove: onMove,\n    onMoveStart: onMoveStart,\n    onMoveEnd: onMoveEnd,\n    onElementClick: onElementClick,\n    onNodeMouseEnter: onNodeMouseEnter,\n    onNodeMouseMove: onNodeMouseMove,\n    onNodeMouseLeave: onNodeMouseLeave,\n    onNodeContextMenu: onNodeContextMenu,\n    onNodeDoubleClick: onNodeDoubleClick,\n    onNodeDragStart: onNodeDragStart,\n    onNodeDrag: onNodeDrag,\n    onNodeDragStop: onNodeDragStop,\n    nodeTypes: nodeTypesParsed,\n    edgeTypes: edgeTypesParsed,\n    connectionMode: connectionMode,\n    connectionLineType: connectionLineType,\n    connectionLineStyle: connectionLineStyle,\n    connectionLineComponent: connectionLineComponent,\n    selectionKeyCode: selectionKeyCode,\n    onElementsRemove: onElementsRemove,\n    deleteKeyCode: deleteKeyCode,\n    multiSelectionKeyCode: multiSelectionKeyCode,\n    zoomActivationKeyCode: zoomActivationKeyCode,\n    onConnect: onConnect,\n    onConnectStart: onConnectStart,\n    onConnectStop: onConnectStop,\n    onConnectEnd: onConnectEnd,\n    snapToGrid: snapToGrid,\n    snapGrid: snapGrid,\n    onlyRenderVisibleElements: onlyRenderVisibleElements,\n    nodesDraggable: nodesDraggable,\n    nodesConnectable: nodesConnectable,\n    elementsSelectable: elementsSelectable,\n    selectNodesOnDrag: selectNodesOnDrag,\n    minZoom: minZoom,\n    maxZoom: maxZoom,\n    defaultZoom: defaultZoom,\n    defaultPosition: defaultPosition,\n    translateExtent: translateExtent,\n    preventScrolling: preventScrolling,\n    nodeExtent: nodeExtent,\n    arrowHeadColor: arrowHeadColor,\n    markerEndId: markerEndId,\n    zoomOnScroll: zoomOnScroll,\n    zoomOnPinch: zoomOnPinch,\n    zoomOnDoubleClick: zoomOnDoubleClick,\n    panOnScroll: panOnScroll,\n    panOnScrollSpeed: panOnScrollSpeed,\n    panOnScrollMode: panOnScrollMode,\n    paneMoveable: paneMoveable,\n    onPaneClick: onPaneClick,\n    onPaneScroll: onPaneScroll,\n    onPaneContextMenu: onPaneContextMenu,\n    onSelectionDragStart: onSelectionDragStart,\n    onSelectionDrag: onSelectionDrag,\n    onSelectionDragStop: onSelectionDragStop,\n    onSelectionContextMenu: onSelectionContextMenu,\n    onEdgeUpdate: onEdgeUpdate,\n    onEdgeContextMenu: onEdgeContextMenu,\n    onEdgeDoubleClick: onEdgeDoubleClick,\n    onEdgeMouseEnter: onEdgeMouseEnter,\n    onEdgeMouseMove: onEdgeMouseMove,\n    onEdgeMouseLeave: onEdgeMouseLeave,\n    onEdgeUpdateStart: onEdgeUpdateStart,\n    onEdgeUpdateEnd: onEdgeUpdateEnd,\n    edgeUpdaterRadius: edgeUpdaterRadius\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ElementUpdater, {\n    elements: elements\n  }), onSelectionChange && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SelectionListener, {\n    onSelectionChange: onSelectionChange\n  }), children));\n});\nReactFlow.displayName = 'ReactFlow';\n\nfunction useUpdateNodeInternals() {\n  var updateNodeDimensions = useStoreActions(function (actions) {\n    return actions.updateNodeDimensions;\n  });\n  return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (id) {\n    var nodeElement = document.querySelector(\".react-flow__node[data-id=\\\"\".concat(id, \"\\\"]\"));\n\n    if (nodeElement) {\n      updateNodeDimensions([{\n        id: id,\n        nodeElement: nodeElement,\n        forceUpdate: true\n      }]);\n    }\n  }, []);\n}\n\nvar MiniMapNode = function MiniMapNode(_ref) {\n  var x = _ref.x,\n      y = _ref.y,\n      width = _ref.width,\n      height = _ref.height,\n      style = _ref.style,\n      color = _ref.color,\n      strokeColor = _ref.strokeColor,\n      strokeWidth = _ref.strokeWidth,\n      className = _ref.className,\n      borderRadius = _ref.borderRadius,\n      shapeRendering = _ref.shapeRendering;\n\n  var _ref2 = style || {},\n      background = _ref2.background,\n      backgroundColor = _ref2.backgroundColor;\n\n  var fill = color || background || backgroundColor;\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    className: cc(['react-flow__minimap-node', className]),\n    x: x,\n    y: y,\n    rx: borderRadius,\n    ry: borderRadius,\n    width: width,\n    height: height,\n    fill: fill,\n    stroke: strokeColor,\n    strokeWidth: strokeWidth,\n    shapeRendering: shapeRendering\n  });\n};\n\nMiniMapNode.displayName = 'MiniMapNode';\nvar MiniMapNode$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(MiniMapNode);\n\nvar defaultWidth = 200;\nvar defaultHeight = 150;\n\nvar MiniMap = function MiniMap(_ref) {\n  var style = _ref.style,\n      className = _ref.className,\n      _ref$nodeStrokeColor = _ref.nodeStrokeColor,\n      nodeStrokeColor = _ref$nodeStrokeColor === void 0 ? '#555' : _ref$nodeStrokeColor,\n      _ref$nodeColor = _ref.nodeColor,\n      nodeColor = _ref$nodeColor === void 0 ? '#fff' : _ref$nodeColor,\n      _ref$nodeClassName = _ref.nodeClassName,\n      nodeClassName = _ref$nodeClassName === void 0 ? '' : _ref$nodeClassName,\n      _ref$nodeBorderRadius = _ref.nodeBorderRadius,\n      nodeBorderRadius = _ref$nodeBorderRadius === void 0 ? 5 : _ref$nodeBorderRadius,\n      _ref$nodeStrokeWidth = _ref.nodeStrokeWidth,\n      nodeStrokeWidth = _ref$nodeStrokeWidth === void 0 ? 2 : _ref$nodeStrokeWidth,\n      _ref$maskColor = _ref.maskColor,\n      maskColor = _ref$maskColor === void 0 ? 'rgb(240, 242, 243, 0.7)' : _ref$maskColor;\n  var containerWidth = useStoreState(function (s) {\n    return s.width;\n  });\n  var containerHeight = useStoreState(function (s) {\n    return s.height;\n  });\n\n  var _useStoreState = useStoreState(function (s) {\n    return s.transform;\n  }),\n      _useStoreState2 = _slicedToArray$1(_useStoreState, 3),\n      tX = _useStoreState2[0],\n      tY = _useStoreState2[1],\n      tScale = _useStoreState2[2];\n\n  var nodes = useStoreState(function (s) {\n    return s.nodes;\n  });\n  var mapClasses = cc(['react-flow__minimap', className]);\n  var elementWidth = (style === null || style === void 0 ? void 0 : style.width) || defaultWidth;\n  var elementHeight = (style === null || style === void 0 ? void 0 : style.height) || defaultHeight;\n  var nodeColorFunc = nodeColor instanceof Function ? nodeColor : function () {\n    return nodeColor;\n  };\n  var nodeStrokeColorFunc = nodeStrokeColor instanceof Function ? nodeStrokeColor : function () {\n    return nodeStrokeColor;\n  };\n  var nodeClassNameFunc = nodeClassName instanceof Function ? nodeClassName : function () {\n    return nodeClassName;\n  };\n  var hasNodes = nodes && nodes.length;\n  var bb = getRectOfNodes(nodes);\n  var viewBB = {\n    x: -tX / tScale,\n    y: -tY / tScale,\n    width: containerWidth / tScale,\n    height: containerHeight / tScale\n  };\n  var boundingRect = hasNodes ? getBoundsofRects(bb, viewBB) : viewBB;\n  var scaledWidth = boundingRect.width / elementWidth;\n  var scaledHeight = boundingRect.height / elementHeight;\n  var viewScale = Math.max(scaledWidth, scaledHeight);\n  var viewWidth = viewScale * elementWidth;\n  var viewHeight = viewScale * elementHeight;\n  var offset = 5 * viewScale;\n  var x = boundingRect.x - (viewWidth - boundingRect.width) / 2 - offset;\n  var y = boundingRect.y - (viewHeight - boundingRect.height) / 2 - offset;\n  var width = viewWidth + offset * 2;\n  var height = viewHeight + offset * 2;\n  var shapeRendering = typeof window === \"undefined\" || !!window.chrome ? \"crispEdges\" : \"geometricPrecision\";\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    width: elementWidth,\n    height: elementHeight,\n    viewBox: \"\".concat(x, \" \").concat(y, \" \").concat(width, \" \").concat(height),\n    style: style,\n    className: mapClasses\n  }, nodes.filter(function (node) {\n    return !node.isHidden;\n  }).map(function (node) {\n    return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(MiniMapNode$1, {\n      key: node.id,\n      x: node.__rf.position.x,\n      y: node.__rf.position.y,\n      width: node.__rf.width,\n      height: node.__rf.height,\n      style: node.style,\n      className: nodeClassNameFunc(node),\n      color: nodeColorFunc(node),\n      borderRadius: nodeBorderRadius,\n      strokeColor: nodeStrokeColorFunc(node),\n      strokeWidth: nodeStrokeWidth,\n      shapeRendering: shapeRendering\n    });\n  }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    className: \"react-flow__minimap-mask\",\n    d: \"M\".concat(x - offset, \",\").concat(y - offset, \"h\").concat(width + offset * 2, \"v\").concat(height + offset * 2, \"h\").concat(-width - offset * 2, \"z\\n        M\").concat(viewBB.x, \",\").concat(viewBB.y, \"h\").concat(viewBB.width, \"v\").concat(viewBB.height, \"h\").concat(-viewBB.width, \"z\"),\n    fill: maskColor,\n    fillRule: \"evenodd\"\n  }));\n};\n\nMiniMap.displayName = 'MiniMap';\nvar index$2 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(MiniMap);\n\nvar _path$4;\n\nfunction _extends$4() { _extends$4 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }\n\nvar SvgPlus = function SvgPlus(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"svg\", _extends$4({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 32 32\"\n  }, props), _path$4 || (_path$4 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"path\", {\n    d: \"M32 18.133H18.133V32h-4.266V18.133H0v-4.266h13.867V0h4.266v13.867H32z\"\n  })));\n};\n\nvar _path$3;\n\nfunction _extends$3() { _extends$3 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }\n\nvar SvgMinus = function SvgMinus(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"svg\", _extends$3({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 32 5\"\n  }, props), _path$3 || (_path$3 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"path\", {\n    d: \"M0 0h32v4.2H0z\"\n  })));\n};\n\nvar _path$2;\n\nfunction _extends$2() { _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }\n\nvar SvgFitview = function SvgFitview(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"svg\", _extends$2({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 32 30\"\n  }, props), _path$2 || (_path$2 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"path\", {\n    d: \"M3.692 4.63c0-.53.4-.938.939-.938h5.215V0H4.708C2.13 0 0 2.054 0 4.63v5.216h3.692V4.631zM27.354 0h-5.2v3.692h5.17c.53 0 .984.4.984.939v5.215H32V4.631A4.624 4.624 0 0 0 27.354 0zm.954 24.83c0 .532-.4.94-.939.94h-5.215v3.768h5.215c2.577 0 4.631-2.13 4.631-4.707v-5.139h-3.692v5.139zm-23.677.94a.919.919 0 0 1-.939-.94v-5.138H0v5.139c0 2.577 2.13 4.707 4.708 4.707h5.138V25.77H4.631z\"\n  })));\n};\n\nvar _path$1;\n\nfunction _extends$1() { _extends$1 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$1.apply(this, arguments); }\n\nvar SvgLock = function SvgLock(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"svg\", _extends$1({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 25 32\"\n  }, props), _path$1 || (_path$1 = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"path\", {\n    d: \"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0 8 0 4.571 3.429 4.571 7.619v3.048H3.048A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047zm4.724-13.866H7.467V7.619c0-2.59 2.133-4.724 4.723-4.724 2.591 0 4.724 2.133 4.724 4.724v3.048z\"\n  })));\n};\n\nvar _path;\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar SvgUnlock = function SvgUnlock(props) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"svg\", _extends({\n    xmlns: \"http://www.w3.org/2000/svg\",\n    viewBox: \"0 0 25 32\"\n  }, props), _path || (_path = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"path\", {\n    d: \"M21.333 10.667H19.81V7.619C19.81 3.429 16.38 0 12.19 0c-4.114 1.828-1.37 2.133.305 2.438 1.676.305 4.42 2.59 4.42 5.181v3.048H3.047A3.056 3.056 0 0 0 0 13.714v15.238A3.056 3.056 0 0 0 3.048 32h18.285a3.056 3.056 0 0 0 3.048-3.048V13.714a3.056 3.056 0 0 0-3.048-3.047zM12.19 24.533a3.056 3.056 0 0 1-3.047-3.047 3.056 3.056 0 0 1 3.047-3.048 3.056 3.056 0 0 1 3.048 3.048 3.056 3.056 0 0 1-3.048 3.047z\"\n  })));\n};\n\nvar _excluded = [\"children\", \"className\"];\n\nfunction ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar ControlButton = function ControlButton(_ref) {\n  var children = _ref.children,\n      className = _ref.className,\n      rest = _objectWithoutProperties(_ref, _excluded);\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"button\", _objectSpread$1({\n    type: \"button\",\n    className: cc(['react-flow__controls-button', className])\n  }, rest), children);\n};\n\nvar Controls = function Controls(_ref2) {\n  var style = _ref2.style,\n      _ref2$showZoom = _ref2.showZoom,\n      showZoom = _ref2$showZoom === void 0 ? true : _ref2$showZoom,\n      _ref2$showFitView = _ref2.showFitView,\n      showFitView = _ref2$showFitView === void 0 ? true : _ref2$showFitView,\n      _ref2$showInteractive = _ref2.showInteractive,\n      showInteractive = _ref2$showInteractive === void 0 ? true : _ref2$showInteractive,\n      fitViewParams = _ref2.fitViewParams,\n      onZoomIn = _ref2.onZoomIn,\n      onZoomOut = _ref2.onZoomOut,\n      onFitView = _ref2.onFitView,\n      onInteractiveChange = _ref2.onInteractiveChange,\n      className = _ref2.className,\n      children = _ref2.children;\n\n  var _useState = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false),\n      _useState2 = _slicedToArray$1(_useState, 2),\n      isVisible = _useState2[0],\n      setIsVisible = _useState2[1];\n\n  var setInteractive = useStoreActions(function (actions) {\n    return actions.setInteractive;\n  });\n\n  var _useZoomPanHelper = useZoomPanHelper(),\n      zoomIn = _useZoomPanHelper.zoomIn,\n      zoomOut = _useZoomPanHelper.zoomOut,\n      fitView = _useZoomPanHelper.fitView;\n\n  var isInteractive = useStoreState(function (s) {\n    return s.nodesDraggable && s.nodesConnectable && s.elementsSelectable;\n  });\n  var mapClasses = cc(['react-flow__controls', className]);\n  var onZoomInHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    zoomIn === null || zoomIn === void 0 ? void 0 : zoomIn();\n    onZoomIn === null || onZoomIn === void 0 ? void 0 : onZoomIn();\n  }, [zoomIn, onZoomIn]);\n  var onZoomOutHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    zoomOut === null || zoomOut === void 0 ? void 0 : zoomOut();\n    onZoomOut === null || onZoomOut === void 0 ? void 0 : onZoomOut();\n  }, [zoomOut, onZoomOut]);\n  var onFitViewHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    fitView === null || fitView === void 0 ? void 0 : fitView(fitViewParams);\n    onFitView === null || onFitView === void 0 ? void 0 : onFitView();\n  }, [fitView, fitViewParams, onFitView]);\n  var onInteractiveChangeHandler = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function () {\n    setInteractive === null || setInteractive === void 0 ? void 0 : setInteractive(!isInteractive);\n    onInteractiveChange === null || onInteractiveChange === void 0 ? void 0 : onInteractiveChange(!isInteractive);\n  }, [isInteractive, setInteractive, onInteractiveChange]);\n  (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(function () {\n    setIsVisible(true);\n  }, []);\n\n  if (!isVisible) {\n    return null;\n  }\n\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"div\", {\n    className: mapClasses,\n    style: style\n  }, showZoom && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ControlButton, {\n    onClick: onZoomInHandler,\n    className: \"react-flow__controls-zoomin\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SvgPlus, null)), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ControlButton, {\n    onClick: onZoomOutHandler,\n    className: \"react-flow__controls-zoomout\"\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SvgMinus, null))), showFitView && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ControlButton, {\n    className: \"react-flow__controls-fitview\",\n    onClick: onFitViewHandler\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SvgFitview, null)), showInteractive && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(ControlButton, {\n    className: \"react-flow__controls-interactive\",\n    onClick: onInteractiveChangeHandler\n  }, isInteractive ? /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SvgUnlock, null) : /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(SvgLock, null)), children);\n};\n\nControls.displayName = 'Controls';\nvar index$1 = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(Controls);\n\nvar createGridLinesPath = function createGridLinesPath(size, strokeWidth, stroke) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"path\", {\n    stroke: stroke,\n    strokeWidth: strokeWidth,\n    d: \"M\".concat(size / 2, \" 0 V\").concat(size, \" M0 \").concat(size / 2, \" H\").concat(size)\n  });\n};\nvar createGridDotsPath = function createGridDotsPath(size, fill) {\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"circle\", {\n    cx: size,\n    cy: size,\n    r: size,\n    fill: fill\n  });\n};\n\nvar _defaultColors;\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\nvar defaultColors = (_defaultColors = {}, _defineProperty$2(_defaultColors, BackgroundVariant.Dots, '#81818a'), _defineProperty$2(_defaultColors, BackgroundVariant.Lines, '#eee'), _defaultColors);\n\nvar Background = function Background(_ref) {\n  var _ref$variant = _ref.variant,\n      variant = _ref$variant === void 0 ? BackgroundVariant.Dots : _ref$variant,\n      _ref$gap = _ref.gap,\n      gap = _ref$gap === void 0 ? 15 : _ref$gap,\n      _ref$size = _ref.size,\n      size = _ref$size === void 0 ? 0.4 : _ref$size,\n      color = _ref.color,\n      style = _ref.style,\n      className = _ref.className;\n\n  var _useStoreState = useStoreState(function (s) {\n    return s.transform;\n  }),\n      _useStoreState2 = _slicedToArray$1(_useStoreState, 3),\n      x = _useStoreState2[0],\n      y = _useStoreState2[1],\n      scale = _useStoreState2[2]; // when there are multiple flows on a page we need to make sure that every background gets its own pattern.\n\n\n  var patternId = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return \"pattern-\".concat(Math.floor(Math.random() * 100000));\n  }, []);\n  var bgClasses = cc(['react-flow__background', className]);\n  var scaledGap = gap * scale;\n  var xOffset = x % scaledGap;\n  var yOffset = y % scaledGap;\n  var isLines = variant === BackgroundVariant.Lines;\n  var bgColor = color ? color : defaultColors[variant];\n  var path = isLines ? createGridLinesPath(scaledGap, size, bgColor) : createGridDotsPath(size * scale, bgColor);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"svg\", {\n    className: bgClasses,\n    style: _objectSpread(_objectSpread({}, style), {}, {\n      width: '100%',\n      height: '100%'\n    })\n  }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"pattern\", {\n    id: patternId,\n    x: xOffset,\n    y: yOffset,\n    width: scaledGap,\n    height: scaledGap,\n    patternUnits: \"userSpaceOnUse\"\n  }, path), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(\"rect\", {\n    x: \"0\",\n    y: \"0\",\n    width: \"100%\",\n    height: \"100%\",\n    fill: \"url(#\".concat(patternId, \")\")\n  }));\n};\n\nBackground.displayName = 'Background';\nvar index = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.memo)(Background);\n\nvar ReactFlowProvider = function ReactFlowProvider(_ref) {\n  var children = _ref.children;\n  var store = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(function () {\n    return configureStore(initialState);\n  }, []);\n  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Provider$1, {\n    store: store\n  }, children);\n};\n\nReactFlowProvider.displayName = 'ReactFlowProvider';\n\n\n//# sourceMappingURL=ReactFlow.esm.js.map\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/react-flow-renderer/dist/ReactFlow.esm.js?");

/***/ }),

/***/ 82504:
/*!*****************************************************************************!*\
  !*** ../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\r\n/* eslint-disable require-jsdoc, valid-jsdoc */\r\nvar MapShim = (function () {\r\n    if (typeof Map !== 'undefined') {\r\n        return Map;\r\n    }\r\n    /**\r\n     * Returns index in provided array that matches the specified key.\r\n     *\r\n     * @param {Array<Array>} arr\r\n     * @param {*} key\r\n     * @returns {number}\r\n     */\r\n    function getIndex(arr, key) {\r\n        var result = -1;\r\n        arr.some(function (entry, index) {\r\n            if (entry[0] === key) {\r\n                result = index;\r\n                return true;\r\n            }\r\n            return false;\r\n        });\r\n        return result;\r\n    }\r\n    return /** @class */ (function () {\r\n        function class_1() {\r\n            this.__entries__ = [];\r\n        }\r\n        Object.defineProperty(class_1.prototype, \"size\", {\r\n            /**\r\n             * @returns {boolean}\r\n             */\r\n            get: function () {\r\n                return this.__entries__.length;\r\n            },\r\n            enumerable: true,\r\n            configurable: true\r\n        });\r\n        /**\r\n         * @param {*} key\r\n         * @returns {*}\r\n         */\r\n        class_1.prototype.get = function (key) {\r\n            var index = getIndex(this.__entries__, key);\r\n            var entry = this.__entries__[index];\r\n            return entry && entry[1];\r\n        };\r\n        /**\r\n         * @param {*} key\r\n         * @param {*} value\r\n         * @returns {void}\r\n         */\r\n        class_1.prototype.set = function (key, value) {\r\n            var index = getIndex(this.__entries__, key);\r\n            if (~index) {\r\n                this.__entries__[index][1] = value;\r\n            }\r\n            else {\r\n                this.__entries__.push([key, value]);\r\n            }\r\n        };\r\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\r\n        class_1.prototype.delete = function (key) {\r\n            var entries = this.__entries__;\r\n            var index = getIndex(entries, key);\r\n            if (~index) {\r\n                entries.splice(index, 1);\r\n            }\r\n        };\r\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\r\n        class_1.prototype.has = function (key) {\r\n            return !!~getIndex(this.__entries__, key);\r\n        };\r\n        /**\r\n         * @returns {void}\r\n         */\r\n        class_1.prototype.clear = function () {\r\n            this.__entries__.splice(0);\r\n        };\r\n        /**\r\n         * @param {Function} callback\r\n         * @param {*} [ctx=null]\r\n         * @returns {void}\r\n         */\r\n        class_1.prototype.forEach = function (callback, ctx) {\r\n            if (ctx === void 0) { ctx = null; }\r\n            for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {\r\n                var entry = _a[_i];\r\n                callback.call(ctx, entry[1], entry[0]);\r\n            }\r\n        };\r\n        return class_1;\r\n    }());\r\n})();\n\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\r\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\n// Returns global object of a current environment.\r\nvar global$1 = (function () {\r\n    if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.Math === Math) {\r\n        return __webpack_require__.g;\r\n    }\r\n    if (typeof self !== 'undefined' && self.Math === Math) {\r\n        return self;\r\n    }\r\n    if (typeof window !== 'undefined' && window.Math === Math) {\r\n        return window;\r\n    }\r\n    // eslint-disable-next-line no-new-func\r\n    return Function('return this')();\r\n})();\n\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\r\nvar requestAnimationFrame$1 = (function () {\r\n    if (typeof requestAnimationFrame === 'function') {\r\n        // It's required to use a bounded function because IE sometimes throws\r\n        // an \"Invalid calling object\" error if rAF is invoked without the global\r\n        // object on the left hand side.\r\n        return requestAnimationFrame.bind(global$1);\r\n    }\r\n    return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\r\n})();\n\n// Defines minimum timeout before adding a trailing call.\r\nvar trailingTimeout = 2;\r\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\r\nfunction throttle (callback, delay) {\r\n    var leadingCall = false, trailingCall = false, lastCallTime = 0;\r\n    /**\r\n     * Invokes the original callback function and schedules new invocation if\r\n     * the \"proxy\" was called during current request.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function resolvePending() {\r\n        if (leadingCall) {\r\n            leadingCall = false;\r\n            callback();\r\n        }\r\n        if (trailingCall) {\r\n            proxy();\r\n        }\r\n    }\r\n    /**\r\n     * Callback invoked after the specified delay. It will further postpone\r\n     * invocation of the original function delegating it to the\r\n     * requestAnimationFrame.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function timeoutCallback() {\r\n        requestAnimationFrame$1(resolvePending);\r\n    }\r\n    /**\r\n     * Schedules invocation of the original function.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function proxy() {\r\n        var timeStamp = Date.now();\r\n        if (leadingCall) {\r\n            // Reject immediately following calls.\r\n            if (timeStamp - lastCallTime < trailingTimeout) {\r\n                return;\r\n            }\r\n            // Schedule new call to be in invoked when the pending one is resolved.\r\n            // This is important for \"transitions\" which never actually start\r\n            // immediately so there is a chance that we might miss one if change\r\n            // happens amids the pending invocation.\r\n            trailingCall = true;\r\n        }\r\n        else {\r\n            leadingCall = true;\r\n            trailingCall = false;\r\n            setTimeout(timeoutCallback, delay);\r\n        }\r\n        lastCallTime = timeStamp;\r\n    }\r\n    return proxy;\r\n}\n\n// Minimum delay before invoking the update of observers.\r\nvar REFRESH_DELAY = 20;\r\n// A list of substrings of CSS properties used to find transition events that\r\n// might affect dimensions of observed elements.\r\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\r\n// Check if MutationObserver is available.\r\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\r\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\r\nvar ResizeObserverController = /** @class */ (function () {\r\n    /**\r\n     * Creates a new instance of ResizeObserverController.\r\n     *\r\n     * @private\r\n     */\r\n    function ResizeObserverController() {\r\n        /**\r\n         * Indicates whether DOM listeners have been added.\r\n         *\r\n         * @private {boolean}\r\n         */\r\n        this.connected_ = false;\r\n        /**\r\n         * Tells that controller has subscribed for Mutation Events.\r\n         *\r\n         * @private {boolean}\r\n         */\r\n        this.mutationEventsAdded_ = false;\r\n        /**\r\n         * Keeps reference to the instance of MutationObserver.\r\n         *\r\n         * @private {MutationObserver}\r\n         */\r\n        this.mutationsObserver_ = null;\r\n        /**\r\n         * A list of connected observers.\r\n         *\r\n         * @private {Array<ResizeObserverSPI>}\r\n         */\r\n        this.observers_ = [];\r\n        this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\r\n        this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\r\n    }\r\n    /**\r\n     * Adds observer to observers list.\r\n     *\r\n     * @param {ResizeObserverSPI} observer - Observer to be added.\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.addObserver = function (observer) {\r\n        if (!~this.observers_.indexOf(observer)) {\r\n            this.observers_.push(observer);\r\n        }\r\n        // Add listeners if they haven't been added yet.\r\n        if (!this.connected_) {\r\n            this.connect_();\r\n        }\r\n    };\r\n    /**\r\n     * Removes observer from observers list.\r\n     *\r\n     * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.removeObserver = function (observer) {\r\n        var observers = this.observers_;\r\n        var index = observers.indexOf(observer);\r\n        // Remove observer if it's present in registry.\r\n        if (~index) {\r\n            observers.splice(index, 1);\r\n        }\r\n        // Remove listeners if controller has no connected observers.\r\n        if (!observers.length && this.connected_) {\r\n            this.disconnect_();\r\n        }\r\n    };\r\n    /**\r\n     * Invokes the update of observers. It will continue running updates insofar\r\n     * it detects changes.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.refresh = function () {\r\n        var changesDetected = this.updateObservers_();\r\n        // Continue running updates if changes have been detected as there might\r\n        // be future ones caused by CSS transitions.\r\n        if (changesDetected) {\r\n            this.refresh();\r\n        }\r\n    };\r\n    /**\r\n     * Updates every observer from observers list and notifies them of queued\r\n     * entries.\r\n     *\r\n     * @private\r\n     * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n     *      dimensions of it's elements.\r\n     */\r\n    ResizeObserverController.prototype.updateObservers_ = function () {\r\n        // Collect observers that have active observations.\r\n        var activeObservers = this.observers_.filter(function (observer) {\r\n            return observer.gatherActive(), observer.hasActive();\r\n        });\r\n        // Deliver notifications in a separate cycle in order to avoid any\r\n        // collisions between observers, e.g. when multiple instances of\r\n        // ResizeObserver are tracking the same element and the callback of one\r\n        // of them changes content dimensions of the observed target. Sometimes\r\n        // this may result in notifications being blocked for the rest of observers.\r\n        activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\r\n        return activeObservers.length > 0;\r\n    };\r\n    /**\r\n     * Initializes DOM listeners.\r\n     *\r\n     * @private\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.connect_ = function () {\r\n        // Do nothing if running in a non-browser environment or if listeners\r\n        // have been already added.\r\n        if (!isBrowser || this.connected_) {\r\n            return;\r\n        }\r\n        // Subscription to the \"Transitionend\" event is used as a workaround for\r\n        // delayed transitions. This way it's possible to capture at least the\r\n        // final state of an element.\r\n        document.addEventListener('transitionend', this.onTransitionEnd_);\r\n        window.addEventListener('resize', this.refresh);\r\n        if (mutationObserverSupported) {\r\n            this.mutationsObserver_ = new MutationObserver(this.refresh);\r\n            this.mutationsObserver_.observe(document, {\r\n                attributes: true,\r\n                childList: true,\r\n                characterData: true,\r\n                subtree: true\r\n            });\r\n        }\r\n        else {\r\n            document.addEventListener('DOMSubtreeModified', this.refresh);\r\n            this.mutationEventsAdded_ = true;\r\n        }\r\n        this.connected_ = true;\r\n    };\r\n    /**\r\n     * Removes DOM listeners.\r\n     *\r\n     * @private\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.disconnect_ = function () {\r\n        // Do nothing if running in a non-browser environment or if listeners\r\n        // have been already removed.\r\n        if (!isBrowser || !this.connected_) {\r\n            return;\r\n        }\r\n        document.removeEventListener('transitionend', this.onTransitionEnd_);\r\n        window.removeEventListener('resize', this.refresh);\r\n        if (this.mutationsObserver_) {\r\n            this.mutationsObserver_.disconnect();\r\n        }\r\n        if (this.mutationEventsAdded_) {\r\n            document.removeEventListener('DOMSubtreeModified', this.refresh);\r\n        }\r\n        this.mutationsObserver_ = null;\r\n        this.mutationEventsAdded_ = false;\r\n        this.connected_ = false;\r\n    };\r\n    /**\r\n     * \"Transitionend\" event handler.\r\n     *\r\n     * @private\r\n     * @param {TransitionEvent} event\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {\r\n        var _b = _a.propertyName, propertyName = _b === void 0 ? '' : _b;\r\n        // Detect whether transition may affect dimensions of an element.\r\n        var isReflowProperty = transitionKeys.some(function (key) {\r\n            return !!~propertyName.indexOf(key);\r\n        });\r\n        if (isReflowProperty) {\r\n            this.refresh();\r\n        }\r\n    };\r\n    /**\r\n     * Returns instance of the ResizeObserverController.\r\n     *\r\n     * @returns {ResizeObserverController}\r\n     */\r\n    ResizeObserverController.getInstance = function () {\r\n        if (!this.instance_) {\r\n            this.instance_ = new ResizeObserverController();\r\n        }\r\n        return this.instance_;\r\n    };\r\n    /**\r\n     * Holds reference to the controller's instance.\r\n     *\r\n     * @private {ResizeObserverController}\r\n     */\r\n    ResizeObserverController.instance_ = null;\r\n    return ResizeObserverController;\r\n}());\n\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\r\nvar defineConfigurable = (function (target, props) {\r\n    for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\r\n        var key = _a[_i];\r\n        Object.defineProperty(target, key, {\r\n            value: props[key],\r\n            enumerable: false,\r\n            writable: false,\r\n            configurable: true\r\n        });\r\n    }\r\n    return target;\r\n});\n\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\r\nvar getWindowOf = (function (target) {\r\n    // Assume that the element is an instance of Node, which means that it\r\n    // has the \"ownerDocument\" property from which we can retrieve a\r\n    // corresponding global object.\r\n    var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\r\n    // Return the local global object if it's not possible extract one from\r\n    // provided element.\r\n    return ownerGlobal || global$1;\r\n});\n\n// Placeholder of an empty content rectangle.\r\nvar emptyRect = createRectInit(0, 0, 0, 0);\r\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\r\nfunction toFloat(value) {\r\n    return parseFloat(value) || 0;\r\n}\r\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\r\nfunction getBordersSize(styles) {\r\n    var positions = [];\r\n    for (var _i = 1; _i < arguments.length; _i++) {\r\n        positions[_i - 1] = arguments[_i];\r\n    }\r\n    return positions.reduce(function (size, position) {\r\n        var value = styles['border-' + position + '-width'];\r\n        return size + toFloat(value);\r\n    }, 0);\r\n}\r\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\r\nfunction getPaddings(styles) {\r\n    var positions = ['top', 'right', 'bottom', 'left'];\r\n    var paddings = {};\r\n    for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {\r\n        var position = positions_1[_i];\r\n        var value = styles['padding-' + position];\r\n        paddings[position] = toFloat(value);\r\n    }\r\n    return paddings;\r\n}\r\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n *      to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getSVGContentRect(target) {\r\n    var bbox = target.getBBox();\r\n    return createRectInit(0, 0, bbox.width, bbox.height);\r\n}\r\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getHTMLElementContentRect(target) {\r\n    // Client width & height properties can't be\r\n    // used exclusively as they provide rounded values.\r\n    var clientWidth = target.clientWidth, clientHeight = target.clientHeight;\r\n    // By this condition we can catch all non-replaced inline, hidden and\r\n    // detached elements. Though elements with width & height properties less\r\n    // than 0.5 will be discarded as well.\r\n    //\r\n    // Without it we would need to implement separate methods for each of\r\n    // those cases and it's not possible to perform a precise and performance\r\n    // effective test for hidden elements. E.g. even jQuery's ':visible' filter\r\n    // gives wrong results for elements with width & height less than 0.5.\r\n    if (!clientWidth && !clientHeight) {\r\n        return emptyRect;\r\n    }\r\n    var styles = getWindowOf(target).getComputedStyle(target);\r\n    var paddings = getPaddings(styles);\r\n    var horizPad = paddings.left + paddings.right;\r\n    var vertPad = paddings.top + paddings.bottom;\r\n    // Computed styles of width & height are being used because they are the\r\n    // only dimensions available to JS that contain non-rounded values. It could\r\n    // be possible to utilize the getBoundingClientRect if only it's data wasn't\r\n    // affected by CSS transformations let alone paddings, borders and scroll bars.\r\n    var width = toFloat(styles.width), height = toFloat(styles.height);\r\n    // Width & height include paddings and borders when the 'border-box' box\r\n    // model is applied (except for IE).\r\n    if (styles.boxSizing === 'border-box') {\r\n        // Following conditions are required to handle Internet Explorer which\r\n        // doesn't include paddings and borders to computed CSS dimensions.\r\n        //\r\n        // We can say that if CSS dimensions + paddings are equal to the \"client\"\r\n        // properties then it's either IE, and thus we don't need to subtract\r\n        // anything, or an element merely doesn't have paddings/borders styles.\r\n        if (Math.round(width + horizPad) !== clientWidth) {\r\n            width -= getBordersSize(styles, 'left', 'right') + horizPad;\r\n        }\r\n        if (Math.round(height + vertPad) !== clientHeight) {\r\n            height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\r\n        }\r\n    }\r\n    // Following steps can't be applied to the document's root element as its\r\n    // client[Width/Height] properties represent viewport area of the window.\r\n    // Besides, it's as well not necessary as the <html> itself neither has\r\n    // rendered scroll bars nor it can be clipped.\r\n    if (!isDocumentElement(target)) {\r\n        // In some browsers (only in Firefox, actually) CSS width & height\r\n        // include scroll bars size which can be removed at this step as scroll\r\n        // bars are the only difference between rounded dimensions + paddings\r\n        // and \"client\" properties, though that is not always true in Chrome.\r\n        var vertScrollbar = Math.round(width + horizPad) - clientWidth;\r\n        var horizScrollbar = Math.round(height + vertPad) - clientHeight;\r\n        // Chrome has a rather weird rounding of \"client\" properties.\r\n        // E.g. for an element with content width of 314.2px it sometimes gives\r\n        // the client width of 315px and for the width of 314.7px it may give\r\n        // 314px. And it doesn't happen all the time. So just ignore this delta\r\n        // as a non-relevant.\r\n        if (Math.abs(vertScrollbar) !== 1) {\r\n            width -= vertScrollbar;\r\n        }\r\n        if (Math.abs(horizScrollbar) !== 1) {\r\n            height -= horizScrollbar;\r\n        }\r\n    }\r\n    return createRectInit(paddings.left, paddings.top, width, height);\r\n}\r\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nvar isSVGGraphicsElement = (function () {\r\n    // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\r\n    // interface.\r\n    if (typeof SVGGraphicsElement !== 'undefined') {\r\n        return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\r\n    }\r\n    // If it's so, then check that element is at least an instance of the\r\n    // SVGElement and that it has the \"getBBox\" method.\r\n    // eslint-disable-next-line no-extra-parens\r\n    return function (target) { return (target instanceof getWindowOf(target).SVGElement &&\r\n        typeof target.getBBox === 'function'); };\r\n})();\r\n/**\r\n * Checks whether provided element is a document element (<html>).\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nfunction isDocumentElement(target) {\r\n    return target === getWindowOf(target).document.documentElement;\r\n}\r\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getContentRect(target) {\r\n    if (!isBrowser) {\r\n        return emptyRect;\r\n    }\r\n    if (isSVGGraphicsElement(target)) {\r\n        return getSVGContentRect(target);\r\n    }\r\n    return getHTMLElementContentRect(target);\r\n}\r\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\r\nfunction createReadOnlyRect(_a) {\r\n    var x = _a.x, y = _a.y, width = _a.width, height = _a.height;\r\n    // If DOMRectReadOnly is available use it as a prototype for the rectangle.\r\n    var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\r\n    var rect = Object.create(Constr.prototype);\r\n    // Rectangle's properties are not writable and non-enumerable.\r\n    defineConfigurable(rect, {\r\n        x: x, y: y, width: width, height: height,\r\n        top: y,\r\n        right: x + width,\r\n        bottom: height + y,\r\n        left: x\r\n    });\r\n    return rect;\r\n}\r\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction createRectInit(x, y, width, height) {\r\n    return { x: x, y: y, width: width, height: height };\r\n}\n\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\r\nvar ResizeObservation = /** @class */ (function () {\r\n    /**\r\n     * Creates an instance of ResizeObservation.\r\n     *\r\n     * @param {Element} target - Element to be observed.\r\n     */\r\n    function ResizeObservation(target) {\r\n        /**\r\n         * Broadcasted width of content rectangle.\r\n         *\r\n         * @type {number}\r\n         */\r\n        this.broadcastWidth = 0;\r\n        /**\r\n         * Broadcasted height of content rectangle.\r\n         *\r\n         * @type {number}\r\n         */\r\n        this.broadcastHeight = 0;\r\n        /**\r\n         * Reference to the last observed content rectangle.\r\n         *\r\n         * @private {DOMRectInit}\r\n         */\r\n        this.contentRect_ = createRectInit(0, 0, 0, 0);\r\n        this.target = target;\r\n    }\r\n    /**\r\n     * Updates content rectangle and tells whether it's width or height properties\r\n     * have changed since the last broadcast.\r\n     *\r\n     * @returns {boolean}\r\n     */\r\n    ResizeObservation.prototype.isActive = function () {\r\n        var rect = getContentRect(this.target);\r\n        this.contentRect_ = rect;\r\n        return (rect.width !== this.broadcastWidth ||\r\n            rect.height !== this.broadcastHeight);\r\n    };\r\n    /**\r\n     * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n     * from the corresponding properties of the last observed content rectangle.\r\n     *\r\n     * @returns {DOMRectInit} Last observed content rectangle.\r\n     */\r\n    ResizeObservation.prototype.broadcastRect = function () {\r\n        var rect = this.contentRect_;\r\n        this.broadcastWidth = rect.width;\r\n        this.broadcastHeight = rect.height;\r\n        return rect;\r\n    };\r\n    return ResizeObservation;\r\n}());\n\nvar ResizeObserverEntry = /** @class */ (function () {\r\n    /**\r\n     * Creates an instance of ResizeObserverEntry.\r\n     *\r\n     * @param {Element} target - Element that is being observed.\r\n     * @param {DOMRectInit} rectInit - Data of the element's content rectangle.\r\n     */\r\n    function ResizeObserverEntry(target, rectInit) {\r\n        var contentRect = createReadOnlyRect(rectInit);\r\n        // According to the specification following properties are not writable\r\n        // and are also not enumerable in the native implementation.\r\n        //\r\n        // Property accessors are not being used as they'd require to define a\r\n        // private WeakMap storage which may cause memory leaks in browsers that\r\n        // don't support this type of collections.\r\n        defineConfigurable(this, { target: target, contentRect: contentRect });\r\n    }\r\n    return ResizeObserverEntry;\r\n}());\n\nvar ResizeObserverSPI = /** @class */ (function () {\r\n    /**\r\n     * Creates a new instance of ResizeObserver.\r\n     *\r\n     * @param {ResizeObserverCallback} callback - Callback function that is invoked\r\n     *      when one of the observed elements changes it's content dimensions.\r\n     * @param {ResizeObserverController} controller - Controller instance which\r\n     *      is responsible for the updates of observer.\r\n     * @param {ResizeObserver} callbackCtx - Reference to the public\r\n     *      ResizeObserver instance which will be passed to callback function.\r\n     */\r\n    function ResizeObserverSPI(callback, controller, callbackCtx) {\r\n        /**\r\n         * Collection of resize observations that have detected changes in dimensions\r\n         * of elements.\r\n         *\r\n         * @private {Array<ResizeObservation>}\r\n         */\r\n        this.activeObservations_ = [];\r\n        /**\r\n         * Registry of the ResizeObservation instances.\r\n         *\r\n         * @private {Map<Element, ResizeObservation>}\r\n         */\r\n        this.observations_ = new MapShim();\r\n        if (typeof callback !== 'function') {\r\n            throw new TypeError('The callback provided as parameter 1 is not a function.');\r\n        }\r\n        this.callback_ = callback;\r\n        this.controller_ = controller;\r\n        this.callbackCtx_ = callbackCtx;\r\n    }\r\n    /**\r\n     * Starts observing provided element.\r\n     *\r\n     * @param {Element} target - Element to be observed.\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.observe = function (target) {\r\n        if (!arguments.length) {\r\n            throw new TypeError('1 argument required, but only 0 present.');\r\n        }\r\n        // Do nothing if current environment doesn't have the Element interface.\r\n        if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n            return;\r\n        }\r\n        if (!(target instanceof getWindowOf(target).Element)) {\r\n            throw new TypeError('parameter 1 is not of type \"Element\".');\r\n        }\r\n        var observations = this.observations_;\r\n        // Do nothing if element is already being observed.\r\n        if (observations.has(target)) {\r\n            return;\r\n        }\r\n        observations.set(target, new ResizeObservation(target));\r\n        this.controller_.addObserver(this);\r\n        // Force the update of observations.\r\n        this.controller_.refresh();\r\n    };\r\n    /**\r\n     * Stops observing provided element.\r\n     *\r\n     * @param {Element} target - Element to stop observing.\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.unobserve = function (target) {\r\n        if (!arguments.length) {\r\n            throw new TypeError('1 argument required, but only 0 present.');\r\n        }\r\n        // Do nothing if current environment doesn't have the Element interface.\r\n        if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n            return;\r\n        }\r\n        if (!(target instanceof getWindowOf(target).Element)) {\r\n            throw new TypeError('parameter 1 is not of type \"Element\".');\r\n        }\r\n        var observations = this.observations_;\r\n        // Do nothing if element is not being observed.\r\n        if (!observations.has(target)) {\r\n            return;\r\n        }\r\n        observations.delete(target);\r\n        if (!observations.size) {\r\n            this.controller_.removeObserver(this);\r\n        }\r\n    };\r\n    /**\r\n     * Stops observing all elements.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.disconnect = function () {\r\n        this.clearActive();\r\n        this.observations_.clear();\r\n        this.controller_.removeObserver(this);\r\n    };\r\n    /**\r\n     * Collects observation instances the associated element of which has changed\r\n     * it's content rectangle.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.gatherActive = function () {\r\n        var _this = this;\r\n        this.clearActive();\r\n        this.observations_.forEach(function (observation) {\r\n            if (observation.isActive()) {\r\n                _this.activeObservations_.push(observation);\r\n            }\r\n        });\r\n    };\r\n    /**\r\n     * Invokes initial callback function with a list of ResizeObserverEntry\r\n     * instances collected from active resize observations.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.broadcastActive = function () {\r\n        // Do nothing if observer doesn't have active observations.\r\n        if (!this.hasActive()) {\r\n            return;\r\n        }\r\n        var ctx = this.callbackCtx_;\r\n        // Create ResizeObserverEntry instance for every active observation.\r\n        var entries = this.activeObservations_.map(function (observation) {\r\n            return new ResizeObserverEntry(observation.target, observation.broadcastRect());\r\n        });\r\n        this.callback_.call(ctx, entries, ctx);\r\n        this.clearActive();\r\n    };\r\n    /**\r\n     * Clears the collection of active observations.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    ResizeObserverSPI.prototype.clearActive = function () {\r\n        this.activeObservations_.splice(0);\r\n    };\r\n    /**\r\n     * Tells whether observer has active observations.\r\n     *\r\n     * @returns {boolean}\r\n     */\r\n    ResizeObserverSPI.prototype.hasActive = function () {\r\n        return this.activeObservations_.length > 0;\r\n    };\r\n    return ResizeObserverSPI;\r\n}());\n\n// Registry of internal observers. If WeakMap is not available use current shim\r\n// for the Map collection as it has all required methods and because WeakMap\r\n// can't be fully polyfilled anyway.\r\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\r\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\r\nvar ResizeObserver = /** @class */ (function () {\r\n    /**\r\n     * Creates a new instance of ResizeObserver.\r\n     *\r\n     * @param {ResizeObserverCallback} callback - Callback that is invoked when\r\n     *      dimensions of the observed elements change.\r\n     */\r\n    function ResizeObserver(callback) {\r\n        if (!(this instanceof ResizeObserver)) {\r\n            throw new TypeError('Cannot call a class as a function.');\r\n        }\r\n        if (!arguments.length) {\r\n            throw new TypeError('1 argument required, but only 0 present.');\r\n        }\r\n        var controller = ResizeObserverController.getInstance();\r\n        var observer = new ResizeObserverSPI(callback, controller, this);\r\n        observers.set(this, observer);\r\n    }\r\n    return ResizeObserver;\r\n}());\r\n// Expose public methods of ResizeObserver.\r\n[\r\n    'observe',\r\n    'unobserve',\r\n    'disconnect'\r\n].forEach(function (method) {\r\n    ResizeObserver.prototype[method] = function () {\r\n        var _a;\r\n        return (_a = observers.get(this))[method].apply(_a, arguments);\r\n    };\r\n});\n\nvar index = (function () {\r\n    // Export existing implementation if available.\r\n    if (typeof global$1.ResizeObserver !== 'undefined') {\r\n        return global$1.ResizeObserver;\r\n    }\r\n    return ResizeObserver;\r\n})();\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (index);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js?");

/***/ }),

/***/ 10936:
/*!*********************************************************************************!*\
  !*** ../../node_modules/resize-observer-polyfill/dist/ResizeObserver.global.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

eval("(function (global, factory) {\r\n     true ? module.exports = factory() :\r\n    0;\r\n}(this, (function () { 'use strict';\r\n\r\n/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\r\n/* eslint-disable require-jsdoc, valid-jsdoc */\r\nvar MapShim = (function () {\r\n    if (typeof Map !== 'undefined') {\r\n        return Map;\r\n    }\r\n\r\n    /**\r\n     * Returns index in provided array that matches the specified key.\r\n     *\r\n     * @param {Array<Array>} arr\r\n     * @param {*} key\r\n     * @returns {number}\r\n     */\r\n    function getIndex(arr, key) {\r\n        var result = -1;\r\n\r\n        arr.some(function (entry, index) {\r\n            if (entry[0] === key) {\r\n                result = index;\r\n\r\n                return true;\r\n            }\r\n\r\n            return false;\r\n        });\r\n\r\n        return result;\r\n    }\r\n\r\n    return (function () {\r\n        function anonymous() {\r\n            this.__entries__ = [];\r\n        }\r\n\r\n        var prototypeAccessors = { size: { configurable: true } };\r\n\r\n        /**\r\n         * @returns {boolean}\r\n         */\r\n        prototypeAccessors.size.get = function () {\r\n            return this.__entries__.length;\r\n        };\r\n\r\n        /**\r\n         * @param {*} key\r\n         * @returns {*}\r\n         */\r\n        anonymous.prototype.get = function (key) {\r\n            var index = getIndex(this.__entries__, key);\r\n            var entry = this.__entries__[index];\r\n\r\n            return entry && entry[1];\r\n        };\r\n\r\n        /**\r\n         * @param {*} key\r\n         * @param {*} value\r\n         * @returns {void}\r\n         */\r\n        anonymous.prototype.set = function (key, value) {\r\n            var index = getIndex(this.__entries__, key);\r\n\r\n            if (~index) {\r\n                this.__entries__[index][1] = value;\r\n            } else {\r\n                this.__entries__.push([key, value]);\r\n            }\r\n        };\r\n\r\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\r\n        anonymous.prototype.delete = function (key) {\r\n            var entries = this.__entries__;\r\n            var index = getIndex(entries, key);\r\n\r\n            if (~index) {\r\n                entries.splice(index, 1);\r\n            }\r\n        };\r\n\r\n        /**\r\n         * @param {*} key\r\n         * @returns {void}\r\n         */\r\n        anonymous.prototype.has = function (key) {\r\n            return !!~getIndex(this.__entries__, key);\r\n        };\r\n\r\n        /**\r\n         * @returns {void}\r\n         */\r\n        anonymous.prototype.clear = function () {\r\n            this.__entries__.splice(0);\r\n        };\r\n\r\n        /**\r\n         * @param {Function} callback\r\n         * @param {*} [ctx=null]\r\n         * @returns {void}\r\n         */\r\n        anonymous.prototype.forEach = function (callback, ctx) {\r\n            var this$1 = this;\r\n            if ( ctx === void 0 ) ctx = null;\r\n\r\n            for (var i = 0, list = this$1.__entries__; i < list.length; i += 1) {\r\n                var entry = list[i];\r\n\r\n                callback.call(ctx, entry[1], entry[0]);\r\n            }\r\n        };\r\n\r\n        Object.defineProperties( anonymous.prototype, prototypeAccessors );\r\n\r\n        return anonymous;\r\n    }());\r\n})();\r\n\r\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\r\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\r\n\r\n// Returns global object of a current environment.\r\nvar global$1 = (function () {\r\n    if (typeof __webpack_require__.g !== 'undefined' && __webpack_require__.g.Math === Math) {\r\n        return __webpack_require__.g;\r\n    }\r\n\r\n    if (typeof self !== 'undefined' && self.Math === Math) {\r\n        return self;\r\n    }\r\n\r\n    if (typeof window !== 'undefined' && window.Math === Math) {\r\n        return window;\r\n    }\r\n\r\n    // eslint-disable-next-line no-new-func\r\n    return Function('return this')();\r\n})();\r\n\r\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\r\nvar requestAnimationFrame$1 = (function () {\r\n    if (typeof requestAnimationFrame === 'function') {\r\n        // It's required to use a bounded function because IE sometimes throws\r\n        // an \"Invalid calling object\" error if rAF is invoked without the global\r\n        // object on the left hand side.\r\n        return requestAnimationFrame.bind(global$1);\r\n    }\r\n\r\n    return function (callback) { return setTimeout(function () { return callback(Date.now()); }, 1000 / 60); };\r\n})();\r\n\r\n// Defines minimum timeout before adding a trailing call.\r\nvar trailingTimeout = 2;\r\n\r\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\r\nvar throttle = function (callback, delay) {\r\n    var leadingCall = false,\r\n        trailingCall = false,\r\n        lastCallTime = 0;\r\n\r\n    /**\r\n     * Invokes the original callback function and schedules new invocation if\r\n     * the \"proxy\" was called during current request.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function resolvePending() {\r\n        if (leadingCall) {\r\n            leadingCall = false;\r\n\r\n            callback();\r\n        }\r\n\r\n        if (trailingCall) {\r\n            proxy();\r\n        }\r\n    }\r\n\r\n    /**\r\n     * Callback invoked after the specified delay. It will further postpone\r\n     * invocation of the original function delegating it to the\r\n     * requestAnimationFrame.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function timeoutCallback() {\r\n        requestAnimationFrame$1(resolvePending);\r\n    }\r\n\r\n    /**\r\n     * Schedules invocation of the original function.\r\n     *\r\n     * @returns {void}\r\n     */\r\n    function proxy() {\r\n        var timeStamp = Date.now();\r\n\r\n        if (leadingCall) {\r\n            // Reject immediately following calls.\r\n            if (timeStamp - lastCallTime < trailingTimeout) {\r\n                return;\r\n            }\r\n\r\n            // Schedule new call to be in invoked when the pending one is resolved.\r\n            // This is important for \"transitions\" which never actually start\r\n            // immediately so there is a chance that we might miss one if change\r\n            // happens amids the pending invocation.\r\n            trailingCall = true;\r\n        } else {\r\n            leadingCall = true;\r\n            trailingCall = false;\r\n\r\n            setTimeout(timeoutCallback, delay);\r\n        }\r\n\r\n        lastCallTime = timeStamp;\r\n    }\r\n\r\n    return proxy;\r\n};\r\n\r\n// Minimum delay before invoking the update of observers.\r\nvar REFRESH_DELAY = 20;\r\n\r\n// A list of substrings of CSS properties used to find transition events that\r\n// might affect dimensions of observed elements.\r\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\r\n\r\n// Check if MutationObserver is available.\r\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\r\n\r\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\r\nvar ResizeObserverController = function() {\r\n    this.connected_ = false;\r\n    this.mutationEventsAdded_ = false;\r\n    this.mutationsObserver_ = null;\r\n    this.observers_ = [];\r\n\r\n    this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\r\n    this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\r\n};\r\n\r\n/**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\r\n\r\n\r\n/**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\r\n\r\n\r\n/**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\r\n\r\n/**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\r\nResizeObserverController.prototype.addObserver = function (observer) {\r\n    if (!~this.observers_.indexOf(observer)) {\r\n        this.observers_.push(observer);\r\n    }\r\n\r\n    // Add listeners if they haven't been added yet.\r\n    if (!this.connected_) {\r\n        this.connect_();\r\n    }\r\n};\r\n\r\n/**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\r\nResizeObserverController.prototype.removeObserver = function (observer) {\r\n    var observers = this.observers_;\r\n    var index = observers.indexOf(observer);\r\n\r\n    // Remove observer if it's present in registry.\r\n    if (~index) {\r\n        observers.splice(index, 1);\r\n    }\r\n\r\n    // Remove listeners if controller has no connected observers.\r\n    if (!observers.length && this.connected_) {\r\n        this.disconnect_();\r\n    }\r\n};\r\n\r\n/**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\r\nResizeObserverController.prototype.refresh = function () {\r\n    var changesDetected = this.updateObservers_();\r\n\r\n    // Continue running updates if changes have been detected as there might\r\n    // be future ones caused by CSS transitions.\r\n    if (changesDetected) {\r\n        this.refresh();\r\n    }\r\n};\r\n\r\n/**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n *  dimensions of it's elements.\r\n */\r\nResizeObserverController.prototype.updateObservers_ = function () {\r\n    // Collect observers that have active observations.\r\n    var activeObservers = this.observers_.filter(function (observer) {\r\n        return observer.gatherActive(), observer.hasActive();\r\n    });\r\n\r\n    // Deliver notifications in a separate cycle in order to avoid any\r\n    // collisions between observers, e.g. when multiple instances of\r\n    // ResizeObserver are tracking the same element and the callback of one\r\n    // of them changes content dimensions of the observed target. Sometimes\r\n    // this may result in notifications being blocked for the rest of observers.\r\n    activeObservers.forEach(function (observer) { return observer.broadcastActive(); });\r\n\r\n    return activeObservers.length > 0;\r\n};\r\n\r\n/**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\nResizeObserverController.prototype.connect_ = function () {\r\n    // Do nothing if running in a non-browser environment or if listeners\r\n    // have been already added.\r\n    if (!isBrowser || this.connected_) {\r\n        return;\r\n    }\r\n\r\n    // Subscription to the \"Transitionend\" event is used as a workaround for\r\n    // delayed transitions. This way it's possible to capture at least the\r\n    // final state of an element.\r\n    document.addEventListener('transitionend', this.onTransitionEnd_);\r\n\r\n    window.addEventListener('resize', this.refresh);\r\n\r\n    if (mutationObserverSupported) {\r\n        this.mutationsObserver_ = new MutationObserver(this.refresh);\r\n\r\n        this.mutationsObserver_.observe(document, {\r\n            attributes: true,\r\n            childList: true,\r\n            characterData: true,\r\n            subtree: true\r\n        });\r\n    } else {\r\n        document.addEventListener('DOMSubtreeModified', this.refresh);\r\n\r\n        this.mutationEventsAdded_ = true;\r\n    }\r\n\r\n    this.connected_ = true;\r\n};\r\n\r\n/**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\r\nResizeObserverController.prototype.disconnect_ = function () {\r\n    // Do nothing if running in a non-browser environment or if listeners\r\n    // have been already removed.\r\n    if (!isBrowser || !this.connected_) {\r\n        return;\r\n    }\r\n\r\n    document.removeEventListener('transitionend', this.onTransitionEnd_);\r\n    window.removeEventListener('resize', this.refresh);\r\n\r\n    if (this.mutationsObserver_) {\r\n        this.mutationsObserver_.disconnect();\r\n    }\r\n\r\n    if (this.mutationEventsAdded_) {\r\n        document.removeEventListener('DOMSubtreeModified', this.refresh);\r\n    }\r\n\r\n    this.mutationsObserver_ = null;\r\n    this.mutationEventsAdded_ = false;\r\n    this.connected_ = false;\r\n};\r\n\r\n/**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\r\nResizeObserverController.prototype.onTransitionEnd_ = function (ref) {\r\n        var propertyName = ref.propertyName; if ( propertyName === void 0 ) propertyName = '';\r\n\r\n    // Detect whether transition may affect dimensions of an element.\r\n    var isReflowProperty = transitionKeys.some(function (key) {\r\n        return !!~propertyName.indexOf(key);\r\n    });\r\n\r\n    if (isReflowProperty) {\r\n        this.refresh();\r\n    }\r\n};\r\n\r\n/**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\r\nResizeObserverController.getInstance = function () {\r\n    if (!this.instance_) {\r\n        this.instance_ = new ResizeObserverController();\r\n    }\r\n\r\n    return this.instance_;\r\n};\r\n\r\nResizeObserverController.instance_ = null;\r\n\r\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\r\nvar defineConfigurable = (function (target, props) {\r\n    for (var i = 0, list = Object.keys(props); i < list.length; i += 1) {\r\n        var key = list[i];\r\n\r\n        Object.defineProperty(target, key, {\r\n            value: props[key],\r\n            enumerable: false,\r\n            writable: false,\r\n            configurable: true\r\n        });\r\n    }\r\n\r\n    return target;\r\n});\r\n\r\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\r\nvar getWindowOf = (function (target) {\r\n    // Assume that the element is an instance of Node, which means that it\r\n    // has the \"ownerDocument\" property from which we can retrieve a\r\n    // corresponding global object.\r\n    var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\r\n\r\n    // Return the local global object if it's not possible extract one from\r\n    // provided element.\r\n    return ownerGlobal || global$1;\r\n});\r\n\r\n// Placeholder of an empty content rectangle.\r\nvar emptyRect = createRectInit(0, 0, 0, 0);\r\n\r\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\r\nfunction toFloat(value) {\r\n    return parseFloat(value) || 0;\r\n}\r\n\r\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\r\nfunction getBordersSize(styles) {\r\n    var positions = [], len = arguments.length - 1;\r\n    while ( len-- > 0 ) positions[ len ] = arguments[ len + 1 ];\r\n\r\n    return positions.reduce(function (size, position) {\r\n        var value = styles['border-' + position + '-width'];\r\n\r\n        return size + toFloat(value);\r\n    }, 0);\r\n}\r\n\r\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\r\nfunction getPaddings(styles) {\r\n    var positions = ['top', 'right', 'bottom', 'left'];\r\n    var paddings = {};\r\n\r\n    for (var i = 0, list = positions; i < list.length; i += 1) {\r\n        var position = list[i];\r\n\r\n        var value = styles['padding-' + position];\r\n\r\n        paddings[position] = toFloat(value);\r\n    }\r\n\r\n    return paddings;\r\n}\r\n\r\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n *      to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getSVGContentRect(target) {\r\n    var bbox = target.getBBox();\r\n\r\n    return createRectInit(0, 0, bbox.width, bbox.height);\r\n}\r\n\r\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getHTMLElementContentRect(target) {\r\n    // Client width & height properties can't be\r\n    // used exclusively as they provide rounded values.\r\n    var clientWidth = target.clientWidth;\r\n    var clientHeight = target.clientHeight;\r\n\r\n    // By this condition we can catch all non-replaced inline, hidden and\r\n    // detached elements. Though elements with width & height properties less\r\n    // than 0.5 will be discarded as well.\r\n    //\r\n    // Without it we would need to implement separate methods for each of\r\n    // those cases and it's not possible to perform a precise and performance\r\n    // effective test for hidden elements. E.g. even jQuery's ':visible' filter\r\n    // gives wrong results for elements with width & height less than 0.5.\r\n    if (!clientWidth && !clientHeight) {\r\n        return emptyRect;\r\n    }\r\n\r\n    var styles = getWindowOf(target).getComputedStyle(target);\r\n    var paddings = getPaddings(styles);\r\n    var horizPad = paddings.left + paddings.right;\r\n    var vertPad = paddings.top + paddings.bottom;\r\n\r\n    // Computed styles of width & height are being used because they are the\r\n    // only dimensions available to JS that contain non-rounded values. It could\r\n    // be possible to utilize the getBoundingClientRect if only it's data wasn't\r\n    // affected by CSS transformations let alone paddings, borders and scroll bars.\r\n    var width = toFloat(styles.width),\r\n        height = toFloat(styles.height);\r\n\r\n    // Width & height include paddings and borders when the 'border-box' box\r\n    // model is applied (except for IE).\r\n    if (styles.boxSizing === 'border-box') {\r\n        // Following conditions are required to handle Internet Explorer which\r\n        // doesn't include paddings and borders to computed CSS dimensions.\r\n        //\r\n        // We can say that if CSS dimensions + paddings are equal to the \"client\"\r\n        // properties then it's either IE, and thus we don't need to subtract\r\n        // anything, or an element merely doesn't have paddings/borders styles.\r\n        if (Math.round(width + horizPad) !== clientWidth) {\r\n            width -= getBordersSize(styles, 'left', 'right') + horizPad;\r\n        }\r\n\r\n        if (Math.round(height + vertPad) !== clientHeight) {\r\n            height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\r\n        }\r\n    }\r\n\r\n    // Following steps can't be applied to the document's root element as its\r\n    // client[Width/Height] properties represent viewport area of the window.\r\n    // Besides, it's as well not necessary as the <html> itself neither has\r\n    // rendered scroll bars nor it can be clipped.\r\n    if (!isDocumentElement(target)) {\r\n        // In some browsers (only in Firefox, actually) CSS width & height\r\n        // include scroll bars size which can be removed at this step as scroll\r\n        // bars are the only difference between rounded dimensions + paddings\r\n        // and \"client\" properties, though that is not always true in Chrome.\r\n        var vertScrollbar = Math.round(width + horizPad) - clientWidth;\r\n        var horizScrollbar = Math.round(height + vertPad) - clientHeight;\r\n\r\n        // Chrome has a rather weird rounding of \"client\" properties.\r\n        // E.g. for an element with content width of 314.2px it sometimes gives\r\n        // the client width of 315px and for the width of 314.7px it may give\r\n        // 314px. And it doesn't happen all the time. So just ignore this delta\r\n        // as a non-relevant.\r\n        if (Math.abs(vertScrollbar) !== 1) {\r\n            width -= vertScrollbar;\r\n        }\r\n\r\n        if (Math.abs(horizScrollbar) !== 1) {\r\n            height -= horizScrollbar;\r\n        }\r\n    }\r\n\r\n    return createRectInit(paddings.left, paddings.top, width, height);\r\n}\r\n\r\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nvar isSVGGraphicsElement = (function () {\r\n    // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\r\n    // interface.\r\n    if (typeof SVGGraphicsElement !== 'undefined') {\r\n        return function (target) { return target instanceof getWindowOf(target).SVGGraphicsElement; };\r\n    }\r\n\r\n    // If it's so, then check that element is at least an instance of the\r\n    // SVGElement and that it has the \"getBBox\" method.\r\n    // eslint-disable-next-line no-extra-parens\r\n    return function (target) { return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function'; };\r\n})();\r\n\r\n/**\r\n * Checks whether provided element is a document element (<html>).\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\r\nfunction isDocumentElement(target) {\r\n    return target === getWindowOf(target).document.documentElement;\r\n}\r\n\r\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction getContentRect(target) {\r\n    if (!isBrowser) {\r\n        return emptyRect;\r\n    }\r\n\r\n    if (isSVGGraphicsElement(target)) {\r\n        return getSVGContentRect(target);\r\n    }\r\n\r\n    return getHTMLElementContentRect(target);\r\n}\r\n\r\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\r\nfunction createReadOnlyRect(ref) {\r\n    var x = ref.x;\r\n    var y = ref.y;\r\n    var width = ref.width;\r\n    var height = ref.height;\r\n\r\n    // If DOMRectReadOnly is available use it as a prototype for the rectangle.\r\n    var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\r\n    var rect = Object.create(Constr.prototype);\r\n\r\n    // Rectangle's properties are not writable and non-enumerable.\r\n    defineConfigurable(rect, {\r\n        x: x, y: y, width: width, height: height,\r\n        top: y,\r\n        right: x + width,\r\n        bottom: height + y,\r\n        left: x\r\n    });\r\n\r\n    return rect;\r\n}\r\n\r\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\r\nfunction createRectInit(x, y, width, height) {\r\n    return { x: x, y: y, width: width, height: height };\r\n}\r\n\r\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\r\nvar ResizeObservation = function(target) {\r\n    this.broadcastWidth = 0;\r\n    this.broadcastHeight = 0;\r\n    this.contentRect_ = createRectInit(0, 0, 0, 0);\r\n\r\n    this.target = target;\r\n};\r\n\r\n/**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\r\n\r\n\r\n/**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\r\n\r\n\r\n/**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\r\nResizeObservation.prototype.isActive = function () {\r\n    var rect = getContentRect(this.target);\r\n\r\n    this.contentRect_ = rect;\r\n\r\n    return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;\r\n};\r\n\r\n/**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\r\nResizeObservation.prototype.broadcastRect = function () {\r\n    var rect = this.contentRect_;\r\n\r\n    this.broadcastWidth = rect.width;\r\n    this.broadcastHeight = rect.height;\r\n\r\n    return rect;\r\n};\r\n\r\nvar ResizeObserverEntry = function(target, rectInit) {\r\n    var contentRect = createReadOnlyRect(rectInit);\r\n\r\n    // According to the specification following properties are not writable\r\n    // and are also not enumerable in the native implementation.\r\n    //\r\n    // Property accessors are not being used as they'd require to define a\r\n    // private WeakMap storage which may cause memory leaks in browsers that\r\n    // don't support this type of collections.\r\n    defineConfigurable(this, { target: target, contentRect: contentRect });\r\n};\r\n\r\nvar ResizeObserverSPI = function(callback, controller, callbackCtx) {\r\n    this.activeObservations_ = [];\r\n    this.observations_ = new MapShim();\r\n\r\n    if (typeof callback !== 'function') {\r\n        throw new TypeError('The callback provided as parameter 1 is not a function.');\r\n    }\r\n\r\n    this.callback_ = callback;\r\n    this.controller_ = controller;\r\n    this.callbackCtx_ = callbackCtx;\r\n};\r\n\r\n/**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\r\n\r\n\r\n/**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map<Element, ResizeObservation>}\r\n */\r\n\r\n\r\n/**\r\n * Public ResizeObserver instance which will be passed to the callback\r\n * function and used as a value of it's \"this\" binding.\r\n *\r\n * @private {ResizeObserver}\r\n */\r\n\r\n/**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array<ResizeObservation>}\r\n */\r\nResizeObserverSPI.prototype.observe = function (target) {\r\n    if (!arguments.length) {\r\n        throw new TypeError('1 argument required, but only 0 present.');\r\n    }\r\n\r\n    // Do nothing if current environment doesn't have the Element interface.\r\n    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n        return;\r\n    }\r\n\r\n    if (!(target instanceof getWindowOf(target).Element)) {\r\n        throw new TypeError('parameter 1 is not of type \"Element\".');\r\n    }\r\n\r\n    var observations = this.observations_;\r\n\r\n    // Do nothing if element is already being observed.\r\n    if (observations.has(target)) {\r\n        return;\r\n    }\r\n\r\n    observations.set(target, new ResizeObservation(target));\r\n\r\n    this.controller_.addObserver(this);\r\n\r\n    // Force the update of observations.\r\n    this.controller_.refresh();\r\n};\r\n\r\n/**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\r\nResizeObserverSPI.prototype.unobserve = function (target) {\r\n    if (!arguments.length) {\r\n        throw new TypeError('1 argument required, but only 0 present.');\r\n    }\r\n\r\n    // Do nothing if current environment doesn't have the Element interface.\r\n    if (typeof Element === 'undefined' || !(Element instanceof Object)) {\r\n        return;\r\n    }\r\n\r\n    if (!(target instanceof getWindowOf(target).Element)) {\r\n        throw new TypeError('parameter 1 is not of type \"Element\".');\r\n    }\r\n\r\n    var observations = this.observations_;\r\n\r\n    // Do nothing if element is not being observed.\r\n    if (!observations.has(target)) {\r\n        return;\r\n    }\r\n\r\n    observations.delete(target);\r\n\r\n    if (!observations.size) {\r\n        this.controller_.removeObserver(this);\r\n    }\r\n};\r\n\r\n/**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\r\nResizeObserverSPI.prototype.disconnect = function () {\r\n    this.clearActive();\r\n    this.observations_.clear();\r\n    this.controller_.removeObserver(this);\r\n};\r\n\r\n/**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\r\nResizeObserverSPI.prototype.gatherActive = function () {\r\n        var this$1 = this;\r\n\r\n    this.clearActive();\r\n\r\n    this.observations_.forEach(function (observation) {\r\n        if (observation.isActive()) {\r\n            this$1.activeObservations_.push(observation);\r\n        }\r\n    });\r\n};\r\n\r\n/**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\r\nResizeObserverSPI.prototype.broadcastActive = function () {\r\n    // Do nothing if observer doesn't have active observations.\r\n    if (!this.hasActive()) {\r\n        return;\r\n    }\r\n\r\n    var ctx = this.callbackCtx_;\r\n\r\n    // Create ResizeObserverEntry instance for every active observation.\r\n    var entries = this.activeObservations_.map(function (observation) {\r\n        return new ResizeObserverEntry(observation.target, observation.broadcastRect());\r\n    });\r\n\r\n    this.callback_.call(ctx, entries, ctx);\r\n    this.clearActive();\r\n};\r\n\r\n/**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\r\nResizeObserverSPI.prototype.clearActive = function () {\r\n    this.activeObservations_.splice(0);\r\n};\r\n\r\n/**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\r\nResizeObserverSPI.prototype.hasActive = function () {\r\n    return this.activeObservations_.length > 0;\r\n};\r\n\r\n// Registry of internal observers. If WeakMap is not available use current shim\r\n// for the Map collection as it has all required methods and because WeakMap\r\n// can't be fully polyfilled anyway.\r\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\r\n\r\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\r\nvar ResizeObserver = function(callback) {\r\n    if (!(this instanceof ResizeObserver)) {\r\n        throw new TypeError('Cannot call a class as a function.');\r\n    }\r\n    if (!arguments.length) {\r\n        throw new TypeError('1 argument required, but only 0 present.');\r\n    }\r\n\r\n    var controller = ResizeObserverController.getInstance();\r\n    var observer = new ResizeObserverSPI(callback, controller, this);\r\n\r\n    observers.set(this, observer);\r\n};\r\n\r\n// Expose public methods of ResizeObserver.\r\n['observe', 'unobserve', 'disconnect'].forEach(function (method) {\r\n    ResizeObserver.prototype[method] = function () {\r\n        return (ref = observers.get(this))[method].apply(ref, arguments);\r\n        var ref;\r\n    };\r\n});\r\n\r\nvar index = (function () {\r\n    // Export existing implementation if available.\r\n    if (typeof global$1.ResizeObserver !== 'undefined') {\r\n        return global$1.ResizeObserver;\r\n    }\r\n\r\n    global$1.ResizeObserver = ResizeObserver;\r\n\r\n    return ResizeObserver;\r\n})();\r\n\r\nreturn index;\r\n\r\n})));\r\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/resize-observer-polyfill/dist/ResizeObserver.global.js?");

/***/ }),

/***/ 25156:
/*!***************************************************!*\
  !*** ../../node_modules/tiny-pinyin/dist/core.js ***!
  \***************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar DICT = __webpack_require__(/*! ./dict */ 56084);\n\nvar FIRST_PINYIN_UNIHAN = '\\u963F';\nvar LAST_PINYIN_UNIHAN = '\\u9FFF';\n\nvar LATIN = 1;\nvar PINYIN = 2;\nvar UNKNOWN = 3;\n\nvar supported = null;\nvar COLLATOR = void 0;\n\nfunction patchDict(patchers) {\n  if (!patchers) return;\n  if (typeof patchers === 'function') {\n    patchers = [patchers];\n  }\n  if (patchers.forEach) {\n    patchers.forEach(function (p) {\n      typeof p === 'function' && p(DICT);\n    });\n  }\n}\n\nfunction isSupported(force) {\n  if (!force && supported !== null) {\n    return supported;\n  }\n  if ((typeof Intl === 'undefined' ? 'undefined' : _typeof(Intl)) === 'object' && Intl.Collator) {\n    COLLATOR = new Intl.Collator(['zh-Hans-CN', 'zh-CN']);\n    supported = Intl.Collator.supportedLocalesOf(['zh-CN']).length === 1;\n  } else {\n    supported = false;\n  }\n  return supported;\n}\n\nfunction genToken(ch) {\n  // Access DICT here, give the chance to patch DICT.\n  var UNIHANS = DICT.UNIHANS;\n  var PINYINS = DICT.PINYINS;\n  var EXCEPTIONS = DICT.EXCEPTIONS;\n  var token = {\n    source: ch\n\n    // First check EXCEPTIONS map, then search with UNIHANS table.\n  };if (ch in EXCEPTIONS) {\n    token.type = PINYIN;\n    token.target = EXCEPTIONS[ch];\n    return token;\n  }\n\n  var offset = -1;\n  var cmp = void 0;\n  if (ch.charCodeAt(0) < 256) {\n    token.type = LATIN;\n    token.target = ch;\n    return token;\n  } else {\n    cmp = COLLATOR.compare(ch, FIRST_PINYIN_UNIHAN);\n    if (cmp < 0) {\n      token.type = UNKNOWN;\n      token.target = ch;\n      return token;\n    } else if (cmp === 0) {\n      token.type = PINYIN;\n      offset = 0;\n    } else {\n      cmp = COLLATOR.compare(ch, LAST_PINYIN_UNIHAN);\n      if (cmp > 0) {\n        token.type = UNKNOWN;\n        token.target = ch;\n        return token;\n      } else if (cmp === 0) {\n        token.type = PINYIN;\n        offset = UNIHANS.length - 1;\n      }\n    }\n  }\n\n  token.type = PINYIN;\n  if (offset < 0) {\n    var begin = 0;\n    var end = UNIHANS.length - 1;\n    while (begin <= end) {\n      offset = ~~((begin + end) / 2);\n      var unihan = UNIHANS[offset];\n      cmp = COLLATOR.compare(ch, unihan);\n\n      // Catch it.\n      if (cmp === 0) {\n        break;\n      }\n      // Search after offset.\n      else if (cmp > 0) {\n          begin = offset + 1;\n        }\n        // Search before the offset.\n        else {\n            end = offset - 1;\n          }\n    }\n  }\n\n  if (cmp < 0) {\n    offset--;\n  }\n\n  token.target = PINYINS[offset];\n  if (!token.target) {\n    token.type = UNKNOWN;\n    token.target = token.source;\n  }\n  return token;\n}\n\nfunction parse(str) {\n  if (typeof str !== 'string') {\n    throw new Error('argument should be string.');\n  }\n  if (!isSupported()) {\n    throw new Error('not support Intl or zh-CN language.');\n  }\n  return str.split('').map(function (v) {\n    return genToken(v);\n  });\n}\n\nmodule.exports = {\n  isSupported: isSupported,\n  parse: parse,\n  patchDict: patchDict,\n  genToken: genToken, // inner usage\n  convertToPinyin: function convertToPinyin(str, separator, lowerCase) {\n    return parse(str).map(function (v) {\n      if (lowerCase && v.type === PINYIN) {\n        return v.target.toLowerCase();\n      }\n      return v.target;\n    }).join(separator || '');\n  }\n};\n\n//# sourceURL=webpack://entity-designer/../../node_modules/tiny-pinyin/dist/core.js?");

/***/ }),

/***/ 56084:
/*!***************************************************!*\
  !*** ../../node_modules/tiny-pinyin/dist/dict.js ***!
  \***************************************************/
/***/ (function(module) {

"use strict";
eval("/**\n * Source: <https://android.googlesource.com/platform/packages/providers/ContactsProvider/+/0c49720fb3d58e346739c2ccd56ed2b739249e07/src/com/android/providers/contacts/HanziToPinyin.java>\n * Updated by creeper\n */\n\n\nvar UNIHANS = ['\\u963F', '\\u54CE', '\\u5B89', '\\u80AE', '\\u51F9', '\\u516B', '\\u6300', '\\u6273', '\\u90A6', '\\u52F9', '\\u9642', '\\u5954', '\\u4F3B', '\\u5C44', '\\u8FB9', '\\u706C', '\\u618B', '\\u6C43', '\\u51AB', '\\u7676', '\\u5CEC', '\\u5693', '\\u5072', '\\u53C2', '\\u4ED3', '\\u64A1', '\\u518A', '\\u5D7E', '\\u66FD', '\\u53C9', '\\u8286', '\\u8FBF', '\\u4F25', '\\u6284', '\\u8F66', '\\u62BB', '\\u9637', '\\u5403', '\\u5145', '\\u62BD', '\\u51FA', '\\u6B3B', '\\u63E3', '\\u5DDB', '\\u5205', '\\u5439', '\\u65FE', '\\u9034', '\\u5472', '\\u5306', '\\u51D1', '\\u7C97', '\\u6C46', '\\u5D14', '\\u90A8', '\\u6413', '\\u5491', '\\u5446', '\\u4E39', '\\u5F53', '\\u5200', '\\u561A', '\\u6265', '\\u706F', '\\u6C10', '\\u7538', '\\u5201', '\\u7239', '\\u4E01', '\\u4E1F', '\\u4E1C', '\\u543A', '\\u53BE', '\\u8011', '\\u5796', '\\u5428', '\\u591A', '\\u59B8', '\\u8BF6', '\\u5940', '\\u97A5', '\\u513F', '\\u53D1', '\\u5E06', '\\u531A', '\\u98DE', '\\u5206', '\\u4E30', '\\u8985', '\\u4ECF', '\\u7D11', '\\u592B', '\\u65EE', '\\u4F85', '\\u7518', '\\u5188', '\\u768B', '\\u6208', '\\u7ED9', '\\u6839', '\\u522F', '\\u5DE5', '\\u52FE', '\\u4F30', '\\u74DC', '\\u4E56', '\\u5173', '\\u5149', '\\u5F52', '\\u4E28', '\\u5459', '\\u54C8', '\\u548D', '\\u4F44', '\\u592F', '\\u8320', '\\u8BC3', '\\u9ED2', '\\u62EB', '\\u4EA8', '\\u5677', '\\u53FF', '\\u9F41', '\\u4E4E', '\\u82B1', '\\u6000', '\\u6B22', '\\u5DDF', '\\u7070', '\\u660F', '\\u5419', '\\u4E0C', '\\u52A0', '\\u620B', '\\u6C5F', '\\u827D', '\\u9636', '\\u5DFE', '\\u5755', '\\u5182', '\\u4E29', '\\u51E5', '\\u59E2', '\\u5658', '\\u519B', '\\u5494', '\\u5F00', '\\u520A', '\\u5FFC', '\\u5C3B', '\\u533C', '\\u808E', '\\u52A5', '\\u7A7A', '\\u62A0', '\\u625D', '\\u5938', '\\u84AF', '\\u5BBD', '\\u5321', '\\u4E8F', '\\u5764', '\\u6269', '\\u5783', '\\u6765', '\\u5170', '\\u5577', '\\u635E', '\\u808B', '\\u52D2', '\\u5D1A', '\\u54E9', '\\u4FE9', '\\u5941', '\\u826F', '\\u64A9', '\\u6BDF', '\\u62CE', '\\u4F36', '\\u6E9C', '\\u56D6', '\\u9F99', '\\u779C', '\\u565C', '\\u9A74', '\\u5A08', '\\u63A0', '\\u62A1', '\\u7F57', '\\u5463', '\\u5988', '\\u57CB', '\\u5ADA', '\\u7264', '\\u732B', '\\u4E48', '\\u5445', '\\u95E8', '\\u753F', '\\u54AA', '\\u5B80', '\\u55B5', '\\u4E5C', '\\u6C11', '\\u540D', '\\u8C2C', '\\u6478', '\\u54DE', '\\u6BEA', '\\u55EF', '\\u62CF', '\\u8149', '\\u56E1', '\\u56D4', '\\u5B6C', '\\u7592', '\\u5A1E', '\\u6041', '\\u80FD', '\\u59AE', '\\u62C8', '\\u5A18', '\\u9E1F', '\\u634F', '\\u56DC', '\\u5B81', '\\u599E', '\\u519C', '\\u7FBA', '\\u5974', '\\u5973', '\\u597B', '\\u759F', '\\u9EC1', '\\u632A', '\\u5594', '\\u8BB4', '\\u5991', '\\u62CD', '\\u7705', '\\u4E53', '\\u629B', '\\u5478', '\\u55B7', '\\u5309', '\\u4E15', '\\u56E8', '\\u527D', '\\u6C15', '\\u59D8', '\\u4E52', '\\u948B', '\\u5256', '\\u4EC6', '\\u4E03', '\\u6390', '\\u5343', '\\u545B', '\\u6084', '\\u767F', '\\u4EB2', '\\u9751', '\\u536D', '\\u4E18', '\\u533A', '\\u5CD1', '\\u7F3A', '\\u590B', '\\u5465', '\\u7A63', '\\u5A06', '\\u60F9', '\\u4EBA', '\\u6254', '\\u65E5', '\\u8338', '\\u53B9', '\\u909A', '\\u633C', '\\u5827', '\\u5A51', '\\u77A4', '\\u637C', '\\u4EE8', '\\u6BE2', '\\u4E09', '\\u6852', '\\u63BB', '\\u95AA', '\\u68EE', '\\u50E7', '\\u6740', '\\u7B5B', '\\u5C71', '\\u4F24', '\\u5F30', '\\u5962', '\\u7533', '\\u5347', '\\u5C38', '\\u53CE', '\\u4E66', '\\u5237', '\\u8870', '\\u95E9', '\\u53CC', '\\u813D', '\\u542E', '\\u8BF4', '\\u53B6', '\\u5FEA', '\\u635C', '\\u82CF', '\\u72FB', '\\u590A', '\\u5B59', '\\u5506', '\\u4ED6', '\\u56FC', '\\u574D', '\\u6C64', '\\u5932', '\\u5FD1', '\\u71A5', '\\u5254', '\\u5929', '\\u65EB', '\\u5E16', '\\u5385', '\\u56F2', '\\u5077', '\\u51F8', '\\u6E4D', '\\u63A8', '\\u541E', '\\u4E47', '\\u7A75', '\\u6B6A', '\\u5F2F', '\\u5C23', '\\u5371', '\\u6637', '\\u7FC1', '\\u631D', '\\u4E4C', '\\u5915', '\\u8672', '\\u4ED9', '\\u4E61', '\\u7071', '\\u4E9B', '\\u5FC3', '\\u661F', '\\u51F6', '\\u4F11', '\\u5401', '\\u5405', '\\u524A', '\\u5743', '\\u4E2B', '\\u6079', '\\u592E', '\\u5E7A', '\\u503B', '\\u4E00', '\\u56D9', '\\u5E94', '\\u54DF', '\\u4F63', '\\u4F18', '\\u625C', '\\u56E6', '\\u66F0', '\\u6655', '\\u5E00', '\\u707D', '\\u5142', '\\u5328', '\\u50AE', '\\u5219', '\\u8D3C', '\\u600E', '\\u5897', '\\u624E', '\\u635A', '\\u6CBE', '\\u5F20', '\\u4F4B', '\\u8707', '\\u8D1E', '\\u4E89', '\\u4E4B', '\\u4E2D', '\\u5DDE', '\\u6731', '\\u6293', '\\u62FD', '\\u4E13', '\\u5986', '\\u96B9', '\\u5B92', '\\u5353', '\\u4E72', '\\u5B97', '\\u90B9', '\\u79DF', '\\u94BB', '\\u539C', '\\u5C0A', '\\u6628', '\\u5159'];\n\n// convert ascii array to Pinyin\nvar PINYINS = ['A', 'AI', 'AN', 'ANG', 'AO', 'BA', 'BAI', 'BAN', 'BANG', 'BAO', 'BEI', 'BEN', 'BENG', 'BI', 'BIAN', 'BIAO', 'BIE', 'BIN', 'BING', 'BO', 'BU', 'CA', 'CAI', 'CAN', 'CANG', 'CAO', 'CE', 'CEN', 'CENG', 'CHA', 'CHAI', 'CHAN', 'CHANG', 'CHAO', 'CHE', 'CHEN', 'CHENG', 'CHI', 'CHONG', 'CHOU', 'CHU', 'CHUA', 'CHUAI', 'CHUAN', 'CHUANG', 'CHUI', 'CHUN', 'CHUO', 'CI', 'CONG', 'COU', 'CU', 'CUAN', 'CUI', 'CUN', 'CUO', 'DA', 'DAI', 'DAN', 'DANG', 'DAO', 'DE', 'DEN', 'DENG', 'DI', 'DIAN', 'DIAO', 'DIE', 'DING', 'DIU', 'DONG', 'DOU', 'DU', 'DUAN', 'DUI', 'DUN', 'DUO', 'E', 'EI', 'EN', 'ENG', 'ER', 'FA', 'FAN', 'FANG', 'FEI', 'FEN', 'FENG', 'FIAO', 'FO', 'FOU', 'FU', 'GA', 'GAI', 'GAN', 'GANG', 'GAO', 'GE', 'GEI', 'GEN', 'GENG', 'GONG', 'GOU', 'GU', 'GUA', 'GUAI', 'GUAN', 'GUANG', 'GUI', 'GUN', 'GUO', 'HA', 'HAI', 'HAN', 'HANG', 'HAO', 'HE', 'HEI', 'HEN', 'HENG', 'HM', 'HONG', 'HOU', 'HU', 'HUA', 'HUAI', 'HUAN', 'HUANG', 'HUI', 'HUN', 'HUO', 'JI', 'JIA', 'JIAN', 'JIANG', 'JIAO', 'JIE', 'JIN', 'JING', 'JIONG', 'JIU', 'JU', 'JUAN', 'JUE', 'JUN', 'KA', 'KAI', 'KAN', 'KANG', 'KAO', 'KE', 'KEN', 'KENG', 'KONG', 'KOU', 'KU', 'KUA', 'KUAI', 'KUAN', 'KUANG', 'KUI', 'KUN', 'KUO', 'LA', 'LAI', 'LAN', 'LANG', 'LAO', 'LE', 'LEI', 'LENG', 'LI', 'LIA', 'LIAN', 'LIANG', 'LIAO', 'LIE', 'LIN', 'LING', 'LIU', 'LO', 'LONG', 'LOU', 'LU', 'LV', 'LUAN', 'LVE', 'LUN', 'LUO', 'M', 'MA', 'MAI', 'MAN', 'MANG', 'MAO', 'ME', 'MEI', 'MEN', 'MENG', 'MI', 'MIAN', 'MIAO', 'MIE', 'MIN', 'MING', 'MIU', 'MO', 'MOU', 'MU', 'N', 'NA', 'NAI', 'NAN', 'NANG', 'NAO', 'NE', 'NEI', 'NEN', 'NENG', 'NI', 'NIAN', 'NIANG', 'NIAO', 'NIE', 'NIN', 'NING', 'NIU', 'NONG', 'NOU', 'NU', 'NV', 'NUAN', 'NVE', 'NUN', 'NUO', 'O', 'OU', 'PA', 'PAI', 'PAN', 'PANG', 'PAO', 'PEI', 'PEN', 'PENG', 'PI', 'PIAN', 'PIAO', 'PIE', 'PIN', 'PING', 'PO', 'POU', 'PU', 'QI', 'QIA', 'QIAN', 'QIANG', 'QIAO', 'QIE', 'QIN', 'QING', 'QIONG', 'QIU', 'QU', 'QUAN', 'QUE', 'QUN', 'RAN', 'RANG', 'RAO', 'RE', 'REN', 'RENG', 'RI', 'RONG', 'ROU', 'RU', 'RUA', 'RUAN', 'RUI', 'RUN', 'RUO', 'SA', 'SAI', 'SAN', 'SANG', 'SAO', 'SE', 'SEN', 'SENG', 'SHA', 'SHAI', 'SHAN', 'SHANG', 'SHAO', 'SHE', 'SHEN', 'SHENG', 'SHI', 'SHOU', 'SHU', 'SHUA', 'SHUAI', 'SHUAN', 'SHUANG', 'SHUI', 'SHUN', 'SHUO', 'SI', 'SONG', 'SOU', 'SU', 'SUAN', 'SUI', 'SUN', 'SUO', 'TA', 'TAI', 'TAN', 'TANG', 'TAO', 'TE', 'TENG', 'TI', 'TIAN', 'TIAO', 'TIE', 'TING', 'TONG', 'TOU', 'TU', 'TUAN', 'TUI', 'TUN', 'TUO', 'WA', 'WAI', 'WAN', 'WANG', 'WEI', 'WEN', 'WENG', 'WO', 'WU', 'XI', 'XIA', 'XIAN', 'XIANG', 'XIAO', 'XIE', 'XIN', 'XING', 'XIONG', 'XIU', 'XU', 'XUAN', 'XUE', 'XUN', 'YA', 'YAN', 'YANG', 'YAO', 'YE', 'YI', 'YIN', 'YING', 'YO', 'YONG', 'YOU', 'YU', 'YUAN', 'YUE', 'YUN', 'ZA', 'ZAI', 'ZAN', 'ZANG', 'ZAO', 'ZE', 'ZEI', 'ZEN', 'ZENG', 'ZHA', 'ZHAI', 'ZHAN', 'ZHANG', 'ZHAO', 'ZHE', 'ZHEN', 'ZHENG', 'ZHI', 'ZHONG', 'ZHOU', 'ZHU', 'ZHUA', 'ZHUAI', 'ZHUAN', 'ZHUANG', 'ZHUI', 'ZHUN', 'ZHUO', 'ZI', 'ZONG', 'ZOU', 'ZU', 'ZUAN', 'ZUI', 'ZUN', 'ZUO', ''];\n\n// Separate from UNIHANS & PINYINS.\n// So PINYINS are completely of alphabetical order, and no duplicate pinyin.\nvar EXCEPTIONS = {\n  '\\u66FE': 'ZENG', // CENG 曾\n  '\\u6C88': 'SHEN', // CHEN 沈\n  '\\u55F2': 'DIA', // DIE 嗲\n  '\\u78A1': 'ZHOU', // DU 碡\n  '\\u8052': 'GUO', // GUA 聒\n  '\\u7094': 'QUE', // GUI 炔\n  '\\u86B5': 'KE', // HE 蚵\n  '\\u7809': 'HUA', // HUO 砉\n  '\\u5B24': 'MO', // MA 嬤\n  '\\u5B37': 'MO', // MA 嬷\n  '\\u8E52': 'PAN', // MAN 蹒\n  '\\u8E4A': 'XI', // QI 蹊\n  '\\u4E2C': 'PAN', // QIANG 丬\n  '\\u9730': 'XIAN', // SAN 霰\n  '\\u8398': 'XIN', // SHEN 莘\n  '\\u8C49': 'CHI', // SHI 豉\n  '\\u9967': 'XING', // TANG 饧\n  '\\u7B60': 'JUN', // YUN 筠\n  '\\u957F': 'CHANG', // ZHANG 长\n  '\\u5E27': 'ZHEN', // ZHENG 帧\n  '\\u5CD9': 'SHI', // ZHI 峙\n  '\\u90CD': 'NA',\n  '\\u828E': 'XIONG',\n  '\\u8C01': 'SHUI'\n};\n\nmodule.exports = {\n  PINYINS: PINYINS,\n  UNIHANS: UNIHANS,\n  EXCEPTIONS: EXCEPTIONS\n};\n\n//# sourceURL=webpack://entity-designer/../../node_modules/tiny-pinyin/dist/dict.js?");

/***/ }),

/***/ 57280:
/*!****************************************************!*\
  !*** ../../node_modules/tiny-pinyin/dist/index.js ***!
  \****************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n\nvar pinyin = __webpack_require__(/*! ./core */ 25156);\nvar patcher56L = __webpack_require__(/*! ./patchers/56l */ 82656);\n\n// Patch dict for icudt56l.dat related env, such as safari|node v4.\nif (pinyin.isSupported() && patcher56L.shouldPatch(pinyin.genToken)) {\n  pinyin.patchDict(patcher56L);\n}\n\nmodule.exports = pinyin;\n\n//# sourceURL=webpack://entity-designer/../../node_modules/tiny-pinyin/dist/index.js?");

/***/ }),

/***/ 82656:
/*!***********************************************************!*\
  !*** ../../node_modules/tiny-pinyin/dist/patchers/56l.js ***!
  \***********************************************************/
/***/ (function(module, exports) {

"use strict";
eval("\n\nexports = module.exports = function patcher(DICT) {\n  // Update EXCEPTIONS dict.\n  DICT.EXCEPTIONS = {\n    '\\u55F2': 'DIA', // DIE 嗲\n    '\\u78A1': 'ZHOU', // DU 碡\n    '\\u8052': 'GUO', // GUA 聒\n    '\\u7094': 'QUE', // GUI 炔\n    '\\u86B5': 'KE', // HE 蚵\n    '\\u7809': 'HUA', // HUO 砉\n    '\\u5B37': 'MO', // MA 嬷 新增\n    '\\u8E4A': 'XI', // QI 蹊\n    '\\u4E2C': 'PAN', // QIANG 丬\n    '\\u9730': 'XIAN', // SAN 霰\n    '\\u8C49': 'CHI', // SHI 豉\n    '\\u9967': 'XING', // TANG 饧\n    '\\u5E27': 'ZHEN', // ZHENG 帧\n    '\\u828E': 'XIONG', // 芎\n    '\\u8C01': 'SHUI', // 谁\n    '\\u94B6': 'KE' // 钶\n\n\n    // Update UNIHANS dict.\n  };DICT.UNIHANS[91] = '\\u4F15'; // FU: 夫 --> 伕\n  DICT.UNIHANS[347] = '\\u4EDA'; // XIAN: 仙 --> 仚\n  DICT.UNIHANS[393] = '\\u8BCC'; // ZHOU: 州 --> 诌\n  DICT.UNIHANS[39] = '\\u5A64'; // CHOU: 抽 --> 婤\n  DICT.UNIHANS[50] = '\\u8160'; // COU: 凑 --> 腠\n  DICT.UNIHANS[369] = '\\u6538'; // YOU: 优 --> 攸\n  DICT.UNIHANS[123] = '\\u4E6F'; // HU: 乎 --> 乯\n  DICT.UNIHANS[171] = '\\u5215'; // LI: 哩 --> 刕\n  DICT.UNIHANS[102] = '\\u4F5D'; // GOU: 勾 --> 佝\n  DICT.UNIHANS[126] = '\\u72BF'; // HUAN: 欢 --> 犿\n  DICT.UNIHANS[176] = '\\u5217'; // LIE: 毟 --> 列\n  DICT.UNIHANS[178] = '\\u5222'; // LING: 伶 --> 刢\n  DICT.UNIHANS[252] = '\\u5A1D'; // POU: 剖 --> 娝\n  DICT.UNIHANS[330] = '\\u5078'; // TOU: 偷 --> 偸\n};\n\nexports.shouldPatch = function shouldPatch(toToken) {\n  if (typeof toToken !== 'function') return false;\n  // Special unihans that get incorrect pinyins.\n  if (toToken('\\u4F15').target === 'FOU' && toToken('\\u4EDA').target === 'XIA' && toToken('\\u8BCC').target === 'ZHONG' && toToken('\\u5A64').target === 'CHONG' && toToken('\\u8160').target === 'CONG' && toToken('\\u6538').target === 'YONG' && toToken('\\u4E6F').target === 'HOU' && toToken('\\u5215').target === 'LENG' && toToken('\\u4F5D').target === 'GONG' && toToken('\\u72BF').target === 'HUAI' && toToken('\\u5217').target === 'LIAO' && toToken('\\u5222').target === 'LIN' && toToken('\\u94B6').target === 'E') {\n    return true;\n  }\n  return false;\n};\n\n//# sourceURL=webpack://entity-designer/../../node_modules/tiny-pinyin/dist/patchers/56l.js?");

/***/ }),

/***/ 83904:
/*!******************************************************!*\
  !*** ../kd-designer/assets/images/control-empty.png ***!
  \******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOAAAACACAMAAAAlB5WJAAAAVFBMVEUAAADX3ujZ3und3uTZ3OzX3+jW3OfY3erY3unW3OfX3ejV3ebZ2+rY3ejW3OfW3ejX3efX3OfX3efX3ejX3ejv9f/j6fTj6fTi6PPK0Nvg5vHu9P80Vk63AAAAGHRSTlMAHBcFCQ0gEyk1MCQQJj87LUM5RkqA6ab1lqPoAAACrUlEQVR42u3a7Y6iMBSA4X5SBKSIrjjd+7/P7a5mUndHsD1l6WHO2yb1449PjgmYyCiKoiiKoigKfXy63hL7wRDEPS+1nxiE0w0AxCC8QoAYhDcIEIMQBMQgBAExCEFADEIQEIMQBMQgBAExCEFADEIQEIMQBMQgBAExCEFADEIQEIMQBMQgBAExCEFADMLbo48gCJqVFgEJSMCoCEhAAhKQgEX1bYBhBCRgQRGQgASMioCACz0oAv6XVCeEljsFdkd7eWRbvTsg7y9P9XxXQNGf/8ma3QDlcP6yQe4DqOzpRQe1B6D3vcxq/Bd6NfYzjRI9sOlna7ADK7uQww3UdhHoUAPrcakVgUpUddPULVdsrdRhMefcKkB9tMF9U63ZKlVbAfXh8leHjq1Q8z7wY6EI4Itbp0Zm9+lmuRWAuj9/WZ9viFJprSQT87ahGYbG+fICxellPA/PtMOf2npYLjuQn2YSWX7Y1jHlBnb9bAbs43W9KXCcB1oF9R0jywx0dqEB5hPHbYHO2fEpO1q/P0+fgPhUG90dmCvnxqUaCJBX0WUFOucOixnAACsMwDod2PH4cgOb5WQyUGwMdO8BO9TAYRiahcWlEZwLI+OBCWUHRtRqhMA6qipuiiahbYF1q7ABj5G1MTPsEvK8rMA2tioCqBPyn2pbYNutC3SZgVV87wNVQmAVHKhQAXl85m2gTMj5NgaKlYE5J3hzIiH2fvKx7oeP+f25fI/3Hqd/kPkrmhlY2F+5ggkaYYx4Xr7wveBkQYUDnTPx4QJ2xnSm8/t+BoWvPT9nQeUDY0MF9FsnxILKBjq3c6AnqoRYUNlAt3eg3zIhFlQ08He7B7LSIiABCRgVAQn43YDXvL4rK60pL3BipcWvWQfIWXHx6ZqNNxXooyiKoiiKoqjIfgGBCmvD1S6nHAAAAABJRU5ErkJggg==\");\n\n//# sourceURL=webpack://entity-designer/../kd-designer/assets/images/control-empty.png?");

/***/ }),

/***/ 75940:
/*!*******************************************************!*\
  !*** ../kd-designer/assets/images/property-empty.png ***!
  \*******************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (__webpack_require__.p + \"images/b7faef5a0338c01e97e8b6d7d8f7511f.png\");\n\n//# sourceURL=webpack://entity-designer/../kd-designer/assets/images/property-empty.png?");

/***/ }),

/***/ 80143:
/*!*******************************!*\
  !*** ../kd-designer/index.js ***!
  \*******************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ActionType: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.ActionType; },\n/* harmony export */   AddAction: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.AddAction; },\n/* harmony export */   CONTROL_DRAG_DATA: function() { return /* reexport safe */ _src_constant_index__WEBPACK_IMPORTED_MODULE_13__.CONTROL_DRAG_DATA; },\n/* harmony export */   CheckboxPropertyEditor: function() { return /* reexport safe */ _src_editor_CheckboxPropertyEditor__WEBPACK_IMPORTED_MODULE_23__[\"default\"]; },\n/* harmony export */   ColorPicker: function() { return /* reexport safe */ _src_editor_common_ColorPicker__WEBPACK_IMPORTED_MODULE_32__[\"default\"]; },\n/* harmony export */   ColorPrefixIcon: function() { return /* reexport safe */ _src_editor_common_ColorPicker__WEBPACK_IMPORTED_MODULE_32__.ColorPrefixIcon; },\n/* harmony export */   ConfigContext: function() { return /* reexport safe */ _src_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; },\n/* harmony export */   ControlView: function() { return /* reexport safe */ _src_view_control_view__WEBPACK_IMPORTED_MODULE_31__[\"default\"]; },\n/* harmony export */   ControlViewItemProps: function() { return /* reexport safe */ _src_view_control_view__WEBPACK_IMPORTED_MODULE_31__.ControlViewItemProps; },\n/* harmony export */   CustomInputTrigger: function() { return /* reexport safe */ _src_editor_common_CustomInputTrigger__WEBPACK_IMPORTED_MODULE_19__[\"default\"]; },\n/* harmony export */   CustomUpdateAction: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.CustomUpdateAction; },\n/* harmony export */   DataChangeEvent: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.DataChangeEvent; },\n/* harmony export */   DataChangeEventType: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.DataChangeEventType; },\n/* harmony export */   DataContext: function() { return /* reexport safe */ _src_context_data_context__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; },\n/* harmony export */   DataFactoryContext: function() { return /* reexport safe */ _src_context__WEBPACK_IMPORTED_MODULE_30__.DataFactoryContext; },\n/* harmony export */   DefaultIcon: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.DefaultIcon; },\n/* harmony export */   DelayQueueUtil: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.DelayQueueUtil; },\n/* harmony export */   DeleteAction: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.DeleteAction; },\n/* harmony export */   DropDownPanel: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.DropDownPanel; },\n/* harmony export */   EditComboEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.EditComboEditor; },\n/* harmony export */   EditorPropertyCustomInput: function() { return /* reexport safe */ _src_editor_CustomPropertyEditor__WEBPACK_IMPORTED_MODULE_26__[\"default\"]; },\n/* harmony export */   EditorPropertyEditSelect: function() { return /* reexport safe */ _src_editor_EditSelectPropertyEditor__WEBPACK_IMPORTED_MODULE_21__.EditorPropertyEditSelect; },\n/* harmony export */   EditorPropertySelect: function() { return /* reexport safe */ _src_editor_SelectPropertyEditor__WEBPACK_IMPORTED_MODULE_20__.EditorPropertySelect; },\n/* harmony export */   EditorPropertyTimePicker: function() { return /* reexport safe */ _src_editor_DatePickerPropertyEditor__WEBPACK_IMPORTED_MODULE_22__.EditorPropertyTimePicker; },\n/* harmony export */   ErrorBoundaryWrap: function() { return /* reexport safe */ _src_view_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_33__[\"default\"]; },\n/* harmony export */   GlobalConfigContext: function() { return /* reexport safe */ _src_context_global_config_context__WEBPACK_IMPORTED_MODULE_29__[\"default\"]; },\n/* harmony export */   GlobalContext: function() { return /* reexport safe */ _src_context_global_context__WEBPACK_IMPORTED_MODULE_28__[\"default\"]; },\n/* harmony export */   IApi: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IApi; },\n/* harmony export */   IControlAction: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IControlAction; },\n/* harmony export */   IControlItemUppercaseKey: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IControlItemUppercaseKey; },\n/* harmony export */   IDataApi: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IDataApi; },\n/* harmony export */   IKDesignerProps: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IKDesignerProps; },\n/* harmony export */   IMeta: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.IMeta; },\n/* harmony export */   INextControl: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.INextControl; },\n/* harmony export */   ISelection: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.ISelection; },\n/* harmony export */   ITransformKeyMap: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.ITransformKeyMap; },\n/* harmony export */   InputPropertyEditor: function() { return /* reexport safe */ _src_editor_InputPropertyEditor__WEBPACK_IMPORTED_MODULE_37__[\"default\"]; },\n/* harmony export */   LINIX: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.LINIX; },\n/* harmony export */   MAC: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.MAC; },\n/* harmony export */   NameTipSwitchWrapper: function() { return /* reexport safe */ _src_editor_common_NameTipSwitchWrapper__WEBPACK_IMPORTED_MODULE_18__[\"default\"]; },\n/* harmony export */   NameTipWrapper: function() { return /* reexport safe */ _src_editor_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_17__[\"default\"]; },\n/* harmony export */   OS: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.OS; },\n/* harmony export */   PropertyEditorFactoryContext: function() { return /* reexport safe */ _src_utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_5__.PropertyEditorFactoryContext; },\n/* harmony export */   PropertyEditorProps: function() { return /* reexport safe */ _src_editor_type__WEBPACK_IMPORTED_MODULE_27__.PropertyEditorProps; },\n/* harmony export */   PropertyView: function() { return /* reexport safe */ _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__.PropertyView; },\n/* harmony export */   PropertyViewItem: function() { return /* reexport safe */ _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__.PropertyViewItem; },\n/* harmony export */   PropertyViewItemGroup: function() { return /* reexport safe */ _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__.PropertyViewItemGroup; },\n/* harmony export */   PropertyViewRoot: function() { return /* reexport safe */ _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__.PropertyViewRoot; },\n/* harmony export */   SelectionContext: function() { return /* reexport safe */ _src_context_select_context__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; },\n/* harmony export */   SwitchPropertyEditor: function() { return /* reexport safe */ _src_editor_SwitchPropertyEditor__WEBPACK_IMPORTED_MODULE_24__[\"default\"]; },\n/* harmony export */   TabPropertyEditor: function() { return /* reexport safe */ _src_editor_TabPropertyEditor__WEBPACK_IMPORTED_MODULE_25__[\"default\"]; },\n/* harmony export */   UNIX: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.UNIX; },\n/* harmony export */   UpdateAction: function() { return /* reexport safe */ _src_type__WEBPACK_IMPORTED_MODULE_11__.UpdateAction; },\n/* harmony export */   ViewHeader: function() { return /* reexport safe */ _src_hooks_useTab__WEBPACK_IMPORTED_MODULE_10__.ViewHeader; },\n/* harmony export */   WINDOWS: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.WINDOWS; },\n/* harmony export */   adaptorMeta: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.adaptorMeta; },\n/* harmony export */   adaptorObjectByTransformKeyMap: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.adaptorObjectByTransformKeyMap; },\n/* harmony export */   browserType: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.browserType; },\n/* harmony export */   buildTree: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.buildTree; },\n/* harmony export */   console: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.console; },\n/* harmony export */   createAddAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createAddAction; },\n/* harmony export */   createAttrAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createAttrAction; },\n/* harmony export */   createControlData: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.createControlData; },\n/* harmony export */   createControlDataOrModel: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.createControlDataOrModel; },\n/* harmony export */   createControlModel: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.createControlModel; },\n/* harmony export */   createCustomUpdateAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createCustomUpdateAction; },\n/* harmony export */   createDataContext: function() { return /* reexport safe */ _src_data_data_provider__WEBPACK_IMPORTED_MODULE_14__[\"default\"]; },\n/* harmony export */   createDeleteAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createDeleteAction; },\n/* harmony export */   createEComboEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.createEComboEditor; },\n/* harmony export */   createGlobalConfig: function() { return /* reexport safe */ _src_constant_index__WEBPACK_IMPORTED_MODULE_13__.createGlobalConfig; },\n/* harmony export */   createInputEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.createInputEditor; },\n/* harmony export */   createInsertAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createInsertAction; },\n/* harmony export */   createMetaApi: function() { return /* reexport safe */ _src_meta__WEBPACK_IMPORTED_MODULE_35__.createMetaApi; },\n/* harmony export */   createPasteAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createPasteAction; },\n/* harmony export */   createPropertyChangeByActions: function() { return /* reexport safe */ _src_action__WEBPACK_IMPORTED_MODULE_36__.createPropertyChangeByActions; },\n/* harmony export */   createPropertyGroups: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.createPropertyGroups; },\n/* harmony export */   createRefComboEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.createRefComboEditor; },\n/* harmony export */   createRemovePropAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createRemovePropAction; },\n/* harmony export */   createSelectEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.createSelectEditor; },\n/* harmony export */   createSwapAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createSwapAction; },\n/* harmony export */   createUUid: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.createUUid; },\n/* harmony export */   createUniqueKey: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.createUniqueKey; },\n/* harmony export */   createUpdateAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.createUpdateAction; },\n/* harmony export */   devwarning: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.devwarning; },\n/* harmony export */   eventBus: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.eventBus; },\n/* harmony export */   exponentToFloat: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.exponentToFloat; },\n/* harmony export */   filterNodes: function() { return /* reexport safe */ _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__.filterNodes; },\n/* harmony export */   filterProperty: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.filterProperty; },\n/* harmony export */   formatEditNumber: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.formatEditNumber; },\n/* harmony export */   formatNumber: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.formatNumber; },\n/* harmony export */   getCommonProperties: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.getCommonProperties; },\n/* harmony export */   getControlIconMap: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.getControlIconMap; },\n/* harmony export */   getControlIsContainer: function() { return /* reexport safe */ _src_utils_data__WEBPACK_IMPORTED_MODULE_8__.getControlIsContainer; },\n/* harmony export */   getEComboEditorItems: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.getEComboEditorItems; },\n/* harmony export */   getFieldProperty: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.getFieldProperty; },\n/* harmony export */   getLangMsg: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.getLangMsg; },\n/* harmony export */   getMaxNumberByPrecision: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.getMaxNumberByPrecision; },\n/* harmony export */   getModelData: function() { return /* reexport safe */ _src_hooks_useSelectModel__WEBPACK_IMPORTED_MODULE_16__.getModelData; },\n/* harmony export */   getOS: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.getOS; },\n/* harmony export */   getRefComboEditor: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.getRefComboEditor; },\n/* harmony export */   isAddAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.isAddAction; },\n/* harmony export */   isAltActive: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isAltActive; },\n/* harmony export */   isArrayValueRepeat: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isArrayValueRepeat; },\n/* harmony export */   isCtrlActive: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isCtrlActive; },\n/* harmony export */   isExp: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isExp; },\n/* harmony export */   isLinux: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isLinux; },\n/* harmony export */   isMac: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isMac; },\n/* harmony export */   isPasteAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.isPasteAction; },\n/* harmony export */   isUnix: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isUnix; },\n/* harmony export */   isUpdateAction: function() { return /* reexport safe */ _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__.isUpdateAction; },\n/* harmony export */   isWin: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.isWin; },\n/* harmony export */   keyCode: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.keyCode; },\n/* harmony export */   mergeTransformKeyMap: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.mergeTransformKeyMap; },\n/* harmony export */   omit: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.omit; },\n/* harmony export */   serialization: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.serialization; },\n/* harmony export */   setIntlApi: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.setIntlApi; },\n/* harmony export */   supplementZero: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.supplementZero; },\n/* harmony export */   timerManager: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.timerManager; },\n/* harmony export */   toArray: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.toArray; },\n/* harmony export */   toFixed: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.toFixed; },\n/* harmony export */   transformActions: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.transformActions; },\n/* harmony export */   transformKeyMap: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.transformKeyMap; },\n/* harmony export */   transformMeta: function() { return /* reexport safe */ _src_meta_transformMeta__WEBPACK_IMPORTED_MODULE_34__[\"default\"]; },\n/* harmony export */   tuple: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.tuple; },\n/* harmony export */   tupleNum: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.tupleNum; },\n/* harmony export */   useActivedSelectedId: function() { return /* reexport safe */ _src_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_15__.useActivedSelectedId; },\n/* harmony export */   useDataChangeForceUpdateEffect: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useDataChangeForceUpdateEffect; },\n/* harmony export */   useDebounce: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useDebounce; },\n/* harmony export */   useErrorChangeForceUpdateEffect: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useErrorChangeForceUpdateEffect; },\n/* harmony export */   useForceUpdate: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useForceUpdate; },\n/* harmony export */   useGetFieldProperty: function() { return /* reexport safe */ _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__.useGetFieldProperty; },\n/* harmony export */   useMergedState: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useMergedState; },\n/* harmony export */   useOnClickOutside: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useOnClickOutside; },\n/* harmony export */   useOnClickOutsideByRootClick: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useOnClickOutsideByRootClick; },\n/* harmony export */   usePopper: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.usePopper; },\n/* harmony export */   usePrevious: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.usePrevious; },\n/* harmony export */   useResizeObserver: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useResizeObserver; },\n/* harmony export */   useSelectModel: function() { return /* reexport safe */ _src_hooks_useSelectModel__WEBPACK_IMPORTED_MODULE_16__[\"default\"]; },\n/* harmony export */   useSelectionChangeForceUpdateEffect: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useSelectionChangeForceUpdateEffect; },\n/* harmony export */   useTraceElementPosition: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.useTraceElementPosition; },\n/* harmony export */   xssFilters: function() { return /* reexport safe */ _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__.xssFilters; }\n/* harmony export */ });\n/* harmony import */ var _src_style_index_less__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/style/index.less */ 77856);\n/* harmony import */ var _src_style_index_less__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_src_style_index_less__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _src_index_tsx__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/index.tsx */ 33856);\n/* harmony import */ var _designer_utils_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../designer-utils/index */ 89592);\n/* harmony import */ var _form_entity_designer_utils_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../form-entity-designer-utils/index */ 57500);\n/* harmony import */ var _src_config_provider_ConfigContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/config-provider/ConfigContext */ 76228);\n/* harmony import */ var _src_utils_property_editor_factory__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/_utils/property-editor-factory */ 93888);\n/* harmony import */ var _src_context_data_context__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/context/data-context */ 55308);\n/* harmony import */ var _src_context_select_context__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/context/select-context */ 23412);\n/* harmony import */ var _src_utils_data__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./src/_utils/data */ 15400);\n/* harmony import */ var _src_view_property_view__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./src/view/property-view */ 2044);\n/* harmony import */ var _src_hooks_useTab__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./src/hooks/useTab */ 46644);\n/* harmony import */ var _src_type__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./src/type */ 84460);\n/* harmony import */ var _src_type_actionType__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./src/type/actionType */ 54465);\n/* harmony import */ var _src_constant_index__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./src/constant/index */ 71912);\n/* harmony import */ var _src_data_data_provider__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./src/data/data-provider */ 43316);\n/* harmony import */ var _src_hooks_useActivedSelectedId__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./src/hooks/useActivedSelectedId */ 9700);\n/* harmony import */ var _src_hooks_useSelectModel__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./src/hooks/useSelectModel */ 73604);\n/* harmony import */ var _src_editor_common_NameTipWrapper__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./src/editor/common/NameTipWrapper */ 42440);\n/* harmony import */ var _src_editor_common_NameTipSwitchWrapper__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./src/editor/common/NameTipSwitchWrapper */ 66000);\n/* harmony import */ var _src_editor_common_CustomInputTrigger__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./src/editor/common/CustomInputTrigger */ 57172);\n/* harmony import */ var _src_editor_SelectPropertyEditor__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./src/editor/SelectPropertyEditor */ 17852);\n/* harmony import */ var _src_editor_EditSelectPropertyEditor__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./src/editor/EditSelectPropertyEditor */ 36452);\n/* harmony import */ var _src_editor_DatePickerPropertyEditor__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./src/editor/DatePickerPropertyEditor */ 86140);\n/* harmony import */ var _src_editor_CheckboxPropertyEditor__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./src/editor/CheckboxPropertyEditor */ 98020);\n/* harmony import */ var _src_editor_SwitchPropertyEditor__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./src/editor/SwitchPropertyEditor */ 80860);\n/* harmony import */ var _src_editor_TabPropertyEditor__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./src/editor/TabPropertyEditor */ 80888);\n/* harmony import */ var _src_editor_CustomPropertyEditor__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./src/editor/CustomPropertyEditor */ 20616);\n/* harmony import */ var _src_editor_type__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./src/editor/type */ 88108);\n/* harmony import */ var _src_editor_type__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(_src_editor_type__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var _src_context_global_context__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./src/context/global-context */ 49440);\n/* harmony import */ var _src_context_global_config_context__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./src/context/global-config-context */ 21708);\n/* harmony import */ var _src_context__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./src/context */ 10268);\n/* harmony import */ var _src_view_control_view__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./src/view/control-view */ 32884);\n/* harmony import */ var _src_editor_common_ColorPicker__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./src/editor/common/ColorPicker */ 87544);\n/* harmony import */ var _src_view_errorboundary_wrap__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./src/view/errorboundary-wrap */ 32596);\n/* harmony import */ var _src_meta_transformMeta__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./src/meta/transformMeta */ 59499);\n/* harmony import */ var _src_meta__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./src/meta */ 55796);\n/* harmony import */ var _src_action__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./src/action */ 99060);\n/* harmony import */ var _src_editor_InputPropertyEditor__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./src/editor/InputPropertyEditor */ 33224);\n/*\n * @Description:\n * @Author: jianhang_he\n * @Date: 2022-07-15 14:35:53\n * @LastEditTime: 2024-01-24 11:21:23\n * @Last Modified by: jianhang_he\n */\n\n/* @remove-on-es-build-end */\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_src_index_tsx__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n\n\n// 设计器导出统一入口\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/index.js?");

/***/ }),

/***/ 9740:
/*!*************************************************!*\
  !*** ../kd-designer/src/designerConst/index.js ***!
  \*************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   ENTITYMETA: function() { return /* binding */ ENTITYMETA; }\n/* harmony export */ });\n// 设计器常量\n// 实体元数据\nconst ENTITYMETA = 'entitymeta'\n\n\n//# sourceURL=webpack://entity-designer/../kd-designer/src/designerConst/index.js?");

/***/ }),

/***/ 51452:
/*!*************************************************************!*\
  !*** external "designer_base@[window.DESIGNER_BASE_ENTRY]" ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
var __webpack_error__ = new Error();
module.exports = new Promise(function(resolve, reject) {
	if(typeof designer_base !== "undefined") return resolve();
	__webpack_require__.l(window.DESIGNER_BASE_ENTRY, function(event) {
		if(typeof designer_base !== "undefined") return resolve();
		var errorType = event && (event.type === 'load' ? 'missing' : event.type);
		var realSrc = event && event.target && event.target.src;
		__webpack_error__.message = 'Loading script failed.\n(' + errorType + ': ' + realSrc + ')';
		__webpack_error__.name = 'ScriptExternalLoadError';
		__webpack_error__.type = errorType;
		__webpack_error__.request = realSrc;
		reject(__webpack_error__);
	}, "designer_base");
}).then(function() { return designer_base; });

/***/ }),

/***/ 71252:
/*!**********************************************!*\
  !*** ../../node_modules/classnames/index.js ***!
  \**********************************************/
/***/ (function(module, exports) {

eval("var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif ( true && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (true) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\t!(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n\t\t\treturn classNames;\n\t\t}).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {}\n}());\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/classnames/index.js?");

/***/ }),

/***/ 95280:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/array/from.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/array/from */ 36128);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/array/from.js?");

/***/ }),

/***/ 24224:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/array/is-array.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/array/is-array */ 81324);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/array/is-array.js?");

/***/ }),

/***/ 36188:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/get-iterator-method.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../stable/get-iterator-method */ 50984);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/get-iterator-method.js?");

/***/ }),

/***/ 8404:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/instance/bind.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/instance/bind */ 92960);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/instance/bind.js?");

/***/ }),

/***/ 37216:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/instance/for-each.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/instance/for-each */ 49372);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/instance/for-each.js?");

/***/ }),

/***/ 49152:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/instance/index-of.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/instance/index-of */ 35720);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/instance/index-of.js?");

/***/ }),

/***/ 82080:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/instance/reverse.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/instance/reverse */ 87144);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/instance/reverse.js?");

/***/ }),

/***/ 80296:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/instance/slice.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/instance/slice */ 27584);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/instance/slice.js?");

/***/ }),

/***/ 50376:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/assign.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/assign */ 95608);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/assign.js?");

/***/ }),

/***/ 83916:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/create.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/create */ 72672);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/create.js?");

/***/ }),

/***/ 46816:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/define-properties.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/define-properties */ 62296);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/define-properties.js?");

/***/ }),

/***/ 46404:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/define-property.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/define-property */ 68792);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/define-property.js?");

/***/ }),

/***/ 80120:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/freeze.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/freeze */ 38736);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/freeze.js?");

/***/ }),

/***/ 19468:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/get-own-property-symbols.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/get-own-property-symbols */ 9224);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/get-own-property-symbols.js?");

/***/ }),

/***/ 95699:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/get-prototype-of.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/get-prototype-of */ 48624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/get-prototype-of.js?");

/***/ }),

/***/ 280:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/keys.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/keys */ 10424);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/keys.js?");

/***/ }),

/***/ 88008:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/object/set-prototype-of.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/object/set-prototype-of */ 42648);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/object/set-prototype-of.js?");

/***/ }),

/***/ 53080:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/promise/index.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/promise */ 19516);\n__webpack_require__(/*! ../../modules/esnext.promise.with-resolvers */ 21048);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/promise/index.js?");

/***/ }),

/***/ 47144:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/symbol/index.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/symbol */ 39928);\n\n__webpack_require__(/*! ../../modules/esnext.function.metadata */ 46536);\n__webpack_require__(/*! ../../modules/esnext.symbol.async-dispose */ 7576);\n__webpack_require__(/*! ../../modules/esnext.symbol.dispose */ 57772);\n__webpack_require__(/*! ../../modules/esnext.symbol.metadata */ 65656);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/symbol/index.js?");

/***/ }),

/***/ 19184:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/actual/symbol/iterator.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../stable/symbol/iterator */ 88308);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/actual/symbol/iterator.js?");

/***/ }),

/***/ 69259:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/from.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.string.iterator */ 34176);\n__webpack_require__(/*! ../../modules/es.array.from */ 19952);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Array.from;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/from.js?");

/***/ }),

/***/ 3376:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/is-array.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.array.is-array */ 45656);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Array.isArray;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/is-array.js?");

/***/ }),

/***/ 7160:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/concat.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.concat */ 22216);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'concat');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/concat.js?");

/***/ }),

/***/ 70216:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/entries.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../../modules/es.object.to-string */ 12352);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'entries');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/entries.js?");

/***/ }),

/***/ 94488:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/every.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.every */ 16408);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'every');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/every.js?");

/***/ }),

/***/ 18011:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/fill.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.fill */ 64124);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'fill');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/fill.js?");

/***/ }),

/***/ 5592:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/filter.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.filter */ 64864);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'filter');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/filter.js?");

/***/ }),

/***/ 24216:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/find-index.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.find-index */ 41008);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'findIndex');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/find-index.js?");

/***/ }),

/***/ 38256:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/find.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.find */ 36952);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'find');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/find.js?");

/***/ }),

/***/ 23272:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/for-each.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.for-each */ 18068);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'forEach');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/for-each.js?");

/***/ }),

/***/ 56184:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/includes.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.includes */ 46504);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'includes');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/includes.js?");

/***/ }),

/***/ 26720:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/index-of.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.index-of */ 11904);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'indexOf');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/index-of.js?");

/***/ }),

/***/ 74908:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/keys.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../../modules/es.object.to-string */ 12352);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'keys');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/keys.js?");

/***/ }),

/***/ 23616:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/last-index-of.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.last-index-of */ 74052);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'lastIndexOf');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/last-index-of.js?");

/***/ }),

/***/ 83844:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/map.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.map */ 97092);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'map');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/map.js?");

/***/ }),

/***/ 56883:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/reduce.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.reduce */ 91704);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'reduce');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/reduce.js?");

/***/ }),

/***/ 89696:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/reverse.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.reverse */ 9020);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'reverse');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/reverse.js?");

/***/ }),

/***/ 74792:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/slice.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.slice */ 15863);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'slice');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/slice.js?");

/***/ }),

/***/ 4348:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/some.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.some */ 43408);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'some');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/some.js?");

/***/ }),

/***/ 4416:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/sort.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.sort */ 38280);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'sort');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/sort.js?");

/***/ }),

/***/ 18848:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/splice.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.splice */ 74152);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'splice');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/splice.js?");

/***/ }),

/***/ 79720:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/array/virtual/values.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../../modules/es.object.to-string */ 12352);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Array', 'values');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/array/virtual/values.js?");

/***/ }),

/***/ 2412:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/function/virtual/bind.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.function.bind */ 54388);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('Function', 'bind');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/function/virtual/bind.js?");

/***/ }),

/***/ 34556:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/get-iterator-method.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../modules/es.string.iterator */ 34176);\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 80068);\n\nmodule.exports = getIteratorMethod;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/get-iterator-method.js?");

/***/ }),

/***/ 74756:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/bind.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../function/virtual/bind */ 2412);\n\nvar FunctionPrototype = Function.prototype;\n\nmodule.exports = function (it) {\n  var own = it.bind;\n  return it === FunctionPrototype || (isPrototypeOf(FunctionPrototype, it) && own === FunctionPrototype.bind) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/bind.js?");

/***/ }),

/***/ 88884:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/concat.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/concat */ 7160);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.concat;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.concat) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/concat.js?");

/***/ }),

/***/ 28312:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/every.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/every */ 94488);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.every;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.every) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/every.js?");

/***/ }),

/***/ 56404:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/fill.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/fill */ 18011);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.fill;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.fill) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/fill.js?");

/***/ }),

/***/ 680:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/filter.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/filter */ 5592);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.filter;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/filter.js?");

/***/ }),

/***/ 53612:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/find-index.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/find-index */ 24216);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.findIndex;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.findIndex) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/find-index.js?");

/***/ }),

/***/ 32600:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/find.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/find */ 38256);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.find;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.find) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/find.js?");

/***/ }),

/***/ 8180:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/includes.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar arrayMethod = __webpack_require__(/*! ../array/virtual/includes */ 56184);\nvar stringMethod = __webpack_require__(/*! ../string/virtual/includes */ 44464);\n\nvar ArrayPrototype = Array.prototype;\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n  var own = it.includes;\n  if (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.includes)) return arrayMethod;\n  if (typeof it == 'string' || it === StringPrototype || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.includes)) {\n    return stringMethod;\n  } return own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/includes.js?");

/***/ }),

/***/ 44156:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/index-of.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/index-of */ 26720);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.indexOf;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.indexOf) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/index-of.js?");

/***/ }),

/***/ 59996:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/last-index-of.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/last-index-of */ 23616);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.lastIndexOf;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.lastIndexOf) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/last-index-of.js?");

/***/ }),

/***/ 91352:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/map.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/map */ 83844);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.map;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.map) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/map.js?");

/***/ }),

/***/ 39063:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/reduce.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/reduce */ 56883);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.reduce;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reduce) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/reduce.js?");

/***/ }),

/***/ 15080:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/reverse.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/reverse */ 89696);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.reverse;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.reverse) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/reverse.js?");

/***/ }),

/***/ 58688:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/slice.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/slice */ 74792);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.slice;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.slice) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/slice.js?");

/***/ }),

/***/ 48284:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/some.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/some */ 4348);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.some;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.some) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/some.js?");

/***/ }),

/***/ 86188:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/sort.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/sort */ 4416);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.sort;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.sort) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/sort.js?");

/***/ }),

/***/ 46312:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/splice.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/splice */ 18848);\n\nvar ArrayPrototype = Array.prototype;\n\nmodule.exports = function (it) {\n  var own = it.splice;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.splice) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/splice.js?");

/***/ }),

/***/ 1240:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/starts-with.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../string/virtual/starts-with */ 51940);\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n  var own = it.startsWith;\n  return typeof it == 'string' || it === StringPrototype\n    || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.startsWith) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/starts-with.js?");

/***/ }),

/***/ 78125:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/instance/trim.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../string/virtual/trim */ 74352);\n\nvar StringPrototype = String.prototype;\n\nmodule.exports = function (it) {\n  var own = it.trim;\n  return typeof it == 'string' || it === StringPrototype\n    || (isPrototypeOf(StringPrototype, it) && own === StringPrototype.trim) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/instance/trim.js?");

/***/ }),

/***/ 69304:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/json/stringify.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.date.to-json */ 4864);\n__webpack_require__(/*! ../../modules/es.json.stringify */ 58824);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\nvar apply = __webpack_require__(/*! ../../internals/function-apply */ 79867);\n\n// eslint-disable-next-line es/no-json -- safe\nif (!path.JSON) path.JSON = { stringify: JSON.stringify };\n\n// eslint-disable-next-line no-unused-vars -- required for `.length`\nmodule.exports = function stringify(it, replacer, space) {\n  return apply(path.JSON.stringify, null, arguments);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/json/stringify.js?");

/***/ }),

/***/ 52548:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/map/index.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../modules/es.map */ 86775);\n__webpack_require__(/*! ../../modules/es.map.group-by */ 62648);\n__webpack_require__(/*! ../../modules/es.object.to-string */ 12352);\n__webpack_require__(/*! ../../modules/es.string.iterator */ 34176);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Map;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/map/index.js?");

/***/ }),

/***/ 39300:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/acosh.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.acosh */ 87940);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.acosh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/acosh.js?");

/***/ }),

/***/ 86776:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/asinh.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.asinh */ 77752);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.asinh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/asinh.js?");

/***/ }),

/***/ 76848:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/atanh.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.atanh */ 43428);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.atanh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/atanh.js?");

/***/ }),

/***/ 55743:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/cbrt.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.cbrt */ 8824);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.cbrt;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/cbrt.js?");

/***/ }),

/***/ 40099:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/cosh.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.cosh */ 42656);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.cosh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/cosh.js?");

/***/ }),

/***/ 44496:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/expm1.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.expm1 */ 90508);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.expm1;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/expm1.js?");

/***/ }),

/***/ 95308:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/hypot.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.hypot */ 80700);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.hypot;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/hypot.js?");

/***/ }),

/***/ 89108:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/log10.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.log10 */ 23244);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.log10;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/log10.js?");

/***/ }),

/***/ 70388:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/log1p.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.log1p */ 55664);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.log1p;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/log1p.js?");

/***/ }),

/***/ 63228:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/log2.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.log2 */ 50492);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.log2;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/log2.js?");

/***/ }),

/***/ 67280:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/sign.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.sign */ 34672);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.sign;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/sign.js?");

/***/ }),

/***/ 41299:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/sinh.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.sinh */ 57080);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.sinh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/sinh.js?");

/***/ }),

/***/ 10240:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/tanh.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.tanh */ 87200);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.tanh;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/tanh.js?");

/***/ }),

/***/ 75560:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/math/trunc.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.math.trunc */ 72324);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Math.trunc;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/math/trunc.js?");

/***/ }),

/***/ 96576:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/number/is-nan.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.number.is-nan */ 71620);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Number.isNaN;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/number/is-nan.js?");

/***/ }),

/***/ 60864:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/number/parse-float.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.number.parse-float */ 37112);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Number.parseFloat;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/number/parse-float.js?");

/***/ }),

/***/ 59196:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/assign.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.assign */ 46448);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.assign;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/assign.js?");

/***/ }),

/***/ 44636:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/create.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.create */ 68928);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nvar Object = path.Object;\n\nmodule.exports = function create(P, D) {\n  return Object.create(P, D);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/create.js?");

/***/ }),

/***/ 42172:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/define-properties.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.define-properties */ 67300);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nvar Object = path.Object;\n\nvar defineProperties = module.exports = function defineProperties(T, D) {\n  return Object.defineProperties(T, D);\n};\n\nif (Object.defineProperties.sham) defineProperties.sham = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/define-properties.js?");

/***/ }),

/***/ 74856:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/define-property.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.define-property */ 98708);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nvar Object = path.Object;\n\nvar defineProperty = module.exports = function defineProperty(it, key, desc) {\n  return Object.defineProperty(it, key, desc);\n};\n\nif (Object.defineProperty.sham) defineProperty.sham = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/define-property.js?");

/***/ }),

/***/ 92536:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/entries.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.entries */ 6360);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.entries;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/entries.js?");

/***/ }),

/***/ 42348:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/freeze.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.freeze */ 96360);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.freeze;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/freeze.js?");

/***/ }),

/***/ 13416:
/*!********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/get-own-property-descriptor.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.get-own-property-descriptor */ 97648);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nvar Object = path.Object;\n\nvar getOwnPropertyDescriptor = module.exports = function getOwnPropertyDescriptor(it, key) {\n  return Object.getOwnPropertyDescriptor(it, key);\n};\n\nif (Object.getOwnPropertyDescriptor.sham) getOwnPropertyDescriptor.sham = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/get-own-property-descriptor.js?");

/***/ }),

/***/ 32936:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/get-own-property-descriptors.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.get-own-property-descriptors */ 65032);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.getOwnPropertyDescriptors;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/get-own-property-descriptors.js?");

/***/ }),

/***/ 61852:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/get-own-property-names.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.get-own-property-names */ 45312);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nvar Object = path.Object;\n\nmodule.exports = function getOwnPropertyNames(it) {\n  return Object.getOwnPropertyNames(it);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/get-own-property-names.js?");

/***/ }),

/***/ 920:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/get-own-property-symbols.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.symbol */ 49276);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.getOwnPropertySymbols;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/get-own-property-symbols.js?");

/***/ }),

/***/ 3056:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/get-prototype-of.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.get-prototype-of */ 33416);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.getPrototypeOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/get-prototype-of.js?");

/***/ }),

/***/ 67552:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/is-frozen.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.is-frozen */ 63008);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.isFrozen;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/is-frozen.js?");

/***/ }),

/***/ 45704:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/is.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.is */ 92500);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.is;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/is.js?");

/***/ }),

/***/ 82613:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/keys.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.keys */ 40088);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.keys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/keys.js?");

/***/ }),

/***/ 23092:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/set-prototype-of.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.set-prototype-of */ 91020);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.setPrototypeOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/set-prototype-of.js?");

/***/ }),

/***/ 6104:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/object/values.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.object.values */ 17016);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Object.values;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/object/values.js?");

/***/ }),

/***/ 15384:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/parse-float.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../modules/es.parse-float */ 18984);\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\n\nmodule.exports = path.parseFloat;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/parse-float.js?");

/***/ }),

/***/ 5357:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/parse-int.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../modules/es.parse-int */ 71740);\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\n\nmodule.exports = path.parseInt;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/parse-int.js?");

/***/ }),

/***/ 76496:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/promise/index.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.aggregate-error */ 38436);\n__webpack_require__(/*! ../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../modules/es.object.to-string */ 12352);\n__webpack_require__(/*! ../../modules/es.promise */ 86244);\n__webpack_require__(/*! ../../modules/es.promise.all-settled */ 38128);\n__webpack_require__(/*! ../../modules/es.promise.any */ 73728);\n__webpack_require__(/*! ../../modules/es.promise.with-resolvers */ 10096);\n__webpack_require__(/*! ../../modules/es.promise.finally */ 50196);\n__webpack_require__(/*! ../../modules/es.string.iterator */ 34176);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Promise;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/promise/index.js?");

/***/ }),

/***/ 92880:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/reflect/construct.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.reflect.construct */ 14915);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Reflect.construct;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/reflect/construct.js?");

/***/ }),

/***/ 25784:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/reflect/get-own-property-descriptor.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.reflect.get-own-property-descriptor */ 79896);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Reflect.getOwnPropertyDescriptor;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/reflect/get-own-property-descriptor.js?");

/***/ }),

/***/ 82568:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/reflect/has.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.reflect.has */ 65780);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Reflect.has;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/reflect/has.js?");

/***/ }),

/***/ 21836:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/reflect/own-keys.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.reflect.own-keys */ 71088);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Reflect.ownKeys;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/reflect/own-keys.js?");

/***/ }),

/***/ 77376:
/*!*******************************************************!*\
  !*** ../../node_modules/core-js-pure/es/set/index.js ***!
  \*******************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../modules/es.object.to-string */ 12352);\n__webpack_require__(/*! ../../modules/es.set */ 81160);\n__webpack_require__(/*! ../../modules/es.set.difference.v2 */ 67036);\n__webpack_require__(/*! ../../modules/es.set.intersection.v2 */ 47124);\n__webpack_require__(/*! ../../modules/es.set.is-disjoint-from.v2 */ 24136);\n__webpack_require__(/*! ../../modules/es.set.is-subset-of.v2 */ 72304);\n__webpack_require__(/*! ../../modules/es.set.is-superset-of.v2 */ 23276);\n__webpack_require__(/*! ../../modules/es.set.symmetric-difference.v2 */ 63112);\n__webpack_require__(/*! ../../modules/es.set.union.v2 */ 61704);\n__webpack_require__(/*! ../../modules/es.string.iterator */ 34176);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Set;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/set/index.js?");

/***/ }),

/***/ 44464:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/string/virtual/includes.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.string.includes */ 3512);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('String', 'includes');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/string/virtual/includes.js?");

/***/ }),

/***/ 51940:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/string/virtual/starts-with.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.string.starts-with */ 78812);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('String', 'startsWith');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/string/virtual/starts-with.js?");

/***/ }),

/***/ 74352:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/string/virtual/trim.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../../modules/es.string.trim */ 25384);\nvar getBuiltInPrototypeMethod = __webpack_require__(/*! ../../../internals/get-built-in-prototype-method */ 46180);\n\nmodule.exports = getBuiltInPrototypeMethod('String', 'trim');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/string/virtual/trim.js?");

/***/ }),

/***/ 63656:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/symbol/for.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.symbol */ 49276);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Symbol['for'];\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/symbol/for.js?");

/***/ }),

/***/ 22767:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/es/symbol/index.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.array.concat */ 22216);\n__webpack_require__(/*! ../../modules/es.object.to-string */ 12352);\n__webpack_require__(/*! ../../modules/es.symbol */ 49276);\n__webpack_require__(/*! ../../modules/es.symbol.async-iterator */ 52240);\n__webpack_require__(/*! ../../modules/es.symbol.description */ 49452);\n__webpack_require__(/*! ../../modules/es.symbol.has-instance */ 71344);\n__webpack_require__(/*! ../../modules/es.symbol.is-concat-spreadable */ 74436);\n__webpack_require__(/*! ../../modules/es.symbol.iterator */ 6992);\n__webpack_require__(/*! ../../modules/es.symbol.match */ 58028);\n__webpack_require__(/*! ../../modules/es.symbol.match-all */ 56380);\n__webpack_require__(/*! ../../modules/es.symbol.replace */ 76176);\n__webpack_require__(/*! ../../modules/es.symbol.search */ 91176);\n__webpack_require__(/*! ../../modules/es.symbol.species */ 60781);\n__webpack_require__(/*! ../../modules/es.symbol.split */ 76720);\n__webpack_require__(/*! ../../modules/es.symbol.to-primitive */ 95536);\n__webpack_require__(/*! ../../modules/es.symbol.to-string-tag */ 44732);\n__webpack_require__(/*! ../../modules/es.symbol.unscopables */ 84243);\n__webpack_require__(/*! ../../modules/es.json.to-string-tag */ 19928);\n__webpack_require__(/*! ../../modules/es.math.to-string-tag */ 93787);\n__webpack_require__(/*! ../../modules/es.reflect.to-string-tag */ 72556);\nvar path = __webpack_require__(/*! ../../internals/path */ 19832);\n\nmodule.exports = path.Symbol;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/symbol/index.js?");

/***/ }),

/***/ 25180:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/es/symbol/iterator.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/es.array.iterator */ 30340);\n__webpack_require__(/*! ../../modules/es.object.to-string */ 12352);\n__webpack_require__(/*! ../../modules/es.string.iterator */ 34176);\n__webpack_require__(/*! ../../modules/es.symbol.iterator */ 6992);\nvar WrappedWellKnownSymbolModule = __webpack_require__(/*! ../../internals/well-known-symbol-wrapped */ 81104);\n\nmodule.exports = WrappedWellKnownSymbolModule.f('iterator');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/es/symbol/iterator.js?");

/***/ }),

/***/ 96680:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/array/from.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/array/from */ 37944);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/array/from.js?");

/***/ }),

/***/ 6164:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/array/is-array.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/array/is-array */ 42396);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/array/is-array.js?");

/***/ }),

/***/ 64800:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/get-iterator-method.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../full/get-iterator-method */ 420);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/get-iterator-method.js?");

/***/ }),

/***/ 17456:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/instance/bind.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/instance/bind */ 8176);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/instance/bind.js?");

/***/ }),

/***/ 25112:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/instance/for-each.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/instance/for-each */ 35960);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/instance/for-each.js?");

/***/ }),

/***/ 17893:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/instance/index-of.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/instance/index-of */ 47112);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/instance/index-of.js?");

/***/ }),

/***/ 78772:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/instance/reverse.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/instance/reverse */ 38952);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/instance/reverse.js?");

/***/ }),

/***/ 10384:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/instance/slice.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/instance/slice */ 53232);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/instance/slice.js?");

/***/ }),

/***/ 83576:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/assign.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/assign */ 24556);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/assign.js?");

/***/ }),

/***/ 46656:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/create.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/create */ 52600);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/create.js?");

/***/ }),

/***/ 24928:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/define-properties.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/define-properties */ 24100);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/define-properties.js?");

/***/ }),

/***/ 3568:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/define-property.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/define-property */ 88520);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/define-property.js?");

/***/ }),

/***/ 97868:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/freeze.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/freeze */ 49880);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/freeze.js?");

/***/ }),

/***/ 62952:
/*!***********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/get-own-property-symbols.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/get-own-property-symbols */ 72900);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/get-own-property-symbols.js?");

/***/ }),

/***/ 91864:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/get-prototype-of.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/get-prototype-of */ 97368);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/get-prototype-of.js?");

/***/ }),

/***/ 76008:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/keys.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/keys */ 85284);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/keys.js?");

/***/ }),

/***/ 40624:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/object/set-prototype-of.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/object/set-prototype-of */ 80988);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/object/set-prototype-of.js?");

/***/ }),

/***/ 98744:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/promise/index.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/promise */ 89056);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/promise/index.js?");

/***/ }),

/***/ 16388:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/symbol/index.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/symbol */ 39216);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/symbol/index.js?");

/***/ }),

/***/ 71792:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/features/symbol/iterator.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nmodule.exports = __webpack_require__(/*! ../../full/symbol/iterator */ 47268);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/features/symbol/iterator.js?");

/***/ }),

/***/ 37944:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/full/array/from.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/array/from */ 95280);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/array/from.js?");

/***/ }),

/***/ 42396:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/array/is-array.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/array/is-array */ 24224);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/array/is-array.js?");

/***/ }),

/***/ 420:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/get-iterator-method.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../actual/get-iterator-method */ 36188);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/get-iterator-method.js?");

/***/ }),

/***/ 8176:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/instance/bind.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/instance/bind */ 8404);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/instance/bind.js?");

/***/ }),

/***/ 35960:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/instance/for-each.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/instance/for-each */ 37216);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/instance/for-each.js?");

/***/ }),

/***/ 47112:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/instance/index-of.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/instance/index-of */ 49152);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/instance/index-of.js?");

/***/ }),

/***/ 38952:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/instance/reverse.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/instance/reverse */ 82080);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/instance/reverse.js?");

/***/ }),

/***/ 53232:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/instance/slice.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/instance/slice */ 80296);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/instance/slice.js?");

/***/ }),

/***/ 24556:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/assign.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/assign */ 50376);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/assign.js?");

/***/ }),

/***/ 52600:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/create.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/create */ 83916);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/create.js?");

/***/ }),

/***/ 24100:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/define-properties.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/define-properties */ 46816);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/define-properties.js?");

/***/ }),

/***/ 88520:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/define-property.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/define-property */ 46404);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/define-property.js?");

/***/ }),

/***/ 49880:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/freeze.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/freeze */ 80120);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/freeze.js?");

/***/ }),

/***/ 72900:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/get-own-property-symbols.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/get-own-property-symbols */ 19468);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/get-own-property-symbols.js?");

/***/ }),

/***/ 97368:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/get-prototype-of.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/get-prototype-of */ 95699);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/get-prototype-of.js?");

/***/ }),

/***/ 85284:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/keys.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/keys */ 280);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/keys.js?");

/***/ }),

/***/ 80988:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/object/set-prototype-of.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/object/set-prototype-of */ 88008);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/object/set-prototype-of.js?");

/***/ }),

/***/ 89056:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/promise/index.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/promise */ 53080);\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../../modules/esnext.aggregate-error */ 52796);\n__webpack_require__(/*! ../../modules/esnext.promise.all-settled */ 18744);\n__webpack_require__(/*! ../../modules/esnext.promise.try */ 94384);\n__webpack_require__(/*! ../../modules/esnext.promise.any */ 5200);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/promise/index.js?");

/***/ }),

/***/ 39216:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/symbol/index.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/symbol */ 47144);\n__webpack_require__(/*! ../../modules/esnext.symbol.is-registered-symbol */ 89264);\n__webpack_require__(/*! ../../modules/esnext.symbol.is-well-known-symbol */ 98460);\n__webpack_require__(/*! ../../modules/esnext.symbol.custom-matcher */ 53504);\n__webpack_require__(/*! ../../modules/esnext.symbol.observable */ 4184);\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../../modules/esnext.symbol.is-registered */ 31216);\n__webpack_require__(/*! ../../modules/esnext.symbol.is-well-known */ 5196);\n__webpack_require__(/*! ../../modules/esnext.symbol.matcher */ 84448);\n__webpack_require__(/*! ../../modules/esnext.symbol.metadata-key */ 72948);\n__webpack_require__(/*! ../../modules/esnext.symbol.pattern-match */ 12252);\n__webpack_require__(/*! ../../modules/esnext.symbol.replace-all */ 8776);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/symbol/index.js?");

/***/ }),

/***/ 47268:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/full/symbol/iterator.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../actual/symbol/iterator */ 19184);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/full/symbol/iterator.js?");

/***/ }),

/***/ 20028:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/a-callable.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n  if (isCallable(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/a-callable.js?");

/***/ }),

/***/ 39556:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/a-constructor.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39496);\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\n\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n  if (isConstructor(argument)) return argument;\n  throw new $TypeError(tryToString(argument) + ' is not a constructor');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/a-constructor.js?");

/***/ }),

/***/ 31459:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/a-possible-prototype.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPossiblePrototype = __webpack_require__(/*! ../internals/is-possible-prototype */ 97432);\n\nvar $String = String;\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument) {\n  if (isPossiblePrototype(argument)) return argument;\n  throw new $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/a-possible-prototype.js?");

/***/ }),

/***/ 92292:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/a-set.js ***!
  \**********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\n\nvar $TypeError = TypeError;\n\n// Perform ? RequireInternalSlot(M, [[SetData]])\nmodule.exports = function (it) {\n  if (typeof it == 'object' && 'size' in it && 'has' in it && 'add' in it && 'delete' in it && 'keys' in it) return it;\n  throw new $TypeError(tryToString(it) + ' is not a set');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/a-set.js?");

/***/ }),

/***/ 51472:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/add-to-unscopables.js ***!
  \***********************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function () { /* empty */ };\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/add-to-unscopables.js?");

/***/ }),

/***/ 6952:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/an-instance.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 82360);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it, Prototype) {\n  if (isPrototypeOf(Prototype, it)) return it;\n  throw new $TypeError('Incorrect invocation');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/an-instance.js?");

/***/ }),

/***/ 42032:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/an-object.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n  if (isObject(argument)) return argument;\n  throw new $TypeError($String(argument) + ' is not an object');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/an-object.js?");

/***/ }),

/***/ 3648:
/*!********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-buffer-non-extensible.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nmodule.exports = fails(function () {\n  if (typeof ArrayBuffer == 'function') {\n    var buffer = new ArrayBuffer(8);\n    // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe\n    if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 });\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-buffer-non-extensible.js?");

/***/ }),

/***/ 33028:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-fill.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 24180);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n  var O = toObject(this);\n  var length = lengthOfArrayLike(O);\n  var argumentsLength = arguments.length;\n  var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n  var end = argumentsLength > 2 ? arguments[2] : undefined;\n  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n  while (endPos > index) O[index++] = value;\n  return O;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-fill.js?");

/***/ }),

/***/ 66056:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-for-each.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $forEach = (__webpack_require__(/*! ../internals/array-iteration */ 7608).forEach);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\n\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n  return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n} : [].forEach;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-for-each.js?");

/***/ }),

/***/ 9980:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-from.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar callWithSafeIterationClosing = __webpack_require__(/*! ../internals/call-with-safe-iteration-closing */ 9928);\nvar isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 84992);\nvar isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39496);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ 14895);\nvar getIterator = __webpack_require__(/*! ../internals/get-iterator */ 74656);\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 80068);\n\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n  var O = toObject(arrayLike);\n  var IS_CONSTRUCTOR = isConstructor(this);\n  var argumentsLength = arguments.length;\n  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n  var mapping = mapfn !== undefined;\n  if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n  var iteratorMethod = getIteratorMethod(O);\n  var index = 0;\n  var length, result, step, iterator, next, value;\n  // if the target is not iterable or it's an array with the default iterator - use a simple case\n  if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n    result = IS_CONSTRUCTOR ? new this() : [];\n    iterator = getIterator(O, iteratorMethod);\n    next = iterator.next;\n    for (;!(step = call(next, iterator)).done; index++) {\n      value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n      createProperty(result, index, value);\n    }\n  } else {\n    length = lengthOfArrayLike(O);\n    result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n    for (;length > index; index++) {\n      value = mapping ? mapfn(O[index], index) : O[index];\n      createProperty(result, index, value);\n    }\n  }\n  result.length = index;\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-from.js?");

/***/ }),

/***/ 77464:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-includes.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 24180);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIndexedObject($this);\n    var length = lengthOfArrayLike(O);\n    if (length === 0) return !IS_INCLUDES && -1;\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare -- NaN check\n    if (IS_INCLUDES && el !== el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare -- NaN check\n      if (value !== value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) {\n      if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.includes` method\n  // https://tc39.es/ecma262/#sec-array.prototype.includes\n  includes: createMethod(true),\n  // `Array.prototype.indexOf` method\n  // https://tc39.es/ecma262/#sec-array.prototype.indexof\n  indexOf: createMethod(false)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-includes.js?");

/***/ }),

/***/ 7608:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-iteration.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 22899);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 94872);\n\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function (TYPE) {\n  var IS_MAP = TYPE === 1;\n  var IS_FILTER = TYPE === 2;\n  var IS_SOME = TYPE === 3;\n  var IS_EVERY = TYPE === 4;\n  var IS_FIND_INDEX = TYPE === 6;\n  var IS_FILTER_REJECT = TYPE === 7;\n  var NO_HOLES = TYPE === 5 || IS_FIND_INDEX;\n  return function ($this, callbackfn, that, specificCreate) {\n    var O = toObject($this);\n    var self = IndexedObject(O);\n    var length = lengthOfArrayLike(self);\n    var boundFunction = bind(callbackfn, that);\n    var index = 0;\n    var create = specificCreate || arraySpeciesCreate;\n    var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n    var value, result;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      value = self[index];\n      result = boundFunction(value, index, O);\n      if (TYPE) {\n        if (IS_MAP) target[index] = result; // map\n        else if (result) switch (TYPE) {\n          case 3: return true;              // some\n          case 5: return value;             // find\n          case 6: return index;             // findIndex\n          case 2: push(target, value);      // filter\n        } else switch (TYPE) {\n          case 4: return false;             // every\n          case 7: push(target, value);      // filterReject\n        }\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.forEach` method\n  // https://tc39.es/ecma262/#sec-array.prototype.foreach\n  forEach: createMethod(0),\n  // `Array.prototype.map` method\n  // https://tc39.es/ecma262/#sec-array.prototype.map\n  map: createMethod(1),\n  // `Array.prototype.filter` method\n  // https://tc39.es/ecma262/#sec-array.prototype.filter\n  filter: createMethod(2),\n  // `Array.prototype.some` method\n  // https://tc39.es/ecma262/#sec-array.prototype.some\n  some: createMethod(3),\n  // `Array.prototype.every` method\n  // https://tc39.es/ecma262/#sec-array.prototype.every\n  every: createMethod(4),\n  // `Array.prototype.find` method\n  // https://tc39.es/ecma262/#sec-array.prototype.find\n  find: createMethod(5),\n  // `Array.prototype.findIndex` method\n  // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n  findIndex: createMethod(6),\n  // `Array.prototype.filterReject` method\n  // https://github.com/tc39/proposal-array-filtering\n  filterReject: createMethod(7)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-iteration.js?");

/***/ }),

/***/ 34424:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-last-index-of.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable es/no-array-prototype-lastindexof -- safe */\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\n\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n  // convert -0 to +0\n  if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n  var O = toIndexedObject(this);\n  var length = lengthOfArrayLike(O);\n  if (length === 0) return -1;\n  var index = length - 1;\n  if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n  if (index < 0) index = length + index;\n  for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n  return -1;\n} : $lastIndexOf;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-last-index-of.js?");

/***/ }),

/***/ 85384:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-method-has-species-support.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (METHOD_NAME) {\n  // We can't use this feature detection in V8 since it causes\n  // deoptimization and serious performance degradation\n  // https://github.com/zloirock/core-js/issues/677\n  return V8_VERSION >= 51 || !fails(function () {\n    var array = [];\n    var constructor = array.constructor = {};\n    constructor[SPECIES] = function () {\n      return { foo: 1 };\n    };\n    return array[METHOD_NAME](Boolean).foo !== 1;\n  });\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-method-has-species-support.js?");

/***/ }),

/***/ 54888:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-method-is-strict.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nmodule.exports = function (METHOD_NAME, argument) {\n  var method = [][METHOD_NAME];\n  return !!method && fails(function () {\n    // eslint-disable-next-line no-useless-call -- required for testing\n    method.call(null, argument || function () { return 1; }, 1);\n  });\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-method-is-strict.js?");

/***/ }),

/***/ 16460:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-reduce.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 22899);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\n\nvar $TypeError = TypeError;\n\nvar REDUCE_EMPTY = 'Reduce of empty array with no initial value';\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n  return function (that, callbackfn, argumentsLength, memo) {\n    var O = toObject(that);\n    var self = IndexedObject(O);\n    var length = lengthOfArrayLike(O);\n    aCallable(callbackfn);\n    if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);\n    var index = IS_RIGHT ? length - 1 : 0;\n    var i = IS_RIGHT ? -1 : 1;\n    if (argumentsLength < 2) while (true) {\n      if (index in self) {\n        memo = self[index];\n        index += i;\n        break;\n      }\n      index += i;\n      if (IS_RIGHT ? index < 0 : length <= index) {\n        throw new $TypeError(REDUCE_EMPTY);\n      }\n    }\n    for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n      memo = callbackfn(memo, self[index], index, O);\n    }\n    return memo;\n  };\n};\n\nmodule.exports = {\n  // `Array.prototype.reduce` method\n  // https://tc39.es/ecma262/#sec-array.prototype.reduce\n  left: createMethod(false),\n  // `Array.prototype.reduceRight` method\n  // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n  right: createMethod(true)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-reduce.js?");

/***/ }),

/***/ 1716:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-set-length.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Safari < 13 does not throw an error in this case\nvar SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {\n  // makes no sense without proper strict mode support\n  if (this !== undefined) return true;\n  try {\n    // eslint-disable-next-line es/no-object-defineproperty -- safe\n    Object.defineProperty([], 'length', { writable: false }).length = 1;\n  } catch (error) {\n    return error instanceof TypeError;\n  }\n}();\n\nmodule.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {\n  if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {\n    throw new $TypeError('Cannot set read only .length');\n  } return O.length = length;\n} : function (O, length) {\n  return O.length = length;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-set-length.js?");

/***/ }),

/***/ 70940:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-slice.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nmodule.exports = uncurryThis([].slice);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-slice.js?");

/***/ }),

/***/ 43864:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-sort.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\n\nvar floor = Math.floor;\n\nvar sort = function (array, comparefn) {\n  var length = array.length;\n\n  if (length < 8) {\n    // insertion sort\n    var i = 1;\n    var element, j;\n\n    while (i < length) {\n      j = i;\n      element = array[i];\n      while (j && comparefn(array[j - 1], element) > 0) {\n        array[j] = array[--j];\n      }\n      if (j !== i++) array[j] = element;\n    }\n  } else {\n    // merge sort\n    var middle = floor(length / 2);\n    var left = sort(arraySlice(array, 0, middle), comparefn);\n    var right = sort(arraySlice(array, middle), comparefn);\n    var llength = left.length;\n    var rlength = right.length;\n    var lindex = 0;\n    var rindex = 0;\n\n    while (lindex < llength || rindex < rlength) {\n      array[lindex + rindex] = (lindex < llength && rindex < rlength)\n        ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]\n        : lindex < llength ? left[lindex++] : right[rindex++];\n    }\n  }\n\n  return array;\n};\n\nmodule.exports = sort;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-sort.js?");

/***/ }),

/***/ 22556:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-species-constructor.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\nvar isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39496);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n  var C;\n  if (isArray(originalArray)) {\n    C = originalArray.constructor;\n    // cross-realm fallback\n    if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;\n    else if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return C === undefined ? $Array : C;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-species-constructor.js?");

/***/ }),

/***/ 94872:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/array-species-create.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar arraySpeciesConstructor = __webpack_require__(/*! ../internals/array-species-constructor */ 22556);\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n  return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/array-species-create.js?");

/***/ }),

/***/ 9928:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 45872);\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n  try {\n    return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n  } catch (error) {\n    iteratorClose(iterator, 'throw', error);\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/call-with-safe-iteration-closing.js?");

/***/ }),

/***/ 29592:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/caller.js ***!
  \***********************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (methodName, numArgs) {\n  return numArgs === 1 ? function (object, arg) {\n    return object[methodName](arg);\n  } : function (object, arg1, arg2) {\n    return object[methodName](arg1, arg2);\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/caller.js?");

/***/ }),

/***/ 70347:
/*!***********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/check-correctness-of-iteration.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var called = 0;\n  var iteratorWithReturn = {\n    next: function () {\n      return { done: !!called++ };\n    },\n    'return': function () {\n      SAFE_CLOSING = true;\n    }\n  };\n  iteratorWithReturn[ITERATOR] = function () {\n    return this;\n  };\n  // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing\n  Array.from(iteratorWithReturn, function () { throw 2; });\n} catch (error) { /* empty */ }\n\nmodule.exports = function (exec, SKIP_CLOSING) {\n  try {\n    if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n  } catch (error) { return false; } // workaround of old WebKit + `eval` bug\n  var ITERATION_SUPPORT = false;\n  try {\n    var object = {};\n    object[ITERATOR] = function () {\n      return {\n        next: function () {\n          return { done: ITERATION_SUPPORT = true };\n        }\n      };\n    };\n    exec(object);\n  } catch (error) { /* empty */ }\n  return ITERATION_SUPPORT;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/check-correctness-of-iteration.js?");

/***/ }),

/***/ 47936:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/classof-raw.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n  return stringSlice(toString(it), 8, -1);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/classof-raw.js?");

/***/ }),

/***/ 60636:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/classof.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 26744);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar classofRaw = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (error) { /* empty */ }\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n  var O, tag, result;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n    // builtinTag case\n    : CORRECT_ARGUMENTS ? classofRaw(O)\n    // ES3 arguments fallback\n    : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/classof.js?");

/***/ }),

/***/ 63928:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/collection-strong.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 56968);\nvar defineBuiltIns = __webpack_require__(/*! ../internals/define-built-ins */ 48104);\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ 6952);\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 536);\nvar createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 73848);\nvar setSpecies = __webpack_require__(/*! ../internals/set-species */ 13120);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar fastKey = (__webpack_require__(/*! ../internals/internal-metadata */ 70992).fastKey);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = {\n  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n    var Constructor = wrapper(function (that, iterable) {\n      anInstance(that, Prototype);\n      setInternalState(that, {\n        type: CONSTRUCTOR_NAME,\n        index: create(null),\n        first: undefined,\n        last: undefined,\n        size: 0\n      });\n      if (!DESCRIPTORS) that.size = 0;\n      if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });\n    });\n\n    var Prototype = Constructor.prototype;\n\n    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n    var define = function (that, key, value) {\n      var state = getInternalState(that);\n      var entry = getEntry(that, key);\n      var previous, index;\n      // change existing entry\n      if (entry) {\n        entry.value = value;\n      // create new entry\n      } else {\n        state.last = entry = {\n          index: index = fastKey(key, true),\n          key: key,\n          value: value,\n          previous: previous = state.last,\n          next: undefined,\n          removed: false\n        };\n        if (!state.first) state.first = entry;\n        if (previous) previous.next = entry;\n        if (DESCRIPTORS) state.size++;\n        else that.size++;\n        // add to index\n        if (index !== 'F') state.index[index] = entry;\n      } return that;\n    };\n\n    var getEntry = function (that, key) {\n      var state = getInternalState(that);\n      // fast case\n      var index = fastKey(key);\n      var entry;\n      if (index !== 'F') return state.index[index];\n      // frozen object case\n      for (entry = state.first; entry; entry = entry.next) {\n        if (entry.key === key) return entry;\n      }\n    };\n\n    defineBuiltIns(Prototype, {\n      // `{ Map, Set }.prototype.clear()` methods\n      // https://tc39.es/ecma262/#sec-map.prototype.clear\n      // https://tc39.es/ecma262/#sec-set.prototype.clear\n      clear: function clear() {\n        var that = this;\n        var state = getInternalState(that);\n        var entry = state.first;\n        while (entry) {\n          entry.removed = true;\n          if (entry.previous) entry.previous = entry.previous.next = undefined;\n          entry = entry.next;\n        }\n        state.first = state.last = undefined;\n        state.index = create(null);\n        if (DESCRIPTORS) state.size = 0;\n        else that.size = 0;\n      },\n      // `{ Map, Set }.prototype.delete(key)` methods\n      // https://tc39.es/ecma262/#sec-map.prototype.delete\n      // https://tc39.es/ecma262/#sec-set.prototype.delete\n      'delete': function (key) {\n        var that = this;\n        var state = getInternalState(that);\n        var entry = getEntry(that, key);\n        if (entry) {\n          var next = entry.next;\n          var prev = entry.previous;\n          delete state.index[entry.index];\n          entry.removed = true;\n          if (prev) prev.next = next;\n          if (next) next.previous = prev;\n          if (state.first === entry) state.first = next;\n          if (state.last === entry) state.last = prev;\n          if (DESCRIPTORS) state.size--;\n          else that.size--;\n        } return !!entry;\n      },\n      // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n      // https://tc39.es/ecma262/#sec-map.prototype.foreach\n      // https://tc39.es/ecma262/#sec-set.prototype.foreach\n      forEach: function forEach(callbackfn /* , that = undefined */) {\n        var state = getInternalState(this);\n        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n        var entry;\n        while (entry = entry ? entry.next : state.first) {\n          boundFunction(entry.value, entry.key, this);\n          // revert to the last existing entry\n          while (entry && entry.removed) entry = entry.previous;\n        }\n      },\n      // `{ Map, Set}.prototype.has(key)` methods\n      // https://tc39.es/ecma262/#sec-map.prototype.has\n      // https://tc39.es/ecma262/#sec-set.prototype.has\n      has: function has(key) {\n        return !!getEntry(this, key);\n      }\n    });\n\n    defineBuiltIns(Prototype, IS_MAP ? {\n      // `Map.prototype.get(key)` method\n      // https://tc39.es/ecma262/#sec-map.prototype.get\n      get: function get(key) {\n        var entry = getEntry(this, key);\n        return entry && entry.value;\n      },\n      // `Map.prototype.set(key, value)` method\n      // https://tc39.es/ecma262/#sec-map.prototype.set\n      set: function set(key, value) {\n        return define(this, key === 0 ? 0 : key, value);\n      }\n    } : {\n      // `Set.prototype.add(value)` method\n      // https://tc39.es/ecma262/#sec-set.prototype.add\n      add: function add(value) {\n        return define(this, value = value === 0 ? 0 : value, value);\n      }\n    });\n    if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {\n      configurable: true,\n      get: function () {\n        return getInternalState(this).size;\n      }\n    });\n    return Constructor;\n  },\n  setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n    var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n    var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n    var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n    // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n    // https://tc39.es/ecma262/#sec-map.prototype.entries\n    // https://tc39.es/ecma262/#sec-map.prototype.keys\n    // https://tc39.es/ecma262/#sec-map.prototype.values\n    // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n    // https://tc39.es/ecma262/#sec-set.prototype.entries\n    // https://tc39.es/ecma262/#sec-set.prototype.keys\n    // https://tc39.es/ecma262/#sec-set.prototype.values\n    // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n    defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n      setInternalState(this, {\n        type: ITERATOR_NAME,\n        target: iterated,\n        state: getInternalCollectionState(iterated),\n        kind: kind,\n        last: undefined\n      });\n    }, function () {\n      var state = getInternalIteratorState(this);\n      var kind = state.kind;\n      var entry = state.last;\n      // revert to the last existing entry\n      while (entry && entry.removed) entry = entry.previous;\n      // get next entry\n      if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n        // or finish the iteration\n        state.target = undefined;\n        return createIterResultObject(undefined, true);\n      }\n      // return step by kind\n      if (kind === 'keys') return createIterResultObject(entry.key, false);\n      if (kind === 'values') return createIterResultObject(entry.value, false);\n      return createIterResultObject([entry.key, entry.value], false);\n    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n    // `{ Map, Set }.prototype[@@species]` accessors\n    // https://tc39.es/ecma262/#sec-get-map-@@species\n    // https://tc39.es/ecma262/#sec-get-set-@@species\n    setSpecies(CONSTRUCTOR_NAME);\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/collection-strong.js?");

/***/ }),

/***/ 46072:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/collection.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar InternalMetadataModule = __webpack_require__(/*! ../internals/internal-metadata */ 70992);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ 6952);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\nvar forEach = (__webpack_require__(/*! ../internals/array-iteration */ 7608).forEach);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\n\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\n\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n  var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n  var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n  var ADDER = IS_MAP ? 'set' : 'add';\n  var NativeConstructor = global[CONSTRUCTOR_NAME];\n  var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n  var exported = {};\n  var Constructor;\n\n  if (!DESCRIPTORS || !isCallable(NativeConstructor)\n    || !(IS_WEAK || NativePrototype.forEach && !fails(function () { new NativeConstructor().entries().next(); }))\n  ) {\n    // create collection constructor\n    Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n    InternalMetadataModule.enable();\n  } else {\n    Constructor = wrapper(function (target, iterable) {\n      setInternalState(anInstance(target, Prototype), {\n        type: CONSTRUCTOR_NAME,\n        collection: new NativeConstructor()\n      });\n      if (!isNullOrUndefined(iterable)) iterate(iterable, target[ADDER], { that: target, AS_ENTRIES: IS_MAP });\n    });\n\n    var Prototype = Constructor.prototype;\n\n    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n\n    forEach(['add', 'clear', 'delete', 'forEach', 'get', 'has', 'set', 'keys', 'values', 'entries'], function (KEY) {\n      var IS_ADDER = KEY === 'add' || KEY === 'set';\n      if (KEY in NativePrototype && !(IS_WEAK && KEY === 'clear')) {\n        createNonEnumerableProperty(Prototype, KEY, function (a, b) {\n          var collection = getInternalState(this).collection;\n          if (!IS_ADDER && IS_WEAK && !isObject(a)) return KEY === 'get' ? undefined : false;\n          var result = collection[KEY](a === 0 ? 0 : a, b);\n          return IS_ADDER ? this : result;\n        });\n      }\n    });\n\n    IS_WEAK || defineProperty(Prototype, 'size', {\n      configurable: true,\n      get: function () {\n        return getInternalState(this).collection.size;\n      }\n    });\n  }\n\n  setToStringTag(Constructor, CONSTRUCTOR_NAME, false, true);\n\n  exported[CONSTRUCTOR_NAME] = Constructor;\n  $({ global: true, forced: true }, exported);\n\n  if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n\n  return Constructor;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/collection.js?");

/***/ }),

/***/ 1100:
/*!********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/copy-constructor-properties.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ 7876);\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008);\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 12280);\n\nmodule.exports = function (target, source, exceptions) {\n  var keys = ownKeys(source);\n  var defineProperty = definePropertyModule.f;\n  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n  for (var i = 0; i < keys.length; i++) {\n    var key = keys[i];\n    if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n      defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n    }\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/copy-constructor-properties.js?");

/***/ }),

/***/ 60660:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/correct-is-regexp-logic.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar MATCH = wellKnownSymbol('match');\n\nmodule.exports = function (METHOD_NAME) {\n  var regexp = /./;\n  try {\n    '/./'[METHOD_NAME](regexp);\n  } catch (error1) {\n    try {\n      regexp[MATCH] = false;\n      return '/./'[METHOD_NAME](regexp);\n    } catch (error2) { /* empty */ }\n  } return false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/correct-is-regexp-logic.js?");

/***/ }),

/***/ 72480:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/correct-prototype-getter.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nmodule.exports = !fails(function () {\n  function F() { /* empty */ }\n  F.prototype.constructor = null;\n  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing\n  return Object.getPrototypeOf(new F()) !== F.prototype;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/correct-prototype-getter.js?");

/***/ }),

/***/ 73848:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/create-iter-result-object.js ***!
  \******************************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// `CreateIterResultObject` abstract operation\n// https://tc39.es/ecma262/#sec-createiterresultobject\nmodule.exports = function (value, done) {\n  return { value: value, done: done };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/create-iter-result-object.js?");

/***/ }),

/***/ 20896:
/*!***********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/create-non-enumerable-property.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 12280);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n  return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/create-non-enumerable-property.js?");

/***/ }),

/***/ 48981:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/create-property-descriptor.js ***!
  \*******************************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/create-property-descriptor.js?");

/***/ }),

/***/ 14895:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/create-property.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 12280);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\n\nmodule.exports = function (object, key, value) {\n  if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));\n  else object[key] = value;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/create-property.js?");

/***/ }),

/***/ 67276:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/date-to-iso-string.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar padStart = (__webpack_require__(/*! ../internals/string-pad */ 9960).start);\n\nvar $RangeError = RangeError;\nvar $isFinite = isFinite;\nvar abs = Math.abs;\nvar DatePrototype = Date.prototype;\nvar nativeDateToISOString = DatePrototype.toISOString;\nvar thisTimeValue = uncurryThis(DatePrototype.getTime);\nvar getUTCDate = uncurryThis(DatePrototype.getUTCDate);\nvar getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear);\nvar getUTCHours = uncurryThis(DatePrototype.getUTCHours);\nvar getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds);\nvar getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes);\nvar getUTCMonth = uncurryThis(DatePrototype.getUTCMonth);\nvar getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds);\n\n// `Date.prototype.toISOString` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype.toisostring\n// PhantomJS / old WebKit fails here:\nmodule.exports = (fails(function () {\n  return nativeDateToISOString.call(new Date(-5e13 - 1)) !== '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n  nativeDateToISOString.call(new Date(NaN));\n})) ? function toISOString() {\n  if (!$isFinite(thisTimeValue(this))) throw new $RangeError('Invalid time value');\n  var date = this;\n  var year = getUTCFullYear(date);\n  var milliseconds = getUTCMilliseconds(date);\n  var sign = year < 0 ? '-' : year > 9999 ? '+' : '';\n  return sign + padStart(abs(year), sign ? 6 : 4, 0) +\n    '-' + padStart(getUTCMonth(date) + 1, 2, 0) +\n    '-' + padStart(getUTCDate(date), 2, 0) +\n    'T' + padStart(getUTCHours(date), 2, 0) +\n    ':' + padStart(getUTCMinutes(date), 2, 0) +\n    ':' + padStart(getUTCSeconds(date), 2, 0) +\n    '.' + padStart(milliseconds, 3, 0) +\n    'Z';\n} : nativeDateToISOString;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/date-to-iso-string.js?");

/***/ }),

/***/ 56968:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/define-built-in-accessor.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineProperty = __webpack_require__(/*! ../internals/object-define-property */ 12280);\n\nmodule.exports = function (target, name, descriptor) {\n  return defineProperty.f(target, name, descriptor);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/define-built-in-accessor.js?");

/***/ }),

/***/ 55424:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/define-built-in.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\n\nmodule.exports = function (target, key, value, options) {\n  if (options && options.enumerable) target[key] = value;\n  else createNonEnumerableProperty(target, key, value);\n  return target;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/define-built-in.js?");

/***/ }),

/***/ 48104:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/define-built-ins.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\n\nmodule.exports = function (target, src, options) {\n  for (var key in src) {\n    if (options && options.unsafe && target[key]) target[key] = src[key];\n    else defineBuiltIn(target, key, src[key], options);\n  } return target;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/define-built-ins.js?");

/***/ }),

/***/ 44408:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/define-global-property.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n  try {\n    defineProperty(global, key, { value: value, configurable: true, writable: true });\n  } catch (error) {\n    global[key] = value;\n  } return value;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/define-global-property.js?");

/***/ }),

/***/ 86940:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/delete-property-or-throw.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (O, P) {\n  if (!delete O[P]) throw new $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/delete-property-or-throw.js?");

/***/ }),

/***/ 99172:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/descriptors.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/descriptors.js?");

/***/ }),

/***/ 21940:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/document-create-element.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\n\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n  return EXISTS ? document.createElement(it) : {};\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/document-create-element.js?");

/***/ }),

/***/ 18200:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/does-not-exceed-safe-integer.js ***!
  \*********************************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n  if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n  return it;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/does-not-exceed-safe-integer.js?");

/***/ }),

/***/ 50472:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/dom-iterables.js ***!
  \******************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n  CSSRuleList: 0,\n  CSSStyleDeclaration: 0,\n  CSSValueList: 0,\n  ClientRectList: 0,\n  DOMRectList: 0,\n  DOMStringList: 0,\n  DOMTokenList: 1,\n  DataTransferItemList: 0,\n  FileList: 0,\n  HTMLAllCollection: 0,\n  HTMLCollection: 0,\n  HTMLFormElement: 0,\n  HTMLSelectElement: 0,\n  MediaList: 0,\n  MimeTypeArray: 0,\n  NamedNodeMap: 0,\n  NodeList: 1,\n  PaintRequestList: 0,\n  Plugin: 0,\n  PluginArray: 0,\n  SVGLengthList: 0,\n  SVGNumberList: 0,\n  SVGPathSegList: 0,\n  SVGPointList: 0,\n  SVGStringList: 0,\n  SVGTransformList: 0,\n  SourceBufferList: 0,\n  StyleSheetList: 0,\n  TextTrackCueList: 0,\n  TextTrackList: 0,\n  TouchList: 0\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/dom-iterables.js?");

/***/ }),

/***/ 7587:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-ff-version.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\n\nmodule.exports = !!firefox && +firefox[1];\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-ff-version.js?");

/***/ }),

/***/ 50940:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-browser.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ 35924);\nvar IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 91432);\n\nmodule.exports = !IS_DENO && !IS_NODE\n  && typeof window == 'object'\n  && typeof document == 'object';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-browser.js?");

/***/ }),

/***/ 77352:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-bun.js ***!
  \******************************************************************/
/***/ (function(module) {

"use strict";
eval("\n/* global Bun -- Bun case */\nmodule.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-bun.js?");

/***/ }),

/***/ 35924:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-deno.js ***!
  \*******************************************************************/
/***/ (function(module) {

"use strict";
eval("\n/* global Deno -- Deno case */\nmodule.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-deno.js?");

/***/ }),

/***/ 86028:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-ie-or-edge.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar UA = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nmodule.exports = /MSIE|Trident/.test(UA);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-ie-or-edge.js?");

/***/ }),

/***/ 38792:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-ios-pebble.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-ios-pebble.js?");

/***/ }),

/***/ 56772:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-ios.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\n// eslint-disable-next-line redos/no-vulnerable -- safe\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-ios.js?");

/***/ }),

/***/ 91432:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-node.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\n\nmodule.exports = classof(global.process) === 'process';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-node.js?");

/***/ }),

/***/ 51824:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-is-webos-webkit.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-is-webos-webkit.js?");

/***/ }),

/***/ 72276:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-user-agent.js ***!
  \**********************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-user-agent.js?");

/***/ }),

/***/ 23896:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-v8-version.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nvar process = global.process;\nvar Deno = global.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n  match = v8.split('.');\n  // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n  // but their correct versions are not interesting for us\n  version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n  match = userAgent.match(/Edge\\/(\\d+)/);\n  if (!match || match[1] >= 74) {\n    match = userAgent.match(/Chrome\\/(\\d+)/);\n    if (match) version = +match[1];\n  }\n}\n\nmodule.exports = version;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-v8-version.js?");

/***/ }),

/***/ 83624:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/engine-webkit-version.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar userAgent = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\n\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\n\nmodule.exports = !!webkit && +webkit[1];\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/engine-webkit-version.js?");

/***/ }),

/***/ 63620:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/enum-bug-keys.js ***!
  \******************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// IE8- don't enum bug keys\nmodule.exports = [\n  'constructor',\n  'hasOwnProperty',\n  'isPrototypeOf',\n  'propertyIsEnumerable',\n  'toLocaleString',\n  'toString',\n  'valueOf'\n];\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/enum-bug-keys.js?");

/***/ }),

/***/ 69492:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/error-stack-clear.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\n\nvar TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd');\n// eslint-disable-next-line redos/no-vulnerable -- safe\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\n\nmodule.exports = function (stack, dropEntries) {\n  if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n    while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n  } return stack;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/error-stack-clear.js?");

/***/ }),

/***/ 69035:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/error-stack-install.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar clearErrorStack = __webpack_require__(/*! ../internals/error-stack-clear */ 69492);\nvar ERROR_STACK_INSTALLABLE = __webpack_require__(/*! ../internals/error-stack-installable */ 91376);\n\n// non-standard V8\nvar captureStackTrace = Error.captureStackTrace;\n\nmodule.exports = function (error, C, stack, dropEntries) {\n  if (ERROR_STACK_INSTALLABLE) {\n    if (captureStackTrace) captureStackTrace(error, C);\n    else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries));\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/error-stack-install.js?");

/***/ }),

/***/ 91376:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/error-stack-installable.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\n\nmodule.exports = !fails(function () {\n  var error = new Error('a');\n  if (!('stack' in error)) return true;\n  // eslint-disable-next-line es/no-object-defineproperty -- safe\n  Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n  return error.stack !== 7;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/error-stack-installable.js?");

/***/ }),

/***/ 33952:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/export.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 61248);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008).f);\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ 88536);\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\n// add debugging info\n__webpack_require__(/*! ../internals/shared-store */ 99284);\n\nvar wrapConstructor = function (NativeConstructor) {\n  var Wrapper = function (a, b, c) {\n    if (this instanceof Wrapper) {\n      switch (arguments.length) {\n        case 0: return new NativeConstructor();\n        case 1: return new NativeConstructor(a);\n        case 2: return new NativeConstructor(a, b);\n      } return new NativeConstructor(a, b, c);\n    } return apply(NativeConstructor, this, arguments);\n  };\n  Wrapper.prototype = NativeConstructor.prototype;\n  return Wrapper;\n};\n\n/*\n  options.target         - name of the target object\n  options.global         - target is the global object\n  options.stat           - export as static methods of target\n  options.proto          - export as prototype methods of target\n  options.real           - real prototype method for the `pure` version\n  options.forced         - export even if the native feature is available\n  options.bind           - bind methods to the target, required for the `pure` version\n  options.wrap           - wrap constructors to preventing global pollution, required for the `pure` version\n  options.unsafe         - use the simple assignment of property instead of delete + defineProperty\n  options.sham           - add a flag to not completely full polyfills\n  options.enumerable     - export as enumerable property\n  options.dontCallGetSet - prevent calling a getter on target\n  options.name           - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n  var TARGET = options.target;\n  var GLOBAL = options.global;\n  var STATIC = options.stat;\n  var PROTO = options.proto;\n\n  var nativeSource = GLOBAL ? global : STATIC ? global[TARGET] : global[TARGET] && global[TARGET].prototype;\n\n  var target = GLOBAL ? path : path[TARGET] || createNonEnumerableProperty(path, TARGET, {})[TARGET];\n  var targetPrototype = target.prototype;\n\n  var FORCED, USE_NATIVE, VIRTUAL_PROTOTYPE;\n  var key, sourceProperty, targetProperty, nativeProperty, resultProperty, descriptor;\n\n  for (key in source) {\n    FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n    // contains in native\n    USE_NATIVE = !FORCED && nativeSource && hasOwn(nativeSource, key);\n\n    targetProperty = target[key];\n\n    if (USE_NATIVE) if (options.dontCallGetSet) {\n      descriptor = getOwnPropertyDescriptor(nativeSource, key);\n      nativeProperty = descriptor && descriptor.value;\n    } else nativeProperty = nativeSource[key];\n\n    // export native or implementation\n    sourceProperty = (USE_NATIVE && nativeProperty) ? nativeProperty : source[key];\n\n    if (!FORCED && !PROTO && typeof targetProperty == typeof sourceProperty) continue;\n\n    // bind methods to global for calling from export context\n    if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);\n    // wrap global constructors for prevent changes in this version\n    else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);\n    // make static versions for prototype methods\n    else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);\n    // default case\n    else resultProperty = sourceProperty;\n\n    // add a flag to not completely full polyfills\n    if (options.sham || (sourceProperty && sourceProperty.sham) || (targetProperty && targetProperty.sham)) {\n      createNonEnumerableProperty(resultProperty, 'sham', true);\n    }\n\n    createNonEnumerableProperty(target, key, resultProperty);\n\n    if (PROTO) {\n      VIRTUAL_PROTOTYPE = TARGET + 'Prototype';\n      if (!hasOwn(path, VIRTUAL_PROTOTYPE)) {\n        createNonEnumerableProperty(path, VIRTUAL_PROTOTYPE, {});\n      }\n      // export virtual prototype methods\n      createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE], key, sourceProperty);\n      // export real prototype methods\n      if (options.real && targetPrototype && (FORCED || !targetPrototype[key])) {\n        createNonEnumerableProperty(targetPrototype, key, sourceProperty);\n      }\n    }\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/export.js?");

/***/ }),

/***/ 92064:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/fails.js ***!
  \**********************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (error) {\n    return true;\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/fails.js?");

/***/ }),

/***/ 69380:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/freezing.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing\n  return Object.isExtensible(Object.preventExtensions({}));\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/freezing.js?");

/***/ }),

/***/ 79867:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-apply.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 25200);\n\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es/no-reflect -- safe\nmodule.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n  return call.apply(apply, arguments);\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-apply.js?");

/***/ }),

/***/ 21884:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-bind-context.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 61248);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 25200);\n\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n  aCallable(fn);\n  return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-bind-context.js?");

/***/ }),

/***/ 25200:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-bind-native.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nmodule.exports = !fails(function () {\n  // eslint-disable-next-line es/no-function-prototype-bind -- safe\n  var test = (function () { /* empty */ }).bind();\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-bind-native.js?");

/***/ }),

/***/ 5404:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-bind.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 25200);\n\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\n\nvar construct = function (C, argsLength, args) {\n  if (!hasOwn(factories, argsLength)) {\n    var list = [];\n    var i = 0;\n    for (; i < argsLength; i++) list[i] = 'a[' + i + ']';\n    factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n  } return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n  var F = aCallable(this);\n  var Prototype = F.prototype;\n  var partArgs = arraySlice(arguments, 1);\n  var boundFunction = function bound(/* args... */) {\n    var args = concat(partArgs, arraySlice(arguments));\n    return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n  };\n  if (isObject(Prototype)) boundFunction.prototype = Prototype;\n  return boundFunction;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-bind.js?");

/***/ }),

/***/ 34580:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-call.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 25200);\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n  return call.apply(call, arguments);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-call.js?");

/***/ }),

/***/ 13564:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-name.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n  EXISTS: EXISTS,\n  PROPER: PROPER,\n  CONFIGURABLE: CONFIGURABLE\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-name.js?");

/***/ }),

/***/ 97864:
/*!***********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-uncurry-this-accessor.js ***!
  \***********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\n\nmodule.exports = function (object, key, method) {\n  try {\n    // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\n    return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));\n  } catch (error) { /* empty */ }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-uncurry-this-accessor.js?");

/***/ }),

/***/ 61248:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-uncurry-this-clause.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar classofRaw = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nmodule.exports = function (fn) {\n  // Nashorn bug:\n  //   https://github.com/zloirock/core-js/issues/1128\n  //   https://github.com/zloirock/core-js/issues/1130\n  if (classofRaw(fn) === 'Function') return uncurryThis(fn);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-uncurry-this-clause.js?");

/***/ }),

/***/ 29252:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/function-uncurry-this.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NATIVE_BIND = __webpack_require__(/*! ../internals/function-bind-native */ 25200);\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n  return function () {\n    return call.apply(fn, arguments);\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/function-uncurry-this.js?");

/***/ }),

/***/ 46180:
/*!**********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-built-in-prototype-method.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n  var Namespace = path[CONSTRUCTOR + 'Prototype'];\n  var pureMethod = Namespace && Namespace[METHOD];\n  if (pureMethod) return pureMethod;\n  var NativeConstructor = global[CONSTRUCTOR];\n  var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n  return NativePrototype && NativePrototype[METHOD];\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-built-in-prototype-method.js?");

/***/ }),

/***/ 23464:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-built-in.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\n\nvar aFunction = function (variable) {\n  return isCallable(variable) ? variable : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n  return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace])\n    : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method];\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-built-in.js?");

/***/ }),

/***/ 69360:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-iterator-direct.js ***!
  \************************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// `GetIteratorDirect(obj)` abstract operation\n// https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect\nmodule.exports = function (obj) {\n  return {\n    iterator: obj,\n    next: obj.next,\n    done: false\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-iterator-direct.js?");

/***/ }),

/***/ 80068:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-iterator-method.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar classof = __webpack_require__(/*! ../internals/classof */ 60636);\nvar getMethod = __webpack_require__(/*! ../internals/get-method */ 31636);\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar ITERATOR = wellKnownSymbol('iterator');\n\nmodule.exports = function (it) {\n  if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)\n    || getMethod(it, '@@iterator')\n    || Iterators[classof(it)];\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-iterator-method.js?");

/***/ }),

/***/ 74656:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-iterator.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 80068);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (argument, usingIterator) {\n  var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n  if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n  throw new $TypeError(tryToString(argument) + ' is not iterable');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-iterator.js?");

/***/ }),

/***/ 13676:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-json-replacer-function.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (replacer) {\n  if (isCallable(replacer)) return replacer;\n  if (!isArray(replacer)) return;\n  var rawLength = replacer.length;\n  var keys = [];\n  for (var i = 0; i < rawLength; i++) {\n    var element = replacer[i];\n    if (typeof element == 'string') push(keys, element);\n    else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element));\n  }\n  var keysLength = keys.length;\n  var root = true;\n  return function (key, value) {\n    if (root) {\n      root = false;\n      return value;\n    }\n    if (isArray(this)) return value;\n    for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;\n  };\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-json-replacer-function.js?");

/***/ }),

/***/ 31636:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-method.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n  var func = V[P];\n  return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-method.js?");

/***/ }),

/***/ 82308:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/get-set-record.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\nvar getIteratorDirect = __webpack_require__(/*! ../internals/get-iterator-direct */ 69360);\n\nvar INVALID_SIZE = 'Invalid size';\nvar $RangeError = RangeError;\nvar $TypeError = TypeError;\nvar max = Math.max;\n\nvar SetRecord = function (set, intSize) {\n  this.set = set;\n  this.size = max(intSize, 0);\n  this.has = aCallable(set.has);\n  this.keys = aCallable(set.keys);\n};\n\nSetRecord.prototype = {\n  getIterator: function () {\n    return getIteratorDirect(anObject(call(this.keys, this.set)));\n  },\n  includes: function (it) {\n    return call(this.has, this.set, it);\n  }\n};\n\n// `GetSetRecord` abstract operation\n// https://tc39.es/proposal-set-methods/#sec-getsetrecord\nmodule.exports = function (obj) {\n  anObject(obj);\n  var numSize = +obj.size;\n  // NOTE: If size is undefined, then numSize will be NaN\n  // eslint-disable-next-line no-self-compare -- NaN check\n  if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);\n  var intSize = toIntegerOrInfinity(numSize);\n  if (intSize < 0) throw new $RangeError(INVALID_SIZE);\n  return new SetRecord(obj, intSize);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/get-set-record.js?");

/***/ }),

/***/ 85216:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/global.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar check = function (it) {\n  return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n  // eslint-disable-next-line es/no-global-this -- safe\n  check(typeof globalThis == 'object' && globalThis) ||\n  check(typeof window == 'object' && window) ||\n  // eslint-disable-next-line no-restricted-globals -- safe\n  check(typeof self == 'object' && self) ||\n  check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||\n  check(typeof this == 'object' && this) ||\n  // eslint-disable-next-line no-new-func -- fallback\n  (function () { return this; })() || Function('return this')();\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/global.js?");

/***/ }),

/***/ 34664:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/has-own-property.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n  return hasOwnProperty(toObject(it), key);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/has-own-property.js?");

/***/ }),

/***/ 13328:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/hidden-keys.js ***!
  \****************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = {};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/hidden-keys.js?");

/***/ }),

/***/ 3320:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/host-report-errors.js ***!
  \***********************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (a, b) {\n  try {\n    // eslint-disable-next-line no-console -- safe\n    arguments.length === 1 ? console.error(a) : console.error(a, b);\n  } catch (error) { /* empty */ }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/host-report-errors.js?");

/***/ }),

/***/ 67896:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/html.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/html.js?");

/***/ }),

/***/ 124:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/ie8-dom-define.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar createElement = __webpack_require__(/*! ../internals/document-create-element */ 21940);\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(createElement('div'), 'a', {\n    get: function () { return 7; }\n  }).a !== 7;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/ie8-dom-define.js?");

/***/ }),

/***/ 22899:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/indexed-object.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n  // eslint-disable-next-line no-prototype-builtins -- safe\n  return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n  return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/indexed-object.js?");

/***/ }),

/***/ 39376:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/inspect-source.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar store = __webpack_require__(/*! ../internals/shared-store */ 99284);\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n  store.inspectSource = function (it) {\n    return functionToString(it);\n  };\n}\n\nmodule.exports = store.inspectSource;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/inspect-source.js?");

/***/ }),

/***/ 19055:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/install-error-cause.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n  if (isObject(options) && 'cause' in options) {\n    createNonEnumerableProperty(O, 'cause', options.cause);\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/install-error-cause.js?");

/***/ }),

/***/ 70992:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/internal-metadata.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 13328);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 11600);\nvar getOwnPropertyNamesExternalModule = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 41920);\nvar isExtensible = __webpack_require__(/*! ../internals/object-is-extensible */ 85432);\nvar uid = __webpack_require__(/*! ../internals/uid */ 66696);\nvar FREEZING = __webpack_require__(/*! ../internals/freezing */ 69380);\n\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\n\nvar setMetadata = function (it) {\n  defineProperty(it, METADATA, { value: {\n    objectID: 'O' + id++, // object ID\n    weakData: {}          // weak collections IDs\n  } });\n};\n\nvar fastKey = function (it, create) {\n  // return a primitive with prefix\n  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if (!hasOwn(it, METADATA)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return 'F';\n    // not necessary to add metadata\n    if (!create) return 'E';\n    // add missing metadata\n    setMetadata(it);\n  // return object ID\n  } return it[METADATA].objectID;\n};\n\nvar getWeakData = function (it, create) {\n  if (!hasOwn(it, METADATA)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return true;\n    // not necessary to add metadata\n    if (!create) return false;\n    // add missing metadata\n    setMetadata(it);\n  // return the store of weak collections IDs\n  } return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n  if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n  return it;\n};\n\nvar enable = function () {\n  meta.enable = function () { /* empty */ };\n  REQUIRED = true;\n  var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n  var splice = uncurryThis([].splice);\n  var test = {};\n  test[METADATA] = 1;\n\n  // prevent exposing of metadata key\n  if (getOwnPropertyNames(test).length) {\n    getOwnPropertyNamesModule.f = function (it) {\n      var result = getOwnPropertyNames(it);\n      for (var i = 0, length = result.length; i < length; i++) {\n        if (result[i] === METADATA) {\n          splice(result, i, 1);\n          break;\n        }\n      } return result;\n    };\n\n    $({ target: 'Object', stat: true, forced: true }, {\n      getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n    });\n  }\n};\n\nvar meta = module.exports = {\n  enable: enable,\n  fastKey: fastKey,\n  getWeakData: getWeakData,\n  onFreeze: onFreeze\n};\n\nhiddenKeys[METADATA] = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/internal-metadata.js?");

/***/ }),

/***/ 2344:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/internal-state.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NATIVE_WEAK_MAP = __webpack_require__(/*! ../internals/weak-map-basic-detection */ 23184);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar shared = __webpack_require__(/*! ../internals/shared-store */ 99284);\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ 80924);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 13328);\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n  return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n  return function (it) {\n    var state;\n    if (!isObject(it) || (state = get(it)).type !== TYPE) {\n      throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n    } return state;\n  };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n  var store = shared.state || (shared.state = new WeakMap());\n  /* eslint-disable no-self-assign -- prototype methods protection */\n  store.get = store.get;\n  store.has = store.has;\n  store.set = store.set;\n  /* eslint-enable no-self-assign -- prototype methods protection */\n  set = function (it, metadata) {\n    if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    store.set(it, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return store.get(it) || {};\n  };\n  has = function (it) {\n    return store.has(it);\n  };\n} else {\n  var STATE = sharedKey('state');\n  hiddenKeys[STATE] = true;\n  set = function (it, metadata) {\n    if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n    metadata.facade = it;\n    createNonEnumerableProperty(it, STATE, metadata);\n    return metadata;\n  };\n  get = function (it) {\n    return hasOwn(it, STATE) ? it[STATE] : {};\n  };\n  has = function (it) {\n    return hasOwn(it, STATE);\n  };\n}\n\nmodule.exports = {\n  set: set,\n  get: get,\n  has: has,\n  enforce: enforce,\n  getterFor: getterFor\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/internal-state.js?");

/***/ }),

/***/ 84992:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-array-iterator-method.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-array-iterator-method.js?");

/***/ }),

/***/ 33204:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-array.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n  return classof(argument) === 'Array';\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-array.js?");

/***/ }),

/***/ 38536:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-callable.js ***!
  \****************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n  return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n  return typeof argument == 'function';\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-callable.js?");

/***/ }),

/***/ 39496:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-constructor.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar classof = __webpack_require__(/*! ../internals/classof */ 60636);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 39376);\n\nvar noop = function () { /* empty */ };\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.test(noop);\n\nvar isConstructorModern = function isConstructor(argument) {\n  if (!isCallable(argument)) return false;\n  try {\n    construct(noop, [], argument);\n    return true;\n  } catch (error) {\n    return false;\n  }\n};\n\nvar isConstructorLegacy = function isConstructor(argument) {\n  if (!isCallable(argument)) return false;\n  switch (classof(argument)) {\n    case 'AsyncFunction':\n    case 'GeneratorFunction':\n    case 'AsyncGeneratorFunction': return false;\n  }\n  try {\n    // we can't check .prototype since constructors produced by .bind haven't it\n    // `Function#toString` throws on some built-it function in some legacy engines\n    // (for example, `DOMQuad` and similar in FF41-)\n    return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n  } catch (error) {\n    return true;\n  }\n};\n\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n  var called;\n  return isConstructorModern(isConstructorModern.call)\n    || !isConstructorModern(Object)\n    || !isConstructorModern(function () { called = true; })\n    || called;\n}) ? isConstructorLegacy : isConstructorModern;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-constructor.js?");

/***/ }),

/***/ 88536:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-forced.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n  var value = data[normalize(feature)];\n  return value === POLYFILL ? true\n    : value === NATIVE ? false\n    : isCallable(detection) ? fails(detection)\n    : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n  return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-forced.js?");

/***/ }),

/***/ 19511:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-null-or-undefined.js ***!
  \*************************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n  return it === null || it === undefined;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-null-or-undefined.js?");

/***/ }),

/***/ 68608:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-object.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\n\nmodule.exports = function (it) {\n  return typeof it == 'object' ? it !== null : isCallable(it);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-object.js?");

/***/ }),

/***/ 97432:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-possible-prototype.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\n\nmodule.exports = function (argument) {\n  return isObject(argument) || argument === null;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-possible-prototype.js?");

/***/ }),

/***/ 31016:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-pure.js ***!
  \************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-pure.js?");

/***/ }),

/***/ 9300:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-regexp.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp');\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-regexp.js?");

/***/ }),

/***/ 95376:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/is-symbol.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 82360);\nvar USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 46416);\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  var $Symbol = getBuiltIn('Symbol');\n  return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/is-symbol.js?");

/***/ }),

/***/ 63187:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterate-simple.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\n\nmodule.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {\n  var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;\n  var next = record.next;\n  var step, result;\n  while (!(step = call(next, iterator)).done) {\n    result = fn(step.value);\n    if (result !== undefined) return result;\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterate-simple.js?");

/***/ }),

/***/ 75799:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterate.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\nvar isArrayIteratorMethod = __webpack_require__(/*! ../internals/is-array-iterator-method */ 84992);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 82360);\nvar getIterator = __webpack_require__(/*! ../internals/get-iterator */ 74656);\nvar getIteratorMethod = __webpack_require__(/*! ../internals/get-iterator-method */ 80068);\nvar iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 45872);\n\nvar $TypeError = TypeError;\n\nvar Result = function (stopped, result) {\n  this.stopped = stopped;\n  this.result = result;\n};\n\nvar ResultPrototype = Result.prototype;\n\nmodule.exports = function (iterable, unboundFunction, options) {\n  var that = options && options.that;\n  var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n  var IS_RECORD = !!(options && options.IS_RECORD);\n  var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n  var INTERRUPTED = !!(options && options.INTERRUPTED);\n  var fn = bind(unboundFunction, that);\n  var iterator, iterFn, index, length, result, next, step;\n\n  var stop = function (condition) {\n    if (iterator) iteratorClose(iterator, 'normal', condition);\n    return new Result(true, condition);\n  };\n\n  var callFn = function (value) {\n    if (AS_ENTRIES) {\n      anObject(value);\n      return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n    } return INTERRUPTED ? fn(value, stop) : fn(value);\n  };\n\n  if (IS_RECORD) {\n    iterator = iterable.iterator;\n  } else if (IS_ITERATOR) {\n    iterator = iterable;\n  } else {\n    iterFn = getIteratorMethod(iterable);\n    if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');\n    // optimisation for array iterators\n    if (isArrayIteratorMethod(iterFn)) {\n      for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n        result = callFn(iterable[index]);\n        if (result && isPrototypeOf(ResultPrototype, result)) return result;\n      } return new Result(false);\n    }\n    iterator = getIterator(iterable, iterFn);\n  }\n\n  next = IS_RECORD ? iterable.next : iterator.next;\n  while (!(step = call(next, iterator)).done) {\n    try {\n      result = callFn(step.value);\n    } catch (error) {\n      iteratorClose(iterator, 'throw', error);\n    }\n    if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n  } return new Result(false);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterate.js?");

/***/ }),

/***/ 45872:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterator-close.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar getMethod = __webpack_require__(/*! ../internals/get-method */ 31636);\n\nmodule.exports = function (iterator, kind, value) {\n  var innerResult, innerError;\n  anObject(iterator);\n  try {\n    innerResult = getMethod(iterator, 'return');\n    if (!innerResult) {\n      if (kind === 'throw') throw value;\n      return value;\n    }\n    innerResult = call(innerResult, iterator);\n  } catch (error) {\n    innerError = true;\n    innerResult = error;\n  }\n  if (kind === 'throw') throw value;\n  if (innerError) throw innerResult;\n  anObject(innerResult);\n  return value;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterator-close.js?");

/***/ }),

/***/ 39976:
/*!********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterator-create-constructor.js ***!
  \********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar IteratorPrototype = (__webpack_require__(/*! ../internals/iterators-core */ 72224).IteratorPrototype);\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n  var TO_STRING_TAG = NAME + ' Iterator';\n  IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });\n  setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n  Iterators[TO_STRING_TAG] = returnThis;\n  return IteratorConstructor;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterator-create-constructor.js?");

/***/ }),

/***/ 536:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterator-define.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar FunctionName = __webpack_require__(/*! ../internals/function-name */ 13564);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar createIteratorConstructor = __webpack_require__(/*! ../internals/iterator-create-constructor */ 39976);\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 27800);\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 92288);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\nvar IteratorsCore = __webpack_require__(/*! ../internals/iterators-core */ 72224);\n\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n  createIteratorConstructor(IteratorConstructor, NAME, next);\n\n  var getIterationMethod = function (KIND) {\n    if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n    if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];\n\n    switch (KIND) {\n      case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };\n      case VALUES: return function values() { return new IteratorConstructor(this, KIND); };\n      case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };\n    }\n\n    return function () { return new IteratorConstructor(this); };\n  };\n\n  var TO_STRING_TAG = NAME + ' Iterator';\n  var INCORRECT_VALUES_NAME = false;\n  var IterablePrototype = Iterable.prototype;\n  var nativeIterator = IterablePrototype[ITERATOR]\n    || IterablePrototype['@@iterator']\n    || DEFAULT && IterablePrototype[DEFAULT];\n  var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n  var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n  var CurrentIteratorPrototype, methods, KEY;\n\n  // fix native\n  if (anyNativeIterator) {\n    CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n    if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n      if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n        if (setPrototypeOf) {\n          setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n        } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n          defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n        }\n      }\n      // Set @@toStringTag to native iterators\n      setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n      if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n    }\n  }\n\n  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n  if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n    if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n      createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n    } else {\n      INCORRECT_VALUES_NAME = true;\n      defaultIterator = function values() { return call(nativeIterator, this); };\n    }\n  }\n\n  // export additional methods\n  if (DEFAULT) {\n    methods = {\n      values: getIterationMethod(VALUES),\n      keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n      entries: getIterationMethod(ENTRIES)\n    };\n    if (FORCED) for (KEY in methods) {\n      if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n        defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n      }\n    } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);\n  }\n\n  // define iterator\n  if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n    defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT });\n  }\n  Iterators[NAME] = defaultIterator;\n\n  return methods;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterator-define.js?");

/***/ }),

/***/ 72224:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterators-core.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 27800);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\n\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es/no-array-prototype-keys -- safe */\nif ([].keys) {\n  arrayIterator = [].keys();\n  // Safari 8 has buggy iterators w/o `next`\n  if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;\n  else {\n    PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n    if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n  }\n}\n\nvar NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () {\n  var test = {};\n  // FF44- legacy iterators case\n  return IteratorPrototype[ITERATOR].call(test) !== test;\n});\n\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};\nelse if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n  defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n    return this;\n  });\n}\n\nmodule.exports = {\n  IteratorPrototype: IteratorPrototype,\n  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterators-core.js?");

/***/ }),

/***/ 97256:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/iterators.js ***!
  \**************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = {};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/iterators.js?");

/***/ }),

/***/ 35316:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/length-of-array-like.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toLength = __webpack_require__(/*! ../internals/to-length */ 84596);\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n  return toLength(obj.length);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/length-of-array-like.js?");

/***/ }),

/***/ 2408:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/map-helpers.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar caller = __webpack_require__(/*! ../internals/caller */ 29592);\n\nvar Map = getBuiltIn('Map');\n\nmodule.exports = {\n  Map: Map,\n  set: caller('set', 2),\n  get: caller('get', 1),\n  has: caller('has', 1),\n  remove: caller('delete', 1),\n  proto: Map.prototype\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/map-helpers.js?");

/***/ }),

/***/ 13748:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/math-expm1.js ***!
  \***************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// eslint-disable-next-line es/no-math-expm1 -- safe\nvar $expm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = (!$expm1\n  // Old FF bug\n  // eslint-disable-next-line no-loss-of-precision -- required for old engines\n  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n  // Tor Browser bug\n  || $expm1(-2e-17) !== -2e-17\n) ? function expm1(x) {\n  var n = +x;\n  return n === 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;\n} : $expm1;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/math-expm1.js?");

/***/ }),

/***/ 86647:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/math-log10.js ***!
  \***************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// eslint-disable-next-line es/no-math-log10 -- safe\nmodule.exports = Math.log10 || function log10(x) {\n  return log(x) * LOG10E;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/math-log10.js?");

/***/ }),

/***/ 42756:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/math-log1p.js ***!
  \***************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\n// eslint-disable-next-line es/no-math-log1p -- safe\nmodule.exports = Math.log1p || function log1p(x) {\n  var n = +x;\n  return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/math-log1p.js?");

/***/ }),

/***/ 15788:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/math-sign.js ***!
  \**************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n  var n = +x;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return n === 0 || n !== n ? n : n < 0 ? -1 : 1;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/math-sign.js?");

/***/ }),

/***/ 90024:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/math-trunc.js ***!
  \***************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n  var n = +x;\n  return (n > 0 ? floor : ceil)(n);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/math-trunc.js?");

/***/ }),

/***/ 39836:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/microtask.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar safeGetBuiltIn = __webpack_require__(/*! ../internals/safe-get-built-in */ 94604);\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar macrotask = (__webpack_require__(/*! ../internals/task */ 93368).set);\nvar Queue = __webpack_require__(/*! ../internals/queue */ 20984);\nvar IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 56772);\nvar IS_IOS_PEBBLE = __webpack_require__(/*! ../internals/engine-is-ios-pebble */ 38792);\nvar IS_WEBOS_WEBKIT = __webpack_require__(/*! ../internals/engine-is-webos-webkit */ 51824);\nvar IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 91432);\n\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\nvar microtask = safeGetBuiltIn('queueMicrotask');\nvar notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!microtask) {\n  var queue = new Queue();\n\n  var flush = function () {\n    var parent, fn;\n    if (IS_NODE && (parent = process.domain)) parent.exit();\n    while (fn = queue.get()) try {\n      fn();\n    } catch (error) {\n      if (queue.head) notify();\n      throw error;\n    }\n    if (parent) parent.enter();\n  };\n\n  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n  if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n    toggle = true;\n    node = document.createTextNode('');\n    new MutationObserver(flush).observe(node, { characterData: true });\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    promise = Promise.resolve(undefined);\n    // workaround of WebKit ~ iOS Safari 10.1 bug\n    promise.constructor = Promise;\n    then = bind(promise.then, promise);\n    notify = function () {\n      then(flush);\n    };\n  // Node.js without promises\n  } else if (IS_NODE) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessage\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    // `webpack` dev server bug on IE global methods - use bind(fn, global)\n    macrotask = bind(macrotask, global);\n    notify = function () {\n      macrotask(flush);\n    };\n  }\n\n  microtask = function (fn) {\n    if (!queue.head) notify();\n    queue.add(fn);\n  };\n}\n\nmodule.exports = microtask;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/microtask.js?");

/***/ }),

/***/ 71243:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/new-promise-capability.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\n\nvar $TypeError = TypeError;\n\nvar PromiseCapability = function (C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aCallable(resolve);\n  this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/new-promise-capability.js?");

/***/ }),

/***/ 93080:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/normalize-string-argument.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\n\nmodule.exports = function (argument, $default) {\n  return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/normalize-string-argument.js?");

/***/ }),

/***/ 29720:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/not-a-regexp.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isRegExp = __webpack_require__(/*! ../internals/is-regexp */ 9300);\n\nvar $TypeError = TypeError;\n\nmodule.exports = function (it) {\n  if (isRegExp(it)) {\n    throw new $TypeError(\"The method doesn't accept regular expressions\");\n  } return it;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/not-a-regexp.js?");

/***/ }),

/***/ 25411:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/number-parse-float.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar trim = (__webpack_require__(/*! ../internals/string-trim */ 36832).trim);\nvar whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 25276);\n\nvar charAt = uncurryThis(''.charAt);\nvar $parseFloat = global.parseFloat;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar FORCED = 1 / $parseFloat(whitespaces + '-0') !== -Infinity\n  // MS Edge 18- broken with boxed symbols\n  || (ITERATOR && !fails(function () { $parseFloat(Object(ITERATOR)); }));\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n  var trimmedString = trim(toString(string));\n  var result = $parseFloat(trimmedString);\n  return result === 0 && charAt(trimmedString, 0) === '-' ? -0 : result;\n} : $parseFloat;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/number-parse-float.js?");

/***/ }),

/***/ 2448:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/number-parse-int.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar trim = (__webpack_require__(/*! ../internals/string-trim */ 36832).trim);\nvar whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 25276);\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n  // MS Edge 18- broken with boxed symbols\n  || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n  var S = trim(toString(string));\n  return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/number-parse-int.js?");

/***/ }),

/***/ 88980:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-assign.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ 9547);\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 74060);\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 66500);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 22899);\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n  // should have correct order of operations (Edge bug)\n  if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n    enumerable: true,\n    get: function () {\n      defineProperty(this, 'b', {\n        value: 3,\n        enumerable: false\n      });\n    }\n  }), { b: 2 })).b !== 1) return true;\n  // should work with symbols and should have deterministic property order (V8 bug)\n  var A = {};\n  var B = {};\n  // eslint-disable-next-line es/no-symbol -- safe\n  var symbol = Symbol('assign detection');\n  var alphabet = 'abcdefghijklmnopqrst';\n  A[symbol] = 7;\n  alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n  var T = toObject(target);\n  var argumentsLength = arguments.length;\n  var index = 1;\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  var propertyIsEnumerable = propertyIsEnumerableModule.f;\n  while (argumentsLength > index) {\n    var S = IndexedObject(arguments[index++]);\n    var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n    var length = keys.length;\n    var j = 0;\n    var key;\n    while (length > j) {\n      key = keys[j++];\n      if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n    }\n  } return T;\n} : $assign;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-assign.js?");

/***/ }),

/***/ 4488:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-create.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ 86452);\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 63620);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 13328);\nvar html = __webpack_require__(/*! ../internals/html */ 67896);\nvar documentCreateElement = __webpack_require__(/*! ../internals/document-create-element */ 21940);\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ 80924);\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n  return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n  activeXDocument.write(scriptTag(''));\n  activeXDocument.close();\n  var temp = activeXDocument.parentWindow.Object;\n  activeXDocument = null; // avoid memory leak\n  return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = documentCreateElement('iframe');\n  var JS = 'java' + SCRIPT + ':';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  html.appendChild(iframe);\n  // https://github.com/zloirock/core-js/issues/475\n  iframe.src = String(JS);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(scriptTag('document.F=Object'));\n  iframeDocument.close();\n  return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n  try {\n    activeXDocument = new ActiveXObject('htmlfile');\n  } catch (error) { /* ignore */ }\n  NullProtoObject = typeof document != 'undefined'\n    ? document.domain && activeXDocument\n      ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n      : NullProtoObjectViaIFrame()\n    : NullProtoObjectViaActiveX(activeXDocument); // WSH\n  var length = enumBugKeys.length;\n  while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n  return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    EmptyConstructor[PROTOTYPE] = anObject(O);\n    result = new EmptyConstructor();\n    EmptyConstructor[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = NullProtoObject();\n  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-create.js?");

/***/ }),

/***/ 86452:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-define-properties.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ 63109);\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 12280);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ 9547);\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var props = toIndexedObject(Properties);\n  var keys = objectKeys(Properties);\n  var length = keys.length;\n  var index = 0;\n  var key;\n  while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n  return O;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-define-properties.js?");

/***/ }),

/***/ 12280:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-define-property.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 124);\nvar V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(/*! ../internals/v8-prototype-define-bug */ 63109);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 42319);\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n    var current = $getOwnPropertyDescriptor(O, P);\n    if (current && current[WRITABLE]) {\n      O[P] = Attributes.value;\n      Attributes = {\n        configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n        enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n        writable: false\n      };\n    }\n  } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPropertyKey(P);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return $defineProperty(O, P, Attributes);\n  } catch (error) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-define-property.js?");

/***/ }),

/***/ 91008:
/*!***************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js ***!
  \***************************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 66500);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 42319);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar IE8_DOM_DEFINE = __webpack_require__(/*! ../internals/ie8-dom-define */ 124);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n  O = toIndexedObject(O);\n  P = toPropertyKey(P);\n  if (IE8_DOM_DEFINE) try {\n    return $getOwnPropertyDescriptor(O, P);\n  } catch (error) { /* empty */ }\n  if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-get-own-property-descriptor.js?");

/***/ }),

/***/ 41920:
/*!*******************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-get-own-property-names-external.js ***!
  \*******************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable es/no-object-getownpropertynames -- safe */\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar $getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names */ 11600).f);\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n  try {\n    return $getOwnPropertyNames(it);\n  } catch (error) {\n    return arraySlice(windowNames);\n  }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n  return windowNames && classof(it) === 'Window'\n    ? getWindowNames(it)\n    : $getOwnPropertyNames(toIndexedObject(it));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-get-own-property-names-external.js?");

/***/ }),

/***/ 11600:
/*!**********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-get-own-property-names.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 92884);\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 63620);\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return internalObjectKeys(O, hiddenKeys);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-get-own-property-names.js?");

/***/ }),

/***/ 74060:
/*!************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js ***!
  \************************************************************************************/
/***/ (function(__unused_webpack_module, exports) {

"use strict";
eval("\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-get-own-property-symbols.js?");

/***/ }),

/***/ 27800:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-get-prototype-of.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ 80924);\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 72480);\n\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n  var object = toObject(O);\n  if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n  var constructor = object.constructor;\n  if (isCallable(constructor) && object instanceof constructor) {\n    return constructor.prototype;\n  } return object instanceof $Object ? ObjectPrototype : null;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-get-prototype-of.js?");

/***/ }),

/***/ 85432:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-is-extensible.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ 3648);\n\n// eslint-disable-next-line es/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); });\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {\n  if (!isObject(it)) return false;\n  if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false;\n  return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-is-extensible.js?");

/***/ }),

/***/ 82360:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-is-prototype-of.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-is-prototype-of.js?");

/***/ }),

/***/ 92884:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-keys-internal.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar indexOf = (__webpack_require__(/*! ../internals/array-includes */ 77464).indexOf);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 13328);\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n  var O = toIndexedObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (hasOwn(O, key = names[i++])) {\n    ~indexOf(result, key) || push(result, key);\n  }\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-keys-internal.js?");

/***/ }),

/***/ 9547:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-keys.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar internalObjectKeys = __webpack_require__(/*! ../internals/object-keys-internal */ 92884);\nvar enumBugKeys = __webpack_require__(/*! ../internals/enum-bug-keys */ 63620);\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n  return internalObjectKeys(O, enumBugKeys);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-keys.js?");

/***/ }),

/***/ 66500:
/*!**********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-property-is-enumerable.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack_module, exports) {

"use strict";
eval("\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n  var descriptor = getOwnPropertyDescriptor(this, V);\n  return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-property-is-enumerable.js?");

/***/ }),

/***/ 92288:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-set-prototype-of.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable no-proto -- safe */\nvar uncurryThisAccessor = __webpack_require__(/*! ../internals/function-uncurry-this-accessor */ 97864);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\nvar aPossiblePrototype = __webpack_require__(/*! ../internals/a-possible-prototype */ 31459);\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n  var CORRECT_SETTER = false;\n  var test = {};\n  var setter;\n  try {\n    setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');\n    setter(test, []);\n    CORRECT_SETTER = test instanceof Array;\n  } catch (error) { /* empty */ }\n  return function setPrototypeOf(O, proto) {\n    requireObjectCoercible(O);\n    aPossiblePrototype(proto);\n    if (!isObject(O)) return O;\n    if (CORRECT_SETTER) setter(O, proto);\n    else O.__proto__ = proto;\n    return O;\n  };\n}() : undefined);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-set-prototype-of.js?");

/***/ }),

/***/ 82768:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-to-array.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar objectGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 27800);\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ 9547);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar $propertyIsEnumerable = (__webpack_require__(/*! ../internals/object-property-is-enumerable */ 66500).f);\n\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// in some IE versions, `propertyIsEnumerable` returns incorrect result on integer keys\n// of `null` prototype objects\nvar IE_BUG = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-create -- safe\n  var O = Object.create(null);\n  O[2] = 2;\n  return !propertyIsEnumerable(O, 2);\n});\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function (TO_ENTRIES) {\n  return function (it) {\n    var O = toIndexedObject(it);\n    var keys = objectKeys(O);\n    var IE_WORKAROUND = IE_BUG && objectGetPrototypeOf(O) === null;\n    var length = keys.length;\n    var i = 0;\n    var result = [];\n    var key;\n    while (length > i) {\n      key = keys[i++];\n      if (!DESCRIPTORS || (IE_WORKAROUND ? key in O : propertyIsEnumerable(O, key))) {\n        push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n      }\n    }\n    return result;\n  };\n};\n\nmodule.exports = {\n  // `Object.entries` method\n  // https://tc39.es/ecma262/#sec-object.entries\n  entries: createMethod(true),\n  // `Object.values` method\n  // https://tc39.es/ecma262/#sec-object.values\n  values: createMethod(false)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-to-array.js?");

/***/ }),

/***/ 71616:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/object-to-string.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 26744);\nvar classof = __webpack_require__(/*! ../internals/classof */ 60636);\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n  return '[object ' + classof(this) + ']';\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/object-to-string.js?");

/***/ }),

/***/ 10416:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/ordinary-to-primitive.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n  var fn, val;\n  if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n  if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n  throw new $TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/ordinary-to-primitive.js?");

/***/ }),

/***/ 7876:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/own-keys.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 11600);\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 74060);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n  var keys = getOwnPropertyNamesModule.f(anObject(it));\n  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n  return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/own-keys.js?");

/***/ }),

/***/ 19832:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/path.js ***!
  \*********************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = {};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/path.js?");

/***/ }),

/***/ 35240:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/perform.js ***!
  \************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (exec) {\n  try {\n    return { error: false, value: exec() };\n  } catch (error) {\n    return { error: true, value: error };\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/perform.js?");

/***/ }),

/***/ 35524:
/*!**********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/promise-constructor-detection.js ***!
  \**********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isForced = __webpack_require__(/*! ../internals/is-forced */ 88536);\nvar inspectSource = __webpack_require__(/*! ../internals/inspect-source */ 39376);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar IS_BROWSER = __webpack_require__(/*! ../internals/engine-is-browser */ 50940);\nvar IS_DENO = __webpack_require__(/*! ../internals/engine-is-deno */ 35924);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\n\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n  var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n  // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n  // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n  // We can't detect it synchronously, so just check versions\n  if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n  // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n  if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n  // We can't use @@species feature detection in V8 since it causes\n  // deoptimization and performance degradation\n  // https://github.com/zloirock/core-js/issues/679\n  if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n    // Detect correctness of subclassing with @@species support\n    var promise = new NativePromiseConstructor(function (resolve) { resolve(1); });\n    var FakePromise = function (exec) {\n      exec(function () { /* empty */ }, function () { /* empty */ });\n    };\n    var constructor = promise.constructor = {};\n    constructor[SPECIES] = FakePromise;\n    SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;\n    if (!SUBCLASSING) return true;\n  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n  } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\n\nmodule.exports = {\n  CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n  REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n  SUBCLASSING: SUBCLASSING\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/promise-constructor-detection.js?");

/***/ }),

/***/ 50728:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/promise-native-constructor.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\n\nmodule.exports = global.Promise;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/promise-native-constructor.js?");

/***/ }),

/***/ 7211:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/promise-resolve.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar newPromiseCapability = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/promise-resolve.js?");

/***/ }),

/***/ 84880:
/*!****************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/promise-statics-incorrect-iteration.js ***!
  \****************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 70347);\nvar FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 35524).CONSTRUCTOR);\n\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n  NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ });\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/promise-statics-incorrect-iteration.js?");

/***/ }),

/***/ 20984:
/*!**********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/queue.js ***!
  \**********************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar Queue = function () {\n  this.head = null;\n  this.tail = null;\n};\n\nQueue.prototype = {\n  add: function (item) {\n    var entry = { item: item, next: null };\n    var tail = this.tail;\n    if (tail) tail.next = entry;\n    else this.head = entry;\n    this.tail = entry;\n  },\n  get: function () {\n    var entry = this.head;\n    if (entry) {\n      var next = this.head = entry.next;\n      if (next === null) this.tail = null;\n      return entry.item;\n    }\n  }\n};\n\nmodule.exports = Queue;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/queue.js?");

/***/ }),

/***/ 69952:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/require-object-coercible.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n  if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n  return it;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/require-object-coercible.js?");

/***/ }),

/***/ 94604:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/safe-get-built-in.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nmodule.exports = function (name) {\n  if (!DESCRIPTORS) return global[name];\n  var descriptor = getOwnPropertyDescriptor(global, name);\n  return descriptor && descriptor.value;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/safe-get-built-in.js?");

/***/ }),

/***/ 11176:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/same-value.js ***!
  \***************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return x === y ? x !== 0 || 1 / x === 1 / y : x !== x && y !== y;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/same-value.js?");

/***/ }),

/***/ 98084:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/schedulers-fix.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar ENGINE_IS_BUN = __webpack_require__(/*! ../internals/engine-is-bun */ 77352);\nvar USER_AGENT = __webpack_require__(/*! ../internals/engine-user-agent */ 72276);\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\nvar validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 75872);\n\nvar Function = global.Function;\n// dirty IE9- and Bun 0.3.0- checks\nvar WRAP = /MSIE .\\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () {\n  var version = global.Bun.version.split('.');\n  return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0');\n})();\n\n// IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers\n// https://github.com/oven-sh/bun/issues/1633\nmodule.exports = function (scheduler, hasTimeArg) {\n  var firstParamIndex = hasTimeArg ? 2 : 1;\n  return WRAP ? function (handler, timeout /* , ...arguments */) {\n    var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex;\n    var fn = isCallable(handler) ? handler : Function(handler);\n    var params = boundArgs ? arraySlice(arguments, firstParamIndex) : [];\n    var callback = boundArgs ? function () {\n      apply(fn, this, params);\n    } : fn;\n    return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback);\n  } : scheduler;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/schedulers-fix.js?");

/***/ }),

/***/ 94440:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-clone.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 68152);\nvar iterate = __webpack_require__(/*! ../internals/set-iterate */ 71836);\n\nvar Set = SetHelpers.Set;\nvar add = SetHelpers.add;\n\nmodule.exports = function (set) {\n  var result = new Set();\n  iterate(set, function (it) {\n    add(result, it);\n  });\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-clone.js?");

/***/ }),

/***/ 62396:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-difference.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 68152);\nvar clone = __webpack_require__(/*! ../internals/set-clone */ 94440);\nvar size = __webpack_require__(/*! ../internals/set-size */ 30032);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 71836);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\n\nvar has = SetHelpers.has;\nvar remove = SetHelpers.remove;\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function difference(other) {\n  var O = aSet(this);\n  var otherRec = getSetRecord(other);\n  var result = clone(O);\n  if (size(O) <= otherRec.size) iterateSet(O, function (e) {\n    if (otherRec.includes(e)) remove(result, e);\n  });\n  else iterateSimple(otherRec.getIterator(), function (e) {\n    if (has(O, e)) remove(result, e);\n  });\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-difference.js?");

/***/ }),

/***/ 68152:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-helpers.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar caller = __webpack_require__(/*! ../internals/caller */ 29592);\n\nvar Set = getBuiltIn('Set');\nvar SetPrototype = Set.prototype;\n\nmodule.exports = {\n  Set: Set,\n  add: caller('add', 1),\n  has: caller('has', 1),\n  remove: caller('delete', 1),\n  proto: SetPrototype\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-helpers.js?");

/***/ }),

/***/ 50920:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-intersection.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 68152);\nvar size = __webpack_require__(/*! ../internals/set-size */ 30032);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 71836);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\n\nvar Set = SetHelpers.Set;\nvar add = SetHelpers.add;\nvar has = SetHelpers.has;\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function intersection(other) {\n  var O = aSet(this);\n  var otherRec = getSetRecord(other);\n  var result = new Set();\n\n  if (size(O) > otherRec.size) {\n    iterateSimple(otherRec.getIterator(), function (e) {\n      if (has(O, e)) add(result, e);\n    });\n  } else {\n    iterateSet(O, function (e) {\n      if (otherRec.includes(e)) add(result, e);\n    });\n  }\n\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-intersection.js?");

/***/ }),

/***/ 27968:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-is-disjoint-from.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar has = (__webpack_require__(/*! ../internals/set-helpers */ 68152).has);\nvar size = __webpack_require__(/*! ../internals/set-size */ 30032);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSet = __webpack_require__(/*! ../internals/set-iterate */ 71836);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\nvar iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 45872);\n\n// `Set.prototype.isDisjointFrom` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom\nmodule.exports = function isDisjointFrom(other) {\n  var O = aSet(this);\n  var otherRec = getSetRecord(other);\n  if (size(O) <= otherRec.size) return iterateSet(O, function (e) {\n    if (otherRec.includes(e)) return false;\n  }, true) !== false;\n  var iterator = otherRec.getIterator();\n  return iterateSimple(iterator, function (e) {\n    if (has(O, e)) return iteratorClose(iterator, 'normal', false);\n  }) !== false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-is-disjoint-from.js?");

/***/ }),

/***/ 89972:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-is-subset-of.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar size = __webpack_require__(/*! ../internals/set-size */ 30032);\nvar iterate = __webpack_require__(/*! ../internals/set-iterate */ 71836);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\n\n// `Set.prototype.isSubsetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf\nmodule.exports = function isSubsetOf(other) {\n  var O = aSet(this);\n  var otherRec = getSetRecord(other);\n  if (size(O) > otherRec.size) return false;\n  return iterate(O, function (e) {\n    if (!otherRec.includes(e)) return false;\n  }, true) !== false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-is-subset-of.js?");

/***/ }),

/***/ 93472:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-is-superset-of.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar has = (__webpack_require__(/*! ../internals/set-helpers */ 68152).has);\nvar size = __webpack_require__(/*! ../internals/set-size */ 30032);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\nvar iteratorClose = __webpack_require__(/*! ../internals/iterator-close */ 45872);\n\n// `Set.prototype.isSupersetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf\nmodule.exports = function isSupersetOf(other) {\n  var O = aSet(this);\n  var otherRec = getSetRecord(other);\n  if (size(O) < otherRec.size) return false;\n  var iterator = otherRec.getIterator();\n  return iterateSimple(iterator, function (e) {\n    if (!has(O, e)) return iteratorClose(iterator, 'normal', false);\n  }) !== false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-is-superset-of.js?");

/***/ }),

/***/ 71836:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-iterate.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\n\nmodule.exports = function (set, fn, interruptible) {\n  return interruptible ? iterateSimple(set.keys(), fn, true) : set.forEach(fn);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-iterate.js?");

/***/ }),

/***/ 94864:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-method-accept-set-like.js ***!
  \*******************************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function () {\n  return false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-method-accept-set-like.js?");

/***/ }),

/***/ 30032:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-size.js ***!
  \*************************************************************/
/***/ (function(module) {

"use strict";
eval("\nmodule.exports = function (set) {\n  return set.size;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-size.js?");

/***/ }),

/***/ 13120:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-species.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 56968);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\n\nvar SPECIES = wellKnownSymbol('species');\n\nmodule.exports = function (CONSTRUCTOR_NAME) {\n  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n\n  if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n    defineBuiltInAccessor(Constructor, SPECIES, {\n      configurable: true,\n      get: function () { return this; }\n    });\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-species.js?");

/***/ }),

/***/ 58732:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-symmetric-difference.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar SetHelpers = __webpack_require__(/*! ../internals/set-helpers */ 68152);\nvar clone = __webpack_require__(/*! ../internals/set-clone */ 94440);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\n\nvar add = SetHelpers.add;\nvar has = SetHelpers.has;\nvar remove = SetHelpers.remove;\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function symmetricDifference(other) {\n  var O = aSet(this);\n  var keysIter = getSetRecord(other).getIterator();\n  var result = clone(O);\n  iterateSimple(keysIter, function (e) {\n    if (has(O, e)) remove(result, e);\n    else add(result, e);\n  });\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-symmetric-difference.js?");

/***/ }),

/***/ 35836:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-to-string-tag.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar TO_STRING_TAG_SUPPORT = __webpack_require__(/*! ../internals/to-string-tag-support */ 26744);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar toString = __webpack_require__(/*! ../internals/object-to-string */ 71616);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\n\nmodule.exports = function (it, TAG, STATIC, SET_METHOD) {\n  var target = STATIC ? it : it && it.prototype;\n  if (target) {\n    if (!hasOwn(target, TO_STRING_TAG)) {\n      defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG });\n    }\n    if (SET_METHOD && !TO_STRING_TAG_SUPPORT) {\n      createNonEnumerableProperty(target, 'toString', toString);\n    }\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-to-string-tag.js?");

/***/ }),

/***/ 56240:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/set-union.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar aSet = __webpack_require__(/*! ../internals/a-set */ 92292);\nvar add = (__webpack_require__(/*! ../internals/set-helpers */ 68152).add);\nvar clone = __webpack_require__(/*! ../internals/set-clone */ 94440);\nvar getSetRecord = __webpack_require__(/*! ../internals/get-set-record */ 82308);\nvar iterateSimple = __webpack_require__(/*! ../internals/iterate-simple */ 63187);\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\nmodule.exports = function union(other) {\n  var O = aSet(this);\n  var keysIter = getSetRecord(other).getIterator();\n  var result = clone(O);\n  iterateSimple(keysIter, function (it) {\n    add(result, it);\n  });\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/set-union.js?");

/***/ }),

/***/ 80924:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/shared-key.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar uid = __webpack_require__(/*! ../internals/uid */ 66696);\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n  return keys[key] || (keys[key] = uid(key));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/shared-key.js?");

/***/ }),

/***/ 99284:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/shared-store.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar globalThis = __webpack_require__(/*! ../internals/global */ 85216);\nvar defineGlobalProperty = __webpack_require__(/*! ../internals/define-global-property */ 44408);\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n  version: '3.37.0',\n  mode: IS_PURE ? 'pure' : 'global',\n  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n  license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',\n  source: 'https://github.com/zloirock/core-js'\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/shared-store.js?");

/***/ }),

/***/ 68852:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/shared.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar store = __webpack_require__(/*! ../internals/shared-store */ 99284);\n\nmodule.exports = function (key, value) {\n  return store[key] || (store[key] = value || {});\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/shared.js?");

/***/ }),

/***/ 84928:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/species-constructor.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 39556);\nvar isNullOrUndefined = __webpack_require__(/*! ../internals/is-null-or-undefined */ 19511);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/species-constructor.js?");

/***/ }),

/***/ 16392:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/string-multibyte.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\n\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\n\nvar createMethod = function (CONVERT_TO_STRING) {\n  return function ($this, pos) {\n    var S = toString(requireObjectCoercible($this));\n    var position = toIntegerOrInfinity(pos);\n    var size = S.length;\n    var first, second;\n    if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n    first = charCodeAt(S, position);\n    return first < 0xD800 || first > 0xDBFF || position + 1 === size\n      || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF\n        ? CONVERT_TO_STRING\n          ? charAt(S, position)\n          : first\n        : CONVERT_TO_STRING\n          ? stringSlice(S, position, position + 2)\n          : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n  };\n};\n\nmodule.exports = {\n  // `String.prototype.codePointAt` method\n  // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n  codeAt: createMethod(false),\n  // `String.prototype.at` method\n  // https://github.com/mathiasbynens/String.prototype.at\n  charAt: createMethod(true)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/string-multibyte.js?");

/***/ }),

/***/ 9960:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/string-pad.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar toLength = __webpack_require__(/*! ../internals/to-length */ 84596);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar $repeat = __webpack_require__(/*! ../internals/string-repeat */ 75448);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\n\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n  return function ($this, maxLength, fillString) {\n    var S = toString(requireObjectCoercible($this));\n    var intMaxLength = toLength(maxLength);\n    var stringLength = S.length;\n    var fillStr = fillString === undefined ? ' ' : toString(fillString);\n    var fillLen, stringFiller;\n    if (intMaxLength <= stringLength || fillStr === '') return S;\n    fillLen = intMaxLength - stringLength;\n    stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n    if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n    return IS_END ? S + stringFiller : stringFiller + S;\n  };\n};\n\nmodule.exports = {\n  // `String.prototype.padStart` method\n  // https://tc39.es/ecma262/#sec-string.prototype.padstart\n  start: createMethod(false),\n  // `String.prototype.padEnd` method\n  // https://tc39.es/ecma262/#sec-string.prototype.padend\n  end: createMethod(true)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/string-pad.js?");

/***/ }),

/***/ 75448:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/string-repeat.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\n\nvar $RangeError = RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n  var str = toString(requireObjectCoercible(this));\n  var result = '';\n  var n = toIntegerOrInfinity(count);\n  if (n < 0 || n === Infinity) throw new $RangeError('Wrong number of repetitions');\n  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n  return result;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/string-repeat.js?");

/***/ }),

/***/ 74144:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/string-trim-forced.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar PROPER_FUNCTION_NAME = (__webpack_require__(/*! ../internals/function-name */ 13564).PROPER);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 25276);\n\nvar non = '\\u200B\\u0085\\u180E';\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n  return fails(function () {\n    return !!whitespaces[METHOD_NAME]()\n      || non[METHOD_NAME]() !== non\n      || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);\n  });\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/string-trim-forced.js?");

/***/ }),

/***/ 36832:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/string-trim.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar whitespaces = __webpack_require__(/*! ../internals/whitespaces */ 25276);\n\nvar replace = uncurryThis(''.replace);\nvar ltrim = RegExp('^[' + whitespaces + ']+');\nvar rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function (TYPE) {\n  return function ($this) {\n    var string = toString(requireObjectCoercible($this));\n    if (TYPE & 1) string = replace(string, ltrim, '');\n    if (TYPE & 2) string = replace(string, rtrim, '$1');\n    return string;\n  };\n};\n\nmodule.exports = {\n  // `String.prototype.{ trimLeft, trimStart }` methods\n  // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n  start: createMethod(1),\n  // `String.prototype.{ trimRight, trimEnd }` methods\n  // https://tc39.es/ecma262/#sec-string.prototype.trimend\n  end: createMethod(2),\n  // `String.prototype.trim` method\n  // https://tc39.es/ecma262/#sec-string.prototype.trim\n  trim: createMethod(3)\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/string-trim.js?");

/***/ }),

/***/ 25235:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/symbol-constructor-detection.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\n\nvar $String = global.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n  var symbol = Symbol('symbol detection');\n  // Chrome 38 Symbol has incorrect toString conversion\n  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n  // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n  // of course, fail.\n  return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n    // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n    !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/symbol-constructor-detection.js?");

/***/ }),

/***/ 50072:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/symbol-define-to-primitive.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\n\nmodule.exports = function () {\n  var Symbol = getBuiltIn('Symbol');\n  var SymbolPrototype = Symbol && Symbol.prototype;\n  var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n  var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n  if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n    // `Symbol.prototype[@@toPrimitive]` method\n    // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n    // eslint-disable-next-line no-unused-vars -- required for .length\n    defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n      return call(valueOf, this);\n    }, { arity: 1 });\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/symbol-define-to-primitive.js?");

/***/ }),

/***/ 95080:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/symbol-is-registered.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nvar Symbol = getBuiltIn('Symbol');\nvar keyFor = Symbol.keyFor;\nvar thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);\n\n// `Symbol.isRegisteredSymbol` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol\nmodule.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) {\n  try {\n    return keyFor(thisSymbolValue(value)) !== undefined;\n  } catch (error) {\n    return false;\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/symbol-is-registered.js?");

/***/ }),

/***/ 12636:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/symbol-is-well-known.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 95376);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar Symbol = getBuiltIn('Symbol');\nvar $isWellKnownSymbol = Symbol.isWellKnownSymbol;\nvar getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');\nvar thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);\nvar WellKnownSymbolsStore = shared('wks');\n\nfor (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {\n  // some old engines throws on access to some keys like `arguments` or `caller`\n  try {\n    var symbolKey = symbolKeys[i];\n    if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);\n  } catch (error) { /* empty */ }\n}\n\n// `Symbol.isWellKnownSymbol` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol\n// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected\nmodule.exports = function isWellKnownSymbol(value) {\n  if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true;\n  try {\n    var symbol = thisSymbolValue(value);\n    for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {\n      // eslint-disable-next-line eqeqeq -- polyfilled symbols case\n      if (WellKnownSymbolsStore[keys[j]] == symbol) return true;\n    }\n  } catch (error) { /* empty */ }\n  return false;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/symbol-is-well-known.js?");

/***/ }),

/***/ 37780:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/symbol-registry-detection.js ***!
  \******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\n\n/* eslint-disable es/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/symbol-registry-detection.js?");

/***/ }),

/***/ 93368:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/task.js ***!
  \*********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar bind = __webpack_require__(/*! ../internals/function-bind-context */ 21884);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar html = __webpack_require__(/*! ../internals/html */ 67896);\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\nvar createElement = __webpack_require__(/*! ../internals/document-create-element */ 21940);\nvar validateArgumentsLength = __webpack_require__(/*! ../internals/validate-arguments-length */ 75872);\nvar IS_IOS = __webpack_require__(/*! ../internals/engine-is-ios */ 56772);\nvar IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 91432);\n\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar $location, defer, channel, port;\n\nfails(function () {\n  // Deno throws a ReferenceError on `location` access without `--location` flag\n  $location = global.location;\n});\n\nvar run = function (id) {\n  if (hasOwn(queue, id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\n\nvar runner = function (id) {\n  return function () {\n    run(id);\n  };\n};\n\nvar eventListener = function (event) {\n  run(event.data);\n};\n\nvar globalPostMessageDefer = function (id) {\n  // old engines have not location.origin\n  global.postMessage(String(id), $location.protocol + '//' + $location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n  set = function setImmediate(handler) {\n    validateArgumentsLength(arguments.length, 1);\n    var fn = isCallable(handler) ? handler : Function(handler);\n    var args = arraySlice(arguments, 1);\n    queue[++counter] = function () {\n      apply(fn, undefined, args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clear = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (IS_NODE) {\n    defer = function (id) {\n      process.nextTick(runner(id));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(runner(id));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  // except iOS - https://github.com/zloirock/core-js/issues/624\n  } else if (MessageChannel && !IS_IOS) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = eventListener;\n    defer = bind(port.postMessage, port);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (\n    global.addEventListener &&\n    isCallable(global.postMessage) &&\n    !global.importScripts &&\n    $location && $location.protocol !== 'file:' &&\n    !fails(globalPostMessageDefer)\n  ) {\n    defer = globalPostMessageDefer;\n    global.addEventListener('message', eventListener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in createElement('script')) {\n    defer = function (id) {\n      html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(runner(id), 0);\n    };\n  }\n}\n\nmodule.exports = {\n  set: set,\n  clear: clear\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/task.js?");

/***/ }),

/***/ 24180:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-absolute-index.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n  var integer = toIntegerOrInfinity(index);\n  return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-absolute-index.js?");

/***/ }),

/***/ 30445:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-indexed-object.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = __webpack_require__(/*! ../internals/indexed-object */ 22899);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\n\nmodule.exports = function (it) {\n  return IndexedObject(requireObjectCoercible(it));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-indexed-object.js?");

/***/ }),

/***/ 45016:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-integer-or-infinity.js ***!
  \***************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar trunc = __webpack_require__(/*! ../internals/math-trunc */ 90024);\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n  var number = +argument;\n  // eslint-disable-next-line no-self-compare -- NaN check\n  return number !== number || number === 0 ? 0 : trunc(number);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-integer-or-infinity.js?");

/***/ }),

/***/ 84596:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-length.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n  var len = toIntegerOrInfinity(argument);\n  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-length.js?");

/***/ }),

/***/ 92819:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-object.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n  return $Object(requireObjectCoercible(argument));\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-object.js?");

/***/ }),

/***/ 23504:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-primitive.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 95376);\nvar getMethod = __webpack_require__(/*! ../internals/get-method */ 31636);\nvar ordinaryToPrimitive = __webpack_require__(/*! ../internals/ordinary-to-primitive */ 10416);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n  if (!isObject(input) || isSymbol(input)) return input;\n  var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n  var result;\n  if (exoticToPrim) {\n    if (pref === undefined) pref = 'default';\n    result = call(exoticToPrim, input, pref);\n    if (!isObject(result) || isSymbol(result)) return result;\n    throw new $TypeError(\"Can't convert object to primitive value\");\n  }\n  if (pref === undefined) pref = 'number';\n  return ordinaryToPrimitive(input, pref);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-primitive.js?");

/***/ }),

/***/ 42319:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-property-key.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 23504);\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 95376);\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n  var key = toPrimitive(argument, 'string');\n  return isSymbol(key) ? key : key + '';\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-property-key.js?");

/***/ }),

/***/ 26744:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-string-tag-support.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\n\ntest[TO_STRING_TAG] = 'z';\n\nmodule.exports = String(test) === '[object z]';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-string-tag-support.js?");

/***/ }),

/***/ 39352:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/to-string.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar classof = __webpack_require__(/*! ../internals/classof */ 60636);\n\nvar $String = String;\n\nmodule.exports = function (argument) {\n  if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');\n  return $String(argument);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/to-string.js?");

/***/ }),

/***/ 48944:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/try-to-string.js ***!
  \******************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar $String = String;\n\nmodule.exports = function (argument) {\n  try {\n    return $String(argument);\n  } catch (error) {\n    return 'Object';\n  }\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/try-to-string.js?");

/***/ }),

/***/ 66696:
/*!********************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/uid.js ***!
  \********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/uid.js?");

/***/ }),

/***/ 46416:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/use-symbol-as-uid.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\n\nmodule.exports = NATIVE_SYMBOL\n  && !Symbol.sham\n  && typeof Symbol.iterator == 'symbol';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/use-symbol-as-uid.js?");

/***/ }),

/***/ 63109:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js ***!
  \****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n  // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n  return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n    value: 42,\n    writable: false\n  }).prototype !== 42;\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/v8-prototype-define-bug.js?");

/***/ }),

/***/ 75872:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/validate-arguments-length.js ***!
  \******************************************************************************/
/***/ (function(module) {

"use strict";
eval("\nvar $TypeError = TypeError;\n\nmodule.exports = function (passed, required) {\n  if (passed < required) throw new $TypeError('Not enough arguments');\n  return passed;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/validate-arguments-length.js?");

/***/ }),

/***/ 23184:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/weak-map-basic-detection.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/weak-map-basic-detection.js?");

/***/ }),

/***/ 61084:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/well-known-symbol-define.js ***!
  \*****************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 81104);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\n\nmodule.exports = function (NAME) {\n  var Symbol = path.Symbol || (path.Symbol = {});\n  if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, {\n    value: wrappedWellKnownSymbolModule.f(NAME)\n  });\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/well-known-symbol-define.js?");

/***/ }),

/***/ 81104:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/well-known-symbol-wrapped.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nexports.f = wellKnownSymbol;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/well-known-symbol-wrapped.js?");

/***/ }),

/***/ 23336:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/well-known-symbol.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar uid = __webpack_require__(/*! ../internals/uid */ 66696);\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\nvar USE_SYMBOL_AS_UID = __webpack_require__(/*! ../internals/use-symbol-as-uid */ 46416);\n\nvar Symbol = global.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n  if (!hasOwn(WellKnownSymbolsStore, name)) {\n    WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n      ? Symbol[name]\n      : createWellKnownSymbol('Symbol.' + name);\n  } return WellKnownSymbolsStore[name];\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/well-known-symbol.js?");

/***/ }),

/***/ 25276:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/internals/whitespaces.js ***!
  \****************************************************************/
/***/ (function(module) {

"use strict";
eval("\n// a string of all valid unicode whitespaces\nmodule.exports = '\\u0009\\u000A\\u000B\\u000C\\u000D\\u0020\\u00A0\\u1680\\u2000\\u2001\\u2002' +\n  '\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/internals/whitespaces.js?");

/***/ }),

/***/ 59232:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.aggregate-error.constructor.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 82360);\nvar getPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 27800);\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 92288);\nvar copyConstructorProperties = __webpack_require__(/*! ../internals/copy-constructor-properties */ 1100);\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar createNonEnumerableProperty = __webpack_require__(/*! ../internals/create-non-enumerable-property */ 20896);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\nvar installErrorCause = __webpack_require__(/*! ../internals/install-error-cause */ 19055);\nvar installErrorStack = __webpack_require__(/*! ../internals/error-stack-install */ 69035);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar normalizeStringArgument = __webpack_require__(/*! ../internals/normalize-string-argument */ 93080);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\n\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\n\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n  var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n  var that;\n  if (setPrototypeOf) {\n    that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n  } else {\n    that = isInstance ? this : create(AggregateErrorPrototype);\n    createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n  }\n  if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n  installErrorStack(that, $AggregateError, that.stack, 1);\n  if (arguments.length > 2) installErrorCause(that, arguments[2]);\n  var errorsArray = [];\n  iterate(errors, push, { that: errorsArray });\n  createNonEnumerableProperty(that, 'errors', errorsArray);\n  return that;\n};\n\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);\nelse copyConstructorProperties($AggregateError, $Error, { name: true });\n\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n  constructor: createPropertyDescriptor(1, $AggregateError),\n  message: createPropertyDescriptor(1, ''),\n  name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({ global: true, constructor: true, arity: 2 }, {\n  AggregateError: $AggregateError\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.aggregate-error.constructor.js?");

/***/ }),

/***/ 38436:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.aggregate-error.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\n__webpack_require__(/*! ../modules/es.aggregate-error.constructor */ 59232);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.aggregate-error.js?");

/***/ }),

/***/ 22216:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.concat.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 18200);\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ 14895);\nvar arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 94872);\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 85384);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar V8_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\n\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n  var array = [];\n  array[IS_CONCAT_SPREADABLE] = false;\n  return array.concat()[0] !== array;\n});\n\nvar isConcatSpreadable = function (O) {\n  if (!isObject(O)) return false;\n  var spreadable = O[IS_CONCAT_SPREADABLE];\n  return spreadable !== undefined ? !!spreadable : isArray(O);\n};\n\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {\n  // eslint-disable-next-line no-unused-vars -- required for `.length`\n  concat: function concat(arg) {\n    var O = toObject(this);\n    var A = arraySpeciesCreate(O, 0);\n    var n = 0;\n    var i, k, length, len, E;\n    for (i = -1, length = arguments.length; i < length; i++) {\n      E = i === -1 ? O : arguments[i];\n      if (isConcatSpreadable(E)) {\n        len = lengthOfArrayLike(E);\n        doesNotExceedSafeInteger(n + len);\n        for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n      } else {\n        doesNotExceedSafeInteger(n + 1);\n        createProperty(A, n++, E);\n      }\n    }\n    A.length = n;\n    return A;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.concat.js?");

/***/ }),

/***/ 16408:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.every.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $every = (__webpack_require__(/*! ../internals/array-iteration */ 7608).every);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\n\nvar STRICT_METHOD = arrayMethodIsStrict('every');\n\n// `Array.prototype.every` method\n// https://tc39.es/ecma262/#sec-array.prototype.every\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n  every: function every(callbackfn /* , thisArg */) {\n    return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.every.js?");

/***/ }),

/***/ 64124:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.fill.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fill = __webpack_require__(/*! ../internals/array-fill */ 33028);\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 51472);\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({ target: 'Array', proto: true }, {\n  fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.fill.js?");

/***/ }),

/***/ 64864:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.filter.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $filter = (__webpack_require__(/*! ../internals/array-iteration */ 7608).filter);\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 85384);\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n  filter: function filter(callbackfn /* , thisArg */) {\n    return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.filter.js?");

/***/ }),

/***/ 41008:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.find-index.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $findIndex = (__webpack_require__(/*! ../internals/array-iteration */ 7608).findIndex);\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 51472);\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-findindex -- testing\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.find-index.js?");

/***/ }),

/***/ 36952:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.find.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $find = (__webpack_require__(/*! ../internals/array-iteration */ 7608).find);\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 51472);\n\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\n// eslint-disable-next-line es/no-array-prototype-find -- testing\nif (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.find.js?");

/***/ }),

/***/ 18068:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.for-each.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar forEach = __webpack_require__(/*! ../internals/array-for-each */ 66056);\n\n// `Array.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\n// eslint-disable-next-line es/no-array-prototype-foreach -- safe\n$({ target: 'Array', proto: true, forced: [].forEach !== forEach }, {\n  forEach: forEach\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.for-each.js?");

/***/ }),

/***/ 19952:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.from.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar from = __webpack_require__(/*! ../internals/array-from */ 9980);\nvar checkCorrectnessOfIteration = __webpack_require__(/*! ../internals/check-correctness-of-iteration */ 70347);\n\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n  // eslint-disable-next-line es/no-array-from -- required for testing\n  Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, {\n  from: from\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.from.js?");

/***/ }),

/***/ 46504:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.includes.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $includes = (__webpack_require__(/*! ../internals/array-includes */ 77464).includes);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 51472);\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n  // eslint-disable-next-line es/no-array-prototype-includes -- detection\n  return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n  includes: function includes(el /* , fromIndex = 0 */) {\n    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.includes.js?");

/***/ }),

/***/ 11904:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.index-of.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n/* eslint-disable es/no-array-prototype-indexof -- required for testing */\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 61248);\nvar $indexOf = (__webpack_require__(/*! ../internals/array-includes */ 77464).indexOf);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\n\nvar nativeIndexOf = uncurryThis([].indexOf);\n\nvar NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;\nvar FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');\n\n// `Array.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.indexof\n$({ target: 'Array', proto: true, forced: FORCED }, {\n  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n    var fromIndex = arguments.length > 1 ? arguments[1] : undefined;\n    return NEGATIVE_ZERO\n      // convert -0 to +0\n      ? nativeIndexOf(this, searchElement, fromIndex) || 0\n      : $indexOf(this, searchElement, fromIndex);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.index-of.js?");

/***/ }),

/***/ 45656:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.is-array.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\n\n// `Array.isArray` method\n// https://tc39.es/ecma262/#sec-array.isarray\n$({ target: 'Array', stat: true }, {\n  isArray: isArray\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.is-array.js?");

/***/ }),

/***/ 30340:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.iterator.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar addToUnscopables = __webpack_require__(/*! ../internals/add-to-unscopables */ 51472);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\nvar defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 536);\nvar createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 73848);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\n\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n  setInternalState(this, {\n    type: ARRAY_ITERATOR,\n    target: toIndexedObject(iterated), // target\n    index: 0,                          // next index\n    kind: kind                         // kind\n  });\n// `%ArrayIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n  var state = getInternalState(this);\n  var target = state.target;\n  var index = state.index++;\n  if (!target || index >= target.length) {\n    state.target = undefined;\n    return createIterResultObject(undefined, true);\n  }\n  switch (state.kind) {\n    case 'keys': return createIterResultObject(index, false);\n    case 'values': return createIterResultObject(target[index], false);\n  } return createIterResultObject([index, target[index]], false);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n  defineProperty(values, 'name', { value: 'values' });\n} catch (error) { /* empty */ }\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.iterator.js?");

/***/ }),

/***/ 74052:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.last-index-of.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar lastIndexOf = __webpack_require__(/*! ../internals/array-last-index-of */ 34424);\n\n// `Array.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\n// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing\n$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, {\n  lastIndexOf: lastIndexOf\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.last-index-of.js?");

/***/ }),

/***/ 97092:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.map.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $map = (__webpack_require__(/*! ../internals/array-iteration */ 7608).map);\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 85384);\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.map.js?");

/***/ }),

/***/ 91704:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.reduce.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $reduce = (__webpack_require__(/*! ../internals/array-reduce */ 16460).left);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\nvar CHROME_VERSION = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\nvar IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 91432);\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n  reduce: function reduce(callbackfn /* , initialValue */) {\n    var length = arguments.length;\n    return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.reduce.js?");

/***/ }),

/***/ 9020:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.reverse.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\n\nvar nativeReverse = uncurryThis([].reverse);\nvar test = [1, 2];\n\n// `Array.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-array.prototype.reverse\n// fix for Safari 12.0 bug\n// https://bugs.webkit.org/show_bug.cgi?id=188794\n$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {\n  reverse: function reverse() {\n    // eslint-disable-next-line no-self-assign -- dirty hack\n    if (isArray(this)) this.length = this.length;\n    return nativeReverse(this);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.reverse.js?");

/***/ }),

/***/ 15863:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.slice.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isArray = __webpack_require__(/*! ../internals/is-array */ 33204);\nvar isConstructor = __webpack_require__(/*! ../internals/is-constructor */ 39496);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 24180);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ 14895);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 85384);\nvar nativeSlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\n\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n  slice: function slice(start, end) {\n    var O = toIndexedObject(this);\n    var length = lengthOfArrayLike(O);\n    var k = toAbsoluteIndex(start, length);\n    var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n    // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n    var Constructor, result, n;\n    if (isArray(O)) {\n      Constructor = O.constructor;\n      // cross-realm fallback\n      if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n        Constructor = undefined;\n      } else if (isObject(Constructor)) {\n        Constructor = Constructor[SPECIES];\n        if (Constructor === null) Constructor = undefined;\n      }\n      if (Constructor === $Array || Constructor === undefined) {\n        return nativeSlice(O, k, fin);\n      }\n    }\n    result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n    for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n    result.length = n;\n    return result;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.slice.js?");

/***/ }),

/***/ 43408:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.some.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $some = (__webpack_require__(/*! ../internals/array-iteration */ 7608).some);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\n\nvar STRICT_METHOD = arrayMethodIsStrict('some');\n\n// `Array.prototype.some` method\n// https://tc39.es/ecma262/#sec-array.prototype.some\n$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, {\n  some: function some(callbackfn /* , thisArg */) {\n    return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.some.js?");

/***/ }),

/***/ 38280:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.sort.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 86940);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar internalSort = __webpack_require__(/*! ../internals/array-sort */ 43864);\nvar arrayMethodIsStrict = __webpack_require__(/*! ../internals/array-method-is-strict */ 54888);\nvar FF = __webpack_require__(/*! ../internals/engine-ff-version */ 7587);\nvar IE_OR_EDGE = __webpack_require__(/*! ../internals/engine-is-ie-or-edge */ 86028);\nvar V8 = __webpack_require__(/*! ../internals/engine-v8-version */ 23896);\nvar WEBKIT = __webpack_require__(/*! ../internals/engine-webkit-version */ 83624);\n\nvar test = [];\nvar nativeSort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n  test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n  test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\n\nvar STABLE_SORT = !fails(function () {\n  // feature detection can be too slow, so check engines versions\n  if (V8) return V8 < 70;\n  if (FF && FF > 3) return;\n  if (IE_OR_EDGE) return true;\n  if (WEBKIT) return WEBKIT < 603;\n\n  var result = '';\n  var code, chr, value, index;\n\n  // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n  for (code = 65; code < 76; code++) {\n    chr = String.fromCharCode(code);\n\n    switch (code) {\n      case 66: case 69: case 70: case 72: value = 3; break;\n      case 68: case 71: value = 4; break;\n      default: value = 2;\n    }\n\n    for (index = 0; index < 47; index++) {\n      test.push({ k: chr + index, v: value });\n    }\n  }\n\n  test.sort(function (a, b) { return b.v - a.v; });\n\n  for (index = 0; index < test.length; index++) {\n    chr = test[index].k.charAt(0);\n    if (result.charAt(result.length - 1) !== chr) result += chr;\n  }\n\n  return result !== 'DGBEFHACIJK';\n});\n\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\n\nvar getSortCompare = function (comparefn) {\n  return function (x, y) {\n    if (y === undefined) return -1;\n    if (x === undefined) return 1;\n    if (comparefn !== undefined) return +comparefn(x, y) || 0;\n    return toString(x) > toString(y) ? 1 : -1;\n  };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({ target: 'Array', proto: true, forced: FORCED }, {\n  sort: function sort(comparefn) {\n    if (comparefn !== undefined) aCallable(comparefn);\n\n    var array = toObject(this);\n\n    if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);\n\n    var items = [];\n    var arrayLength = lengthOfArrayLike(array);\n    var itemsLength, index;\n\n    for (index = 0; index < arrayLength; index++) {\n      if (index in array) push(items, array[index]);\n    }\n\n    internalSort(items, getSortCompare(comparefn));\n\n    itemsLength = lengthOfArrayLike(items);\n    index = 0;\n\n    while (index < itemsLength) array[index] = items[index++];\n    while (index < arrayLength) deletePropertyOrThrow(array, index++);\n\n    return array;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.sort.js?");

/***/ }),

/***/ 74152:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.array.splice.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar toAbsoluteIndex = __webpack_require__(/*! ../internals/to-absolute-index */ 24180);\nvar toIntegerOrInfinity = __webpack_require__(/*! ../internals/to-integer-or-infinity */ 45016);\nvar lengthOfArrayLike = __webpack_require__(/*! ../internals/length-of-array-like */ 35316);\nvar setArrayLength = __webpack_require__(/*! ../internals/array-set-length */ 1716);\nvar doesNotExceedSafeInteger = __webpack_require__(/*! ../internals/does-not-exceed-safe-integer */ 18200);\nvar arraySpeciesCreate = __webpack_require__(/*! ../internals/array-species-create */ 94872);\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ 14895);\nvar deletePropertyOrThrow = __webpack_require__(/*! ../internals/delete-property-or-throw */ 86940);\nvar arrayMethodHasSpeciesSupport = __webpack_require__(/*! ../internals/array-method-has-species-support */ 85384);\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {\n  splice: function splice(start, deleteCount /* , ...items */) {\n    var O = toObject(this);\n    var len = lengthOfArrayLike(O);\n    var actualStart = toAbsoluteIndex(start, len);\n    var argumentsLength = arguments.length;\n    var insertCount, actualDeleteCount, A, k, from, to;\n    if (argumentsLength === 0) {\n      insertCount = actualDeleteCount = 0;\n    } else if (argumentsLength === 1) {\n      insertCount = 0;\n      actualDeleteCount = len - actualStart;\n    } else {\n      insertCount = argumentsLength - 2;\n      actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n    }\n    doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n    A = arraySpeciesCreate(O, actualDeleteCount);\n    for (k = 0; k < actualDeleteCount; k++) {\n      from = actualStart + k;\n      if (from in O) createProperty(A, k, O[from]);\n    }\n    A.length = actualDeleteCount;\n    if (insertCount < actualDeleteCount) {\n      for (k = actualStart; k < len - actualDeleteCount; k++) {\n        from = k + actualDeleteCount;\n        to = k + insertCount;\n        if (from in O) O[to] = O[from];\n        else deletePropertyOrThrow(O, to);\n      }\n      for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n    } else if (insertCount > actualDeleteCount) {\n      for (k = len - actualDeleteCount; k > actualStart; k--) {\n        from = k + actualDeleteCount - 1;\n        to = k + insertCount - 1;\n        if (from in O) O[to] = O[from];\n        else deletePropertyOrThrow(O, to);\n      }\n    }\n    for (k = 0; k < insertCount; k++) {\n      O[k + actualStart] = arguments[k + 2];\n    }\n    setArrayLength(O, len - actualDeleteCount + insertCount);\n    return A;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.array.splice.js?");

/***/ }),

/***/ 4864:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.date.to-json.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar toPrimitive = __webpack_require__(/*! ../internals/to-primitive */ 23504);\nvar toISOString = __webpack_require__(/*! ../internals/date-to-iso-string */ 67276);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nvar FORCED = fails(function () {\n  return new Date(NaN).toJSON() !== null\n    || call(Date.prototype.toJSON, { toISOString: function () { return 1; } }) !== 1;\n});\n\n// `Date.prototype.toJSON` method\n// https://tc39.es/ecma262/#sec-date.prototype.tojson\n$({ target: 'Date', proto: true, forced: FORCED }, {\n  // eslint-disable-next-line no-unused-vars -- required for `.length`\n  toJSON: function toJSON(key) {\n    var O = toObject(this);\n    var pv = toPrimitive(O, 'number');\n    return typeof pv == 'number' && !isFinite(pv) ? null :\n      (!('toISOString' in O) && classof(O) === 'Date') ? call(toISOString, O) : O.toISOString();\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.date.to-json.js?");

/***/ }),

/***/ 54388:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.function.bind.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar bind = __webpack_require__(/*! ../internals/function-bind */ 5404);\n\n// `Function.prototype.bind` method\n// https://tc39.es/ecma262/#sec-function.prototype.bind\n// eslint-disable-next-line es/no-function-prototype-bind -- detection\n$({ target: 'Function', proto: true, forced: Function.bind !== bind }, {\n  bind: bind\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.function.bind.js?");

/***/ }),

/***/ 58824:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.json.stringify.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 95376);\nvar arraySlice = __webpack_require__(/*! ../internals/array-slice */ 70940);\nvar getReplacerFunction = __webpack_require__(/*! ../internals/get-json-replacer-function */ 13676);\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\n\nvar $String = String;\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\n\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\n\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n  var symbol = getBuiltIn('Symbol')('stringify detection');\n  // MS Edge converts symbol values to JSON as {}\n  return $stringify([symbol]) !== '[null]'\n    // WebKit converts symbol values to JSON as null\n    || $stringify({ a: symbol }) !== '{}'\n    // V8 throws on boxed symbols\n    || $stringify(Object(symbol)) !== '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n  return $stringify('\\uDF06\\uD834') !== '\"\\\\udf06\\\\ud834\"'\n    || $stringify('\\uDEAD') !== '\"\\\\udead\"';\n});\n\nvar stringifyWithSymbolsFix = function (it, replacer) {\n  var args = arraySlice(arguments);\n  var $replacer = getReplacerFunction(replacer);\n  if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined\n  args[1] = function (key, value) {\n    // some old implementations (like WebKit) could pass numbers as keys\n    if (isCallable($replacer)) value = call($replacer, this, $String(key), value);\n    if (!isSymbol(value)) return value;\n  };\n  return apply($stringify, null, args);\n};\n\nvar fixIllFormed = function (match, offset, string) {\n  var prev = charAt(string, offset - 1);\n  var next = charAt(string, offset + 1);\n  if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {\n    return '\\\\u' + numberToString(charCodeAt(match, 0), 16);\n  } return match;\n};\n\nif ($stringify) {\n  // `JSON.stringify` method\n  // https://tc39.es/ecma262/#sec-json.stringify\n  $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {\n    // eslint-disable-next-line no-unused-vars -- required for `.length`\n    stringify: function stringify(it, replacer, space) {\n      var args = arraySlice(arguments);\n      var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n      return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n    }\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.json.stringify.js?");

/***/ }),

/***/ 19928:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.json.to-string-tag.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.json.to-string-tag.js?");

/***/ }),

/***/ 76696:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.map.constructor.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar collection = __webpack_require__(/*! ../internals/collection */ 46072);\nvar collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 63928);\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n  return function Map() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.map.constructor.js?");

/***/ }),

/***/ 62648:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.map.group-by.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar MapHelpers = __webpack_require__(/*! ../internals/map-helpers */ 2408);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nvar Map = MapHelpers.Map;\nvar has = MapHelpers.has;\nvar get = MapHelpers.get;\nvar set = MapHelpers.set;\nvar push = uncurryThis([].push);\n\nvar DOES_NOT_WORK_WITH_PRIMITIVES = IS_PURE || fails(function () {\n  return Map.groupBy('ab', function (it) {\n    return it;\n  }).get('a').length !== 1;\n});\n\n// `Map.groupBy` method\n// https://github.com/tc39/proposal-array-grouping\n$({ target: 'Map', stat: true, forced: IS_PURE || DOES_NOT_WORK_WITH_PRIMITIVES }, {\n  groupBy: function groupBy(items, callbackfn) {\n    requireObjectCoercible(items);\n    aCallable(callbackfn);\n    var map = new Map();\n    var k = 0;\n    iterate(items, function (value) {\n      var key = callbackfn(value, k++);\n      if (!has(map, key)) set(map, key, [value]);\n      else push(get(map, key), value);\n    });\n    return map;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.map.group-by.js?");

/***/ }),

/***/ 86775:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.map.js ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\n__webpack_require__(/*! ../modules/es.map.constructor */ 76696);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.map.js?");

/***/ }),

/***/ 87940:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.acosh.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar log1p = __webpack_require__(/*! ../internals/math-log1p */ 42756);\n\n// eslint-disable-next-line es/no-math-acosh -- required for testing\nvar $acosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\n\nvar FORCED = !$acosh\n  // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n  || Math.floor($acosh(Number.MAX_VALUE)) !== 710\n  // Tor Browser bug: Math.acosh(Infinity) -> NaN\n  || $acosh(Infinity) !== Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n  acosh: function acosh(x) {\n    var n = +x;\n    return n < 1 ? NaN : n > 94906265.62425156\n      ? log(n) + LN2\n      : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1));\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.acosh.js?");

/***/ }),

/***/ 77752:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.asinh.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\n// eslint-disable-next-line es/no-math-asinh -- required for testing\nvar $asinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\n\nfunction asinh(x) {\n  var n = +x;\n  return !isFinite(n) || n === 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));\n}\n\nvar FORCED = !($asinh && 1 / $asinh(0) > 0);\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({ target: 'Math', stat: true, forced: FORCED }, {\n  asinh: asinh\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.asinh.js?");

/***/ }),

/***/ 43428:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.atanh.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\n// eslint-disable-next-line es/no-math-atanh -- required for testing\nvar $atanh = Math.atanh;\nvar log = Math.log;\n\nvar FORCED = !($atanh && 1 / $atanh(-0) < 0);\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({ target: 'Math', stat: true, forced: FORCED }, {\n  atanh: function atanh(x) {\n    var n = +x;\n    return n === 0 ? n : log((1 + n) / (1 - n)) / 2;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.atanh.js?");

/***/ }),

/***/ 8824:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.cbrt.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar sign = __webpack_require__(/*! ../internals/math-sign */ 15788);\n\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({ target: 'Math', stat: true }, {\n  cbrt: function cbrt(x) {\n    var n = +x;\n    return sign(n) * pow(abs(n), 1 / 3);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.cbrt.js?");

/***/ }),

/***/ 42656:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.cosh.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 13748);\n\n// eslint-disable-next-line es/no-math-cosh -- required for testing\nvar $cosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\nvar FORCED = !$cosh || $cosh(710) === Infinity;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({ target: 'Math', stat: true, forced: FORCED }, {\n  cosh: function cosh(x) {\n    var t = expm1(abs(x) - 1) + 1;\n    return (t + 1 / (t * E * E)) * (E / 2);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.cosh.js?");

/***/ }),

/***/ 90508:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.expm1.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 13748);\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n// eslint-disable-next-line es/no-math-expm1 -- required for testing\n$({ target: 'Math', stat: true, forced: expm1 !== Math.expm1 }, { expm1: expm1 });\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.expm1.js?");

/***/ }),

/***/ 80700:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.hypot.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\n// eslint-disable-next-line es/no-math-hypot -- required for testing\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar FORCED = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({ target: 'Math', stat: true, arity: 2, forced: FORCED }, {\n  // eslint-disable-next-line no-unused-vars -- required for `.length`\n  hypot: function hypot(value1, value2) {\n    var sum = 0;\n    var i = 0;\n    var aLen = arguments.length;\n    var larg = 0;\n    var arg, div;\n    while (i < aLen) {\n      arg = abs(arguments[i++]);\n      if (larg < arg) {\n        div = larg / arg;\n        sum = sum * div * div + 1;\n        larg = arg;\n      } else if (arg > 0) {\n        div = arg / larg;\n        sum += div * div;\n      } else sum += arg;\n    }\n    return larg === Infinity ? Infinity : larg * sqrt(sum);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.hypot.js?");

/***/ }),

/***/ 23244:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.log10.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar log10 = __webpack_require__(/*! ../internals/math-log10 */ 86647);\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({ target: 'Math', stat: true }, {\n  log10: log10\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.log10.js?");

/***/ }),

/***/ 55664:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.log1p.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar log1p = __webpack_require__(/*! ../internals/math-log1p */ 42756);\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({ target: 'Math', stat: true }, { log1p: log1p });\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.log1p.js?");

/***/ }),

/***/ 50492:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.log2.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({ target: 'Math', stat: true }, {\n  log2: function log2(x) {\n    return log(x) / LN2;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.log2.js?");

/***/ }),

/***/ 34672:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.sign.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar sign = __webpack_require__(/*! ../internals/math-sign */ 15788);\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({ target: 'Math', stat: true }, {\n  sign: sign\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.sign.js?");

/***/ }),

/***/ 57080:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.sinh.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 13748);\n\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\n\nvar FORCED = fails(function () {\n  // eslint-disable-next-line es/no-math-sinh -- required for testing\n  return Math.sinh(-2e-17) !== -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({ target: 'Math', stat: true, forced: FORCED }, {\n  sinh: function sinh(x) {\n    var n = +x;\n    return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.sinh.js?");

/***/ }),

/***/ 87200:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.tanh.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar expm1 = __webpack_require__(/*! ../internals/math-expm1 */ 13748);\n\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({ target: 'Math', stat: true }, {\n  tanh: function tanh(x) {\n    var n = +x;\n    var a = expm1(n);\n    var b = expm1(-n);\n    return a === Infinity ? 1 : b === Infinity ? -1 : (a - b) / (exp(n) + exp(-n));\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.tanh.js?");

/***/ }),

/***/ 93787:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.to-string-tag.js ***!
  \************************************************************************/
/***/ (function() {

eval("// empty\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.to-string-tag.js?");

/***/ }),

/***/ 72324:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.math.trunc.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar trunc = __webpack_require__(/*! ../internals/math-trunc */ 90024);\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({ target: 'Math', stat: true }, {\n  trunc: trunc\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.math.trunc.js?");

/***/ }),

/***/ 71620:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.number.is-nan.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n  isNaN: function isNaN(number) {\n    // eslint-disable-next-line no-self-compare -- NaN check\n    return number !== number;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.number.is-nan.js?");

/***/ }),

/***/ 37112:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.number.parse-float.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ 25411);\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n// eslint-disable-next-line es/no-number-parsefloat -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseFloat !== parseFloat }, {\n  parseFloat: parseFloat\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.number.parse-float.js?");

/***/ }),

/***/ 46448:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.assign.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar assign = __webpack_require__(/*! ../internals/object-assign */ 88980);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n  assign: assign\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.assign.js?");

/***/ }),

/***/ 68928:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.create.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n  create: create\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.create.js?");

/***/ }),

/***/ 67300:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.define-properties.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar defineProperties = (__webpack_require__(/*! ../internals/object-define-properties */ 86452).f);\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, {\n  defineProperties: defineProperties\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.define-properties.js?");

/***/ }),

/***/ 98708:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.define-property.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\n// eslint-disable-next-line es/no-object-defineproperty -- safe\n$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, {\n  defineProperty: defineProperty\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.define-property.js?");

/***/ }),

/***/ 6360:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.entries.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $entries = (__webpack_require__(/*! ../internals/object-to-array */ 82768).entries);\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({ target: 'Object', stat: true }, {\n  entries: function entries(O) {\n    return $entries(O);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.entries.js?");

/***/ }),

/***/ 96360:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.freeze.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar FREEZING = __webpack_require__(/*! ../internals/freezing */ 69380);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar onFreeze = (__webpack_require__(/*! ../internals/internal-metadata */ 70992).onFreeze);\n\n// eslint-disable-next-line es/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); });\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, {\n  freeze: function freeze(it) {\n    return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.freeze.js?");

/***/ }),

/***/ 97648:
/*!****************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptor.js ***!
  \****************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar nativeGetOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008).f);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\n\nvar FORCED = !DESCRIPTORS || fails(function () { nativeGetOwnPropertyDescriptor(1); });\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n    return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptor.js?");

/***/ }),

/***/ 65032:
/*!*****************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js ***!
  \*****************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ 7876);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008);\nvar createProperty = __webpack_require__(/*! ../internals/create-property */ 14895);\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, {\n  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n    var O = toIndexedObject(object);\n    var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n    var keys = ownKeys(O);\n    var result = {};\n    var index = 0;\n    var key, descriptor;\n    while (keys.length > index) {\n      descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n      if (descriptor !== undefined) createProperty(result, key, descriptor);\n    }\n    return result;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.get-own-property-descriptors.js?");

/***/ }),

/***/ 45312:
/*!***********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.get-own-property-names.js ***!
  \***********************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar getOwnPropertyNames = (__webpack_require__(/*! ../internals/object-get-own-property-names-external */ 41920).f);\n\n// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n  getOwnPropertyNames: getOwnPropertyNames\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.get-own-property-names.js?");

/***/ }),

/***/ 79672:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.get-own-property-symbols.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 74060);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () { getOwnPropertySymbolsModule.f(1); });\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({ target: 'Object', stat: true, forced: FORCED }, {\n  getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n    var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n    return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.get-own-property-symbols.js?");

/***/ }),

/***/ 33416:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.get-prototype-of.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar nativeGetPrototypeOf = __webpack_require__(/*! ../internals/object-get-prototype-of */ 27800);\nvar CORRECT_PROTOTYPE_GETTER = __webpack_require__(/*! ../internals/correct-prototype-getter */ 72480);\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {\n  getPrototypeOf: function getPrototypeOf(it) {\n    return nativeGetPrototypeOf(toObject(it));\n  }\n});\n\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.get-prototype-of.js?");

/***/ }),

/***/ 63008:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.is-frozen.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar classof = __webpack_require__(/*! ../internals/classof-raw */ 47936);\nvar ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(/*! ../internals/array-buffer-non-extensible */ 3648);\n\n// eslint-disable-next-line es/no-object-isfrozen -- safe\nvar $isFrozen = Object.isFrozen;\n\nvar FORCED = ARRAY_BUFFER_NON_EXTENSIBLE || fails(function () { $isFrozen(1); });\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({ target: 'Object', stat: true, forced: FORCED }, {\n  isFrozen: function isFrozen(it) {\n    if (!isObject(it)) return true;\n    if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return true;\n    return $isFrozen ? $isFrozen(it) : false;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.is-frozen.js?");

/***/ }),

/***/ 92500:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.is.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar is = __webpack_require__(/*! ../internals/same-value */ 11176);\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({ target: 'Object', stat: true }, {\n  is: is\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.is.js?");

/***/ }),

/***/ 40088:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.keys.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar toObject = __webpack_require__(/*! ../internals/to-object */ 92819);\nvar nativeKeys = __webpack_require__(/*! ../internals/object-keys */ 9547);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nvar FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {\n  keys: function keys(it) {\n    return nativeKeys(toObject(it));\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.keys.js?");

/***/ }),

/***/ 91020:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.set-prototype-of.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 92288);\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n$({ target: 'Object', stat: true }, {\n  setPrototypeOf: setPrototypeOf\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.set-prototype-of.js?");

/***/ }),

/***/ 12352:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.to-string.js ***!
  \**********************************************************************/
/***/ (function() {

eval("// empty\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.to-string.js?");

/***/ }),

/***/ 17016:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.object.values.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $values = (__webpack_require__(/*! ../internals/object-to-array */ 82768).values);\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({ target: 'Object', stat: true }, {\n  values: function values(O) {\n    return $values(O);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.object.values.js?");

/***/ }),

/***/ 18984:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.parse-float.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $parseFloat = __webpack_require__(/*! ../internals/number-parse-float */ 25411);\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\n$({ global: true, forced: parseFloat !== $parseFloat }, {\n  parseFloat: $parseFloat\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.parse-float.js?");

/***/ }),

/***/ 71740:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.parse-int.js ***!
  \***************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $parseInt = __webpack_require__(/*! ../internals/number-parse-int */ 2448);\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\n$({ global: true, forced: parseInt !== $parseInt }, {\n  parseInt: $parseInt\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.parse-int.js?");

/***/ }),

/***/ 38128:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.all-settled.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 84880);\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n  allSettled: function allSettled(iterable) {\n    var C = this;\n    var capability = newPromiseCapabilityModule.f(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var promiseResolve = aCallable(C.resolve);\n      var values = [];\n      var counter = 0;\n      var remaining = 1;\n      iterate(iterable, function (promise) {\n        var index = counter++;\n        var alreadyCalled = false;\n        remaining++;\n        call(promiseResolve, C, promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[index] = { status: 'fulfilled', value: value };\n          --remaining || resolve(values);\n        }, function (error) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[index] = { status: 'rejected', reason: error };\n          --remaining || resolve(values);\n        });\n      });\n      --remaining || resolve(values);\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.all-settled.js?");

/***/ }),

/***/ 83952:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.all.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 84880);\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n  all: function all(iterable) {\n    var C = this;\n    var capability = newPromiseCapabilityModule.f(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var $promiseResolve = aCallable(C.resolve);\n      var values = [];\n      var counter = 0;\n      var remaining = 1;\n      iterate(iterable, function (promise) {\n        var index = counter++;\n        var alreadyCalled = false;\n        remaining++;\n        call($promiseResolve, C, promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[index] = value;\n          --remaining || resolve(values);\n        }, reject);\n      });\n      --remaining || resolve(values);\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.all.js?");

/***/ }),

/***/ 73728:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.any.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 84880);\n\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n  any: function any(iterable) {\n    var C = this;\n    var AggregateError = getBuiltIn('AggregateError');\n    var capability = newPromiseCapabilityModule.f(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var promiseResolve = aCallable(C.resolve);\n      var errors = [];\n      var counter = 0;\n      var remaining = 1;\n      var alreadyResolved = false;\n      iterate(iterable, function (promise) {\n        var index = counter++;\n        var alreadyRejected = false;\n        remaining++;\n        call(promiseResolve, C, promise).then(function (value) {\n          if (alreadyRejected || alreadyResolved) return;\n          alreadyResolved = true;\n          resolve(value);\n        }, function (error) {\n          if (alreadyRejected || alreadyResolved) return;\n          alreadyRejected = true;\n          errors[index] = error;\n          --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n        });\n      });\n      --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.any.js?");

/***/ }),

/***/ 32996:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.catch.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 35524).CONSTRUCTOR);\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, {\n  'catch': function (onRejected) {\n    return this.then(undefined, onRejected);\n  }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n  var method = getBuiltIn('Promise').prototype['catch'];\n  if (NativePromisePrototype['catch'] !== method) {\n    defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true });\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.catch.js?");

/***/ }),

/***/ 96160:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.constructor.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar IS_NODE = __webpack_require__(/*! ../internals/engine-is-node */ 91432);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\nvar setPrototypeOf = __webpack_require__(/*! ../internals/object-set-prototype-of */ 92288);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar setSpecies = __webpack_require__(/*! ../internals/set-species */ 13120);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar anInstance = __webpack_require__(/*! ../internals/an-instance */ 6952);\nvar speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 84928);\nvar task = (__webpack_require__(/*! ../internals/task */ 93368).set);\nvar microtask = __webpack_require__(/*! ../internals/microtask */ 39836);\nvar hostReportErrors = __webpack_require__(/*! ../internals/host-report-errors */ 3320);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\nvar Queue = __webpack_require__(/*! ../internals/queue */ 20984);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar PromiseConstructorDetection = __webpack_require__(/*! ../internals/promise-constructor-detection */ 35524);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\n\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\n\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\n\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function (it) {\n  var then;\n  return isObject(it) && isCallable(then = it.then) ? then : false;\n};\n\nvar callReaction = function (reaction, state) {\n  var value = state.value;\n  var ok = state.state === FULFILLED;\n  var handler = ok ? reaction.ok : reaction.fail;\n  var resolve = reaction.resolve;\n  var reject = reaction.reject;\n  var domain = reaction.domain;\n  var result, then, exited;\n  try {\n    if (handler) {\n      if (!ok) {\n        if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n        state.rejection = HANDLED;\n      }\n      if (handler === true) result = value;\n      else {\n        if (domain) domain.enter();\n        result = handler(value); // can throw\n        if (domain) {\n          domain.exit();\n          exited = true;\n        }\n      }\n      if (result === reaction.promise) {\n        reject(new TypeError('Promise-chain cycle'));\n      } else if (then = isThenable(result)) {\n        call(then, result, resolve, reject);\n      } else resolve(result);\n    } else reject(value);\n  } catch (error) {\n    if (domain && !exited) domain.exit();\n    reject(error);\n  }\n};\n\nvar notify = function (state, isReject) {\n  if (state.notified) return;\n  state.notified = true;\n  microtask(function () {\n    var reactions = state.reactions;\n    var reaction;\n    while (reaction = reactions.get()) {\n      callReaction(reaction, state);\n    }\n    state.notified = false;\n    if (isReject && !state.rejection) onUnhandled(state);\n  });\n};\n\nvar dispatchEvent = function (name, promise, reason) {\n  var event, handler;\n  if (DISPATCH_EVENT) {\n    event = document.createEvent('Event');\n    event.promise = promise;\n    event.reason = reason;\n    event.initEvent(name, false, true);\n    global.dispatchEvent(event);\n  } else event = { promise: promise, reason: reason };\n  if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);\n  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\n\nvar onUnhandled = function (state) {\n  call(task, global, function () {\n    var promise = state.facade;\n    var value = state.value;\n    var IS_UNHANDLED = isUnhandled(state);\n    var result;\n    if (IS_UNHANDLED) {\n      result = perform(function () {\n        if (IS_NODE) {\n          process.emit('unhandledRejection', value, promise);\n        } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n      });\n      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n      state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n      if (result.error) throw result.value;\n    }\n  });\n};\n\nvar isUnhandled = function (state) {\n  return state.rejection !== HANDLED && !state.parent;\n};\n\nvar onHandleUnhandled = function (state) {\n  call(task, global, function () {\n    var promise = state.facade;\n    if (IS_NODE) {\n      process.emit('rejectionHandled', promise);\n    } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n  });\n};\n\nvar bind = function (fn, state, unwrap) {\n  return function (value) {\n    fn(state, value, unwrap);\n  };\n};\n\nvar internalReject = function (state, value, unwrap) {\n  if (state.done) return;\n  state.done = true;\n  if (unwrap) state = unwrap;\n  state.value = value;\n  state.state = REJECTED;\n  notify(state, true);\n};\n\nvar internalResolve = function (state, value, unwrap) {\n  if (state.done) return;\n  state.done = true;\n  if (unwrap) state = unwrap;\n  try {\n    if (state.facade === value) throw new TypeError(\"Promise can't be resolved itself\");\n    var then = isThenable(value);\n    if (then) {\n      microtask(function () {\n        var wrapper = { done: false };\n        try {\n          call(then, value,\n            bind(internalResolve, wrapper, state),\n            bind(internalReject, wrapper, state)\n          );\n        } catch (error) {\n          internalReject(wrapper, error, state);\n        }\n      });\n    } else {\n      state.value = value;\n      state.state = FULFILLED;\n      notify(state, false);\n    }\n  } catch (error) {\n    internalReject({ done: false }, error, state);\n  }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n  // 25.4.3.1 Promise(executor)\n  PromiseConstructor = function Promise(executor) {\n    anInstance(this, PromisePrototype);\n    aCallable(executor);\n    call(Internal, this);\n    var state = getInternalPromiseState(this);\n    try {\n      executor(bind(internalResolve, state), bind(internalReject, state));\n    } catch (error) {\n      internalReject(state, error);\n    }\n  };\n\n  PromisePrototype = PromiseConstructor.prototype;\n\n  // eslint-disable-next-line no-unused-vars -- required for `.length`\n  Internal = function Promise(executor) {\n    setInternalState(this, {\n      type: PROMISE,\n      done: false,\n      notified: false,\n      parent: false,\n      reactions: new Queue(),\n      rejection: false,\n      state: PENDING,\n      value: undefined\n    });\n  };\n\n  // `Promise.prototype.then` method\n  // https://tc39.es/ecma262/#sec-promise.prototype.then\n  Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n    var state = getInternalPromiseState(this);\n    var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n    state.parent = true;\n    reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n    reaction.fail = isCallable(onRejected) && onRejected;\n    reaction.domain = IS_NODE ? process.domain : undefined;\n    if (state.state === PENDING) state.reactions.add(reaction);\n    else microtask(function () {\n      callReaction(reaction, state);\n    });\n    return reaction.promise;\n  });\n\n  OwnPromiseCapability = function () {\n    var promise = new Internal();\n    var state = getInternalPromiseState(promise);\n    this.promise = promise;\n    this.resolve = bind(internalResolve, state);\n    this.reject = bind(internalReject, state);\n  };\n\n  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n    return C === PromiseConstructor || C === PromiseWrapper\n      ? new OwnPromiseCapability(C)\n      : newGenericPromiseCapability(C);\n  };\n\n  if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n    nativeThen = NativePromisePrototype.then;\n\n    if (!NATIVE_PROMISE_SUBCLASSING) {\n      // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n      defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n        var that = this;\n        return new PromiseConstructor(function (resolve, reject) {\n          call(nativeThen, that, resolve, reject);\n        }).then(onFulfilled, onRejected);\n      // https://github.com/zloirock/core-js/issues/640\n      }, { unsafe: true });\n    }\n\n    // make `.constructor === Promise` work for native promise-based APIs\n    try {\n      delete NativePromisePrototype.constructor;\n    } catch (error) { /* empty */ }\n\n    // make `instanceof Promise` work for native promise-based APIs\n    if (setPrototypeOf) {\n      setPrototypeOf(NativePromisePrototype, PromisePrototype);\n    }\n  }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n  Promise: PromiseConstructor\n});\n\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.constructor.js?");

/***/ }),

/***/ 50196:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.finally.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar isCallable = __webpack_require__(/*! ../internals/is-callable */ 38536);\nvar speciesConstructor = __webpack_require__(/*! ../internals/species-constructor */ 84928);\nvar promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 7211);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\n\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromiseConstructor && fails(function () {\n  // eslint-disable-next-line unicorn/no-thenable -- required for testing\n  NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n  'finally': function (onFinally) {\n    var C = speciesConstructor(this, getBuiltIn('Promise'));\n    var isFunction = isCallable(onFinally);\n    return this.then(\n      isFunction ? function (x) {\n        return promiseResolve(C, onFinally()).then(function () { return x; });\n      } : onFinally,\n      isFunction ? function (e) {\n        return promiseResolve(C, onFinally()).then(function () { throw e; });\n      } : onFinally\n    );\n  }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n  var method = getBuiltIn('Promise').prototype['finally'];\n  if (NativePromisePrototype['finally'] !== method) {\n    defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true });\n  }\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.finally.js?");

/***/ }),

/***/ 86244:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\n__webpack_require__(/*! ../modules/es.promise.constructor */ 96160);\n__webpack_require__(/*! ../modules/es.promise.all */ 83952);\n__webpack_require__(/*! ../modules/es.promise.catch */ 32996);\n__webpack_require__(/*! ../modules/es.promise.race */ 76968);\n__webpack_require__(/*! ../modules/es.promise.reject */ 84072);\n__webpack_require__(/*! ../modules/es.promise.resolve */ 45832);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.js?");

/***/ }),

/***/ 76968:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.race.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\nvar iterate = __webpack_require__(/*! ../internals/iterate */ 75799);\nvar PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(/*! ../internals/promise-statics-incorrect-iteration */ 84880);\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {\n  race: function race(iterable) {\n    var C = this;\n    var capability = newPromiseCapabilityModule.f(C);\n    var reject = capability.reject;\n    var result = perform(function () {\n      var $promiseResolve = aCallable(C.resolve);\n      iterate(iterable, function (promise) {\n        call($promiseResolve, C, promise).then(capability.resolve, reject);\n      });\n    });\n    if (result.error) reject(result.value);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.race.js?");

/***/ }),

/***/ 84072:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.reject.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 35524).CONSTRUCTOR);\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {\n  reject: function reject(r) {\n    var capability = newPromiseCapabilityModule.f(this);\n    var capabilityReject = capability.reject;\n    capabilityReject(r);\n    return capability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.reject.js?");

/***/ }),

/***/ 45832:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.resolve.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar NativePromiseConstructor = __webpack_require__(/*! ../internals/promise-native-constructor */ 50728);\nvar FORCED_PROMISE_CONSTRUCTOR = (__webpack_require__(/*! ../internals/promise-constructor-detection */ 35524).CONSTRUCTOR);\nvar promiseResolve = __webpack_require__(/*! ../internals/promise-resolve */ 7211);\n\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, {\n  resolve: function resolve(x) {\n    return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.resolve.js?");

/***/ }),

/***/ 10096:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.promise.with-resolvers.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\n\n// `Promise.withResolvers` method\n// https://github.com/tc39/proposal-promise-with-resolvers\n$({ target: 'Promise', stat: true }, {\n  withResolvers: function withResolvers() {\n    var promiseCapability = newPromiseCapabilityModule.f(this);\n    return {\n      promise: promiseCapability.promise,\n      resolve: promiseCapability.resolve,\n      reject: promiseCapability.reject\n    };\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.promise.with-resolvers.js?");

/***/ }),

/***/ 14915:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.reflect.construct.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar bind = __webpack_require__(/*! ../internals/function-bind */ 5404);\nvar aConstructor = __webpack_require__(/*! ../internals/a-constructor */ 39556);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar isObject = __webpack_require__(/*! ../internals/is-object */ 68608);\nvar create = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\n\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n  function F() { /* empty */ }\n  return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\n\nvar ARGS_BUG = !fails(function () {\n  nativeConstruct(function () { /* empty */ });\n});\n\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n\n$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, {\n  construct: function construct(Target, args /* , newTarget */) {\n    aConstructor(Target);\n    anObject(args);\n    var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n    if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n    if (Target === newTarget) {\n      // w/o altered newTarget, optimization for 0-4 arguments\n      switch (args.length) {\n        case 0: return new Target();\n        case 1: return new Target(args[0]);\n        case 2: return new Target(args[0], args[1]);\n        case 3: return new Target(args[0], args[1], args[2]);\n        case 4: return new Target(args[0], args[1], args[2], args[3]);\n      }\n      // w/o altered newTarget, lot of arguments case\n      var $args = [null];\n      apply(push, $args, args);\n      return new (apply(bind, Target, $args))();\n    }\n    // with altered newTarget, not support built-in constructors\n    var proto = newTarget.prototype;\n    var instance = create(isObject(proto) ? proto : ObjectPrototype);\n    var result = apply(Target, instance, args);\n    return isObject(result) ? result : instance;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.reflect.construct.js?");

/***/ }),

/***/ 79896:
/*!*****************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.reflect.get-own-property-descriptor.js ***!
  \*****************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008);\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n    return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.reflect.get-own-property-descriptor.js?");

/***/ }),

/***/ 65780:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.reflect.has.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({ target: 'Reflect', stat: true }, {\n  has: function has(target, propertyKey) {\n    return propertyKey in target;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.reflect.has.js?");

/***/ }),

/***/ 71088:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.reflect.own-keys.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar ownKeys = __webpack_require__(/*! ../internals/own-keys */ 7876);\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({ target: 'Reflect', stat: true }, {\n  ownKeys: ownKeys\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.reflect.own-keys.js?");

/***/ }),

/***/ 72556:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.reflect.to-string-tag.js ***!
  \***************************************************************************/
/***/ (function() {

eval("// empty\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.reflect.to-string-tag.js?");

/***/ }),

/***/ 96784:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.constructor.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar collection = __webpack_require__(/*! ../internals/collection */ 46072);\nvar collectionStrong = __webpack_require__(/*! ../internals/collection-strong */ 63928);\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n  return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };\n}, collectionStrong);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.constructor.js?");

/***/ }),

/***/ 67036:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.difference.v2.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar difference = __webpack_require__(/*! ../internals/set-difference */ 62396);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, {\n  difference: difference\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.difference.v2.js?");

/***/ }),

/***/ 47124:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.intersection.v2.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar intersection = __webpack_require__(/*! ../internals/set-intersection */ 50920);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\nvar INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () {\n  // eslint-disable-next-line es/no-array-from, es/no-set -- testing\n  return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';\n});\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {\n  intersection: intersection\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.intersection.v2.js?");

/***/ }),

/***/ 24136:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.is-disjoint-from.v2.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isDisjointFrom = __webpack_require__(/*! ../internals/set-is-disjoint-from */ 27968);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.isDisjointFrom` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, {\n  isDisjointFrom: isDisjointFrom\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.is-disjoint-from.v2.js?");

/***/ }),

/***/ 72304:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.is-subset-of.v2.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isSubsetOf = __webpack_require__(/*! ../internals/set-is-subset-of */ 89972);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.isSubsetOf` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, {\n  isSubsetOf: isSubsetOf\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.is-subset-of.v2.js?");

/***/ }),

/***/ 23276:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.is-superset-of.v2.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isSupersetOf = __webpack_require__(/*! ../internals/set-is-superset-of */ 93472);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.isSupersetOf` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, {\n  isSupersetOf: isSupersetOf\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.is-superset-of.v2.js?");

/***/ }),

/***/ 81160:
/*!*********************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.js ***!
  \*********************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's replaced to module below\n__webpack_require__(/*! ../modules/es.set.constructor */ 96784);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.js?");

/***/ }),

/***/ 63112:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.symmetric-difference.v2.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar symmetricDifference = __webpack_require__(/*! ../internals/set-symmetric-difference */ 58732);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {\n  symmetricDifference: symmetricDifference\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.symmetric-difference.v2.js?");

/***/ }),

/***/ 61704:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.set.union.v2.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar union = __webpack_require__(/*! ../internals/set-union */ 56240);\nvar setMethodAcceptSetLike = __webpack_require__(/*! ../internals/set-method-accept-set-like */ 94864);\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\n$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {\n  union: union\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.set.union.v2.js?");

/***/ }),

/***/ 3512:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.string.includes.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 29720);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 60660);\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n  includes: function includes(searchString /* , position = 0 */) {\n    return !!~stringIndexOf(\n      toString(requireObjectCoercible(this)),\n      toString(notARegExp(searchString)),\n      arguments.length > 1 ? arguments[1] : undefined\n    );\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.string.includes.js?");

/***/ }),

/***/ 34176:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.string.iterator.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar charAt = (__webpack_require__(/*! ../internals/string-multibyte */ 16392).charAt);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\nvar defineIterator = __webpack_require__(/*! ../internals/iterator-define */ 536);\nvar createIterResultObject = __webpack_require__(/*! ../internals/create-iter-result-object */ 73848);\n\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n  setInternalState(this, {\n    type: STRING_ITERATOR,\n    string: toString(iterated),\n    index: 0\n  });\n// `%StringIteratorPrototype%.next` method\n// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n  var state = getInternalState(this);\n  var string = state.string;\n  var index = state.index;\n  var point;\n  if (index >= string.length) return createIterResultObject(undefined, true);\n  point = charAt(string, index);\n  state.index += point.length;\n  return createIterResultObject(point, false);\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.string.iterator.js?");

/***/ }),

/***/ 78812:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.string.starts-with.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this-clause */ 61248);\nvar getOwnPropertyDescriptor = (__webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008).f);\nvar toLength = __webpack_require__(/*! ../internals/to-length */ 84596);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar notARegExp = __webpack_require__(/*! ../internals/not-a-regexp */ 29720);\nvar requireObjectCoercible = __webpack_require__(/*! ../internals/require-object-coercible */ 69952);\nvar correctIsRegExpLogic = __webpack_require__(/*! ../internals/correct-is-regexp-logic */ 60660);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\n\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\n\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n  var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n  return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {\n  startsWith: function startsWith(searchString /* , position = 0 */) {\n    var that = toString(requireObjectCoercible(this));\n    notARegExp(searchString);\n    var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n    var search = toString(searchString);\n    return stringSlice(that, index, index + search.length) === search;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.string.starts-with.js?");

/***/ }),

/***/ 25384:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.string.trim.js ***!
  \*****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar $trim = (__webpack_require__(/*! ../internals/string-trim */ 36832).trim);\nvar forcedStringTrimMethod = __webpack_require__(/*! ../internals/string-trim-forced */ 74144);\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {\n  trim: function trim() {\n    return $trim(this);\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.string.trim.js?");

/***/ }),

/***/ 52240:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.async-iterator.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.async-iterator.js?");

/***/ }),

/***/ 63840:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.constructor.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar call = __webpack_require__(/*! ../internals/function-call */ 34580);\nvar uncurryThis = __webpack_require__(/*! ../internals/function-uncurry-this */ 29252);\nvar IS_PURE = __webpack_require__(/*! ../internals/is-pure */ 31016);\nvar DESCRIPTORS = __webpack_require__(/*! ../internals/descriptors */ 99172);\nvar NATIVE_SYMBOL = __webpack_require__(/*! ../internals/symbol-constructor-detection */ 25235);\nvar fails = __webpack_require__(/*! ../internals/fails */ 92064);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar isPrototypeOf = __webpack_require__(/*! ../internals/object-is-prototype-of */ 82360);\nvar anObject = __webpack_require__(/*! ../internals/an-object */ 42032);\nvar toIndexedObject = __webpack_require__(/*! ../internals/to-indexed-object */ 30445);\nvar toPropertyKey = __webpack_require__(/*! ../internals/to-property-key */ 42319);\nvar $toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar createPropertyDescriptor = __webpack_require__(/*! ../internals/create-property-descriptor */ 48981);\nvar nativeObjectCreate = __webpack_require__(/*! ../internals/object-create */ 4488);\nvar objectKeys = __webpack_require__(/*! ../internals/object-keys */ 9547);\nvar getOwnPropertyNamesModule = __webpack_require__(/*! ../internals/object-get-own-property-names */ 11600);\nvar getOwnPropertyNamesExternal = __webpack_require__(/*! ../internals/object-get-own-property-names-external */ 41920);\nvar getOwnPropertySymbolsModule = __webpack_require__(/*! ../internals/object-get-own-property-symbols */ 74060);\nvar getOwnPropertyDescriptorModule = __webpack_require__(/*! ../internals/object-get-own-property-descriptor */ 91008);\nvar definePropertyModule = __webpack_require__(/*! ../internals/object-define-property */ 12280);\nvar definePropertiesModule = __webpack_require__(/*! ../internals/object-define-properties */ 86452);\nvar propertyIsEnumerableModule = __webpack_require__(/*! ../internals/object-property-is-enumerable */ 66500);\nvar defineBuiltIn = __webpack_require__(/*! ../internals/define-built-in */ 55424);\nvar defineBuiltInAccessor = __webpack_require__(/*! ../internals/define-built-in-accessor */ 56968);\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar sharedKey = __webpack_require__(/*! ../internals/shared-key */ 80924);\nvar hiddenKeys = __webpack_require__(/*! ../internals/hidden-keys */ 13328);\nvar uid = __webpack_require__(/*! ../internals/uid */ 66696);\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar wrappedWellKnownSymbolModule = __webpack_require__(/*! ../internals/well-known-symbol-wrapped */ 81104);\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\nvar defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ 50072);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar InternalStateModule = __webpack_require__(/*! ../internals/internal-state */ 2344);\nvar $forEach = (__webpack_require__(/*! ../internals/array-iteration */ 7608).forEach);\n\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\n\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\n\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar RangeError = global.RangeError;\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\n\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar fallbackDefineProperty = function (O, P, Attributes) {\n  var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n  if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n  nativeDefineProperty(O, P, Attributes);\n  if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n    nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n  }\n};\n\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n  return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n    get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; }\n  })).a !== 7;\n}) ? fallbackDefineProperty : nativeDefineProperty;\n\nvar wrap = function (tag, description) {\n  var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n  setInternalState(symbol, {\n    type: SYMBOL,\n    tag: tag,\n    description: description\n  });\n  if (!DESCRIPTORS) symbol.description = description;\n  return symbol;\n};\n\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n  if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n  anObject(O);\n  var key = toPropertyKey(P);\n  anObject(Attributes);\n  if (hasOwn(AllSymbols, key)) {\n    if (!Attributes.enumerable) {\n      if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, nativeObjectCreate(null)));\n      O[HIDDEN][key] = true;\n    } else {\n      if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n      Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) });\n    } return setSymbolDescriptor(O, key, Attributes);\n  } return nativeDefineProperty(O, key, Attributes);\n};\n\nvar $defineProperties = function defineProperties(O, Properties) {\n  anObject(O);\n  var properties = toIndexedObject(Properties);\n  var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n  $forEach(keys, function (key) {\n    if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n  });\n  return O;\n};\n\nvar $create = function create(O, Properties) {\n  return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\n\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n  var P = toPropertyKey(V);\n  var enumerable = call(nativePropertyIsEnumerable, this, P);\n  if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n  return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P]\n    ? enumerable : true;\n};\n\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n  var it = toIndexedObject(O);\n  var key = toPropertyKey(P);\n  if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n  var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n  if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n    descriptor.enumerable = true;\n  }\n  return descriptor;\n};\n\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n  var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n  var result = [];\n  $forEach(names, function (key) {\n    if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n  });\n  return result;\n};\n\nvar $getOwnPropertySymbols = function (O) {\n  var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n  var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n  var result = [];\n  $forEach(names, function (key) {\n    if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n      push(result, AllSymbols[key]);\n    }\n  });\n  return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n  $Symbol = function Symbol() {\n    if (isPrototypeOf(SymbolPrototype, this)) throw new TypeError('Symbol is not a constructor');\n    var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n    var tag = uid(description);\n    var setter = function (value) {\n      var $this = this === undefined ? global : this;\n      if ($this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n      if (hasOwn($this, HIDDEN) && hasOwn($this[HIDDEN], tag)) $this[HIDDEN][tag] = false;\n      var descriptor = createPropertyDescriptor(1, value);\n      try {\n        setSymbolDescriptor($this, tag, descriptor);\n      } catch (error) {\n        if (!(error instanceof RangeError)) throw error;\n        fallbackDefineProperty($this, tag, descriptor);\n      }\n    };\n    if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter });\n    return wrap(tag, description);\n  };\n\n  SymbolPrototype = $Symbol[PROTOTYPE];\n\n  defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n    return getInternalState(this).tag;\n  });\n\n  defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n    return wrap(uid(description), description);\n  });\n\n  propertyIsEnumerableModule.f = $propertyIsEnumerable;\n  definePropertyModule.f = $defineProperty;\n  definePropertiesModule.f = $defineProperties;\n  getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n  getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n  getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n\n  wrappedWellKnownSymbolModule.f = function (name) {\n    return wrap(wellKnownSymbol(name), name);\n  };\n\n  if (DESCRIPTORS) {\n    // https://github.com/tc39/proposal-Symbol-description\n    defineBuiltInAccessor(SymbolPrototype, 'description', {\n      configurable: true,\n      get: function description() {\n        return getInternalState(this).description;\n      }\n    });\n    if (!IS_PURE) {\n      defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true });\n    }\n  }\n}\n\n$({ global: true, constructor: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, {\n  Symbol: $Symbol\n});\n\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n  defineWellKnownSymbol(name);\n});\n\n$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, {\n  useSetter: function () { USE_SETTER = true; },\n  useSimple: function () { USE_SETTER = false; }\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, {\n  // `Object.create` method\n  // https://tc39.es/ecma262/#sec-object.create\n  create: $create,\n  // `Object.defineProperty` method\n  // https://tc39.es/ecma262/#sec-object.defineproperty\n  defineProperty: $defineProperty,\n  // `Object.defineProperties` method\n  // https://tc39.es/ecma262/#sec-object.defineproperties\n  defineProperties: $defineProperties,\n  // `Object.getOwnPropertyDescriptor` method\n  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n  getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n\n$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, {\n  // `Object.getOwnPropertyNames` method\n  // https://tc39.es/ecma262/#sec-object.getownpropertynames\n  getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\n\nhiddenKeys[HIDDEN] = true;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.constructor.js?");

/***/ }),

/***/ 49452:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.description.js ***!
  \************************************************************************/
/***/ (function() {

eval("// empty\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.description.js?");

/***/ }),

/***/ 90920:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.for.js ***!
  \****************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar toString = __webpack_require__(/*! ../internals/to-string */ 39352);\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ 37780);\n\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n  'for': function (key) {\n    var string = toString(key);\n    if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n    var symbol = getBuiltIn('Symbol')(string);\n    StringToSymbolRegistry[string] = symbol;\n    SymbolToStringRegistry[symbol] = string;\n    return symbol;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.for.js?");

/***/ }),

/***/ 71344:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.has-instance.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.has-instance.js?");

/***/ }),

/***/ 74436:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.is-concat-spreadable.js?");

/***/ }),

/***/ 6992:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.iterator.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.iterator.js?");

/***/ }),

/***/ 49276:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.js ***!
  \************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\n__webpack_require__(/*! ../modules/es.symbol.constructor */ 63840);\n__webpack_require__(/*! ../modules/es.symbol.for */ 90920);\n__webpack_require__(/*! ../modules/es.symbol.key-for */ 61896);\n__webpack_require__(/*! ../modules/es.json.stringify */ 58824);\n__webpack_require__(/*! ../modules/es.object.get-own-property-symbols */ 79672);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.js?");

/***/ }),

/***/ 61896:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.key-for.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar hasOwn = __webpack_require__(/*! ../internals/has-own-property */ 34664);\nvar isSymbol = __webpack_require__(/*! ../internals/is-symbol */ 95376);\nvar tryToString = __webpack_require__(/*! ../internals/try-to-string */ 48944);\nvar shared = __webpack_require__(/*! ../internals/shared */ 68852);\nvar NATIVE_SYMBOL_REGISTRY = __webpack_require__(/*! ../internals/symbol-registry-detection */ 37780);\n\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({ target: 'Symbol', stat: true, forced: !NATIVE_SYMBOL_REGISTRY }, {\n  keyFor: function keyFor(sym) {\n    if (!isSymbol(sym)) throw new TypeError(tryToString(sym) + ' is not a symbol');\n    if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.key-for.js?");

/***/ }),

/***/ 56380:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.match-all.js ***!
  \**********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.match-all.js?");

/***/ }),

/***/ 58028:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.match.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.match.js?");

/***/ }),

/***/ 76176:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.replace.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.replace.js?");

/***/ }),

/***/ 91176:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.search.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.search.js?");

/***/ }),

/***/ 60781:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.species.js ***!
  \********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.species.js?");

/***/ }),

/***/ 76720:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.split.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.split.js?");

/***/ }),

/***/ 95536:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.to-primitive.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\nvar defineSymbolToPrimitive = __webpack_require__(/*! ../internals/symbol-define-to-primitive */ 50072);\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.to-primitive.js?");

/***/ }),

/***/ 44732:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.to-string-tag.js ***!
  \**************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar getBuiltIn = __webpack_require__(/*! ../internals/get-built-in */ 23464);\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.to-string-tag.js?");

/***/ }),

/***/ 84243:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/es.symbol.unscopables.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/es.symbol.unscopables.js?");

/***/ }),

/***/ 52796:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.aggregate-error.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.aggregate-error */ 38436);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.aggregate-error.js?");

/***/ }),

/***/ 46536:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.function.metadata.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar wellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol */ 23336);\nvar defineProperty = (__webpack_require__(/*! ../internals/object-define-property */ 12280).f);\n\nvar METADATA = wellKnownSymbol('metadata');\nvar FunctionPrototype = Function.prototype;\n\n// Function.prototype[@@metadata]\n// https://github.com/tc39/proposal-decorator-metadata\nif (FunctionPrototype[METADATA] === undefined) {\n  defineProperty(FunctionPrototype, METADATA, {\n    value: null\n  });\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.function.metadata.js?");

/***/ }),

/***/ 18744:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.promise.all-settled.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.promise.all-settled.js */ 38128);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.promise.all-settled.js?");

/***/ }),

/***/ 5200:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.promise.any.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.promise.any */ 73728);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.promise.any.js?");

/***/ }),

/***/ 94384:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.promise.try.js ***!
  \*********************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar apply = __webpack_require__(/*! ../internals/function-apply */ 79867);\nvar slice = __webpack_require__(/*! ../internals/array-slice */ 70940);\nvar newPromiseCapabilityModule = __webpack_require__(/*! ../internals/new-promise-capability */ 71243);\nvar aCallable = __webpack_require__(/*! ../internals/a-callable */ 20028);\nvar perform = __webpack_require__(/*! ../internals/perform */ 35240);\n\n// `Promise.try` method\n// https://github.com/tc39/proposal-promise-try\n$({ target: 'Promise', stat: true, forced: true }, {\n  'try': function (callbackfn /* , ...args */) {\n    var args = slice(arguments, 1);\n    var promiseCapability = newPromiseCapabilityModule.f(this);\n    var result = perform(function () {\n      return apply(aCallable(callbackfn), undefined, args);\n    });\n    (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n    return promiseCapability.promise;\n  }\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.promise.try.js?");

/***/ }),

/***/ 21048:
/*!********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.promise.with-resolvers.js ***!
  \********************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\n__webpack_require__(/*! ../modules/es.promise.with-resolvers */ 10096);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.promise.with-resolvers.js?");

/***/ }),

/***/ 7576:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.asyncDispose` well-known symbol\n// https://github.com/tc39/proposal-async-explicit-resource-management\ndefineWellKnownSymbol('asyncDispose');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.async-dispose.js?");

/***/ }),

/***/ 53504:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.custom-matcher.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.customMatcher` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('customMatcher');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.custom-matcher.js?");

/***/ }),

/***/ 57772:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.dispose.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.dispose` well-known symbol\n// https://github.com/tc39/proposal-explicit-resource-management\ndefineWellKnownSymbol('dispose');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.dispose.js?");

/***/ }),

/***/ 89264:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.is-registered-symbol.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isRegisteredSymbol = __webpack_require__(/*! ../internals/symbol-is-registered */ 95080);\n\n// `Symbol.isRegisteredSymbol` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol\n$({ target: 'Symbol', stat: true }, {\n  isRegisteredSymbol: isRegisteredSymbol\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.is-registered-symbol.js?");

/***/ }),

/***/ 31216:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.is-registered.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isRegisteredSymbol = __webpack_require__(/*! ../internals/symbol-is-registered */ 95080);\n\n// `Symbol.isRegistered` method\n// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol\n$({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, {\n  isRegistered: isRegisteredSymbol\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.is-registered.js?");

/***/ }),

/***/ 98460:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.is-well-known-symbol.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isWellKnownSymbol = __webpack_require__(/*! ../internals/symbol-is-well-known */ 12636);\n\n// `Symbol.isWellKnownSymbol` method\n// https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol\n// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected\n$({ target: 'Symbol', stat: true, forced: true }, {\n  isWellKnownSymbol: isWellKnownSymbol\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.is-well-known-symbol.js?");

/***/ }),

/***/ 5196:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.is-well-known.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar isWellKnownSymbol = __webpack_require__(/*! ../internals/symbol-is-well-known */ 12636);\n\n// `Symbol.isWellKnown` method\n// obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol\n// We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected\n$({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, {\n  isWellKnown: isWellKnownSymbol\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.is-well-known.js?");

/***/ }),

/***/ 84448:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.matcher.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.matcher` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('matcher');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.matcher.js?");

/***/ }),

/***/ 72948:
/*!*****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.metadata-key.js ***!
  \*****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove from `core-js@4`\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.metadataKey` well-known symbol\n// https://github.com/tc39/proposal-decorator-metadata\ndefineWellKnownSymbol('metadataKey');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.metadata-key.js?");

/***/ }),

/***/ 65656:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.metadata.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.metadata` well-known symbol\n// https://github.com/tc39/proposal-decorators\ndefineWellKnownSymbol('metadata');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.metadata.js?");

/***/ }),

/***/ 4184:
/*!***************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.observable.js ***!
  \***************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.observable` well-known symbol\n// https://github.com/tc39/proposal-observable\ndefineWellKnownSymbol('observable');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.observable.js?");

/***/ }),

/***/ 12252:
/*!******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\n// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('patternMatch');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.pattern-match.js?");

/***/ }),

/***/ 8776:
/*!****************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/esnext.symbol.replace-all.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = __webpack_require__(/*! ../internals/well-known-symbol-define */ 61084);\n\ndefineWellKnownSymbol('replaceAll');\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/esnext.symbol.replace-all.js?");

/***/ }),

/***/ 42920:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/web.dom-collections.for-each.js ***!
  \*******************************************************************************/
/***/ (function() {

eval("// empty\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/web.dom-collections.for-each.js?");

/***/ }),

/***/ 23624:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../modules/es.array.iterator */ 30340);\nvar DOMIterables = __webpack_require__(/*! ../internals/dom-iterables */ 50472);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar setToStringTag = __webpack_require__(/*! ../internals/set-to-string-tag */ 35836);\nvar Iterators = __webpack_require__(/*! ../internals/iterators */ 97256);\n\nfor (var COLLECTION_NAME in DOMIterables) {\n  setToStringTag(global[COLLECTION_NAME], COLLECTION_NAME);\n  Iterators[COLLECTION_NAME] = Iterators.Array;\n}\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/web.dom-collections.iterator.js?");

/***/ }),

/***/ 23379:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/web.set-interval.js ***!
  \*******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ 98084);\n\nvar setInterval = schedulersFix(global.setInterval, true);\n\n// Bun / IE9- setInterval additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval\n$({ global: true, bind: true, forced: global.setInterval !== setInterval }, {\n  setInterval: setInterval\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/web.set-interval.js?");

/***/ }),

/***/ 6436:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/web.set-timeout.js ***!
  \******************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar $ = __webpack_require__(/*! ../internals/export */ 33952);\nvar global = __webpack_require__(/*! ../internals/global */ 85216);\nvar schedulersFix = __webpack_require__(/*! ../internals/schedulers-fix */ 98084);\n\nvar setTimeout = schedulersFix(global.setTimeout, true);\n\n// Bun / IE9- setTimeout additional parameters fix\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout\n$({ global: true, bind: true, forced: global.setTimeout !== setTimeout }, {\n  setTimeout: setTimeout\n});\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/web.set-timeout.js?");

/***/ }),

/***/ 99495:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/modules/web.timers.js ***!
  \*************************************************************/
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n// TODO: Remove this module from `core-js@4` since it's split to modules listed below\n__webpack_require__(/*! ../modules/web.set-interval */ 23379);\n__webpack_require__(/*! ../modules/web.set-timeout */ 6436);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/modules/web.timers.js?");

/***/ }),

/***/ 36128:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/from.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/array/from */ 69259);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/from.js?");

/***/ }),

/***/ 81324:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/is-array.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/array/is-array */ 3376);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/is-array.js?");

/***/ }),

/***/ 46768:
/*!***********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/virtual/entries.js ***!
  \***********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../../es/array/virtual/entries */ 70216);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/virtual/entries.js?");

/***/ }),

/***/ 75368:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/virtual/for-each.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../../es/array/virtual/for-each */ 23272);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/virtual/for-each.js?");

/***/ }),

/***/ 57100:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/virtual/keys.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../../es/array/virtual/keys */ 74908);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/virtual/keys.js?");

/***/ }),

/***/ 31056:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/array/virtual/values.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../../es/array/virtual/values */ 79720);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/array/virtual/values.js?");

/***/ }),

/***/ 50984:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/get-iterator-method.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../es/get-iterator-method */ 34556);\n__webpack_require__(/*! ../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/get-iterator-method.js?");

/***/ }),

/***/ 92960:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/bind.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/bind */ 74756);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/bind.js?");

/***/ }),

/***/ 51188:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/concat.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/concat */ 88884);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/concat.js?");

/***/ }),

/***/ 34963:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/entries.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\nvar classof = __webpack_require__(/*! ../../internals/classof */ 60636);\nvar hasOwn = __webpack_require__(/*! ../../internals/has-own-property */ 34664);\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/entries */ 46768);\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n  DOMTokenList: true,\n  NodeList: true\n};\n\nmodule.exports = function (it) {\n  var own = it.entries;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.entries)\n    || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/entries.js?");

/***/ }),

/***/ 91924:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/every.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/every */ 28312);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/every.js?");

/***/ }),

/***/ 77444:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/fill.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/fill */ 56404);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/fill.js?");

/***/ }),

/***/ 28320:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/filter.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/filter */ 680);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/filter.js?");

/***/ }),

/***/ 13352:
/*!*********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/find-index.js ***!
  \*********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/find-index */ 53612);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/find-index.js?");

/***/ }),

/***/ 70120:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/find.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/find */ 32600);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/find.js?");

/***/ }),

/***/ 49372:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/for-each.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar classof = __webpack_require__(/*! ../../internals/classof */ 60636);\nvar hasOwn = __webpack_require__(/*! ../../internals/has-own-property */ 34664);\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/for-each */ 75368);\n__webpack_require__(/*! ../../modules/web.dom-collections.for-each */ 42920);\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n  DOMTokenList: true,\n  NodeList: true\n};\n\nmodule.exports = function (it) {\n  var own = it.forEach;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.forEach)\n    || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/for-each.js?");

/***/ }),

/***/ 8760:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/includes.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/includes */ 8180);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/includes.js?");

/***/ }),

/***/ 35720:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/index-of.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/index-of */ 44156);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/index-of.js?");

/***/ }),

/***/ 5960:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/keys.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\nvar classof = __webpack_require__(/*! ../../internals/classof */ 60636);\nvar hasOwn = __webpack_require__(/*! ../../internals/has-own-property */ 34664);\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/keys */ 57100);\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n  DOMTokenList: true,\n  NodeList: true\n};\n\nmodule.exports = function (it) {\n  var own = it.keys;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.keys)\n    || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/keys.js?");

/***/ }),

/***/ 47072:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/last-index-of.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/last-index-of */ 59996);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/last-index-of.js?");

/***/ }),

/***/ 48776:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/map.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/map */ 91352);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/map.js?");

/***/ }),

/***/ 69344:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/reduce.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/reduce */ 39063);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/reduce.js?");

/***/ }),

/***/ 87144:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/reverse.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/reverse */ 15080);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/reverse.js?");

/***/ }),

/***/ 27584:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/slice.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/slice */ 58688);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/slice.js?");

/***/ }),

/***/ 59620:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/some.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/some */ 48284);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/some.js?");

/***/ }),

/***/ 84644:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/sort.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/sort */ 86188);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/sort.js?");

/***/ }),

/***/ 9384:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/splice.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/splice */ 46312);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/splice.js?");

/***/ }),

/***/ 28812:
/*!**********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/starts-with.js ***!
  \**********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/starts-with */ 1240);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/starts-with.js?");

/***/ }),

/***/ 59408:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/trim.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/instance/trim */ 78125);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/trim.js?");

/***/ }),

/***/ 24992:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/instance/values.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\nvar classof = __webpack_require__(/*! ../../internals/classof */ 60636);\nvar hasOwn = __webpack_require__(/*! ../../internals/has-own-property */ 34664);\nvar isPrototypeOf = __webpack_require__(/*! ../../internals/object-is-prototype-of */ 82360);\nvar method = __webpack_require__(/*! ../array/virtual/values */ 31056);\n\nvar ArrayPrototype = Array.prototype;\n\nvar DOMIterables = {\n  DOMTokenList: true,\n  NodeList: true\n};\n\nmodule.exports = function (it) {\n  var own = it.values;\n  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values)\n    || hasOwn(DOMIterables, classof(it)) ? method : own;\n};\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/instance/values.js?");

/***/ }),

/***/ 69140:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/json/stringify.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/json/stringify */ 69304);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/json/stringify.js?");

/***/ }),

/***/ 62572:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/map/index.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/map */ 52548);\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/map/index.js?");

/***/ }),

/***/ 15312:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/acosh.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/acosh */ 39300);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/acosh.js?");

/***/ }),

/***/ 12896:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/asinh.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/asinh */ 86776);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/asinh.js?");

/***/ }),

/***/ 22184:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/atanh.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/atanh */ 76848);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/atanh.js?");

/***/ }),

/***/ 3404:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/cbrt.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/cbrt */ 55743);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/cbrt.js?");

/***/ }),

/***/ 41660:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/cosh.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/cosh */ 40099);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/cosh.js?");

/***/ }),

/***/ 50604:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/expm1.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/expm1 */ 44496);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/expm1.js?");

/***/ }),

/***/ 45152:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/hypot.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/hypot */ 95308);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/hypot.js?");

/***/ }),

/***/ 43576:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/log10.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/log10 */ 89108);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/log10.js?");

/***/ }),

/***/ 74308:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/log1p.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/log1p */ 70388);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/log1p.js?");

/***/ }),

/***/ 36216:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/log2.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/log2 */ 63228);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/log2.js?");

/***/ }),

/***/ 37432:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/sign.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/sign */ 67280);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/sign.js?");

/***/ }),

/***/ 65496:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/sinh.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/sinh */ 41299);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/sinh.js?");

/***/ }),

/***/ 21539:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/tanh.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/tanh */ 10240);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/tanh.js?");

/***/ }),

/***/ 63600:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/math/trunc.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/math/trunc */ 75560);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/math/trunc.js?");

/***/ }),

/***/ 92496:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/number/is-nan.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/number/is-nan */ 96576);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/number/is-nan.js?");

/***/ }),

/***/ 86896:
/*!********************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/number/parse-float.js ***!
  \********************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/number/parse-float */ 60864);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/number/parse-float.js?");

/***/ }),

/***/ 95608:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/assign.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/assign */ 59196);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/assign.js?");

/***/ }),

/***/ 72672:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/create.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/create */ 44636);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/create.js?");

/***/ }),

/***/ 62296:
/*!**************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/define-properties.js ***!
  \**************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/define-properties */ 42172);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/define-properties.js?");

/***/ }),

/***/ 68792:
/*!************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/define-property.js ***!
  \************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/define-property */ 74856);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/define-property.js?");

/***/ }),

/***/ 37752:
/*!****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/entries.js ***!
  \****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/entries */ 92536);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/entries.js?");

/***/ }),

/***/ 38736:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/freeze.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/freeze */ 42348);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/freeze.js?");

/***/ }),

/***/ 35716:
/*!************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/get-own-property-descriptor.js ***!
  \************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/get-own-property-descriptor */ 13416);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/get-own-property-descriptor.js?");

/***/ }),

/***/ 56860:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/get-own-property-descriptors */ 32936);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js?");

/***/ }),

/***/ 43760:
/*!*******************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/get-own-property-names.js ***!
  \*******************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/get-own-property-names */ 61852);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/get-own-property-names.js?");

/***/ }),

/***/ 9224:
/*!*********************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/get-own-property-symbols.js ***!
  \*********************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/get-own-property-symbols */ 920);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/get-own-property-symbols.js?");

/***/ }),

/***/ 48624:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/get-prototype-of.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/get-prototype-of */ 3056);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/get-prototype-of.js?");

/***/ }),

/***/ 72504:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/is-frozen.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/is-frozen */ 67552);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/is-frozen.js?");

/***/ }),

/***/ 50396:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/is.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/is */ 45704);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/is.js?");

/***/ }),

/***/ 10424:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/keys.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/keys */ 82613);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/keys.js?");

/***/ }),

/***/ 42648:
/*!*************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/set-prototype-of.js ***!
  \*************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/set-prototype-of */ 23092);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/set-prototype-of.js?");

/***/ }),

/***/ 77052:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/object/values.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/object/values */ 6104);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/object/values.js?");

/***/ }),

/***/ 52136:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/parse-float.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../es/parse-float */ 15384);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/parse-float.js?");

/***/ }),

/***/ 11480:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/parse-int.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../es/parse-int */ 5357);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/parse-int.js?");

/***/ }),

/***/ 19516:
/*!***************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/promise/index.js ***!
  \***************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/promise */ 76496);\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/promise/index.js?");

/***/ }),

/***/ 43252:
/*!*******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/reflect/construct.js ***!
  \*******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/reflect/construct */ 92880);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/reflect/construct.js?");

/***/ }),

/***/ 94088:
/*!*************************************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/reflect/get-own-property-descriptor.js ***!
  \*************************************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/reflect/get-own-property-descriptor */ 25784);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/reflect/get-own-property-descriptor.js?");

/***/ }),

/***/ 11576:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/reflect/has.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/reflect/has */ 82568);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/reflect/has.js?");

/***/ }),

/***/ 77932:
/*!******************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/reflect/own-keys.js ***!
  \******************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/reflect/own-keys */ 21836);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/reflect/own-keys.js?");

/***/ }),

/***/ 42592:
/*!*************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/set-timeout.js ***!
  \*************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\n__webpack_require__(/*! ../modules/web.timers */ 99495);\nvar path = __webpack_require__(/*! ../internals/path */ 19832);\n\nmodule.exports = path.setTimeout;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/set-timeout.js?");

/***/ }),

/***/ 43328:
/*!***********************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/set/index.js ***!
  \***********************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/set */ 77376);\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/set/index.js?");

/***/ }),

/***/ 35184:
/*!************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/symbol/for.js ***!
  \************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/symbol/for */ 63656);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/symbol/for.js?");

/***/ }),

/***/ 39928:
/*!**************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/symbol/index.js ***!
  \**************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/symbol */ 22767);\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/symbol/index.js?");

/***/ }),

/***/ 88308:
/*!*****************************************************************!*\
  !*** ../../node_modules/core-js-pure/stable/symbol/iterator.js ***!
  \*****************************************************************/
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {

"use strict";
eval("\nvar parent = __webpack_require__(/*! ../../es/symbol/iterator */ 25180);\n__webpack_require__(/*! ../../modules/web.dom-collections.iterator */ 23624);\n\nmodule.exports = parent;\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/core-js-pure/stable/symbol/iterator.js?");

/***/ }),

/***/ 29464:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _arrayLikeToArray; }\n/* harmony export */ });\nfunction _arrayLikeToArray(arr, len) {\n  if (len == null || len > arr.length) len = arr.length;\n\n  for (var i = 0, arr2 = new Array(len); i < len; i++) {\n    arr2[i] = arr[i];\n  }\n\n  return arr2;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayLikeToArray.js?");

/***/ }),

/***/ 66636:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _arrayWithHoles; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/array/is-array */ 93920);\n\nfunction _arrayWithHoles(arr) {\n  if (_babel_runtime_corejs3_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_0__(arr)) return arr;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithHoles.js?");

/***/ }),

/***/ 62440:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _arrayWithoutHoles; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/array/is-array */ 93920);\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./arrayLikeToArray.js */ 29464);\n\n\nfunction _arrayWithoutHoles(arr) {\n  if (_babel_runtime_corejs3_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_0__(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arr);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/arrayWithoutHoles.js?");

/***/ }),

/***/ 89280:
/*!**************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _assertThisInitialized; }\n/* harmony export */ });\nfunction _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js?");

/***/ }),

/***/ 85640:
/*!*********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js ***!
  \*********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _asyncToGenerator; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/promise */ 86724);\n\n\nfunction asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n  try {\n    var info = gen[key](arg);\n    var value = info.value;\n  } catch (error) {\n    reject(error);\n    return;\n  }\n\n  if (info.done) {\n    resolve(value);\n  } else {\n    _babel_runtime_corejs3_core_js_promise__WEBPACK_IMPORTED_MODULE_0__.resolve(value).then(_next, _throw);\n  }\n}\n\nfunction _asyncToGenerator(fn) {\n  return function () {\n    var self = this,\n        args = arguments;\n    return new _babel_runtime_corejs3_core_js_promise__WEBPACK_IMPORTED_MODULE_0__(function (resolve, reject) {\n      var gen = fn.apply(self, args);\n\n      function _next(value) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n      }\n\n      function _throw(err) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n      }\n\n      _next(undefined);\n    });\n  };\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/asyncToGenerator.js?");

/***/ }),

/***/ 3460:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _classCallCheck; }\n/* harmony export */ });\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js?");

/***/ }),

/***/ 27688:
/*!****************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js ***!
  \****************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _createClass; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ 19692);\n\n\nfunction _defineProperties(target, props) {\n  for (var i = 0; i < props.length; i++) {\n    var descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if (\"value\" in descriptor) descriptor.writable = true;\n\n    _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__(target, descriptor.key, descriptor);\n  }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n\n  _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__(Constructor, \"prototype\", {\n    writable: false\n  });\n\n  return Constructor;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js?");

/***/ }),

/***/ 30112:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _defineProperty; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ 19692);\n\nfunction _defineProperty(obj, key, value) {\n  if (key in obj) {\n    _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0__(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js?");

/***/ }),

/***/ 2664:
/*!************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js ***!
  \************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _extends; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_assign__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/assign */ 12484);\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/bind */ 9712);\n\n\nfunction _extends() {\n  var _context;\n\n  _extends = _babel_runtime_corejs3_core_js_object_assign__WEBPACK_IMPORTED_MODULE_0__ ? _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__(_context = _babel_runtime_corejs3_core_js_object_assign__WEBPACK_IMPORTED_MODULE_0__).call(_context) : function (target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i];\n\n      for (var key in source) {\n        if (Object.prototype.hasOwnProperty.call(source, key)) {\n          target[key] = source[key];\n        }\n      }\n    }\n\n    return target;\n  };\n  return _extends.apply(this, arguments);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js?");

/***/ }),

/***/ 77284:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _getPrototypeOf; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/set-prototype-of */ 53140);\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/bind */ 9712);\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-prototype-of */ 80075);\n\n\n\nfunction _getPrototypeOf(o) {\n  var _context;\n\n  _getPrototypeOf = _babel_runtime_corejs3_core_js_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_0__ ? _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__(_context = _babel_runtime_corejs3_core_js_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__).call(_context) : function _getPrototypeOf(o) {\n    return o.__proto__ || _babel_runtime_corejs3_core_js_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(o);\n  };\n  return _getPrototypeOf(o);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js?");

/***/ }),

/***/ 50024:
/*!*************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js ***!
  \*************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _inherits; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_create__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/create */ 71072);\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-property */ 19692);\n/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./setPrototypeOf.js */ 13552);\n\n\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = _babel_runtime_corejs3_core_js_object_create__WEBPACK_IMPORTED_MODULE_0__(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n\n  _babel_runtime_corejs3_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_1__(subClass, \"prototype\", {\n    writable: false\n  });\n\n  if (superClass) (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(subClass, superClass);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js?");

/***/ }),

/***/ 40948:
/*!********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js ***!
  \********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _iterableToArray; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ 98468);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n/* harmony import */ var _babel_runtime_corejs3_core_js_array_from__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/array/from */ 91648);\n\n\n\nfunction _iterableToArray(iter) {\n  if (typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_1__(iter) != null || iter[\"@@iterator\"] != null) return _babel_runtime_corejs3_core_js_array_from__WEBPACK_IMPORTED_MODULE_2__(iter);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArray.js?");

/***/ }),

/***/ 85820:
/*!*************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js ***!
  \*************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _iterableToArrayLimit; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ 98468);\n/* harmony import */ var _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/get-iterator-method */ 64248);\n\n\nfunction _iterableToArrayLimit(arr, i) {\n  var _i = arr == null ? null : typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ !== \"undefined\" && _babel_runtime_corejs3_core_js_get_iterator_method__WEBPACK_IMPORTED_MODULE_1__(arr) || arr[\"@@iterator\"];\n\n  if (_i == null) return;\n  var _arr = [];\n  var _n = true;\n  var _d = false;\n\n  var _s, _e;\n\n  try {\n    for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n      _arr.push(_s.value);\n\n      if (i && _arr.length === i) break;\n    }\n  } catch (err) {\n    _d = true;\n    _e = err;\n  } finally {\n    try {\n      if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n    } finally {\n      if (_d) throw _e;\n    }\n  }\n\n  return _arr;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/iterableToArrayLimit.js?");

/***/ }),

/***/ 76288:
/*!********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js ***!
  \********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _nonIterableRest; }\n/* harmony export */ });\nfunction _nonIterableRest() {\n  throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableRest.js?");

/***/ }),

/***/ 696:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _nonIterableSpread; }\n/* harmony export */ });\nfunction _nonIterableSpread() {\n  throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/nonIterableSpread.js?");

/***/ }),

/***/ 28220:
/*!****************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutProperties.js ***!
  \****************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _objectWithoutProperties; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/get-own-property-symbols */ 57312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/index-of */ 26568);\n/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ 13885);\n\n\n\nfunction _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(source, excluded);\n  var key, i;\n\n  if (_babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__) {\n    var sourceSymbolKeys = _babel_runtime_corejs3_core_js_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_0__(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (_babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__(excluded).call(excluded, key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutProperties.js?");

/***/ }),

/***/ 13885:
/*!*********************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js ***!
  \*********************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _objectWithoutPropertiesLoose; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/keys */ 57328);\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/index-of */ 26568);\n\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n\n  var sourceKeys = _babel_runtime_corejs3_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0__(source);\n\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (_babel_runtime_corejs3_core_js_instance_index_of__WEBPACK_IMPORTED_MODULE_1__(excluded).call(excluded, key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/objectWithoutPropertiesLoose.js?");

/***/ }),

/***/ 54895:
/*!******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js ***!
  \******************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _possibleConstructorReturn; }\n/* harmony export */ });\n/* harmony import */ var _typeof_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./typeof.js */ 58496);\n/* harmony import */ var _assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./assertThisInitialized.js */ 89280);\n\n\nfunction _possibleConstructorReturn(self, call) {\n  if (call && ((0,_typeof_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  } else if (call !== void 0) {\n    throw new TypeError(\"Derived constructors may only return object or undefined\");\n  }\n\n  return (0,_assertThisInitialized_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(self);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js?");

/***/ }),

/***/ 13552:
/*!*******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js ***!
  \*******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _setPrototypeOf; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/set-prototype-of */ 53140);\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/bind */ 9712);\n\n\nfunction _setPrototypeOf(o, p) {\n  var _context;\n\n  _setPrototypeOf = _babel_runtime_corejs3_core_js_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_0__ ? _babel_runtime_corejs3_core_js_instance_bind__WEBPACK_IMPORTED_MODULE_1__(_context = _babel_runtime_corejs3_core_js_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_0__).call(_context) : function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n  return _setPrototypeOf(o, p);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/setPrototypeOf.js?");

/***/ }),

/***/ 95992:
/*!******************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js ***!
  \******************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _slicedToArray; }\n/* harmony export */ });\n/* harmony import */ var _arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithHoles.js */ 66636);\n/* harmony import */ var _iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArrayLimit.js */ 85820);\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 95956);\n/* harmony import */ var _nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableRest.js */ 76288);\n\n\n\n\nfunction _slicedToArray(arr, i) {\n  return (0,_arrayWithHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr) || (0,_iterableToArrayLimit_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arr, i) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(arr, i) || (0,_nonIterableRest_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/slicedToArray.js?");

/***/ }),

/***/ 59000:
/*!**************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/taggedTemplateLiteral.js ***!
  \**************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _taggedTemplateLiteral; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/slice */ 29656);\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_freeze__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/freeze */ 53868);\n/* harmony import */ var _babel_runtime_corejs3_core_js_object_define_properties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/object/define-properties */ 57324);\n\n\n\nfunction _taggedTemplateLiteral(strings, raw) {\n  if (!raw) {\n    raw = _babel_runtime_corejs3_core_js_instance_slice__WEBPACK_IMPORTED_MODULE_0__(strings).call(strings, 0);\n  }\n\n  return _babel_runtime_corejs3_core_js_object_freeze__WEBPACK_IMPORTED_MODULE_1__(_babel_runtime_corejs3_core_js_object_define_properties__WEBPACK_IMPORTED_MODULE_2__(strings, {\n    raw: {\n      value: _babel_runtime_corejs3_core_js_object_freeze__WEBPACK_IMPORTED_MODULE_1__(raw)\n    }\n  }));\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/taggedTemplateLiteral.js?");

/***/ }),

/***/ 30260:
/*!**********************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js ***!
  \**********************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _toConsumableArray; }\n/* harmony export */ });\n/* harmony import */ var _arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./arrayWithoutHoles.js */ 62440);\n/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ 40948);\n/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ 95956);\n/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ 696);\n\n\n\n\nfunction _toConsumableArray(arr) {\n  return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"])();\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js?");

/***/ }),

/***/ 58496:
/*!***********************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js ***!
  \***********************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _typeof; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol */ 98468);\n/* harmony import */ var _babel_runtime_corejs3_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/symbol/iterator */ 51592);\n\n\nfunction _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  return _typeof = \"function\" == typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && \"symbol\" == typeof _babel_runtime_corejs3_core_js_symbol_iterator__WEBPACK_IMPORTED_MODULE_1__ ? function (obj) {\n    return typeof obj;\n  } : function (obj) {\n    return obj && \"function\" == typeof _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && obj.constructor === _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__ && obj !== _babel_runtime_corejs3_core_js_symbol__WEBPACK_IMPORTED_MODULE_0__.prototype ? \"symbol\" : typeof obj;\n  }, _typeof(obj);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js?");

/***/ }),

/***/ 95956:
/*!*******************************************************************************************!*\
  !*** ../../node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js ***!
  \*******************************************************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   \"default\": function() { return /* binding */ _unsupportedIterableToArray; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_core_js_instance_slice__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/instance/slice */ 29656);\n/* harmony import */ var _babel_runtime_corejs3_core_js_array_from__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js/array/from */ 91648);\n/* harmony import */ var _arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./arrayLikeToArray.js */ 29464);\n\n\n\nfunction _unsupportedIterableToArray(o, minLen) {\n  var _context;\n\n  if (!o) return;\n  if (typeof o === \"string\") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(o, minLen);\n\n  var n = _babel_runtime_corejs3_core_js_instance_slice__WEBPACK_IMPORTED_MODULE_0__(_context = Object.prototype.toString.call(o)).call(_context, 8, -1);\n\n  if (n === \"Object\" && o.constructor) n = o.constructor.name;\n  if (n === \"Map\" || n === \"Set\") return _babel_runtime_corejs3_core_js_array_from__WEBPACK_IMPORTED_MODULE_1__(o);\n  if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"])(o, minLen);\n}\n\n//# sourceURL=webpack://entity-designer/../../node_modules/@babel/runtime-corejs3/helpers/esm/unsupportedIterableToArray.js?");

/***/ }),

/***/ 5944:
/*!***************************************************!*\
  !*** ../../node_modules/expr-eval/dist/index.mjs ***!
  \***************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Expression: function() { return /* binding */ Expression; },\n/* harmony export */   Parser: function() { return /* binding */ Parser; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/extends */ 2664);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/filter */ 18860);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/index-of */ 39568);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ 97552);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-float */ 7224);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/reduce */ 45076);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_sinh__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/sinh */ 87896);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_cosh__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/cosh */ 10844);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_tanh__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/tanh */ 15632);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_asinh__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/asinh */ 90768);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_acosh__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/acosh */ 98152);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_atanh__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/atanh */ 32576);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_cbrt__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/cbrt */ 7636);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_log2__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/log2 */ 18720);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_log10__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/log10 */ 94204);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_expm1__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/expm1 */ 11096);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_log1p__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/log1p */ 25760);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_trunc__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/trunc */ 172);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_sign__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/sign */ 35604);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_math_hypot__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/math/hypot */ 81028);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar INUMBER = 'INUMBER';\nvar IOP1 = 'IOP1';\nvar IOP2 = 'IOP2';\nvar IOP3 = 'IOP3';\nvar IVAR = 'IVAR';\nvar IVARNAME = 'IVARNAME';\nvar IFUNCALL = 'IFUNCALL';\nvar IFUNDEF = 'IFUNDEF';\nvar IEXPR = 'IEXPR';\nvar IEXPREVAL = 'IEXPREVAL';\nvar IMEMBER = 'IMEMBER';\nvar IENDSTATEMENT = 'IENDSTATEMENT';\nvar IARRAY = 'IARRAY';\nfunction Instruction(type, value) {\n  this.type = type;\n  this.value = value !== undefined && value !== null ? value : 0;\n}\nInstruction.prototype.toString = function () {\n  switch (this.type) {\n    case INUMBER:\n    case IOP1:\n    case IOP2:\n    case IOP3:\n    case IVAR:\n    case IVARNAME:\n    case IENDSTATEMENT:\n      return this.value;\n    case IFUNCALL:\n      return 'CALL ' + this.value;\n    case IFUNDEF:\n      return 'DEF ' + this.value;\n    case IARRAY:\n      return 'ARRAY ' + this.value;\n    case IMEMBER:\n      return '.' + this.value;\n    default:\n      return 'Invalid Instruction';\n  }\n};\nfunction unaryInstruction(value) {\n  return new Instruction(IOP1, value);\n}\nfunction binaryInstruction(value) {\n  return new Instruction(IOP2, value);\n}\nfunction ternaryInstruction(value) {\n  return new Instruction(IOP3, value);\n}\nfunction simplify(tokens, unaryOps, binaryOps, ternaryOps, values) {\n  var nstack = [];\n  var newexpression = [];\n  var n1, n2, n3;\n  var f;\n  for (var i = 0; i < tokens.length; i++) {\n    var item = tokens[i];\n    var type = item.type;\n    if (type === INUMBER || type === IVARNAME) {\n      if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(item.value)) {\n        var _context, _context2;\n        nstack.push.apply(nstack, simplify(_babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__(_context = _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__(_context2 = item.value).call(_context2, function (x) {\n          return new Instruction(INUMBER, x);\n        })).call(_context, new Instruction(IARRAY, item.value.length)), unaryOps, binaryOps, ternaryOps, values));\n      } else {\n        nstack.push(item);\n      }\n    } else if (type === IVAR && values.hasOwnProperty(item.value)) {\n      item = new Instruction(INUMBER, values[item.value]);\n      nstack.push(item);\n    } else if (type === IOP2 && nstack.length > 1) {\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      f = binaryOps[item.value];\n      item = new Instruction(INUMBER, f(n1.value, n2.value));\n      nstack.push(item);\n    } else if (type === IOP3 && nstack.length > 2) {\n      n3 = nstack.pop();\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      if (item.value === '?') {\n        nstack.push(n1.value ? n2.value : n3.value);\n      } else {\n        f = ternaryOps[item.value];\n        item = new Instruction(INUMBER, f(n1.value, n2.value, n3.value));\n        nstack.push(item);\n      }\n    } else if (type === IOP1 && nstack.length > 0) {\n      n1 = nstack.pop();\n      f = unaryOps[item.value];\n      item = new Instruction(INUMBER, f(n1.value));\n      nstack.push(item);\n    } else if (type === IEXPR) {\n      while (nstack.length > 0) {\n        newexpression.push(nstack.shift());\n      }\n      newexpression.push(new Instruction(IEXPR, simplify(item.value, unaryOps, binaryOps, ternaryOps, values)));\n    } else if (type === IMEMBER && nstack.length > 0) {\n      n1 = nstack.pop();\n      nstack.push(new Instruction(INUMBER, n1.value[item.value]));\n    } /* else if (type === IARRAY && nstack.length >= item.value) {\n      var length = item.value;\n      while (length-- > 0) {\n        newexpression.push(nstack.pop());\n      }\n      newexpression.push(new Instruction(IARRAY, item.value));\n      } */else {\n      while (nstack.length > 0) {\n        newexpression.push(nstack.shift());\n      }\n      newexpression.push(item);\n    }\n  }\n  while (nstack.length > 0) {\n    newexpression.push(nstack.shift());\n  }\n  return newexpression;\n}\nfunction substitute(tokens, variable, expr) {\n  var newexpression = [];\n  for (var i = 0; i < tokens.length; i++) {\n    var item = tokens[i];\n    var type = item.type;\n    if (type === IVAR && item.value === variable) {\n      for (var j = 0; j < expr.tokens.length; j++) {\n        var expritem = expr.tokens[j];\n        var replitem;\n        if (expritem.type === IOP1) {\n          replitem = unaryInstruction(expritem.value);\n        } else if (expritem.type === IOP2) {\n          replitem = binaryInstruction(expritem.value);\n        } else if (expritem.type === IOP3) {\n          replitem = ternaryInstruction(expritem.value);\n        } else {\n          replitem = new Instruction(expritem.type, expritem.value);\n        }\n        newexpression.push(replitem);\n      }\n    } else if (type === IEXPR) {\n      newexpression.push(new Instruction(IEXPR, substitute(item.value, variable, expr)));\n    } else {\n      newexpression.push(item);\n    }\n  }\n  return newexpression;\n}\nfunction evaluate(tokens, expr, values) {\n  var nstack = [];\n  var n1, n2, n3;\n  var f, args, argCount;\n  if (isExpressionEvaluator(tokens)) {\n    return resolveExpression(tokens, values);\n  }\n  var numTokens = tokens.length;\n  for (var i = 0; i < numTokens; i++) {\n    var item = tokens[i];\n    var type = item.type;\n    if (type === INUMBER || type === IVARNAME) {\n      nstack.push(item.value);\n    } else if (type === IOP2) {\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      if (item.value === 'and') {\n        nstack.push(n1 ? !!evaluate(n2, expr, values) : false);\n      } else if (item.value === 'or') {\n        nstack.push(n1 ? true : !!evaluate(n2, expr, values));\n      } else if (item.value === '=') {\n        f = expr.binaryOps[item.value];\n        nstack.push(f(n1, evaluate(n2, expr, values), values));\n      } else {\n        f = expr.binaryOps[item.value];\n        nstack.push(f(resolveExpression(n1, values), resolveExpression(n2, values)));\n      }\n    } else if (type === IOP3) {\n      n3 = nstack.pop();\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      if (item.value === '?') {\n        nstack.push(evaluate(n1 ? n2 : n3, expr, values));\n      } else {\n        f = expr.ternaryOps[item.value];\n        nstack.push(f(resolveExpression(n1, values), resolveExpression(n2, values), resolveExpression(n3, values)));\n      }\n    } else if (type === IVAR) {\n      if (item.value in expr.functions) {\n        nstack.push(expr.functions[item.value]);\n      } else if (item.value in expr.unaryOps && expr.parser.isOperatorEnabled(item.value)) {\n        nstack.push(expr.unaryOps[item.value]);\n      } else {\n        var v = values[item.value];\n        if (v !== undefined) {\n          nstack.push(v);\n        } else {\n          throw new Error('undefined variable: ' + item.value);\n        }\n      }\n    } else if (type === IOP1) {\n      n1 = nstack.pop();\n      f = expr.unaryOps[item.value];\n      nstack.push(f(resolveExpression(n1, values)));\n    } else if (type === IFUNCALL) {\n      argCount = item.value;\n      args = [];\n      while (argCount-- > 0) {\n        args.unshift(resolveExpression(nstack.pop(), values));\n      }\n      f = nstack.pop();\n      if (f.apply && f.call) {\n        nstack.push(f.apply(undefined, args));\n      } else {\n        throw new Error(f + ' is not a function');\n      }\n    } else if (type === IFUNDEF) {\n      // Create closure to keep references to arguments and expression\n      nstack.push(function () {\n        var n2 = nstack.pop();\n        var args = [];\n        var argCount = item.value;\n        while (argCount-- > 0) {\n          args.unshift(nstack.pop());\n        }\n        var n1 = nstack.pop();\n        var f = function f() {\n          var scope = (0,_babel_runtime_corejs3_helpers_extends__WEBPACK_IMPORTED_MODULE_0__[\"default\"])({}, values);\n          for (var i = 0, len = args.length; i < len; i++) {\n            scope[args[i]] = arguments[i];\n          }\n          return evaluate(n2, expr, scope);\n        };\n        // f.name = n1\n        _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_4__(f, 'name', {\n          value: n1,\n          writable: false\n        });\n        values[n1] = f;\n        return f;\n      }());\n    } else if (type === IEXPR) {\n      nstack.push(createExpressionEvaluator(item, expr));\n    } else if (type === IEXPREVAL) {\n      nstack.push(item);\n    } else if (type === IMEMBER) {\n      n1 = nstack.pop();\n      nstack.push(n1[item.value]);\n    } else if (type === IENDSTATEMENT) {\n      nstack.pop();\n    } else if (type === IARRAY) {\n      argCount = item.value;\n      args = [];\n      while (argCount-- > 0) {\n        args.unshift(nstack.pop());\n      }\n      nstack.push(args);\n    } else {\n      throw new Error('invalid Expression');\n    }\n  }\n  if (nstack.length > 1) {\n    throw new Error('invalid Expression (parity)');\n  }\n  // Explicitly return zero to avoid test issues caused by -0\n  return nstack[0] === 0 ? 0 : resolveExpression(nstack[0], values);\n}\nfunction createExpressionEvaluator(token, expr, values) {\n  if (isExpressionEvaluator(token)) return token;\n  return {\n    type: IEXPREVAL,\n    value: function value(scope) {\n      return evaluate(token.value, expr, scope);\n    }\n  };\n}\nfunction isExpressionEvaluator(n) {\n  return n && n.type === IEXPREVAL;\n}\nfunction resolveExpression(n, values) {\n  return isExpressionEvaluator(n) ? n.value(values) : n;\n}\nfunction expressionToString(tokens, toJS) {\n  var nstack = [];\n  var n1, n2, n3;\n  var f, args, argCount;\n  for (var i = 0; i < tokens.length; i++) {\n    var item = tokens[i];\n    var type = item.type;\n    if (type === INUMBER) {\n      if (typeof item.value === 'number' && item.value < 0) {\n        nstack.push('(' + item.value + ')');\n      } else if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(item.value)) {\n        var _context3;\n        nstack.push('[' + _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__(_context3 = item.value).call(_context3, escapeValue).join(', ') + ']');\n      } else {\n        nstack.push(escapeValue(item.value));\n      }\n    } else if (type === IOP2) {\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      f = item.value;\n      if (toJS) {\n        if (f === '^') {\n          nstack.push('Math.pow(' + n1 + ', ' + n2 + ')');\n        } else if (f === 'and') {\n          nstack.push('(!!' + n1 + ' && !!' + n2 + ')');\n        } else if (f === 'or') {\n          nstack.push('(!!' + n1 + ' || !!' + n2 + ')');\n        } else if (f === '||') {\n          nstack.push('(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }((' + n1 + '),(' + n2 + ')))');\n        } else if (f === '==') {\n          nstack.push('(' + n1 + ' === ' + n2 + ')');\n        } else if (f === '!=') {\n          nstack.push('(' + n1 + ' !== ' + n2 + ')');\n        } else if (f === '[') {\n          nstack.push(n1 + '[(' + n2 + ') | 0]');\n        } else {\n          nstack.push('(' + n1 + ' ' + f + ' ' + n2 + ')');\n        }\n      } else {\n        if (f === '[') {\n          nstack.push(n1 + '[' + n2 + ']');\n        } else {\n          nstack.push('(' + n1 + ' ' + f + ' ' + n2 + ')');\n        }\n      }\n    } else if (type === IOP3) {\n      n3 = nstack.pop();\n      n2 = nstack.pop();\n      n1 = nstack.pop();\n      f = item.value;\n      if (f === '?') {\n        nstack.push('(' + n1 + ' ? ' + n2 + ' : ' + n3 + ')');\n      } else {\n        throw new Error('invalid Expression');\n      }\n    } else if (type === IVAR || type === IVARNAME) {\n      nstack.push(item.value);\n    } else if (type === IOP1) {\n      n1 = nstack.pop();\n      f = item.value;\n      if (f === '-' || f === '+') {\n        nstack.push('(' + f + n1 + ')');\n      } else if (toJS) {\n        if (f === 'not') {\n          nstack.push('(' + '!' + n1 + ')');\n        } else if (f === '!') {\n          nstack.push('fac(' + n1 + ')');\n        } else {\n          nstack.push(f + '(' + n1 + ')');\n        }\n      } else if (f === '!') {\n        nstack.push('(' + n1 + '!)');\n      } else {\n        nstack.push('(' + f + ' ' + n1 + ')');\n      }\n    } else if (type === IFUNCALL) {\n      argCount = item.value;\n      args = [];\n      while (argCount-- > 0) {\n        args.unshift(nstack.pop());\n      }\n      f = nstack.pop();\n      nstack.push(f + '(' + args.join(', ') + ')');\n    } else if (type === IFUNDEF) {\n      n2 = nstack.pop();\n      argCount = item.value;\n      args = [];\n      while (argCount-- > 0) {\n        args.unshift(nstack.pop());\n      }\n      n1 = nstack.pop();\n      if (toJS) {\n        nstack.push('(' + n1 + ' = function(' + args.join(', ') + ') { return ' + n2 + ' })');\n      } else {\n        nstack.push('(' + n1 + '(' + args.join(', ') + ') = ' + n2 + ')');\n      }\n    } else if (type === IMEMBER) {\n      n1 = nstack.pop();\n      nstack.push(n1 + '.' + item.value);\n    } else if (type === IARRAY) {\n      argCount = item.value;\n      args = [];\n      while (argCount-- > 0) {\n        args.unshift(nstack.pop());\n      }\n      nstack.push('[' + args.join(', ') + ']');\n    } else if (type === IEXPR) {\n      nstack.push('(' + expressionToString(item.value, toJS) + ')');\n    } else if (type === IENDSTATEMENT) ;else {\n      throw new Error('invalid Expression');\n    }\n  }\n  if (nstack.length > 1) {\n    if (toJS) {\n      nstack = [nstack.join(',')];\n    } else {\n      nstack = [nstack.join(';')];\n    }\n  }\n  return String(nstack[0]);\n}\nfunction escapeValue(v) {\n  if (typeof v === 'string') {\n    return _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_5__(v).replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\");\n  }\n  return v;\n}\nfunction contains(array, obj) {\n  for (var i = 0; i < array.length; i++) {\n    if (array[i] === obj) {\n      return true;\n    }\n  }\n  return false;\n}\nfunction getSymbols(tokens, symbols, options) {\n  options = options || {};\n  var withMembers = !!options.withMembers;\n  var prevVar = null;\n  for (var i = 0; i < tokens.length; i++) {\n    var item = tokens[i];\n    if (item.type === IVAR || item.type === IVARNAME) {\n      if (!withMembers && !contains(symbols, item.value)) {\n        symbols.push(item.value);\n      } else if (prevVar !== null) {\n        if (!contains(symbols, prevVar)) {\n          symbols.push(prevVar);\n        }\n        prevVar = item.value;\n      } else {\n        prevVar = item.value;\n      }\n    } else if (item.type === IMEMBER && withMembers && prevVar !== null) {\n      prevVar += '.' + item.value;\n    } else if (item.type === IEXPR) {\n      getSymbols(item.value, symbols, options);\n    } else if (prevVar !== null) {\n      if (!contains(symbols, prevVar)) {\n        symbols.push(prevVar);\n      }\n      prevVar = null;\n    }\n  }\n  if (prevVar !== null && !contains(symbols, prevVar)) {\n    symbols.push(prevVar);\n  }\n}\nfunction Expression(tokens, parser) {\n  this.tokens = tokens;\n  this.parser = parser;\n  this.unaryOps = parser.unaryOps;\n  this.binaryOps = parser.binaryOps;\n  this.ternaryOps = parser.ternaryOps;\n  this.functions = parser.functions;\n}\nExpression.prototype.simplify = function (values) {\n  values = values || {};\n  return new Expression(simplify(this.tokens, this.unaryOps, this.binaryOps, this.ternaryOps, values), this.parser);\n};\nExpression.prototype.substitute = function (variable, expr) {\n  if (!(expr instanceof Expression)) {\n    expr = this.parser.parse(String(expr));\n  }\n  return new Expression(substitute(this.tokens, variable, expr), this.parser);\n};\nExpression.prototype.evaluate = function (values) {\n  values = values || {};\n  return evaluate(this.tokens, this, values);\n};\nExpression.prototype.toString = function () {\n  return expressionToString(this.tokens, false);\n};\nExpression.prototype.symbols = function (options) {\n  options = options || {};\n  var vars = [];\n  getSymbols(this.tokens, vars, options);\n  return vars;\n};\nExpression.prototype.variables = function (options) {\n  options = options || {};\n  var vars = [];\n  getSymbols(this.tokens, vars, options);\n  var functions = this.functions;\n  return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__(vars).call(vars, function (name) {\n    return !(name in functions);\n  });\n};\nExpression.prototype.toJSFunction = function (param, variables) {\n  var expr = this;\n  var f = new Function(param, 'with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return ' + expressionToString(this.simplify(variables).tokens, true) + '; }'); // eslint-disable-line no-new-func\n  return function () {\n    return f.apply(expr, arguments);\n  };\n};\nvar TEOF = 'TEOF';\nvar TOP = 'TOP';\nvar TNUMBER = 'TNUMBER';\nvar TSTRING = 'TSTRING';\nvar TPAREN = 'TPAREN';\nvar TBRACKET = 'TBRACKET';\nvar TCOMMA = 'TCOMMA';\nvar TNAME = 'TNAME';\nvar TSEMICOLON = 'TSEMICOLON';\nfunction Token(type, value, index) {\n  this.type = type;\n  this.value = value;\n  this.index = index;\n}\nToken.prototype.toString = function () {\n  return this.type + ': ' + this.value;\n};\nfunction TokenStream(parser, expression) {\n  this.pos = 0;\n  this.current = null;\n  this.unaryOps = parser.unaryOps;\n  this.binaryOps = parser.binaryOps;\n  this.ternaryOps = parser.ternaryOps;\n  this.consts = parser.consts;\n  this.expression = expression;\n  this.savedPosition = 0;\n  this.savedCurrent = null;\n  this.options = parser.options;\n  this.parser = parser;\n}\nTokenStream.prototype.newToken = function (type, value, pos) {\n  return new Token(type, value, pos != null ? pos : this.pos);\n};\nTokenStream.prototype.save = function () {\n  this.savedPosition = this.pos;\n  this.savedCurrent = this.current;\n};\nTokenStream.prototype.restore = function () {\n  this.pos = this.savedPosition;\n  this.current = this.savedCurrent;\n};\nTokenStream.prototype.next = function () {\n  if (this.pos >= this.expression.length) {\n    return this.newToken(TEOF, 'EOF');\n  }\n  if (this.isWhitespace() || this.isComment()) {\n    return this.next();\n  } else if (this.isRadixInteger() || this.isNumber() || this.isOperator() || this.isString() || this.isParen() || this.isBracket() || this.isComma() || this.isSemicolon() || this.isNamedOp() || this.isConst() || this.isName()) {\n    return this.current;\n  } else {\n    this.parseError('Unknown character \"' + this.expression.charAt(this.pos) + '\"');\n  }\n};\nTokenStream.prototype.isString = function () {\n  var r = false;\n  var startPos = this.pos;\n  var quote = this.expression.charAt(startPos);\n  if (quote === '\\'' || quote === '\"') {\n    var _context4;\n    var index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(_context4 = this.expression).call(_context4, quote, startPos + 1);\n    while (index >= 0 && this.pos < this.expression.length) {\n      var _context5;\n      this.pos = index + 1;\n      if (this.expression.charAt(index - 1) !== '\\\\') {\n        var rawString = this.expression.substring(startPos + 1, index);\n        this.current = this.newToken(TSTRING, this.unescape(rawString), startPos);\n        r = true;\n        break;\n      }\n      index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(_context5 = this.expression).call(_context5, quote, index + 1);\n    }\n  }\n  return r;\n};\nTokenStream.prototype.isParen = function () {\n  var c = this.expression.charAt(this.pos);\n  if (c === '(' || c === ')') {\n    this.current = this.newToken(TPAREN, c);\n    this.pos++;\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isBracket = function () {\n  var c = this.expression.charAt(this.pos);\n  if ((c === '[' || c === ']') && this.isOperatorEnabled('[')) {\n    this.current = this.newToken(TBRACKET, c);\n    this.pos++;\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isComma = function () {\n  var c = this.expression.charAt(this.pos);\n  if (c === ',') {\n    this.current = this.newToken(TCOMMA, ',');\n    this.pos++;\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isSemicolon = function () {\n  var c = this.expression.charAt(this.pos);\n  if (c === ';') {\n    this.current = this.newToken(TSEMICOLON, ';');\n    this.pos++;\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isConst = function () {\n  var startPos = this.pos;\n  var i = startPos;\n  for (; i < this.expression.length; i++) {\n    var c = this.expression.charAt(i);\n    if (c.toUpperCase() === c.toLowerCase()) {\n      if (i === this.pos || c !== '_' && c !== '.' && (c < '0' || c > '9')) {\n        break;\n      }\n    }\n  }\n  if (i > startPos) {\n    var str = this.expression.substring(startPos, i);\n    if (str in this.consts) {\n      this.current = this.newToken(TNUMBER, this.consts[str]);\n      this.pos += str.length;\n      return true;\n    }\n  }\n  return false;\n};\nTokenStream.prototype.isNamedOp = function () {\n  var startPos = this.pos;\n  var i = startPos;\n  for (; i < this.expression.length; i++) {\n    var c = this.expression.charAt(i);\n    if (c.toUpperCase() === c.toLowerCase()) {\n      if (i === this.pos || c !== '_' && (c < '0' || c > '9')) {\n        break;\n      }\n    }\n  }\n  if (i > startPos) {\n    var str = this.expression.substring(startPos, i);\n    if (this.isOperatorEnabled(str) && (str in this.binaryOps || str in this.unaryOps || str in this.ternaryOps)) {\n      this.current = this.newToken(TOP, str);\n      this.pos += str.length;\n      return true;\n    }\n  }\n  return false;\n};\nTokenStream.prototype.isName = function () {\n  var startPos = this.pos;\n  var i = startPos;\n  var hasLetter = false;\n  for (; i < this.expression.length; i++) {\n    var c = this.expression.charAt(i);\n    if (c.toUpperCase() === c.toLowerCase()) {\n      if (i === this.pos && (c === '$' || c === '_')) {\n        if (c === '_') {\n          hasLetter = true;\n        }\n        continue;\n      } else if (i === this.pos || !hasLetter || c !== '_' && (c < '0' || c > '9')) {\n        break;\n      }\n    } else {\n      hasLetter = true;\n    }\n  }\n  if (hasLetter) {\n    var str = this.expression.substring(startPos, i);\n    this.current = this.newToken(TNAME, str);\n    this.pos += str.length;\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isWhitespace = function () {\n  var r = false;\n  var c = this.expression.charAt(this.pos);\n  while (c === ' ' || c === '\\t' || c === '\\n' || c === '\\r') {\n    r = true;\n    this.pos++;\n    if (this.pos >= this.expression.length) {\n      break;\n    }\n    c = this.expression.charAt(this.pos);\n  }\n  return r;\n};\nvar codePointPattern = /^[0-9a-f]{4}$/i;\nTokenStream.prototype.unescape = function (v) {\n  var index = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(v).call(v, '\\\\');\n  if (index < 0) {\n    return v;\n  }\n  var buffer = v.substring(0, index);\n  while (index >= 0) {\n    var c = v.charAt(++index);\n    switch (c) {\n      case '\\'':\n        buffer += '\\'';\n        break;\n      case '\"':\n        buffer += '\"';\n        break;\n      case '\\\\':\n        buffer += '\\\\';\n        break;\n      case '/':\n        buffer += '/';\n        break;\n      case 'b':\n        buffer += '\\b';\n        break;\n      case 'f':\n        buffer += '\\f';\n        break;\n      case 'n':\n        buffer += '\\n';\n        break;\n      case 'r':\n        buffer += '\\r';\n        break;\n      case 't':\n        buffer += '\\t';\n        break;\n      case 'u':\n        // interpret the following 4 characters as the hex of the unicode code point\n        var codePoint = v.substring(index + 1, index + 5);\n        if (!codePointPattern.test(codePoint)) {\n          this.parseError(\"Illegal escape sequence: \\\\u\" + codePoint);\n        }\n        buffer += String.fromCharCode(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_8__(codePoint, 16));\n        index += 4;\n        break;\n      default:\n        throw this.parseError('Illegal escape sequence: \"\\\\' + c + '\"');\n    }\n    ++index;\n    var backslash = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(v).call(v, '\\\\', index);\n    buffer += v.substring(index, backslash < 0 ? v.length : backslash);\n    index = backslash;\n  }\n  return buffer;\n};\nTokenStream.prototype.isComment = function () {\n  var c = this.expression.charAt(this.pos);\n  if (c === '/' && this.expression.charAt(this.pos + 1) === '*') {\n    var _context6;\n    this.pos = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(_context6 = this.expression).call(_context6, '*/', this.pos) + 2;\n    if (this.pos === 1) {\n      this.pos = this.expression.length;\n    }\n    return true;\n  }\n  return false;\n};\nTokenStream.prototype.isRadixInteger = function () {\n  var pos = this.pos;\n  if (pos >= this.expression.length - 2 || this.expression.charAt(pos) !== '0') {\n    return false;\n  }\n  ++pos;\n  var radix;\n  var validDigit;\n  if (this.expression.charAt(pos) === 'x') {\n    radix = 16;\n    validDigit = /^[0-9a-f]$/i;\n    ++pos;\n  } else if (this.expression.charAt(pos) === 'b') {\n    radix = 2;\n    validDigit = /^[01]$/i;\n    ++pos;\n  } else {\n    return false;\n  }\n  var valid = false;\n  var startPos = pos;\n  while (pos < this.expression.length) {\n    var c = this.expression.charAt(pos);\n    if (validDigit.test(c)) {\n      pos++;\n      valid = true;\n    } else {\n      break;\n    }\n  }\n  if (valid) {\n    this.current = this.newToken(TNUMBER, _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_8__(this.expression.substring(startPos, pos), radix));\n    this.pos = pos;\n  }\n  return valid;\n};\nTokenStream.prototype.isNumber = function () {\n  var valid = false;\n  var pos = this.pos;\n  var startPos = pos;\n  var resetPos = pos;\n  var foundDot = false;\n  var foundDigits = false;\n  var c;\n  while (pos < this.expression.length) {\n    c = this.expression.charAt(pos);\n    if (c >= '0' && c <= '9' || !foundDot && c === '.') {\n      if (c === '.') {\n        foundDot = true;\n      } else {\n        foundDigits = true;\n      }\n      pos++;\n      valid = foundDigits;\n    } else {\n      break;\n    }\n  }\n  if (valid) {\n    resetPos = pos;\n  }\n  if (c === 'e' || c === 'E') {\n    pos++;\n    var acceptSign = true;\n    var validExponent = false;\n    while (pos < this.expression.length) {\n      c = this.expression.charAt(pos);\n      if (acceptSign && (c === '+' || c === '-')) {\n        acceptSign = false;\n      } else if (c >= '0' && c <= '9') {\n        validExponent = true;\n        acceptSign = false;\n      } else {\n        break;\n      }\n      pos++;\n    }\n    if (!validExponent) {\n      pos = resetPos;\n    }\n  }\n  if (valid) {\n    this.current = this.newToken(TNUMBER, _babel_runtime_corejs3_core_js_stable_parse_float__WEBPACK_IMPORTED_MODULE_9__(this.expression.substring(startPos, pos)));\n    this.pos = pos;\n  } else {\n    this.pos = resetPos;\n  }\n  return valid;\n};\nTokenStream.prototype.isOperator = function () {\n  var startPos = this.pos;\n  var c = this.expression.charAt(this.pos);\n  if (c === '+' || c === '-' || c === '*' || c === '/' || c === '%' || c === '^' || c === '?' || c === ':' || c === '.') {\n    this.current = this.newToken(TOP, c);\n  } else if (c === '∙' || c === '•') {\n    this.current = this.newToken(TOP, '*');\n  } else if (c === '>') {\n    if (this.expression.charAt(this.pos + 1) === '=') {\n      this.current = this.newToken(TOP, '>=');\n      this.pos++;\n    } else {\n      this.current = this.newToken(TOP, '>');\n    }\n  } else if (c === '<') {\n    if (this.expression.charAt(this.pos + 1) === '=') {\n      this.current = this.newToken(TOP, '<=');\n      this.pos++;\n    } else {\n      this.current = this.newToken(TOP, '<');\n    }\n  } else if (c === '|') {\n    if (this.expression.charAt(this.pos + 1) === '|') {\n      this.current = this.newToken(TOP, '||');\n      this.pos++;\n    } else {\n      return false;\n    }\n  } else if (c === '=') {\n    if (this.expression.charAt(this.pos + 1) === '=') {\n      this.current = this.newToken(TOP, '==');\n      this.pos++;\n    } else {\n      this.current = this.newToken(TOP, c);\n    }\n  } else if (c === '!') {\n    if (this.expression.charAt(this.pos + 1) === '=') {\n      this.current = this.newToken(TOP, '!=');\n      this.pos++;\n    } else {\n      this.current = this.newToken(TOP, c);\n    }\n  } else {\n    return false;\n  }\n  this.pos++;\n  if (this.isOperatorEnabled(this.current.value)) {\n    return true;\n  } else {\n    this.pos = startPos;\n    return false;\n  }\n};\nTokenStream.prototype.isOperatorEnabled = function (op) {\n  return this.parser.isOperatorEnabled(op);\n};\nTokenStream.prototype.getCoordinates = function () {\n  var line = 0;\n  var column;\n  var newline = -1;\n  do {\n    var _context7;\n    line++;\n    column = this.pos - newline;\n    newline = _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(_context7 = this.expression).call(_context7, '\\n', newline + 1);\n  } while (newline >= 0 && newline < this.pos);\n  return {\n    line: line,\n    column: column\n  };\n};\nTokenStream.prototype.parseError = function (msg) {\n  var coords = this.getCoordinates();\n  throw new Error('parse error [' + coords.line + ':' + coords.column + ']: ' + msg);\n};\nfunction ParserState(parser, tokenStream, options) {\n  this.parser = parser;\n  this.tokens = tokenStream;\n  this.current = null;\n  this.nextToken = null;\n  this.next();\n  this.savedCurrent = null;\n  this.savedNextToken = null;\n  this.allowMemberAccess = options.allowMemberAccess !== false;\n}\nParserState.prototype.next = function () {\n  this.current = this.nextToken;\n  return this.nextToken = this.tokens.next();\n};\nParserState.prototype.tokenMatches = function (token, value) {\n  if (typeof value === 'undefined') {\n    return true;\n  } else if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(value)) {\n    return contains(value, token.value);\n  } else if (typeof value === 'function') {\n    return value(token);\n  } else {\n    return token.value === value;\n  }\n};\nParserState.prototype.save = function () {\n  this.savedCurrent = this.current;\n  this.savedNextToken = this.nextToken;\n  this.tokens.save();\n};\nParserState.prototype.restore = function () {\n  this.tokens.restore();\n  this.current = this.savedCurrent;\n  this.nextToken = this.savedNextToken;\n};\nParserState.prototype.accept = function (type, value) {\n  if (this.nextToken.type === type && this.tokenMatches(this.nextToken, value)) {\n    this.next();\n    return true;\n  }\n  return false;\n};\nParserState.prototype.expect = function (type, value) {\n  if (!this.accept(type, value)) {\n    var coords = this.tokens.getCoordinates();\n    throw new Error('parse error [' + coords.line + ':' + coords.column + ']: Expected ' + (value || type));\n  }\n};\nParserState.prototype.parseAtom = function (instr) {\n  var unaryOps = this.tokens.unaryOps;\n  function isPrefixOperator(token) {\n    return token.value in unaryOps;\n  }\n  if (this.accept(TNAME) || this.accept(TOP, isPrefixOperator)) {\n    instr.push(new Instruction(IVAR, this.current.value));\n  } else if (this.accept(TNUMBER)) {\n    instr.push(new Instruction(INUMBER, this.current.value));\n  } else if (this.accept(TSTRING)) {\n    instr.push(new Instruction(INUMBER, this.current.value));\n  } else if (this.accept(TPAREN, '(')) {\n    this.parseExpression(instr);\n    this.expect(TPAREN, ')');\n  } else if (this.accept(TBRACKET, '[')) {\n    if (this.accept(TBRACKET, ']')) {\n      instr.push(new Instruction(IARRAY, 0));\n    } else {\n      var argCount = this.parseArrayList(instr);\n      instr.push(new Instruction(IARRAY, argCount));\n    }\n  } else {\n    throw new Error('unexpected ' + this.nextToken);\n  }\n};\nParserState.prototype.parseExpression = function (instr) {\n  var exprInstr = [];\n  if (this.parseUntilEndStatement(instr, exprInstr)) {\n    return;\n  }\n  this.parseVariableAssignmentExpression(exprInstr);\n  if (this.parseUntilEndStatement(instr, exprInstr)) {\n    return;\n  }\n  this.pushExpression(instr, exprInstr);\n};\nParserState.prototype.pushExpression = function (instr, exprInstr) {\n  for (var i = 0, len = exprInstr.length; i < len; i++) {\n    instr.push(exprInstr[i]);\n  }\n};\nParserState.prototype.parseUntilEndStatement = function (instr, exprInstr) {\n  if (!this.accept(TSEMICOLON)) return false;\n  if (this.nextToken && this.nextToken.type !== TEOF && !(this.nextToken.type === TPAREN && this.nextToken.value === ')')) {\n    exprInstr.push(new Instruction(IENDSTATEMENT));\n  }\n  if (this.nextToken.type !== TEOF) {\n    this.parseExpression(exprInstr);\n  }\n  instr.push(new Instruction(IEXPR, exprInstr));\n  return true;\n};\nParserState.prototype.parseArrayList = function (instr) {\n  var argCount = 0;\n  while (!this.accept(TBRACKET, ']')) {\n    this.parseExpression(instr);\n    ++argCount;\n    while (this.accept(TCOMMA)) {\n      this.parseExpression(instr);\n      ++argCount;\n    }\n  }\n  return argCount;\n};\nParserState.prototype.parseVariableAssignmentExpression = function (instr) {\n  this.parseConditionalExpression(instr);\n  while (this.accept(TOP, '=')) {\n    var varName = instr.pop();\n    var varValue = [];\n    var lastInstrIndex = instr.length - 1;\n    if (varName.type === IFUNCALL) {\n      if (!this.tokens.isOperatorEnabled('()=')) {\n        throw new Error('function definition is not permitted');\n      }\n      for (var i = 0, len = varName.value + 1; i < len; i++) {\n        var index = lastInstrIndex - i;\n        if (instr[index].type === IVAR) {\n          instr[index] = new Instruction(IVARNAME, instr[index].value);\n        }\n      }\n      this.parseVariableAssignmentExpression(varValue);\n      instr.push(new Instruction(IEXPR, varValue));\n      instr.push(new Instruction(IFUNDEF, varName.value));\n      continue;\n    }\n    if (varName.type !== IVAR && varName.type !== IMEMBER) {\n      throw new Error('expected variable for assignment');\n    }\n    this.parseVariableAssignmentExpression(varValue);\n    instr.push(new Instruction(IVARNAME, varName.value));\n    instr.push(new Instruction(IEXPR, varValue));\n    instr.push(binaryInstruction('='));\n  }\n};\nParserState.prototype.parseConditionalExpression = function (instr) {\n  this.parseOrExpression(instr);\n  while (this.accept(TOP, '?')) {\n    var trueBranch = [];\n    var falseBranch = [];\n    this.parseConditionalExpression(trueBranch);\n    this.expect(TOP, ':');\n    this.parseConditionalExpression(falseBranch);\n    instr.push(new Instruction(IEXPR, trueBranch));\n    instr.push(new Instruction(IEXPR, falseBranch));\n    instr.push(ternaryInstruction('?'));\n  }\n};\nParserState.prototype.parseOrExpression = function (instr) {\n  this.parseAndExpression(instr);\n  while (this.accept(TOP, 'or')) {\n    var falseBranch = [];\n    this.parseAndExpression(falseBranch);\n    instr.push(new Instruction(IEXPR, falseBranch));\n    instr.push(binaryInstruction('or'));\n  }\n};\nParserState.prototype.parseAndExpression = function (instr) {\n  this.parseComparison(instr);\n  while (this.accept(TOP, 'and')) {\n    var trueBranch = [];\n    this.parseComparison(trueBranch);\n    instr.push(new Instruction(IEXPR, trueBranch));\n    instr.push(binaryInstruction('and'));\n  }\n};\nvar COMPARISON_OPERATORS = ['==', '!=', '<', '<=', '>=', '>', 'in'];\nParserState.prototype.parseComparison = function (instr) {\n  this.parseAddSub(instr);\n  while (this.accept(TOP, COMPARISON_OPERATORS)) {\n    var op = this.current;\n    this.parseAddSub(instr);\n    instr.push(binaryInstruction(op.value));\n  }\n};\nvar ADD_SUB_OPERATORS = ['+', '-', '||'];\nParserState.prototype.parseAddSub = function (instr) {\n  this.parseTerm(instr);\n  while (this.accept(TOP, ADD_SUB_OPERATORS)) {\n    var op = this.current;\n    this.parseTerm(instr);\n    instr.push(binaryInstruction(op.value));\n  }\n};\nvar TERM_OPERATORS = ['*', '/', '%'];\nParserState.prototype.parseTerm = function (instr) {\n  this.parseFactor(instr);\n  while (this.accept(TOP, TERM_OPERATORS)) {\n    var op = this.current;\n    this.parseFactor(instr);\n    instr.push(binaryInstruction(op.value));\n  }\n};\nParserState.prototype.parseFactor = function (instr) {\n  var unaryOps = this.tokens.unaryOps;\n  function isPrefixOperator(token) {\n    return token.value in unaryOps;\n  }\n  this.save();\n  if (this.accept(TOP, isPrefixOperator)) {\n    if (this.current.value !== '-' && this.current.value !== '+') {\n      if (this.nextToken.type === TPAREN && this.nextToken.value === '(') {\n        this.restore();\n        this.parseExponential(instr);\n        return;\n      } else if (this.nextToken.type === TSEMICOLON || this.nextToken.type === TCOMMA || this.nextToken.type === TEOF || this.nextToken.type === TPAREN && this.nextToken.value === ')') {\n        this.restore();\n        this.parseAtom(instr);\n        return;\n      }\n    }\n    var op = this.current;\n    this.parseFactor(instr);\n    instr.push(unaryInstruction(op.value));\n  } else {\n    this.parseExponential(instr);\n  }\n};\nParserState.prototype.parseExponential = function (instr) {\n  this.parsePostfixExpression(instr);\n  while (this.accept(TOP, '^')) {\n    this.parseFactor(instr);\n    instr.push(binaryInstruction('^'));\n  }\n};\nParserState.prototype.parsePostfixExpression = function (instr) {\n  this.parseFunctionCall(instr);\n  while (this.accept(TOP, '!')) {\n    instr.push(unaryInstruction('!'));\n  }\n};\nParserState.prototype.parseFunctionCall = function (instr) {\n  var unaryOps = this.tokens.unaryOps;\n  function isPrefixOperator(token) {\n    return token.value in unaryOps;\n  }\n  if (this.accept(TOP, isPrefixOperator)) {\n    var op = this.current;\n    this.parseAtom(instr);\n    instr.push(unaryInstruction(op.value));\n  } else {\n    this.parseMemberExpression(instr);\n    while (this.accept(TPAREN, '(')) {\n      if (this.accept(TPAREN, ')')) {\n        instr.push(new Instruction(IFUNCALL, 0));\n      } else {\n        var argCount = this.parseArgumentList(instr);\n        instr.push(new Instruction(IFUNCALL, argCount));\n      }\n    }\n  }\n};\nParserState.prototype.parseArgumentList = function (instr) {\n  var argCount = 0;\n  while (!this.accept(TPAREN, ')')) {\n    this.parseExpression(instr);\n    ++argCount;\n    while (this.accept(TCOMMA)) {\n      this.parseExpression(instr);\n      ++argCount;\n    }\n  }\n  return argCount;\n};\nParserState.prototype.parseMemberExpression = function (instr) {\n  this.parseAtom(instr);\n  while (this.accept(TOP, '.') || this.accept(TBRACKET, '[')) {\n    var op = this.current;\n    if (op.value === '.') {\n      if (!this.allowMemberAccess) {\n        throw new Error('unexpected \".\", member access is not permitted');\n      }\n      this.expect(TNAME);\n      instr.push(new Instruction(IMEMBER, this.current.value));\n    } else if (op.value === '[') {\n      if (!this.tokens.isOperatorEnabled('[')) {\n        throw new Error('unexpected \"[]\", arrays are disabled');\n      }\n      this.parseExpression(instr);\n      this.expect(TBRACKET, ']');\n      instr.push(binaryInstruction('['));\n    } else {\n      throw new Error('unexpected symbol: ' + op.value);\n    }\n  }\n};\nfunction add(a, b) {\n  return Number(a) + Number(b);\n}\nfunction sub(a, b) {\n  return a - b;\n}\nfunction mul(a, b) {\n  return a * b;\n}\nfunction div(a, b) {\n  return a / b;\n}\nfunction mod(a, b) {\n  return a % b;\n}\nfunction concat(a, b) {\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(a) && _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(b)) {\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_2__(a).call(a, b);\n  }\n  return '' + a + b;\n}\nfunction equal(a, b) {\n  return a === b;\n}\nfunction notEqual(a, b) {\n  return a !== b;\n}\nfunction greaterThan(a, b) {\n  return a > b;\n}\nfunction lessThan(a, b) {\n  return a < b;\n}\nfunction greaterThanEqual(a, b) {\n  return a >= b;\n}\nfunction lessThanEqual(a, b) {\n  return a <= b;\n}\nfunction andOperator(a, b) {\n  return Boolean(a && b);\n}\nfunction orOperator(a, b) {\n  return Boolean(a || b);\n}\nfunction inOperator(a, b) {\n  return contains(b, a);\n}\nfunction sinh(a) {\n  return (Math.exp(a) - Math.exp(-a)) / 2;\n}\nfunction cosh(a) {\n  return (Math.exp(a) + Math.exp(-a)) / 2;\n}\nfunction tanh(a) {\n  if (a === Infinity) return 1;\n  if (a === -Infinity) return -1;\n  return (Math.exp(a) - Math.exp(-a)) / (Math.exp(a) + Math.exp(-a));\n}\nfunction asinh(a) {\n  if (a === -Infinity) return a;\n  return Math.log(a + Math.sqrt(a * a + 1));\n}\nfunction acosh(a) {\n  return Math.log(a + Math.sqrt(a * a - 1));\n}\nfunction atanh(a) {\n  return Math.log((1 + a) / (1 - a)) / 2;\n}\nfunction log10(a) {\n  return Math.log(a) * Math.LOG10E;\n}\nfunction neg(a) {\n  return -a;\n}\nfunction not(a) {\n  return !a;\n}\nfunction trunc(a) {\n  return a < 0 ? Math.ceil(a) : Math.floor(a);\n}\nfunction random(a) {\n  return Math.random() * (a || 1);\n}\nfunction factorial(a) {\n  // a!\n  return gamma(a + 1);\n}\nfunction isInteger(value) {\n  return isFinite(value) && value === Math.round(value);\n}\nvar GAMMA_G = 4.7421875;\nvar GAMMA_P = [0.99999999999999709182, 57.156235665862923517, -59.597960355475491248, 14.136097974741747174, -0.49191381609762019978, 0.33994649984811888699e-4, 0.46523628927048575665e-4, -0.98374475304879564677e-4, 0.15808870322491248884e-3, -0.21026444172410488319e-3, 0.21743961811521264320e-3, -0.16431810653676389022e-3, 0.84418223983852743293e-4, -0.26190838401581408670e-4, 0.36899182659531622704e-5];\n\n// Gamma function from math.js\nfunction gamma(n) {\n  var t, x;\n  if (isInteger(n)) {\n    if (n <= 0) {\n      return isFinite(n) ? Infinity : NaN;\n    }\n    if (n > 171) {\n      return Infinity; // Will overflow\n    }\n    var value = n - 2;\n    var res = n - 1;\n    while (value > 1) {\n      res *= value;\n      value--;\n    }\n    if (res === 0) {\n      res = 1; // 0! is per definition 1\n    }\n    return res;\n  }\n  if (n < 0.5) {\n    return Math.PI / (Math.sin(Math.PI * n) * gamma(1 - n));\n  }\n  if (n >= 171.35) {\n    return Infinity; // will overflow\n  }\n  if (n > 85.0) {\n    // Extended Stirling Approx\n    var twoN = n * n;\n    var threeN = twoN * n;\n    var fourN = threeN * n;\n    var fiveN = fourN * n;\n    return Math.sqrt(2 * Math.PI / n) * Math.pow(n / Math.E, n) * (1 + 1 / (12 * n) + 1 / (288 * twoN) - 139 / (51840 * threeN) - 571 / (2488320 * fourN) + 163879 / (209018880 * fiveN) + 5246819 / (75246796800 * fiveN * n));\n  }\n  --n;\n  x = GAMMA_P[0];\n  for (var i = 1; i < GAMMA_P.length; ++i) {\n    x += GAMMA_P[i] / (n + i);\n  }\n  t = n + GAMMA_G + 0.5;\n  return Math.sqrt(2 * Math.PI) * Math.pow(t, n + 0.5) * Math.exp(-t) * x;\n}\nfunction stringOrArrayLength(s) {\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(s)) {\n    return s.length;\n  }\n  return String(s).length;\n}\nfunction hypot() {\n  var sum = 0;\n  var larg = 0;\n  for (var i = 0; i < arguments.length; i++) {\n    var arg = Math.abs(arguments[i]);\n    var div;\n    if (larg < arg) {\n      div = larg / arg;\n      sum = sum * div * div + 1;\n      larg = arg;\n    } else if (arg > 0) {\n      div = arg / larg;\n      sum += div * div;\n    } else {\n      sum += arg;\n    }\n  }\n  return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n}\nfunction condition(cond, yep, nope) {\n  return cond ? yep : nope;\n}\n\n/**\n* Decimal adjustment of a number.\n* From @escopecz.\n*\n* @param {Number} value The number.\n* @param {Integer} exp  The exponent (the 10 logarithm of the adjustment base).\n* @return {Number} The adjusted value.\n*/\nfunction roundTo(value, exp) {\n  // If the exp is undefined or zero...\n  if (typeof exp === 'undefined' || +exp === 0) {\n    return Math.round(value);\n  }\n  value = +value;\n  exp = -+exp;\n  // If the value is not a number or the exp is not an integer...\n  if (isNaN(value) || !(typeof exp === 'number' && exp % 1 === 0)) {\n    return NaN;\n  }\n  // Shift\n  value = value.toString().split('e');\n  value = Math.round(+(value[0] + 'e' + (value[1] ? +value[1] - exp : -exp)));\n  // Shift back\n  value = value.toString().split('e');\n  return +(value[0] + 'e' + (value[1] ? +value[1] + exp : exp));\n}\nfunction setVar(name, value, variables) {\n  if (variables) variables[name] = value;\n  return value;\n}\nfunction arrayIndex(array, index) {\n  return array[index | 0];\n}\nfunction max(array) {\n  if (arguments.length === 1 && _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(array)) {\n    return Math.max.apply(Math, array);\n  } else {\n    return Math.max.apply(Math, arguments);\n  }\n}\nfunction min(array) {\n  if (arguments.length === 1 && _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(array)) {\n    return Math.min.apply(Math, array);\n  } else {\n    return Math.min.apply(Math, arguments);\n  }\n}\nfunction arrayMap(f, a) {\n  if (typeof f !== 'function') {\n    throw new Error('First argument to map is not a function');\n  }\n  if (!_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(a)) {\n    throw new Error('Second argument to map is not an array');\n  }\n  return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_3__(a).call(a, function (x, i) {\n    return f(x, i);\n  });\n}\nfunction arrayFold(f, init, a) {\n  if (typeof f !== 'function') {\n    throw new Error('First argument to fold is not a function');\n  }\n  if (!_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(a)) {\n    throw new Error('Second argument to fold is not an array');\n  }\n  return _babel_runtime_corejs3_core_js_stable_instance_reduce__WEBPACK_IMPORTED_MODULE_10__(a).call(a, function (acc, x, i) {\n    return f(acc, x, i);\n  }, init);\n}\nfunction arrayFilter(f, a) {\n  if (typeof f !== 'function') {\n    throw new Error('First argument to filter is not a function');\n  }\n  if (!_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(a)) {\n    throw new Error('Second argument to filter is not an array');\n  }\n  return _babel_runtime_corejs3_core_js_stable_instance_filter__WEBPACK_IMPORTED_MODULE_6__(a).call(a, function (x, i) {\n    return f(x, i);\n  });\n}\nfunction stringOrArrayIndexOf(target, s) {\n  if (!(_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(s) || typeof s === 'string')) {\n    throw new Error('Second argument to indexOf is not a string or array');\n  }\n  return _babel_runtime_corejs3_core_js_stable_instance_index_of__WEBPACK_IMPORTED_MODULE_7__(s).call(s, target);\n}\nfunction arrayJoin(sep, a) {\n  if (!_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_1__(a)) {\n    throw new Error('Second argument to join is not an array');\n  }\n  return a.join(sep);\n}\nfunction sign(x) {\n  return (x > 0) - (x < 0) || +x;\n}\nvar ONE_THIRD = 1 / 3;\nfunction cbrt(x) {\n  return x < 0 ? -Math.pow(-x, ONE_THIRD) : Math.pow(x, ONE_THIRD);\n}\nfunction expm1(x) {\n  return Math.exp(x) - 1;\n}\nfunction log1p(x) {\n  return Math.log(1 + x);\n}\nfunction log2(x) {\n  return Math.log(x) / Math.LN2;\n}\nfunction Parser(options) {\n  this.options = options || {};\n  this.unaryOps = {\n    sin: Math.sin,\n    cos: Math.cos,\n    tan: Math.tan,\n    asin: Math.asin,\n    acos: Math.acos,\n    atan: Math.atan,\n    sinh: _babel_runtime_corejs3_core_js_stable_math_sinh__WEBPACK_IMPORTED_MODULE_11__ || sinh,\n    cosh: _babel_runtime_corejs3_core_js_stable_math_cosh__WEBPACK_IMPORTED_MODULE_12__ || cosh,\n    tanh: _babel_runtime_corejs3_core_js_stable_math_tanh__WEBPACK_IMPORTED_MODULE_13__ || tanh,\n    asinh: _babel_runtime_corejs3_core_js_stable_math_asinh__WEBPACK_IMPORTED_MODULE_14__ || asinh,\n    acosh: _babel_runtime_corejs3_core_js_stable_math_acosh__WEBPACK_IMPORTED_MODULE_15__ || acosh,\n    atanh: _babel_runtime_corejs3_core_js_stable_math_atanh__WEBPACK_IMPORTED_MODULE_16__ || atanh,\n    sqrt: Math.sqrt,\n    cbrt: _babel_runtime_corejs3_core_js_stable_math_cbrt__WEBPACK_IMPORTED_MODULE_17__ || cbrt,\n    log: Math.log,\n    log2: _babel_runtime_corejs3_core_js_stable_math_log2__WEBPACK_IMPORTED_MODULE_18__ || log2,\n    ln: Math.log,\n    lg: _babel_runtime_corejs3_core_js_stable_math_log10__WEBPACK_IMPORTED_MODULE_19__ || log10,\n    log10: _babel_runtime_corejs3_core_js_stable_math_log10__WEBPACK_IMPORTED_MODULE_19__ || log10,\n    expm1: _babel_runtime_corejs3_core_js_stable_math_expm1__WEBPACK_IMPORTED_MODULE_20__ || expm1,\n    log1p: _babel_runtime_corejs3_core_js_stable_math_log1p__WEBPACK_IMPORTED_MODULE_21__ || log1p,\n    abs: Math.abs,\n    ceil: Math.ceil,\n    floor: Math.floor,\n    round: Math.round,\n    trunc: _babel_runtime_corejs3_core_js_stable_math_trunc__WEBPACK_IMPORTED_MODULE_22__ || trunc,\n    '-': neg,\n    '+': Number,\n    exp: Math.exp,\n    not: not,\n    length: stringOrArrayLength,\n    '!': factorial,\n    sign: _babel_runtime_corejs3_core_js_stable_math_sign__WEBPACK_IMPORTED_MODULE_23__ || sign\n  };\n  this.binaryOps = {\n    '+': add,\n    '-': sub,\n    '*': mul,\n    '/': div,\n    '%': mod,\n    '^': Math.pow,\n    '||': concat,\n    '==': equal,\n    '!=': notEqual,\n    '>': greaterThan,\n    '<': lessThan,\n    '>=': greaterThanEqual,\n    '<=': lessThanEqual,\n    and: andOperator,\n    or: orOperator,\n    'in': inOperator,\n    '=': setVar,\n    '[': arrayIndex\n  };\n  this.ternaryOps = {\n    '?': condition\n  };\n  this.functions = {\n    random: random,\n    fac: factorial,\n    min: min,\n    max: max,\n    hypot: _babel_runtime_corejs3_core_js_stable_math_hypot__WEBPACK_IMPORTED_MODULE_24__ || hypot,\n    pyt: _babel_runtime_corejs3_core_js_stable_math_hypot__WEBPACK_IMPORTED_MODULE_24__ || hypot,\n    // backward compat\n    pow: Math.pow,\n    atan2: Math.atan2,\n    'if': condition,\n    gamma: gamma,\n    roundTo: roundTo,\n    map: arrayMap,\n    fold: arrayFold,\n    filter: arrayFilter,\n    indexOf: stringOrArrayIndexOf,\n    join: arrayJoin\n  };\n  this.consts = {\n    E: Math.E,\n    PI: Math.PI,\n    'true': true,\n    'false': false\n  };\n}\nParser.prototype.parse = function (expr) {\n  var instr = [];\n  var parserState = new ParserState(this, new TokenStream(this, expr), {\n    allowMemberAccess: this.options.allowMemberAccess\n  });\n  parserState.parseExpression(instr);\n  parserState.expect(TEOF, 'EOF');\n  return new Expression(instr, this);\n};\nParser.prototype.evaluate = function (expr, variables) {\n  return this.parse(expr).evaluate(variables);\n};\nvar sharedParser = new Parser();\nParser.parse = function (expr) {\n  return sharedParser.parse(expr);\n};\nParser.evaluate = function (expr, variables) {\n  return sharedParser.parse(expr).evaluate(variables);\n};\nvar optionNameMap = {\n  '+': 'add',\n  '-': 'subtract',\n  '*': 'multiply',\n  '/': 'divide',\n  '%': 'remainder',\n  '^': 'power',\n  '!': 'factorial',\n  '<': 'comparison',\n  '>': 'comparison',\n  '<=': 'comparison',\n  '>=': 'comparison',\n  '==': 'comparison',\n  '!=': 'comparison',\n  '||': 'concatenate',\n  'and': 'logical',\n  'or': 'logical',\n  'not': 'logical',\n  '?': 'conditional',\n  ':': 'conditional',\n  '=': 'assignment',\n  '[': 'array',\n  '()=': 'fndef'\n};\nfunction getOptionName(op) {\n  return optionNameMap.hasOwnProperty(op) ? optionNameMap[op] : op;\n}\nParser.prototype.isOperatorEnabled = function (op) {\n  var optionName = getOptionName(op);\n  var operators = this.options.operators || {};\n  return !(optionName in operators) || !!operators[optionName];\n};\n\n/*!\n Based on ndef.parser, by Raphael Graf(r@undefined.ch)\n http://www.undefined.ch/mparser/index.html\n\n Ported to JavaScript and modified by Matthew Crumley (email@matthewcrumley.com, http://silentmatt.com/)\n\n You are free to use and modify this code in anyway you find useful. Please leave this comment in the code\n to acknowledge its original source. If you feel like it, I enjoy hearing about projects that use my code,\n but don't feel like you have to let me know or ask permission.\n*/\n\n// Backwards compatibility\nvar index = {\n  Parser: Parser,\n  Expression: Expression\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (index);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/expr-eval/dist/index.mjs?");

/***/ }),

/***/ 83789:
/*!***************************************************!*\
  !*** ../../node_modules/immer/dist/immer.esm.mjs ***!
  \***************************************************/
/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */   Immer: function() { return /* binding */ un; },\n/* harmony export */   applyPatches: function() { return /* binding */ pn; },\n/* harmony export */   castDraft: function() { return /* binding */ K; },\n/* harmony export */   castImmutable: function() { return /* binding */ $; },\n/* harmony export */   createDraft: function() { return /* binding */ ln; },\n/* harmony export */   current: function() { return /* binding */ R; },\n/* harmony export */   enableAllPlugins: function() { return /* binding */ J; },\n/* harmony export */   enableES5: function() { return /* binding */ F; },\n/* harmony export */   enableMapSet: function() { return /* binding */ C; },\n/* harmony export */   enablePatches: function() { return /* binding */ T; },\n/* harmony export */   finishDraft: function() { return /* binding */ dn; },\n/* harmony export */   freeze: function() { return /* binding */ d; },\n/* harmony export */   immerable: function() { return /* binding */ L; },\n/* harmony export */   isDraft: function() { return /* binding */ r; },\n/* harmony export */   isDraftable: function() { return /* binding */ t; },\n/* harmony export */   nothing: function() { return /* binding */ H; },\n/* harmony export */   original: function() { return /* binding */ e; },\n/* harmony export */   produce: function() { return /* binding */ fn; },\n/* harmony export */   produceWithPatches: function() { return /* binding */ cn; },\n/* harmony export */   setAutoFreeze: function() { return /* binding */ sn; },\n/* harmony export */   setUseProxies: function() { return /* binding */ vn; }\n/* harmony export */ });\n/* harmony import */ var _babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime-corejs3/helpers/typeof */ 58496);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/map */ 75984);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-prototype-of */ 57492);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/is-array */ 12388);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/for-each */ 7312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/keys */ 47976);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/map */ 88836);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/set */ 59312);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/slice */ 12640);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_create__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/create */ 26260);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_freeze__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/freeze */ 24560);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_is_frozen__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/is-frozen */ 69216);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/concat */ 81744);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor */ 55748);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/array/from */ 89843);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/json/stringify */ 39832);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/define-property */ 45040);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_entries__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/entries */ 64136);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/splice */ 11872);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/set-prototype-of */ 66196);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_keys__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/keys */ 75668);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/values */ 5848);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol */ 97440);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol_for__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol/for */ 31192);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_symbol_iterator__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/symbol/iterator */ 72600);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_own_keys__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/own-keys */ 62360);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols */ 39448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-names */ 27392);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors */ 54120);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/number/is-nan */ 28555);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_reflect_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/reflect/get-own-property-descriptor */ 25448);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/parse-int */ 97552);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/promise */ 2992);\n/* harmony import */ var _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! @babel/runtime-corejs3/core-js-stable/instance/bind */ 37152);\n\nvar _context20, _context21, _context22, _context23, _context24, _context25;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction n(n) {\n  for (var r = arguments.length, t = Array(r > 1 ? r - 1 : 0), e = 1; e < r; e++) t[e - 1] = arguments[e];\n  if (true) {\n    var i = Y[n],\n      o = i ? \"function\" == typeof i ? i.apply(null, t) : i : \"unknown error nr: \" + n;\n    throw Error(\"[Immer] \" + o);\n  }\n  throw Error(\"[Immer] minified error nr: \" + n + (t.length ? \" \" + _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__(t).call(t, function (n) {\n    return \"'\" + n + \"'\";\n  }).join(\",\") : \"\") + \". Find the full error at: https://bit.ly/3cXEKWf\");\n}\nfunction r(n) {\n  return !!n && !!n[Q];\n}\nfunction t(n) {\n  var r;\n  return !!n && (function (n) {\n    if (!n || \"object\" != (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(n)) return !1;\n    var r = _babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(n);\n    if (null === r) return !0;\n    var t = Object.hasOwnProperty.call(r, \"constructor\") && r.constructor;\n    return t === Object || \"function\" == typeof t && Function.toString.call(t) === Z;\n  }(n) || _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n) || !!n[L] || !!(null === (r = n.constructor) || void 0 === r ? void 0 : r[L]) || s(n) || v(n));\n}\nfunction e(t) {\n  return r(t) || n(23, t), t[Q].t;\n}\nfunction i(n, r, t) {\n  var _context;\n  void 0 === t && (t = !1), 0 === o(n) ? _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context = (t ? _babel_runtime_corejs3_core_js_stable_object_keys__WEBPACK_IMPORTED_MODULE_5__ : nn)(n)).call(_context, function (e) {\n    t && \"symbol\" == (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(e) || r(e, n[e], n);\n  }) : _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(n).call(n, function (t, e) {\n    return r(e, t, n);\n  });\n}\nfunction o(n) {\n  var r = n[Q];\n  return r ? r.i > 3 ? r.i - 4 : r.i : _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n) ? 1 : s(n) ? 2 : v(n) ? 3 : 0;\n}\nfunction u(n, r) {\n  return 2 === o(n) ? n.has(r) : Object.prototype.hasOwnProperty.call(n, r);\n}\nfunction a(n, r) {\n  return 2 === o(n) ? n.get(r) : n[r];\n}\nfunction f(n, r, t) {\n  var e = o(n);\n  2 === e ? n.set(r, t) : 3 === e ? n.add(t) : n[r] = t;\n}\nfunction c(n, r) {\n  return n === r ? 0 !== n || 1 / n == 1 / r : n != n && r != r;\n}\nfunction s(n) {\n  return X && n instanceof _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__;\n}\nfunction v(n) {\n  return q && n instanceof _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__;\n}\nfunction p(n) {\n  return n.o || n.t;\n}\nfunction l(n) {\n  if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n)) return _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__(Array.prototype).call(n);\n  var r = rn(n);\n  delete r[Q];\n  for (var t = nn(r), e = 0; e < t.length; e++) {\n    var i = t[e],\n      o = r[i];\n    !1 === o.writable && (o.writable = !0, o.configurable = !0), (o.get || o.set) && (r[i] = {\n      configurable: !0,\n      writable: !0,\n      enumerable: o.enumerable,\n      value: n[i]\n    });\n  }\n  return _babel_runtime_corejs3_core_js_stable_object_create__WEBPACK_IMPORTED_MODULE_9__(_babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(n), r);\n}\nfunction d(n, e) {\n  return void 0 === e && (e = !1), y(n) || r(n) || !t(n) || (o(n) > 1 && (n.set = n.add = n.clear = n.delete = h), _babel_runtime_corejs3_core_js_stable_object_freeze__WEBPACK_IMPORTED_MODULE_10__(n), e && i(n, function (n, r) {\n    return d(r, !0);\n  }, !0)), n;\n}\nfunction h() {\n  n(2);\n}\nfunction y(n) {\n  return null == n || \"object\" != (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(n) || _babel_runtime_corejs3_core_js_stable_object_is_frozen__WEBPACK_IMPORTED_MODULE_11__(n);\n}\nfunction b(r) {\n  var t = tn[r];\n  return t || n(18, r), t;\n}\nfunction m(n, r) {\n  tn[n] || (tn[n] = r);\n}\nfunction _() {\n  return  false || U || n(0), U;\n}\nfunction j(n, r) {\n  r && (b(\"Patches\"), n.u = [], n.s = [], n.v = r);\n}\nfunction g(n) {\n  var _context2;\n  O(n), _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context2 = n.p).call(_context2, S), n.p = null;\n}\nfunction O(n) {\n  n === U && (U = n.l);\n}\nfunction w(n) {\n  return U = {\n    p: [],\n    l: U,\n    h: n,\n    m: !0,\n    _: 0\n  };\n}\nfunction S(n) {\n  var r = n[Q];\n  0 === r.i || 1 === r.i ? r.j() : r.g = !0;\n}\nfunction P(r, e) {\n  e._ = e.p.length;\n  var i = e.p[0],\n    o = void 0 !== r && r !== i;\n  return e.h.O || b(\"ES5\").S(e, r, o), o ? (i[Q].P && (g(e), n(4)), t(r) && (r = M(e, r), e.l || x(e, r)), e.u && b(\"Patches\").M(i[Q].t, r, e.u, e.s)) : r = M(e, i, []), g(e), e.u && e.v(e.u, e.s), r !== H ? r : void 0;\n}\nfunction M(n, r, t) {\n  if (y(r)) return r;\n  var e = r[Q];\n  if (!e) return i(r, function (i, o) {\n    return A(n, e, r, i, o, t);\n  }, !0), r;\n  if (e.A !== n) return r;\n  if (!e.P) return x(n, e.t, !0), e.t;\n  if (!e.I) {\n    e.I = !0, e.A._--;\n    var o = 4 === e.i || 5 === e.i ? e.o = l(e.k) : e.o,\n      u = o,\n      a = !1;\n    3 === e.i && (u = new _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__(o), o.clear(), a = !0), i(u, function (r, i) {\n      return A(n, e, o, r, i, t, a);\n    }), x(n, o, !1), t && n.u && b(\"Patches\").N(e, t, n.u, n.s);\n  }\n  return e.o;\n}\nfunction A(e, i, o, a, c, s, v) {\n  if ( true && c === o && n(5), r(c)) {\n    var p = M(e, c, s && i && 3 !== i.i && !u(i.R, a) ? _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(s).call(s, a) : void 0);\n    if (f(o, a, p), !r(p)) return;\n    e.m = !1;\n  } else v && o.add(c);\n  if (t(c) && !y(c)) {\n    if (!e.h.D && e._ < 1) return;\n    M(e, c), i && i.A.l || x(e, c);\n  }\n}\nfunction x(n, r, t) {\n  void 0 === t && (t = !1), !n.l && n.h.D && n.m && d(r, t);\n}\nfunction z(n, r) {\n  var t = n[Q];\n  return (t ? p(t) : n)[r];\n}\nfunction I(n, r) {\n  if (r in n) for (var t = _babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(n); t;) {\n    var e = _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_13__(t, r);\n    if (e) return e;\n    t = _babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(t);\n  }\n}\nfunction k(n) {\n  n.P || (n.P = !0, n.l && k(n.l));\n}\nfunction E(n) {\n  n.o || (n.o = l(n.t));\n}\nfunction N(n, r, t) {\n  var e = s(r) ? b(\"MapSet\").F(r, t) : v(r) ? b(\"MapSet\").T(r, t) : n.O ? function (n, r) {\n    var t = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n),\n      e = {\n        i: t ? 1 : 0,\n        A: r ? r.A : _(),\n        P: !1,\n        I: !1,\n        R: {},\n        l: r,\n        t: n,\n        k: null,\n        o: null,\n        j: null,\n        C: !1\n      },\n      i = e,\n      o = en;\n    t && (i = [e], o = on);\n    var u = Proxy.revocable(i, o),\n      a = u.revoke,\n      f = u.proxy;\n    return e.k = f, e.j = a, f;\n  }(r, t) : b(\"ES5\").J(r, t);\n  return (t ? t.A : _()).p.push(e), e;\n}\nfunction R(e) {\n  return r(e) || n(22, e), function n(r) {\n    if (!t(r)) return r;\n    var e,\n      u = r[Q],\n      c = o(r);\n    if (u) {\n      if (!u.P && (u.i < 4 || !b(\"ES5\").K(u))) return u.t;\n      u.I = !0, e = D(r, c), u.I = !1;\n    } else e = D(r, c);\n    return i(e, function (r, t) {\n      u && a(u.t, r) === t || f(e, r, n(t));\n    }), 3 === c ? new _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__(e) : e;\n  }(e);\n}\nfunction D(n, r) {\n  switch (r) {\n    case 2:\n      return new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(n);\n    case 3:\n      return _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_14__(n);\n  }\n  return l(n);\n}\nfunction F() {\n  function t(n, r) {\n    var t = s[n];\n    return t ? t.enumerable = r : s[n] = t = {\n      configurable: !0,\n      enumerable: r,\n      get: function get() {\n        var r = this[Q];\n        return  true && f(r), en.get(r, n);\n      },\n      set: function set(r) {\n        var t = this[Q];\n         true && f(t), en.set(t, n, r);\n      }\n    }, t;\n  }\n  function e(n) {\n    for (var r = n.length - 1; r >= 0; r--) {\n      var t = n[r][Q];\n      if (!t.P) switch (t.i) {\n        case 5:\n          a(t) && k(t);\n          break;\n        case 4:\n          o(t) && k(t);\n      }\n    }\n  }\n  function o(n) {\n    for (var r = n.t, t = n.k, e = nn(t), i = e.length - 1; i >= 0; i--) {\n      var o = e[i];\n      if (o !== Q) {\n        var a = r[o];\n        if (void 0 === a && !u(r, o)) return !0;\n        var f = t[o],\n          s = f && f[Q];\n        if (s ? s.t !== a : !c(f, a)) return !0;\n      }\n    }\n    var v = !!r[Q];\n    return e.length !== nn(r).length + (v ? 0 : 1);\n  }\n  function a(n) {\n    var r = n.k;\n    if (r.length !== n.t.length) return !0;\n    var t = _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_13__(r, r.length - 1);\n    if (t && !t.get) return !0;\n    for (var e = 0; e < r.length; e++) if (!r.hasOwnProperty(e)) return !0;\n    return !1;\n  }\n  function f(r) {\n    r.g && n(3, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_15__(p(r)));\n  }\n  var s = {};\n  m(\"ES5\", {\n    J: function J(n, r) {\n      var e = _babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n),\n        i = function (n, r) {\n          if (n) {\n            for (var e = Array(r.length), i = 0; i < r.length; i++) _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__(e, \"\" + i, t(i, !0));\n            return e;\n          }\n          var o = rn(r);\n          delete o[Q];\n          for (var u = nn(o), a = 0; a < u.length; a++) {\n            var f = u[a];\n            o[f] = t(f, n || !!o[f].enumerable);\n          }\n          return _babel_runtime_corejs3_core_js_stable_object_create__WEBPACK_IMPORTED_MODULE_9__(_babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(r), o);\n        }(e, n),\n        o = {\n          i: e ? 5 : 4,\n          A: r ? r.A : _(),\n          P: !1,\n          I: !1,\n          R: {},\n          l: r,\n          t: n,\n          k: i,\n          o: null,\n          g: !1,\n          C: !1\n        };\n      return _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__(i, Q, {\n        value: o,\n        writable: !0\n      }), i;\n    },\n    S: function S(n, t, o) {\n      o ? r(t) && t[Q].A === n && e(n.p) : (n.u && function n(r) {\n        if (r && \"object\" == (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r)) {\n          var t = r[Q];\n          if (t) {\n            var e = t.t,\n              o = t.k,\n              f = t.R,\n              c = t.i;\n            if (4 === c) i(o, function (r) {\n              r !== Q && (void 0 !== e[r] || u(e, r) ? f[r] || n(o[r]) : (f[r] = !0, k(t)));\n            }), i(e, function (n) {\n              void 0 !== o[n] || u(o, n) || (f[n] = !1, k(t));\n            });else if (5 === c) {\n              if (a(t) && (k(t), f.length = !0), o.length < e.length) for (var s = o.length; s < e.length; s++) f[s] = !1;else for (var v = e.length; v < o.length; v++) f[v] = !0;\n              for (var p = Math.min(o.length, e.length), l = 0; l < p; l++) o.hasOwnProperty(l) || (f[l] = !0), void 0 === f[l] && n(o[l]);\n            }\n          }\n        }\n      }(n.p[0]), e(n.p));\n    },\n    K: function K(n) {\n      return 4 === n.i ? o(n) : a(n);\n    }\n  });\n}\nfunction T() {\n  function e(n) {\n    var _context3, _context4;\n    if (!t(n)) return n;\n    if (_babel_runtime_corejs3_core_js_stable_array_is_array__WEBPACK_IMPORTED_MODULE_3__(n)) return _babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__(n).call(n, e);\n    if (s(n)) return new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__(_context3 = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_14__(_babel_runtime_corejs3_core_js_stable_instance_entries__WEBPACK_IMPORTED_MODULE_17__(n).call(n))).call(_context3, function (n) {\n      return [n[0], e(n[1])];\n    }));\n    if (v(n)) return new _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__(_babel_runtime_corejs3_core_js_stable_instance_map__WEBPACK_IMPORTED_MODULE_1__(_context4 = _babel_runtime_corejs3_core_js_stable_array_from__WEBPACK_IMPORTED_MODULE_14__(n)).call(_context4, e));\n    var r = _babel_runtime_corejs3_core_js_stable_object_create__WEBPACK_IMPORTED_MODULE_9__(_babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(n));\n    for (var i in n) r[i] = e(n[i]);\n    return u(n, L) && (r[L] = n[L]), r;\n  }\n  function f(n) {\n    return r(n) ? e(n) : n;\n  }\n  var c = \"add\";\n  m(\"Patches\", {\n    $: function $(r, t) {\n      return _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(t).call(t, function (t) {\n        for (var i = t.path, u = t.op, f = r, s = 0; s < i.length - 1; s++) {\n          var v = o(f),\n            p = i[s];\n          \"string\" != typeof p && \"number\" != typeof p && (p = \"\" + p), 0 !== v && 1 !== v || \"__proto__\" !== p && \"constructor\" !== p || n(24), \"function\" == typeof f && \"prototype\" === p && n(24), \"object\" != (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(f = a(f, p)) && n(15, i.join(\"/\"));\n        }\n        var l = o(f),\n          d = e(t.value),\n          h = i[i.length - 1];\n        switch (u) {\n          case \"replace\":\n            switch (l) {\n              case 2:\n                return f.set(h, d);\n              case 3:\n                n(16);\n              default:\n                return f[h] = d;\n            }\n          case c:\n            switch (l) {\n              case 1:\n                return \"-\" === h ? f.push(d) : _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_18__(f).call(f, h, 0, d);\n              case 2:\n                return f.set(h, d);\n              case 3:\n                return f.add(d);\n              default:\n                return f[h] = d;\n            }\n          case \"remove\":\n            switch (l) {\n              case 1:\n                return _babel_runtime_corejs3_core_js_stable_instance_splice__WEBPACK_IMPORTED_MODULE_18__(f).call(f, h, 1);\n              case 2:\n                return f.delete(h);\n              case 3:\n                return f.delete(t.value);\n              default:\n                return delete f[h];\n            }\n          default:\n            n(17, u);\n        }\n      }), r;\n    },\n    N: function N(n, r, t, e) {\n      switch (n.i) {\n        case 0:\n        case 4:\n        case 2:\n          return function (n, r, t, e) {\n            var o = n.t,\n              s = n.o;\n            i(n.R, function (n, i) {\n              var v = a(o, n),\n                p = a(s, n),\n                l = i ? u(o, n) ? \"replace\" : c : \"remove\";\n              if (v !== p || \"replace\" !== l) {\n                var d = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, n);\n                t.push(\"remove\" === l ? {\n                  op: l,\n                  path: d\n                } : {\n                  op: l,\n                  path: d,\n                  value: p\n                }), e.push(l === c ? {\n                  op: \"remove\",\n                  path: d\n                } : \"remove\" === l ? {\n                  op: c,\n                  path: d,\n                  value: f(v)\n                } : {\n                  op: \"replace\",\n                  path: d,\n                  value: f(v)\n                });\n              }\n            });\n          }(n, r, t, e);\n        case 5:\n        case 1:\n          return function (n, r, t, e) {\n            var i = n.t,\n              o = n.R,\n              u = n.o;\n            if (u.length < i.length) {\n              var a = [u, i];\n              i = a[0], u = a[1];\n              var s = [e, t];\n              t = s[0], e = s[1];\n            }\n            for (var v = 0; v < i.length; v++) if (o[v] && u[v] !== i[v]) {\n              var p = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, [v]);\n              t.push({\n                op: \"replace\",\n                path: p,\n                value: f(u[v])\n              }), e.push({\n                op: \"replace\",\n                path: p,\n                value: f(i[v])\n              });\n            }\n            for (var l = i.length; l < u.length; l++) {\n              var d = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, [l]);\n              t.push({\n                op: c,\n                path: d,\n                value: f(u[l])\n              });\n            }\n            i.length < u.length && e.push({\n              op: \"replace\",\n              path: _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, [\"length\"]),\n              value: i.length\n            });\n          }(n, r, t, e);\n        case 3:\n          return function (n, r, t, e) {\n            var i = n.t,\n              o = n.o,\n              u = 0;\n            _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(i).call(i, function (n) {\n              if (!o.has(n)) {\n                var i = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, [u]);\n                t.push({\n                  op: \"remove\",\n                  path: i,\n                  value: n\n                }), e.unshift({\n                  op: c,\n                  path: i,\n                  value: n\n                });\n              }\n              u++;\n            }), u = 0, _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(o).call(o, function (n) {\n              if (!i.has(n)) {\n                var o = _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(r).call(r, [u]);\n                t.push({\n                  op: c,\n                  path: o,\n                  value: n\n                }), e.unshift({\n                  op: \"remove\",\n                  path: o,\n                  value: n\n                });\n              }\n              u++;\n            });\n          }(n, r, t, e);\n      }\n    },\n    M: function M(n, r, t, e) {\n      t.push({\n        op: \"replace\",\n        path: [],\n        value: r === H ? void 0 : r\n      }), e.push({\n        op: \"replace\",\n        path: [],\n        value: n\n      });\n    }\n  });\n}\nfunction C() {\n  function r(n, r) {\n    function t() {\n      this.constructor = n;\n    }\n    _a(n, r), n.prototype = (t.prototype = r.prototype, new t());\n  }\n  function e(n) {\n    n.o || (n.R = new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(), n.o = new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(n.t));\n  }\n  function o(n) {\n    var _context5;\n    n.o || (n.o = new _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__(), _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context5 = n.t).call(_context5, function (r) {\n      if (t(r)) {\n        var e = N(n.A.h, r, n);\n        n.p.set(r, e), n.o.add(e);\n      } else n.o.add(r);\n    }));\n  }\n  function u(r) {\n    r.g && n(3, _babel_runtime_corejs3_core_js_stable_json_stringify__WEBPACK_IMPORTED_MODULE_15__(p(r)));\n  }\n  var _a = function a(n, r) {\n      return (_a = _babel_runtime_corejs3_core_js_stable_object_set_prototype_of__WEBPACK_IMPORTED_MODULE_19__ || {\n        __proto__: []\n      } instanceof Array && function (n, r) {\n        n.__proto__ = r;\n      } || function (n, r) {\n        for (var t in r) r.hasOwnProperty(t) && (n[t] = r[t]);\n      })(n, r);\n    },\n    f = function () {\n      function n(n, r) {\n        return this[Q] = {\n          i: 2,\n          l: r,\n          A: r ? r.A : _(),\n          P: !1,\n          I: !1,\n          o: void 0,\n          R: void 0,\n          t: n,\n          k: this,\n          C: !1,\n          g: !1\n        }, this;\n      }\n      r(n, _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__);\n      var o = n.prototype;\n      return _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__(o, \"size\", {\n        get: function get() {\n          return p(this[Q]).size;\n        }\n      }), o.has = function (n) {\n        return p(this[Q]).has(n);\n      }, o.set = function (n, r) {\n        var t = this[Q];\n        return u(t), p(t).has(n) && p(t).get(n) === r || (e(t), k(t), t.R.set(n, !0), t.o.set(n, r), t.R.set(n, !0)), this;\n      }, o.delete = function (n) {\n        if (!this.has(n)) return !1;\n        var r = this[Q];\n        return u(r), e(r), k(r), r.t.has(n) ? r.R.set(n, !1) : r.R.delete(n), r.o.delete(n), !0;\n      }, o.clear = function () {\n        var n = this[Q];\n        u(n), p(n).size && (e(n), k(n), n.R = new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(), i(n.t, function (r) {\n          n.R.set(r, !1);\n        }), n.o.clear());\n      }, o.forEach = function (n, r) {\n        var _context6;\n        var t = this;\n        _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context6 = p(this[Q])).call(_context6, function (e, i) {\n          n.call(r, t.get(i), i, t);\n        });\n      }, o.get = function (n) {\n        var r = this[Q];\n        u(r);\n        var i = p(r).get(n);\n        if (r.I || !t(i)) return i;\n        if (i !== r.t.get(n)) return i;\n        var o = N(r.A.h, i, r);\n        return e(r), r.o.set(n, o), o;\n      }, o.keys = function () {\n        var _context7;\n        return _babel_runtime_corejs3_core_js_stable_instance_keys__WEBPACK_IMPORTED_MODULE_20__(_context7 = p(this[Q])).call(_context7);\n      }, o.values = function () {\n        var _context8;\n        var n,\n          r = this,\n          t = _babel_runtime_corejs3_core_js_stable_instance_keys__WEBPACK_IMPORTED_MODULE_20__(_context8 = this).call(_context8);\n        return (n = {})[V] = function () {\n          return _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__(r).call(r);\n        }, n.next = function () {\n          var n = t.next();\n          return n.done ? n : {\n            done: !1,\n            value: r.get(n.value)\n          };\n        }, n;\n      }, o.entries = function () {\n        var _context9;\n        var n,\n          r = this,\n          t = _babel_runtime_corejs3_core_js_stable_instance_keys__WEBPACK_IMPORTED_MODULE_20__(_context9 = this).call(_context9);\n        return (n = {})[V] = function () {\n          return _babel_runtime_corejs3_core_js_stable_instance_entries__WEBPACK_IMPORTED_MODULE_17__(r).call(r);\n        }, n.next = function () {\n          var n = t.next();\n          if (n.done) return n;\n          var e = r.get(n.value);\n          return {\n            done: !1,\n            value: [n.value, e]\n          };\n        }, n;\n      }, o[V] = function () {\n        var _context10;\n        return _babel_runtime_corejs3_core_js_stable_instance_entries__WEBPACK_IMPORTED_MODULE_17__(_context10 = this).call(_context10);\n      }, n;\n    }(),\n    c = function () {\n      function n(n, r) {\n        return this[Q] = {\n          i: 3,\n          l: r,\n          A: r ? r.A : _(),\n          P: !1,\n          I: !1,\n          o: void 0,\n          t: n,\n          k: this,\n          p: new _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__(),\n          g: !1,\n          C: !1\n        }, this;\n      }\n      r(n, _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__);\n      var t = n.prototype;\n      return _babel_runtime_corejs3_core_js_stable_object_define_property__WEBPACK_IMPORTED_MODULE_16__(t, \"size\", {\n        get: function get() {\n          return p(this[Q]).size;\n        }\n      }), t.has = function (n) {\n        var r = this[Q];\n        return u(r), r.o ? !!r.o.has(n) || !(!r.p.has(n) || !r.o.has(r.p.get(n))) : r.t.has(n);\n      }, t.add = function (n) {\n        var r = this[Q];\n        return u(r), this.has(n) || (o(r), k(r), r.o.add(n)), this;\n      }, t.delete = function (n) {\n        if (!this.has(n)) return !1;\n        var r = this[Q];\n        return u(r), o(r), k(r), r.o.delete(n) || !!r.p.has(n) && r.o.delete(r.p.get(n));\n      }, t.clear = function () {\n        var n = this[Q];\n        u(n), p(n).size && (o(n), k(n), n.o.clear());\n      }, t.values = function () {\n        var _context11;\n        var n = this[Q];\n        return u(n), o(n), _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__(_context11 = n.o).call(_context11);\n      }, t.entries = function () {\n        var _context12;\n        var n = this[Q];\n        return u(n), o(n), _babel_runtime_corejs3_core_js_stable_instance_entries__WEBPACK_IMPORTED_MODULE_17__(_context12 = n.o).call(_context12);\n      }, t.keys = function () {\n        var _context13;\n        return _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__(_context13 = this).call(_context13);\n      }, t[V] = function () {\n        var _context14;\n        return _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__(_context14 = this).call(_context14);\n      }, t.forEach = function (n, r) {\n        for (var t = _babel_runtime_corejs3_core_js_stable_instance_values__WEBPACK_IMPORTED_MODULE_21__(_context15 = this).call(_context15), e = t.next(); !e.done;) {\n          var _context15;\n          n.call(r, e.value, e.value, this), e = t.next();\n        }\n      }, n;\n    }();\n  m(\"MapSet\", {\n    F: function F(n, r) {\n      return new f(n, r);\n    },\n    T: function T(n, r) {\n      return new c(n, r);\n    }\n  });\n}\nfunction J() {\n  F(), C(), T();\n}\nfunction K(n) {\n  return n;\n}\nfunction $(n) {\n  return n;\n}\nvar G,\n  U,\n  W = \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_22__ && \"symbol\" == (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(_babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_22__(\"x\")),\n  X = \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_map__WEBPACK_IMPORTED_MODULE_6__,\n  q = \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_set__WEBPACK_IMPORTED_MODULE_7__,\n  B = \"undefined\" != typeof Proxy && void 0 !== Proxy.revocable && \"undefined\" != typeof Reflect,\n  H = W ? _babel_runtime_corejs3_core_js_stable_symbol_for__WEBPACK_IMPORTED_MODULE_23__(\"immer-nothing\") : ((G = {})[\"immer-nothing\"] = !0, G),\n  L = W ? _babel_runtime_corejs3_core_js_stable_symbol_for__WEBPACK_IMPORTED_MODULE_23__(\"immer-draftable\") : \"__$immer_draftable\",\n  Q = W ? _babel_runtime_corejs3_core_js_stable_symbol_for__WEBPACK_IMPORTED_MODULE_23__(\"immer-state\") : \"__$immer_state\",\n  V = \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_symbol__WEBPACK_IMPORTED_MODULE_22__ && _babel_runtime_corejs3_core_js_stable_symbol_iterator__WEBPACK_IMPORTED_MODULE_24__ || \"@@iterator\",\n  Y = {\n    0: \"Illegal state\",\n    1: \"Immer drafts cannot have computed properties\",\n    2: \"This object has been frozen and should not be mutated\",\n    3: function _(n) {\n      return \"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? \" + n;\n    },\n    4: \"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.\",\n    5: \"Immer forbids circular references\",\n    6: \"The first or second argument to `produce` must be a function\",\n    7: \"The third argument to `produce` must be a function or undefined\",\n    8: \"First argument to `createDraft` must be a plain object, an array, or an immerable object\",\n    9: \"First argument to `finishDraft` must be a draft returned by `createDraft`\",\n    10: \"The given draft is already finalized\",\n    11: \"Object.defineProperty() cannot be used on an Immer draft\",\n    12: \"Object.setPrototypeOf() cannot be used on an Immer draft\",\n    13: \"Immer only supports deleting array indices\",\n    14: \"Immer only supports setting array indices and the 'length' property\",\n    15: function _(n) {\n      return \"Cannot apply patch, path doesn't resolve: \" + n;\n    },\n    16: 'Sets cannot have \"replace\" patches.',\n    17: function _(n) {\n      return \"Unsupported patch operation: \" + n;\n    },\n    18: function _(n) {\n      return \"The plugin for '\" + n + \"' has not been loaded into Immer. To enable the plugin, import and call `enable\" + n + \"()` when initializing your application.\";\n    },\n    20: \"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available\",\n    21: function _(n) {\n      return \"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '\" + n + \"'\";\n    },\n    22: function _(n) {\n      return \"'current' expects a draft, got: \" + n;\n    },\n    23: function _(n) {\n      return \"'original' expects a draft, got: \" + n;\n    },\n    24: \"Patching reserved attributes like __proto__, prototype and constructor is not allowed\"\n  },\n  Z = \"\" + Object.prototype.constructor,\n  nn = \"undefined\" != typeof Reflect && _babel_runtime_corejs3_core_js_stable_reflect_own_keys__WEBPACK_IMPORTED_MODULE_25__ ? _babel_runtime_corejs3_core_js_stable_reflect_own_keys__WEBPACK_IMPORTED_MODULE_25__ : void 0 !== _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_26__ ? function (n) {\n    var _context16;\n    return _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(_context16 = _babel_runtime_corejs3_core_js_stable_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_27__(n)).call(_context16, _babel_runtime_corejs3_core_js_stable_object_get_own_property_symbols__WEBPACK_IMPORTED_MODULE_26__(n));\n  } : _babel_runtime_corejs3_core_js_stable_object_get_own_property_names__WEBPACK_IMPORTED_MODULE_27__,\n  rn = _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptors__WEBPACK_IMPORTED_MODULE_28__ || function (n) {\n    var _context17;\n    var r = {};\n    return _babel_runtime_corejs3_core_js_stable_instance_for_each__WEBPACK_IMPORTED_MODULE_4__(_context17 = nn(n)).call(_context17, function (t) {\n      r[t] = _babel_runtime_corejs3_core_js_stable_object_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_13__(n, t);\n    }), r;\n  },\n  tn = {},\n  en = {\n    get: function get(n, r) {\n      if (r === Q) return n;\n      var e = p(n);\n      if (!u(e, r)) return function (n, r, t) {\n        var e,\n          i = I(r, t);\n        return i ? \"value\" in i ? i.value : null === (e = i.get) || void 0 === e ? void 0 : e.call(n.k) : void 0;\n      }(n, e, r);\n      var i = e[r];\n      return n.I || !t(i) ? i : i === z(n.t, r) ? (E(n), n.o[r] = N(n.A.h, i, n)) : i;\n    },\n    has: function has(n, r) {\n      return r in p(n);\n    },\n    ownKeys: function ownKeys(n) {\n      return _babel_runtime_corejs3_core_js_stable_reflect_own_keys__WEBPACK_IMPORTED_MODULE_25__(p(n));\n    },\n    set: function set(n, r, t) {\n      var e = I(p(n), r);\n      if (null == e ? void 0 : e.set) return e.set.call(n.k, t), !0;\n      if (!n.P) {\n        var i = z(p(n), r),\n          o = null == i ? void 0 : i[Q];\n        if (o && o.t === t) return n.o[r] = t, n.R[r] = !1, !0;\n        if (c(t, i) && (void 0 !== t || u(n.t, r))) return !0;\n        E(n), k(n);\n      }\n      return n.o[r] === t && (void 0 !== t || r in n.o) || _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_29__(t) && _babel_runtime_corejs3_core_js_stable_number_is_nan__WEBPACK_IMPORTED_MODULE_29__(n.o[r]) || (n.o[r] = t, n.R[r] = !0), !0;\n    },\n    deleteProperty: function deleteProperty(n, r) {\n      return void 0 !== z(n.t, r) || r in n.t ? (n.R[r] = !1, E(n), k(n)) : delete n.R[r], n.o && delete n.o[r], !0;\n    },\n    getOwnPropertyDescriptor: function getOwnPropertyDescriptor(n, r) {\n      var t = p(n),\n        e = _babel_runtime_corejs3_core_js_stable_reflect_get_own_property_descriptor__WEBPACK_IMPORTED_MODULE_30__(t, r);\n      return e ? {\n        writable: !0,\n        configurable: 1 !== n.i || \"length\" !== r,\n        enumerable: e.enumerable,\n        value: t[r]\n      } : e;\n    },\n    defineProperty: function defineProperty() {\n      n(11);\n    },\n    getPrototypeOf: function getPrototypeOf(n) {\n      return _babel_runtime_corejs3_core_js_stable_object_get_prototype_of__WEBPACK_IMPORTED_MODULE_2__(n.t);\n    },\n    setPrototypeOf: function setPrototypeOf() {\n      n(12);\n    }\n  },\n  on = {};\ni(en, function (n, r) {\n  on[n] = function () {\n    return arguments[0] = arguments[0][0], r.apply(this, arguments);\n  };\n}), on.deleteProperty = function (r, t) {\n  return  true && isNaN(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_31__(t)) && n(13), on.set.call(this, r, t, void 0);\n}, on.set = function (r, t, e) {\n  return  true && \"length\" !== t && isNaN(_babel_runtime_corejs3_core_js_stable_parse_int__WEBPACK_IMPORTED_MODULE_31__(t)) && n(14), en.set.call(this, r[0], t, e, r[0]);\n};\nvar un = function () {\n    function e(r) {\n      var e = this;\n      this.O = B, this.D = !0, this.produce = function (r, i, o) {\n        if (\"function\" == typeof r && \"function\" != typeof i) {\n          var u = i;\n          i = r;\n          var a = e;\n          return function (n) {\n            var r = this;\n            void 0 === n && (n = u);\n            for (var t = arguments.length, e = Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++) e[o - 1] = arguments[o];\n            return a.produce(n, function (n) {\n              var _context18;\n              var t;\n              return (t = i).call.apply(t, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(_context18 = [r, n]).call(_context18, e));\n            });\n          };\n        }\n        var f;\n        if (\"function\" != typeof i && n(6), void 0 !== o && \"function\" != typeof o && n(7), t(r)) {\n          var c = w(e),\n            s = N(e, r, void 0),\n            v = !0;\n          try {\n            f = i(s), v = !1;\n          } finally {\n            v ? g(c) : O(c);\n          }\n          return \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_32__ && f instanceof _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_32__ ? f.then(function (n) {\n            return j(c, o), P(n, c);\n          }, function (n) {\n            throw g(c), n;\n          }) : (j(c, o), P(f, c));\n        }\n        if (!r || \"object\" != (0,_babel_runtime_corejs3_helpers_typeof__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(r)) {\n          if (void 0 === (f = i(r)) && (f = r), f === H && (f = void 0), e.D && d(f, !0), o) {\n            var p = [],\n              l = [];\n            b(\"Patches\").M(r, f, p, l), o(p, l);\n          }\n          return f;\n        }\n        n(21, r);\n      }, this.produceWithPatches = function (n, r) {\n        if (\"function\" == typeof n) return function (r) {\n          for (var t = arguments.length, i = Array(t > 1 ? t - 1 : 0), o = 1; o < t; o++) i[o - 1] = arguments[o];\n          return e.produceWithPatches(r, function (r) {\n            var _context19;\n            return n.apply(void 0, _babel_runtime_corejs3_core_js_stable_instance_concat__WEBPACK_IMPORTED_MODULE_12__(_context19 = [r]).call(_context19, i));\n          });\n        };\n        var t,\n          i,\n          o = e.produce(n, r, function (n, r) {\n            t = n, i = r;\n          });\n        return \"undefined\" != typeof _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_32__ && o instanceof _babel_runtime_corejs3_core_js_stable_promise__WEBPACK_IMPORTED_MODULE_32__ ? o.then(function (n) {\n          return [n, t, i];\n        }) : [o, t, i];\n      }, \"boolean\" == typeof (null == r ? void 0 : r.useProxies) && this.setUseProxies(r.useProxies), \"boolean\" == typeof (null == r ? void 0 : r.autoFreeze) && this.setAutoFreeze(r.autoFreeze);\n    }\n    var i = e.prototype;\n    return i.createDraft = function (e) {\n      t(e) || n(8), r(e) && (e = R(e));\n      var i = w(this),\n        o = N(this, e, void 0);\n      return o[Q].C = !0, O(i), o;\n    }, i.finishDraft = function (r, t) {\n      var e = r && r[Q];\n       true && (e && e.C || n(9), e.I && n(10));\n      var i = e.A;\n      return j(i, t), P(void 0, i);\n    }, i.setAutoFreeze = function (n) {\n      this.D = n;\n    }, i.setUseProxies = function (r) {\n      r && !B && n(20), this.O = r;\n    }, i.applyPatches = function (n, t) {\n      var e;\n      for (e = t.length - 1; e >= 0; e--) {\n        var i = t[e];\n        if (0 === i.path.length && \"replace\" === i.op) {\n          n = i.value;\n          break;\n        }\n      }\n      e > -1 && (t = _babel_runtime_corejs3_core_js_stable_instance_slice__WEBPACK_IMPORTED_MODULE_8__(t).call(t, e + 1));\n      var o = b(\"Patches\").$;\n      return r(n) ? o(n, t) : this.produce(n, function (n) {\n        return o(n, t);\n      });\n    }, e;\n  }(),\n  an = new un(),\n  fn = an.produce,\n  cn = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context20 = an.produceWithPatches).call(_context20, an),\n  sn = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context21 = an.setAutoFreeze).call(_context21, an),\n  vn = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context22 = an.setUseProxies).call(_context22, an),\n  pn = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context23 = an.applyPatches).call(_context23, an),\n  ln = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context24 = an.createDraft).call(_context24, an),\n  dn = _babel_runtime_corejs3_core_js_stable_instance_bind__WEBPACK_IMPORTED_MODULE_33__(_context25 = an.finishDraft).call(_context25, an);\n/* harmony default export */ __webpack_exports__[\"default\"] = (fn);\n\n\n//# sourceURL=webpack://entity-designer/../../node_modules/immer/dist/immer.esm.mjs?");

/***/ })

/******/ 	});
/************************************************************************/
/******/ 	// 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] = {
/******/ 			id: moduleId,
/******/ 			loaded: false,
/******/ 			exports: {}
/******/ 		};
/******/ 	
/******/ 		// Execute the module function
/******/ 		__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ 	
/******/ 		// Flag the module as loaded
/******/ 		module.loaded = true;
/******/ 	
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/ 	
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = __webpack_modules__;
/******/ 	
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = __webpack_module_cache__;
/******/ 	
/************************************************************************/
/******/ 	/* 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/ensure chunk */
/******/ 	!function() {
/******/ 		__webpack_require__.f = {};
/******/ 		// This file contains only the entry chunk.
/******/ 		// The chunk loading function for additional chunks
/******/ 		__webpack_require__.e = function(chunkId) {
/******/ 			return Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {
/******/ 				__webpack_require__.f[key](chunkId, promises);
/******/ 				return promises;
/******/ 			}, []));
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/get javascript chunk filename */
/******/ 	!function() {
/******/ 		// This function allow to reference async chunks
/******/ 		__webpack_require__.u = function(chunkId) {
/******/ 			// return url for filenames based on template
/******/ 			return "js/" + ({"74":"common-vendor","120":"react-vendor","160":"react-color-vendor","636":"kdesign-vender","907":"react-dom-vendor"}[chunkId] || chunkId) + ".dev.js";
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/global */
/******/ 	!function() {
/******/ 		__webpack_require__.g = (function() {
/******/ 			if (typeof globalThis === 'object') return globalThis;
/******/ 			try {
/******/ 				return this || new Function('return this')();
/******/ 			} catch (e) {
/******/ 				if (typeof window === 'object') return window;
/******/ 			}
/******/ 		})();
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/hasOwnProperty shorthand */
/******/ 	!function() {
/******/ 		__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/load script */
/******/ 	!function() {
/******/ 		var inProgress = {};
/******/ 		var dataWebpackPrefix = "entity-designer:";
/******/ 		// loadScript function to load a script via script tag
/******/ 		__webpack_require__.l = function(url, done, key, chunkId) {
/******/ 			if(inProgress[url]) { inProgress[url].push(done); return; }
/******/ 			var script, needAttach;
/******/ 			if(key !== undefined) {
/******/ 				var scripts = document.getElementsByTagName("script");
/******/ 				for(var i = 0; i < scripts.length; i++) {
/******/ 					var s = scripts[i];
/******/ 					if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
/******/ 				}
/******/ 			}
/******/ 			if(!script) {
/******/ 				needAttach = true;
/******/ 				script = document.createElement('script');
/******/ 		
/******/ 				script.charset = 'utf-8';
/******/ 				script.timeout = 120;
/******/ 				if (__webpack_require__.nc) {
/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
/******/ 				}
/******/ 				script.setAttribute("data-webpack", dataWebpackPrefix + key);
/******/ 		
/******/ 				script.src = url;
/******/ 			}
/******/ 			inProgress[url] = [done];
/******/ 			var onScriptComplete = function(prev, event) {
/******/ 				// avoid mem leaks in IE.
/******/ 				script.onerror = script.onload = null;
/******/ 				clearTimeout(timeout);
/******/ 				var doneFns = inProgress[url];
/******/ 				delete inProgress[url];
/******/ 				script.parentNode && script.parentNode.removeChild(script);
/******/ 				doneFns && doneFns.forEach(function(fn) { return fn(event); });
/******/ 				if(prev) return prev(event);
/******/ 			}
/******/ 			var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
/******/ 			script.onerror = onScriptComplete.bind(null, script.onerror);
/******/ 			script.onload = onScriptComplete.bind(null, script.onload);
/******/ 			needAttach && document.head.appendChild(script);
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* 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 });
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/node module decorator */
/******/ 	!function() {
/******/ 		__webpack_require__.nmd = function(module) {
/******/ 			module.paths = [];
/******/ 			if (!module.children) module.children = [];
/******/ 			return module;
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/remotes loading */
/******/ 	!function() {
/******/ 		var chunkMapping = {};
/******/ 		var idToExternalAndNameMapping = {};
/******/ 		__webpack_require__.f.remotes = function(chunkId, promises) {
/******/ 			if(__webpack_require__.o(chunkMapping, chunkId)) {
/******/ 				chunkMapping[chunkId].forEach(function(id) {
/******/ 					var getScope = __webpack_require__.R;
/******/ 					if(!getScope) getScope = [];
/******/ 					var data = idToExternalAndNameMapping[id];
/******/ 					if(getScope.indexOf(data) >= 0) return;
/******/ 					getScope.push(data);
/******/ 					if(data.p) return promises.push(data.p);
/******/ 					var onError = function(error) {
/******/ 						if(!error) error = new Error("Container missing");
/******/ 						if(typeof error.message === "string")
/******/ 							error.message += '\nwhile loading "' + data[1] + '" from ' + data[2];
/******/ 						__webpack_require__.m[id] = function() {
/******/ 							throw error;
/******/ 						}
/******/ 						data.p = 0;
/******/ 					};
/******/ 					var handleFunction = function(fn, arg1, arg2, d, next, first) {
/******/ 						try {
/******/ 							var promise = fn(arg1, arg2);
/******/ 							if(promise && promise.then) {
/******/ 								var p = promise.then(function(result) { return next(result, d); }, onError);
/******/ 								if(first) promises.push(data.p = p); else return p;
/******/ 							} else {
/******/ 								return next(promise, d, first);
/******/ 							}
/******/ 						} catch(error) {
/******/ 							onError(error);
/******/ 						}
/******/ 					}
/******/ 					var onExternal = function(external, _, first) { return external ? handleFunction(__webpack_require__.I, data[0], 0, external, onInitialized, first) : onError(); };
/******/ 					var onInitialized = function(_, external, first) { return handleFunction(external.get, data[1], getScope, 0, onFactory, first); };
/******/ 					var onFactory = function(factory) {
/******/ 						data.p = 1;
/******/ 						__webpack_require__.m[id] = function(module) {
/******/ 							module.exports = factory();
/******/ 						}
/******/ 					};
/******/ 					handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);
/******/ 				});
/******/ 			}
/******/ 		}
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/sharing */
/******/ 	!function() {
/******/ 		__webpack_require__.S = {};
/******/ 		var initPromises = {};
/******/ 		var initTokens = {};
/******/ 		__webpack_require__.I = function(name, initScope) {
/******/ 			if(!initScope) initScope = [];
/******/ 			// handling circular init calls
/******/ 			var initToken = initTokens[name];
/******/ 			if(!initToken) initToken = initTokens[name] = {};
/******/ 			if(initScope.indexOf(initToken) >= 0) return;
/******/ 			initScope.push(initToken);
/******/ 			// only runs once
/******/ 			if(initPromises[name]) return initPromises[name];
/******/ 			// creates a new share scope if needed
/******/ 			if(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};
/******/ 			// runs all init snippets from all modules reachable
/******/ 			var scope = __webpack_require__.S[name];
/******/ 			var warn = function(msg) {
/******/ 				if (typeof console !== "undefined" && console.warn) console.warn(msg);
/******/ 			};
/******/ 			var uniqueName = "entity-designer";
/******/ 			var register = function(name, version, factory, eager) {
/******/ 				var versions = scope[name] = scope[name] || {};
/******/ 				var activeVersion = versions[version];
/******/ 				if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };
/******/ 			};
/******/ 			var initExternal = function(id) {
/******/ 				var handleError = function(err) { warn("Initialization of sharing external failed: " + err); };
/******/ 				try {
/******/ 					var module = __webpack_require__(id);
/******/ 					if(!module) return;
/******/ 					var initFn = function(module) { return module && module.init && module.init(__webpack_require__.S[name], initScope); }
/******/ 					if(module.then) return promises.push(module.then(initFn, handleError));
/******/ 					var initResult = initFn(module);
/******/ 					if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));
/******/ 				} catch(err) { handleError(err); }
/******/ 			}
/******/ 			var promises = [];
/******/ 			switch(name) {
/******/ 				case "default": {
/******/ 					register("@kdcloudjs/kdesign", "1.7.68-stable.7", function() { return Promise.all([__webpack_require__.e(636), __webpack_require__.e(160), __webpack_require__.e(74), __webpack_require__.e(820)]).then(function() { return function() { return __webpack_require__(/*! ../../node_modules/@kdcloudjs/kdesign/es/index.js */ 8388); }; }); });
/******/ 					register("react-dom", "16.14.0", function() { return Promise.all([__webpack_require__.e(907), __webpack_require__.e(74), __webpack_require__.e(400)]).then(function() { return function() { return __webpack_require__(/*! ../../node_modules/react-dom/index.js */ 12356); }; }); });
/******/ 					register("react", "16.14.0", function() { return Promise.all([__webpack_require__.e(120), __webpack_require__.e(74)]).then(function() { return function() { return __webpack_require__(/*! ../../node_modules/react/index.js */ 85668); }; }); });
/******/ 					initExternal(51452);
/******/ 				}
/******/ 				break;
/******/ 			}
/******/ 			if(!promises.length) return initPromises[name] = 1;
/******/ 			return initPromises[name] = Promise.all(promises).then(function() { return initPromises[name] = 1; });
/******/ 		};
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/publicPath */
/******/ 	!function() {
/******/ 		var scriptUrl;
/******/ 		if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
/******/ 		var document = __webpack_require__.g.document;
/******/ 		if (!scriptUrl && document) {
/******/ 			if (document.currentScript)
/******/ 				scriptUrl = document.currentScript.src;
/******/ 			if (!scriptUrl) {
/******/ 				var scripts = document.getElementsByTagName("script");
/******/ 				if(scripts.length) {
/******/ 					var i = scripts.length - 1;
/******/ 					while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src;
/******/ 				}
/******/ 			}
/******/ 		}
/******/ 		// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
/******/ 		// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
/******/ 		if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
/******/ 		scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
/******/ 		__webpack_require__.p = scriptUrl + "../";
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/compat */
/******/ 	
/******/ 	
/******/ 	// object to store loaded CSS chunks
/******/ 	var installedCssChunks = {
/******/ 		88: 0
/******/ 	};
/******/ 	__webpack_require__.f.compat = function(chunkId, promises) {
/******/ 	
/******/ 	
/******/ 		// mini-css-extract-plugin CSS loading
/******/ 		var cssChunks = {"74":1};
/******/ 		if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ 		else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ 			promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ 				var href = "css/" + ({"74":"common-vendor","120":"react-vendor","160":"react-color-vendor","636":"kdesign-vender","907":"react-dom-vendor"}[chunkId]||chunkId) + ".dev.css";
/******/ 				var fullhref = __webpack_require__.p + href;
/******/ 				var existingLinkTags = document.getElementsByTagName("link");
/******/ 				for(var i = 0; i < existingLinkTags.length; i++) {
/******/ 					var tag = existingLinkTags[i];
/******/ 					var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
/******/ 					if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
/******/ 				}
/******/ 				var existingStyleTags = document.getElementsByTagName("style");
/******/ 				for(var i = 0; i < existingStyleTags.length; i++) {
/******/ 					var tag = existingStyleTags[i];
/******/ 					var dataHref = tag.getAttribute("data-href");
/******/ 					if(dataHref === href || dataHref === fullhref) return resolve();
/******/ 				}
/******/ 				var linkTag = document.createElement("link");
/******/ 				linkTag.rel = "stylesheet";
/******/ 				linkTag.type = "text/css";
/******/ 				linkTag.onload = resolve;
/******/ 				linkTag.onerror = function(event) {
/******/ 					var request = event && event.target && event.target.src || fullhref;
/******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
/******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
/******/ 					err.request = request;
/******/ 					delete installedCssChunks[chunkId]
/******/ 					linkTag.parentNode.removeChild(linkTag)
/******/ 					reject(err);
/******/ 				};
/******/ 				linkTag.href = fullhref;
/******/ 	
/******/ 				var head = document.getElementsByTagName("head")[0];
/******/ 				head.appendChild(linkTag);
/******/ 			}).then(function() {
/******/ 				installedCssChunks[chunkId] = 0;
/******/ 			}));
/******/ 		}
/******/ 	};
/******/ 	
/******/ 	/* webpack/runtime/consumes */
/******/ 	!function() {
/******/ 		var parseVersion = function(str) {
/******/ 			// see webpack/lib/util/semver.js for original code
/******/ 			var p=function(p){return p.split(".").map((function(p){return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;
/******/ 		}
/******/ 		var versionLt = function(a, b) {
/******/ 			// see webpack/lib/util/semver.js for original code
/******/ 			a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&"u"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e<t;r++}
/******/ 		}
/******/ 		var rangeToString = function(range) {
/******/ 			// see webpack/lib/util/semver.js for original code
/******/ 			var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a<range.length;a++){e--,n+="u"==(typeof(t=range[a]))[0]?"-":(e>0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?"not("+o()+")":1===t?"("+o()+" || "+o()+")":2===t?g.pop()+" "+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\((.+)\)$/,"$1")}
/******/ 		}
/******/ 		var satisfy = function(range, version) {
/******/ 			// see webpack/lib/util/semver.js for original code
/******/ 			if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:"";if(n>=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if("s"!=g&&"n"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else"s"!=g&&"n"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();
/******/ 		}
/******/ 		var ensureExistence = function(scopeName, key) {
/******/ 			var scope = __webpack_require__.S[scopeName];
/******/ 			if(!scope || !__webpack_require__.o(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);
/******/ 			return scope;
/******/ 		};
/******/ 		var findVersion = function(scope, key) {
/******/ 			var versions = scope[key];
/******/ 			var key = Object.keys(versions).reduce(function(a, b) {
/******/ 				return !a || versionLt(a, b) ? b : a;
/******/ 			}, 0);
/******/ 			return key && versions[key]
/******/ 		};
/******/ 		var findSingletonVersionKey = function(scope, key) {
/******/ 			var versions = scope[key];
/******/ 			return Object.keys(versions).reduce(function(a, b) {
/******/ 				return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;
/******/ 			}, 0);
/******/ 		};
/******/ 		var getInvalidSingletonVersionMessage = function(scope, key, version, requiredVersion) {
/******/ 			return "Unsatisfied version " + version + " from " + (version && scope[key][version].from) + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"
/******/ 		};
/******/ 		var getSingleton = function(scope, scopeName, key, requiredVersion) {
/******/ 			var version = findSingletonVersionKey(scope, key);
/******/ 			return get(scope[key][version]);
/******/ 		};
/******/ 		var getSingletonVersion = function(scope, scopeName, key, requiredVersion) {
/******/ 			var version = findSingletonVersionKey(scope, key);
/******/ 			if (!satisfy(requiredVersion, version)) warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));
/******/ 			return get(scope[key][version]);
/******/ 		};
/******/ 		var getStrictSingletonVersion = function(scope, scopeName, key, requiredVersion) {
/******/ 			var version = findSingletonVersionKey(scope, key);
/******/ 			if (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));
/******/ 			return get(scope[key][version]);
/******/ 		};
/******/ 		var findValidVersion = function(scope, key, requiredVersion) {
/******/ 			var versions = scope[key];
/******/ 			var key = Object.keys(versions).reduce(function(a, b) {
/******/ 				if (!satisfy(requiredVersion, b)) return a;
/******/ 				return !a || versionLt(a, b) ? b : a;
/******/ 			}, 0);
/******/ 			return key && versions[key]
/******/ 		};
/******/ 		var getInvalidVersionMessage = function(scope, scopeName, key, requiredVersion) {
/******/ 			var versions = scope[key];
/******/ 			return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\n" +
/******/ 				"Available versions: " + Object.keys(versions).map(function(key) {
/******/ 				return key + " from " + versions[key].from;
/******/ 			}).join(", ");
/******/ 		};
/******/ 		var getValidVersion = function(scope, scopeName, key, requiredVersion) {
/******/ 			var entry = findValidVersion(scope, key, requiredVersion);
/******/ 			if(entry) return get(entry);
/******/ 			throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));
/******/ 		};
/******/ 		var warn = function(msg) {
/******/ 			if (typeof console !== "undefined" && console.warn) console.warn(msg);
/******/ 		};
/******/ 		var warnInvalidVersion = function(scope, scopeName, key, requiredVersion) {
/******/ 			warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));
/******/ 		};
/******/ 		var get = function(entry) {
/******/ 			entry.loaded = 1;
/******/ 			return entry.get()
/******/ 		};
/******/ 		var init = function(fn) { return function(scopeName, a, b, c) {
/******/ 			var promise = __webpack_require__.I(scopeName);
/******/ 			if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));
/******/ 			return fn(scopeName, __webpack_require__.S[scopeName], a, b, c);
/******/ 		}; };
/******/ 		
/******/ 		var load = /*#__PURE__*/ init(function(scopeName, scope, key) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return get(findVersion(scope, key));
/******/ 		});
/******/ 		var loadFallback = /*#__PURE__*/ init(function(scopeName, scope, key, fallback) {
/******/ 			return scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();
/******/ 		});
/******/ 		var loadVersionCheck = /*#__PURE__*/ init(function(scopeName, scope, key, version) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));
/******/ 		});
/******/ 		var loadSingleton = /*#__PURE__*/ init(function(scopeName, scope, key) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return getSingleton(scope, scopeName, key);
/******/ 		});
/******/ 		var loadSingletonVersionCheck = /*#__PURE__*/ init(function(scopeName, scope, key, version) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return getSingletonVersion(scope, scopeName, key, version);
/******/ 		});
/******/ 		var loadStrictVersionCheck = /*#__PURE__*/ init(function(scopeName, scope, key, version) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return getValidVersion(scope, scopeName, key, version);
/******/ 		});
/******/ 		var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(function(scopeName, scope, key, version) {
/******/ 			ensureExistence(scopeName, key);
/******/ 			return getStrictSingletonVersion(scope, scopeName, key, version);
/******/ 		});
/******/ 		var loadVersionCheckFallback = /*#__PURE__*/ init(function(scopeName, scope, key, version, fallback) {
/******/ 			if(!scope || !__webpack_require__.o(scope, key)) return fallback();
/******/ 			return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));
/******/ 		});
/******/ 		var loadSingletonFallback = /*#__PURE__*/ init(function(scopeName, scope, key, fallback) {
/******/ 			if(!scope || !__webpack_require__.o(scope, key)) return fallback();
/******/ 			return getSingleton(scope, scopeName, key);
/******/ 		});
/******/ 		var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(function(scopeName, scope, key, version, fallback) {
/******/ 			if(!scope || !__webpack_require__.o(scope, key)) return fallback();
/******/ 			return getSingletonVersion(scope, scopeName, key, version);
/******/ 		});
/******/ 		var loadStrictVersionCheckFallback = /*#__PURE__*/ init(function(scopeName, scope, key, version, fallback) {
/******/ 			var entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);
/******/ 			return entry ? get(entry) : fallback();
/******/ 		});
/******/ 		var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(function(scopeName, scope, key, version, fallback) {
/******/ 			if(!scope || !__webpack_require__.o(scope, key)) return fallback();
/******/ 			return getStrictSingletonVersion(scope, scopeName, key, version);
/******/ 		});
/******/ 		var installedModules = {};
/******/ 		var moduleToHandlerMapping = {
/******/ 			71536: function() { return loadSingletonFallback("default", "react-dom", function() { return Promise.all([__webpack_require__.e(907), __webpack_require__.e(74)]).then(function() { return function() { return __webpack_require__(/*! react-dom */ 12356); }; }); }); },
/******/ 			43400: function() { return loadSingletonFallback("default", "react", function() { return Promise.all([__webpack_require__.e(120), __webpack_require__.e(74)]).then(function() { return function() { return __webpack_require__(/*! react */ 85668); }; }); }); },
/******/ 			54116: function() { return loadSingletonFallback("default", "@kdcloudjs/kdesign", function() { return Promise.all([__webpack_require__.e(636), __webpack_require__.e(160), __webpack_require__.e(74)]).then(function() { return function() { return __webpack_require__(/*! @kdcloudjs/kdesign */ 8388); }; }); }); }
/******/ 		};
/******/ 		var initialConsumes = [43400,54116,71536];
/******/ 		initialConsumes.forEach(function(id) {
/******/ 			__webpack_require__.m[id] = function(module) {
/******/ 				// Handle case when module is used sync
/******/ 				installedModules[id] = 0;
/******/ 				delete __webpack_require__.c[id];
/******/ 				var factory = moduleToHandlerMapping[id]();
/******/ 				if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);
/******/ 				module.exports = factory();
/******/ 			}
/******/ 		});
/******/ 		var chunkMapping = {
/******/ 			"400": [
/******/ 				43400
/******/ 			],
/******/ 			"820": [
/******/ 				71536,
/******/ 				43400
/******/ 			]
/******/ 		};
/******/ 		var startedInstallModules = {};
/******/ 		__webpack_require__.f.consumes = function(chunkId, promises) {
/******/ 			if(__webpack_require__.o(chunkMapping, chunkId)) {
/******/ 				chunkMapping[chunkId].forEach(function(id) {
/******/ 					if(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);
/******/ 					if(!startedInstallModules[id]) {
/******/ 					var onFactory = function(factory) {
/******/ 						installedModules[id] = 0;
/******/ 						__webpack_require__.m[id] = function(module) {
/******/ 							delete __webpack_require__.c[id];
/******/ 							module.exports = factory();
/******/ 						}
/******/ 					};
/******/ 					startedInstallModules[id] = true;
/******/ 					var onError = function(error) {
/******/ 						delete installedModules[id];
/******/ 						__webpack_require__.m[id] = function(module) {
/******/ 							delete __webpack_require__.c[id];
/******/ 							throw error;
/******/ 						}
/******/ 					};
/******/ 					try {
/******/ 						var promise = moduleToHandlerMapping[id]();
/******/ 						if(promise.then) {
/******/ 							promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));
/******/ 						} else onFactory(promise);
/******/ 					} catch(e) { onError(e); }
/******/ 					}
/******/ 				});
/******/ 			}
/******/ 		}
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/jsonp chunk loading */
/******/ 	!function() {
/******/ 		// no baseURI
/******/ 		
/******/ 		// object to store loaded and loading chunks
/******/ 		// undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ 		// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ 		var installedChunks = {
/******/ 			88: 0
/******/ 		};
/******/ 		
/******/ 		__webpack_require__.f.j = function(chunkId, promises) {
/******/ 				// JSONP chunk loading for javascript
/******/ 				var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ 				if(installedChunkData !== 0) { // 0 means "already installed".
/******/ 		
/******/ 					// a Promise means "currently loading".
/******/ 					if(installedChunkData) {
/******/ 						promises.push(installedChunkData[2]);
/******/ 					} else {
/******/ 						if(!/^(40|82)0$/.test(chunkId)) {
/******/ 							// setup Promise in chunk cache
/******/ 							var promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });
/******/ 							promises.push(installedChunkData[2] = promise);
/******/ 		
/******/ 							// start chunk loading
/******/ 							var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ 							// create error before stack unwound to get useful stacktrace later
/******/ 							var error = new Error();
/******/ 							var loadingEnded = function(event) {
/******/ 								if(__webpack_require__.o(installedChunks, chunkId)) {
/******/ 									installedChunkData = installedChunks[chunkId];
/******/ 									if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
/******/ 									if(installedChunkData) {
/******/ 										var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ 										var realSrc = event && event.target && event.target.src;
/******/ 										error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ 										error.name = 'ChunkLoadError';
/******/ 										error.type = errorType;
/******/ 										error.request = realSrc;
/******/ 										installedChunkData[1](error);
/******/ 									}
/******/ 								}
/******/ 							};
/******/ 							__webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
/******/ 						} else installedChunks[chunkId] = 0;
/******/ 					}
/******/ 				}
/******/ 		};
/******/ 		
/******/ 		// no prefetching
/******/ 		
/******/ 		// no preloaded
/******/ 		
/******/ 		// no HMR
/******/ 		
/******/ 		// no HMR manifest
/******/ 		
/******/ 		// no on chunks loaded
/******/ 		
/******/ 		// install a JSONP callback for chunk loading
/******/ 		var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
/******/ 			var chunkIds = data[0];
/******/ 			var moreModules = data[1];
/******/ 			var runtime = data[2];
/******/ 			// add "moreModules" to the modules object,
/******/ 			// then flag all "chunkIds" as loaded and fire callback
/******/ 			var moduleId, chunkId, i = 0;
/******/ 			if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
/******/ 				for(moduleId in moreModules) {
/******/ 					if(__webpack_require__.o(moreModules, moduleId)) {
/******/ 						__webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ 					}
/******/ 				}
/******/ 				if(runtime) var result = runtime(__webpack_require__);
/******/ 			}
/******/ 			if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
/******/ 			for(;i < chunkIds.length; i++) {
/******/ 				chunkId = chunkIds[i];
/******/ 				if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ 					installedChunks[chunkId][0]();
/******/ 				}
/******/ 				installedChunks[chunkId] = 0;
/******/ 			}
/******/ 		
/******/ 		}
/******/ 		
/******/ 		var chunkLoadingGlobal = self["webpackChunkentity_designer"] = self["webpackChunkentity_designer"] || [];
/******/ 		chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
/******/ 		chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
/******/ 	}();
/******/ 	
/******/ 	/* webpack/runtime/nonce */
/******/ 	!function() {
/******/ 		__webpack_require__.nc = undefined;
/******/ 	}();
/******/ 	
/************************************************************************/
/******/ 	
/******/ 	// module cache are used so entry inlining is disabled
/******/ 	// startup
/******/ 	// Load entry module and return exports
/******/ 	var __webpack_exports__ = __webpack_require__(45816);
/******/ 	
/******/ 	return __webpack_exports__;
/******/ })()
;
});