bin-tree-org
Version:
vue属性组织结构组件
1 lines • 54.7 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("bin-tree-org",[],e):"object"==typeof exports?exports["bin-tree-org"]=e():t["bin-tree-org"]=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/lib/",n(n.s=87)}([function(t,e,n){var r=n(12),o=n(6),i=n(56),a=n(9).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(91))},function(t,e,n){var r=n(1),o=n(24),i=n(6),a=n(45),c=n(47),u=n(69),s=o("wks"),f=r.Symbol,l=u?f:a;t.exports=function(t){return i(s,t)||(c&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e,n){"use strict";var r=n(1),o=n(41).f,i=n(64),a=n(12),c=n(28),u=n(7),s=n(6),f=function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var n,l,p,d,v,h,y,g,b=t.target,m=t.global,x=t.stat,w=t.proto,S=m?r:x?r[b]:(r[b]||{}).prototype,j=m?a:a[b]||(a[b]={}),O=j.prototype;for(p in e)n=!i(m?p:b+(x?".":"#")+p,t.forced)&&S&&s(S,p),v=j[p],n&&(h=t.noTargetGet?(g=o(S,p))&&g.value:S[p]),d=n&&h?h:e[p],n&&typeof v==typeof d||(y=t.bind&&n?c(d,r):t.wrap&&n?f(d):w&&"function"==typeof d?c(Function.call,d):d,(t.sham||d&&d.sham||v&&v.sham)&&u(y,"sham",!0),j[p]=y,w&&(s(a,l=b+"Prototype")||u(a,l,{}),a[l][p]=d,t.real&&O&&!O[p]&&u(O,p,d)))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(8),o=n(9),i=n(16);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(4);t.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(8),o=n(63),i=n(10),a=n(27),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){t.exports=n(145)},function(t,e){t.exports={}},function(t,e,n){t.exports=n(88)},function(t,e,n){var r=n(12),o=n(1),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(62),o=n(42);t.exports=function(t){return r(o(t))}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e,n){var r=n(51),o=n(9).f,i=n(7),a=n(6),c=n(104),u=n(2)("toStringTag");t.exports=function(t,e,n,s){if(t){var f=n?t:t.prototype;a(f,u)||o(f,u,{configurable:!0,value:e}),s&&!r&&i(f,"toString",c)}}},function(t,e,n){var r,o,i,a=n(95),c=n(1),u=n(5),s=n(7),f=n(6),l=n(29),p=n(30),d=c.WeakMap;if(a){var v=new d,h=v.get,y=v.has,g=v.set;r=function(t,e){return g.call(v,t,e),e},o=function(t){return h.call(v,t)||{}},i=function(t){return y.call(v,t)}}else{var b=l("state");p[b]=!0,r=function(t,e){return s(t,b,e),e},o=function(t){return f(t,b)?t[b]:{}},i=function(t){return f(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e,n){var r=n(21),o=n(97);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.4",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(7);t.exports=function(t,e,n,o){o&&o.enumerable?t[e]=n:r(t,e,n)}},function(t,e,n){"use strict";var r=n(19),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){var r=n(5);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(19);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(24),o=n(45),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(42);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(49),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(18);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(10),o=n(123),i=n(32),a=n(28),c=n(124),u=n(125),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,f,l){var p,d,v,h,y,g,b,m=a(e,n,f?2:1);if(l)p=t;else{if("function"!=typeof(d=c(t)))throw TypeError("Target is not iterable");if(o(d)){for(v=0,h=i(t.length);h>v;v++)if((y=f?m(r(b=t[v])[0],b[1]):m(t[v]))&&y instanceof s)return y;return new s(!1)}p=d.call(t)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(y=u(p,m,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";n.r(e);var r=n(37),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e.default=o.a},function(t,e,n){"use strict";var r=n(15);n(13)(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(65)),i={name:"BTreeOrg",components:{TreeNode:r(n(172)).default},provide:function(){return{TreeInstance:this}},props:{data:{type:Object,required:!0},childrenKey:{type:String,default:"children"},render:Function,horizontal:Boolean,collapsable:{type:Boolean,default:!0},labelStyle:Object,defaultExpand:Boolean,labelClassName:String},data:function(){return{stateTree:this.data,flatState:[]}},created:function(){this.flatState=this.compileFlatState()},watch:{data:{deep:!0,handler:function(){this.stateTree=this.data,this.flatState=this.compileFlatState()}}},methods:{compileFlatState:function(){var t=this,e=0,n=this.childrenKey,r=this.defaultExpand,i=[];return function a(c,u){var s;(t.$set(c,"nodeKey",e++),void 0===c.expand&&t.$set(c,"expand",r),i[c.nodeKey]={node:c,nodeKey:c.nodeKey},void 0!==u&&(i[c.nodeKey].parent=u.nodeKey,i[u.nodeKey][n].push(c.nodeKey)),c[n])&&(i[c.nodeKey][n]=[],(0,o.default)(s=c[n]).call(s,(function(t){return a(t,c)})))}(this.data),i},handleClick:function(t){var e=this.flatState[t].node;this.$emit("node-click",e)},toggleExpand:function(t,e){this.$emit("toggle-expand",t,e)},collapseAll:function(){var t;(0,o.default)(t=this.flatState).call(t,(function(t){t.node.expand=!1}))},expandAll:function(){var t;(0,o.default)(t=this.flatState).call(t,(function(t){t.node.expand=!0}))}}};e.default=i},function(t,e,n){"use strict";n.r(e);var r=n(39),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e.default=o.a},function(t,e,n){"use strict";var r=n(15);n(13)(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(173)),i=r(n(178)),a=r(n(182)),c={name:"TreeNode",components:{Render:a.default},inject:["TreeInstance"],props:{data:{type:Object,default:function(){return{}}},childrenKey:{type:String,default:"children"},horizontal:Boolean,collapsable:Boolean,labelStyle:Object,labelClassName:String},data:function(){return{prefixCls:"bin-tree-org"}},computed:{isLeaf:function(){return!((0,i.default)(this.data[this.childrenKey])&&this.data[this.childrenKey].length>0)},classes:function(){return["".concat("bin-tree-org","-node"),{"is-leaf":this.isLeaf},{collapsed:!this.isLeaf&&this.collapsable&&!this.data.expand}]},labelClasses:function(){return["".concat("bin-tree-org","-node-label-inner"),this.labelClassName]},labelStyles:function(){return this.data.style?this.data.style:this.labelStyle},isParentRender:function(){var t=this.TreeInstance;return t&&t.render},parentRender:function(){var t=this.TreeInstance;return t&&t.render?t.render:null},node:function(){var t,e=this,n=this.TreeInstance;return n?[n.flatState,(0,o.default)(t=n.flatState).call(t,(function(t){return t.nodeKey===e.data.nodeKey}))]:[]}},methods:{handleClick:function(){this.TreeInstance.handleClick(this.data.nodeKey)},handleExpand:function(){var t=this.data;t.disabled||t.isLeaf||t[this.childrenKey]&&t[this.childrenKey].length&&(this.$set(this.data,"expand",!this.data.expand),this.TreeInstance.toggleExpand(this.data,this.data.expand))}}};e.default=c},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,c){var u,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(8),o=n(61),i=n(16),a=n(17),c=n(27),u=n(6),s=n(63),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(1),o=n(5),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){n(94);var r=n(106),o=n(1),i=n(7),a=n(20),c=n(2)("toStringTag");for(var u in r){var s=o[u],f=s&&s.prototype;f&&!f[c]&&i(f,c,u),a[u]=a.Array}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e,n){var r=n(6),o=n(31),i=n(29),a=n(100),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(4);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(10),o=n(101),i=n(50),a=n(30),c=n(72),u=n(43),s=n(29)("IE_PROTO"),f=function(){},l=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;n--;)delete l.prototype[i[n]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=r(t),n=new f,f.prototype=null,n[s]=t):n=l(),void 0===e?n:o(n,e)},a[s]=!0},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var r={};r[n(2)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){var r=n(51),o=n(18),i=n(2)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},function(t,e,n){var r=n(28),o=n(62),i=n(31),a=n(32),c=n(74),u=[].push,s=function(t){var e=1==t,n=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l;return function(d,v,h,y){for(var g,b,m=i(d),x=o(m),w=r(v,h,3),S=a(x.length),j=0,O=y||c,_=e?O(d,S):n?O(d,0):void 0;S>j;j++)if((p||j in x)&&(b=w(g=x[j],j,m),t))if(e)_[j]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return j;case 2:u.call(_,g)}else if(f)return!1;return l?-1:s||f?f:_}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(t,e,n){var r=n(12);t.exports=function(t){return r[t+"Prototype"]}},function(t,e,n){var r,o,i=n(1),a=n(81),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){var r=n(2);e.f=r},function(t,e,n){t.exports=n(116)},function(t,e,n){t.exports=n(143)},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"bin-tree-org-wrap"},[n("div",{staticClass:"bin-tree-org",class:{horizontal:t.horizontal,collapsable:t.collapsable}},[n("tree-node",{attrs:{data:t.data,"children-key":t.childrenKey,horizontal:t.horizontal,"label-style":t.labelStyle,collapsable:t.collapsable,"label-class-name":t.labelClassName}})],1)])},o=[];r._withStripped=!0,n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classes},[n("div",{staticClass:"bin-tree-org-node-label"},[t.data.render?n("div",{class:t.labelClasses,style:t.labelStyles,on:{click:t.handleClick}},[n("render",{attrs:{render:t.data.render,data:t.data,node:t.node}})],1):t.isParentRender?n("div",{class:t.labelClasses,style:t.labelStyles,on:{click:t.handleClick}},[n("render",{attrs:{render:t.parentRender,data:t.data,node:t.node}})],1):n("div",{class:t.labelClasses,style:t.labelStyles,on:{click:t.handleClick}},[t._v(t._s(t.data.label))]),t._v(" "),t.collapsable&&!t.isLeaf?n("span",{staticClass:"bin-tree-org-node-btn",class:{expand:t.data.expand},on:{click:function(e){return e.stopPropagation(),e.preventDefault(),t.handleExpand(e)}}}):t._e()]),t._v(" "),t.data[t.childrenKey]&&t.data[t.childrenKey].length?[!t.collapsable||t.data.expand?n("div",{staticClass:"bin-tree-org-node-children"},t._l(t.data[t.childrenKey],(function(e,r){return n("tree-node",{key:r,attrs:{data:e,"children-key":t.childrenKey,horizontal:t.horizontal,"label-style":t.labelStyle,collapsable:t.collapsable,"label-class-name":t.labelClassName}})})),1):t._e()]:t._e()],2)},o=[];r._withStripped=!0,n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}))},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(4),o=n(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e,n){var r=n(8),o=n(4),i=n(43);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(4),o=/#|\.prototype\./,i=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},function(t,e,n){t.exports=n(92)},function(t,e){t.exports=function(){}},function(t,e,n){"use strict";var r=n(3),o=n(99),i=n(46),a=n(73),c=n(22),u=n(7),s=n(25),f=n(2),l=n(21),p=n(20),d=n(68),v=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,n,f,d,b,m){o(n,e,f);var x,w,S,j=function(t){if(t===d&&P)return P;if(!h&&t in E)return E[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",_=!1,E=t.prototype,k=E[y]||E["@@iterator"]||d&&E[d],P=!h&&k||j(d),T="Array"==e&&E.entries||k;if(T&&(x=i(T.call(new t)),v!==Object.prototype&&x.next&&(l||i(x)===v||(a?a(x,v):"function"!=typeof x[y]&&u(x,y,g)),c(x,O,!0,!0),l&&(p[O]=g))),"values"==d&&k&&"values"!==k.name&&(_=!0,P=function(){return k.call(this)}),l&&!m||E[y]===P||u(E,y,P),p[e]=P,d)if(w={values:j("values"),keys:b?P:j("keys"),entries:j("entries")},m)for(S in w)!h&&!_&&S in E||s(E,S,w[S]);else r({target:e,proto:!0,forced:h||_},w);return w}},function(t,e,n){"use strict";var r,o,i,a=n(46),c=n(7),u=n(6),s=n(2),f=n(21),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(47);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol()},function(t,e,n){var r=n(71),o=n(50);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(6),o=n(17),i=n(102).indexOf,a=n(30);t.exports=function(t,e){var n,c=o(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~i(s,n)||s.push(n));return s}},function(t,e,n){var r=n(14);t.exports=r("document","documentElement")},function(t,e,n){var r=n(10),o=n(105);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var r=n(5),o=n(33),i=n(2)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e){},function(t,e,n){"use strict";var r=n(118).charAt,o=n(23),i=n(67),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(1);t.exports=r.Promise},function(t,e,n){var r=n(10),o=n(19),i=n(2)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e,n){var r,o,i,a=n(1),c=n(4),u=n(18),s=n(28),f=n(72),l=n(43),p=n(80),d=a.location,v=a.setImmediate,h=a.clearImmediate,y=a.process,g=a.MessageChannel,b=a.Dispatch,m=0,x={},w=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},S=function(t){return function(){w(t)}},j=function(t){w(t.data)},O=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};v&&h||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return x[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(m),m},h=function(t){delete x[t]},"process"==u(y)?r=function(t){y.nextTick(S(t))}:b&&b.now?r=function(t){b.now(S(t))}:g&&!p?(i=(o=new g).port2,o.port1.onmessage=j,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(O)?r="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),w(t)}}:function(t){setTimeout(S(t),0)}:(r=O,a.addEventListener("message",j,!1))),t.exports={set:v,clear:h}},function(t,e,n){var r=n(81);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r=n(14);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(10),o=n(5),i=n(26);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(3),o=n(19),i=n(26),a=n(35),c=n(34);r({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=i.f(e),r=n.resolve,u=n.reject,s=a((function(){var n=o(e.resolve),i=[],a=0,u=1;c(t,(function(t){var o=a++,c=!1;i.push(void 0),u++,n.call(e,t).then((function(t){c||(c=!0,i[o]={status:"fulfilled",value:t},--u||r(i))}),(function(t){c||(c=!0,i[o]={status:"rejected",reason:t},--u||r(i))}))})),--u||r(i)}));return s.error&&u(s.value),n.promise}})},function(t,e,n){"use strict";var r=n(3),o=n(4),i=n(33),a=n(5),c=n(31),u=n(32),s=n(140),f=n(74),l=n(141),p=n(2),d=n(55),v=p("isConcatSpreadable"),h=d>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!h||!y},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?a:arguments[e],g(i)){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&s(l,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},function(t,e,n){n(0)("iterator")},function(t,e,n){var r=n(71),o=n(50).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(15);n(13)(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n(65)),i=r(n(112)),a=r(n(170)),c=[a.default],u=function(t){(0,o.default)(c).call(c,(function(e){t.component(e.name,e)})),t.use(i.default)};"undefined"!=typeof window&&window.Vue&&u(window.Vue);var s={install:u,TreeOrg:a.default};e.default=s},function(t,e,n){var r=n(89);t.exports=r},function(t,e,n){n(90);var r=n(12).Object,o=t.exports=function(t,e,n){return r.defineProperty(t,e,n)};r.defineProperty.sham&&(o.sham=!0)},function(t,e,n){var r=n(3),o=n(8);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(9).f})},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(93);t.exports=r},function(t,e,n){n(44);var r=n(107),o=n(52),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};t.exports=function(t){var e=t.forEach;return t===i||t instanceof Array&&e===i.forEach||a.hasOwnProperty(o(t))?r:e}},function(t,e,n){"use strict";var r=n(17),o=n(66),i=n(20),a=n(23),c=n(67),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(1),o=n(96),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(24);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r=n(1),o=n(98),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){var r=n(1),o=n(7);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){"use strict";var r=n(68).IteratorPrototype,o=n(48),i=n(16),a=n(22),c=n(20),u=function(){return this};t.exports=function(t,e,n){var s=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,s,!1,!0),c[s]=u,t}},function(t,e,n){var r=n(4);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(8),o=n(9),i=n(10),a=n(70);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r=n(17),o=n(32),i=n(103),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),f=i(a,s);if(t&&n!=n){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(49),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){"use strict";var r=n(51),o=n(52);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(108);t.exports=r},function(t,e,n){n(109);var r=n(54);t.exports=r("Array").forEach},function(t,e,n){"use strict";var r=n(3),o=n(110);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){"use strict";var r=n(53).forEach,o=n(111);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){var n=[][t];return!n||!r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(15);n(13)(e,"__esModule",{value:!0}),e.default=void 0;var o,i=r(n(113)),a=r(n(115)),c=r(n(134)),u=r(n(135)),s={install:(o=(0,a.default)(i.default.mark((function t(e,n){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.config.productionTip=!1,u.default.pretty("["+c.default.name+"] "+c.default.version,"https://wangbin3162.gitee.io/bin-tree-org/","success");case 2:case"end":return t.stop()}}),t)}))),function(t,e){return o.apply(this,arguments)})};e.default=s},function(t,e,n){t.exports=n(114)},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(t,e,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=O(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=s(t,e,n);if("normal"===u.type){if(r=n.done?d:l,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",l="suspendedYield",p="executing",d="completed",v={};function h(){}function y(){}function g(){}var b={};b[i]=function(){return this};var m=Object.getPrototypeOf,x=m&&m(m(P([])));x&&x!==n&&r.call(x,i)&&(b=x);var w=g.prototype=h.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function j(t){var e;this._invoke=function(n,o){function i(){return new Promise((function(e,i){!function e(n,o,i,a){var c=s(t[n],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?Promise.resolve(f.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}(n,o,e,i)}))}return e=e?e.then(i,i):i()}}function O(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function P(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return y.prototype=w.constructor=g,g.constructor=y,g[c]=y.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},S(j.prototype),j.prototype[a]=function(){return this},t.AsyncIterator=j,t.async=function(e,n,r,o){var i=new j(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},S(w),w[c]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:P(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return a}));var r=n(57),o=n.n(r);function i(t,e,n,r,i,a,c){try{var u=t[a](c),s=u.value}catch(t){return void n(t)}u.done?e(s):o.a.resolve(s).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new o.a((function(r,o){var a=t.apply(e,n);function c(t){i(a,r,o,c,u,"next",t)}function u(t){i(a,r,o,c,u,"throw",t)}c(void 0)}))}}},function(t,e,n){var r=n(117);n(130),n(131),n(132),n(133),t.exports=r},function(t,e,n){n(75),n(76),n(44),n(119),n(83),n(129);var r=n(12);t.exports=r.Promise},function(t,e,n){var r=n(49),o=n(42),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r,o,i,a,c=n(3),u=n(21),s=n(1),f=n(14),l=n(77),p=n(25),d=n(120),v=n(24),h=n(22),y=n(121),g=n(5),b=n(19),m=n(122),x=n(18),w=n(34),S=n(126),j=n(78),O=n(79).set,_=n(127),E=n(82),k=n(128),P=n(26),T=n(35),L=n(23),A=n(64),C=n(2),M=n(55),N=C("species"),I="Promise",F=L.get,R=L.set,K=L.getterFor(I),D=l,G=s.TypeError,z=s.document,V=s.process,$=v("inspectSource"),B=f("fetch"),U=P.f,H=U,J="process"==x(V),W=!!(z&&z.createEvent&&s.dispatchEvent),Y=A(I,(function(){if(!($(D)!==String(D))){if(66===M)return!0;if(!J&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!D.prototype.finally)return!0;if(M>=51&&/native code/.test(D))return!1;var t=D.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[N]=e,!(t.then((function(){}))instanceof e)})),q=Y||!S((function(t){D.all(t).catch((function(){}))})),X=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},Q=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;_((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var c,u,s,f=r[a++],l=i?f.ok:f.fail,p=f.resolve,d=f.reject,v=f.domain;try{l?(i||(2===e.rejection&&nt(t,e),e.rejection=1),!0===l?c=o:(v&&v.enter(),c=l(o),v&&(v.exit(),s=!0)),c===f.promise?d(G("Promise-chain cycle")):(u=X(c))?u.call(c,p,d):p(c)):d(o)}catch(t){v&&!s&&v.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Z=function(t,e,n){var r,o;W?((r=z.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(o=s["on"+t])?o(r):"unhandledrejection"===t&&k("Unhandled promise rejection",n)},tt=function(t,e){O.call(s,(function(){var n,r=e.value;if(et(e)&&(n=T((function(){J?V.emit("unhandledRejection",r,t):Z("unhandledrejection",t,r)})),e.rejection=J||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){O.call(s,(function(){J?V.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(o){t(e,n,o,r)}},ot=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,Q(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw G("Promise can't be resolved itself");var o=X(n);o?_((function(){var r={done:!1};try{o.call(n,rt(it,t,r,e),rt(ot,t,r,e))}catch(n){ot(t,r,n,e)}})):(e.value=n,e.state=1,Q(t,e,!1))}catch(n){ot(t,{done:!1},n,e)}}};Y&&(D=function(t){m(this,D,I),b(t),r.call(this);var e=F(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){R(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(D.prototype,{then:function(t,e){var n=K(this),r=U(j(this,D));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=J?V.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=F(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(ot,t,e)},P.f=U=function(t){return t===D||t===i?new o(t):H(t)},u||"function"!=typeof l||(a=l.prototype.then,p(l.prototype,"then",(function(t,e){var n=this;return new D((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof B&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return E(D,B.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:D}),h(D,I,!1,!0),y(I),i=f(I),c({target:I,stat:!0,forced:Y},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),c({target:I,stat:!0,forced:u||Y},{resolve:function(t){return E(u&&this===i?D:this,t)}}),c({target:I,stat:!0,forced:q},{all:function(t){var e=this,n=U(e),r=n.resolve,o=n.reject,i=T((function(){var n=b(e.resolve),i=[],a=0,c=1;w(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=U(e),r=n.reject,o=T((function(){var o=b(e.resolve);w(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(25);t.exports=function(t,e,n){for(var o in e)n&&n.unsafe&&t[o]?t[o]=e[o]:r(t,o,e[o],n);return t}},function(t,e,n){"use strict";var r=n(14),o=n(9),i=n(2),a=n(8),c=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(2),o=n(20),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,n){var r=n(52),o=n(20),i=n(2)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){var r=n(2)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){var r,o,i,a,c,u,s,f,l=n(1),p=n(41).f,d=n(18),v=n(79).set,h=n(80),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,b=l.Promise,m="process"==d(g),x=p(l,"queueMicrotask"),w=x&&x.value;w||(r=function(){var t,e;for(m&&(t=g.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},m?a=function(){g.nextTick(r)}:y&&!h?(c=!0,u=document.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):b&&b.resolve?(s=b.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,n){var r=n(1);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e,n){"use strict";var r=n(3),o=n(21),i=n(77),a=n(4),c=n(14),u=n(78),s=n(82),f=n(25);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,c("Promise")),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||f(i.prototype,"finally",c("Promise").prototype.finally)},function(t,e,n){"use strict";var r=n(3),o=n(8),i=n(46),a=n(73),c=n(48),u=n(9),s=n(16),f=n(34),l=n(7),p=n(23),d=p.set,v=p.getterFor("AggregateError"),h=function(t,e){var n=this;if(!(n instanceof h))return new h(t,e);a&&(n=a(new Error(e),i(n)));var r=[];return f(t,r.push,r),o?d(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==e&&l(n,"message",String(e)),n};h.prototype=c(Error.prototype,{constructor:s(5,h),message:s(5,""),name:s(5,"AggregateError")}),o&&u.f(h.prototype,"errors",{get:function(){return v(this).errors},configurable:!0}),r({global:!0},{AggregateError:h})},function(t,e,n){n(83)},function(t,e,n){"use strict";var r=n(3),o=n(26),i=n(35);r({target:"Promise",stat:!0},{try:function(t){var e=o.f(this),n=i(t);return(n.error?e.reject:e.resolve)(n.value),e.promise}})},function(t,e,n){"use strict";var r=n(3),o=n(19),i=n(14),a=n(26),c=n(35),u=n(34);r({target:"Promise",stat:!0},{any:function(t){var e=this,n=a.f(e),r=n.resolve,s=n.reject,f=c((function(){var n=o(e.resolve),a=[],c=0,f=1,l=!1;u(t,(function(t){var o=c++,u=!1;a.push(void 0),f++,n.call(e,t).then((function(t){u||l||(l=!0,r(t))}),(function(t){u||l||(u=!0,a[o]=t,--f||s(new(i("AggregateError"))(a,"No one promise resolved")))}))})),--f||s(new(i("AggregateError"))(a,"No one promise resolved"))}));return f.error&&s(f.value),n.promise}})},function(t){t.exports=JSON.parse('{"name":"bin-tree-org","version":"1.3.0","description":"vue属性组织结构组件","main":"lib/bin-tree-org.common.js","module":"src/components/tree/tree.vue","keywords":["bin-tree-org","bin","ui","vue","tree-org","components"],"author":"wang bin","files":["lib","src"],"private":false,"license":"MIT","scripts":{"dev":"cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.conf.js","build:demo":"cross-env NODE_ENV=production webpack --config build/webpack.dev.conf.js","build":"npm run build:lib && npm run build:style","build:style":"gulp --gulpfile build/build-style.js","build:lib":"npm run build:common && npm run build:prod","build:common":"webpack --config build/webpack.common.js","build:prod":"webpack --config build/webpack.umd.conf.js && webpack --config build/webpack.prod.conf.js"},"peerDependencies":{"vue":"^2.6.10"},"devDependencies":{"@babel/core":"^7.6.4","@babel/plugin-proposal-class-properties":"^7.5.5","@babel/plugin-syntax-dynamic-import":"^7.2.0","@babel/plugin-transform-modules-commonjs":"^7.6.0","@babel/plugin-transform-runtime":"^7.6.2","@babel/polyfill":"^7.6.0","@babel/preset-env":"^7.6.3","@babel/runtime-corejs3":"^7.6.3","@vue/component-compiler-utils":"^3.0.0","@vue/eslint-config-standard":"^4.0.0","babel-cli":"^6.26.0","babel-eslint":"^10.0.3","babel-loader":"^8.0.6","babel-plugin-add-module-exports":"^1.0.2","clean-webpack-plugin":"^3.0.0","compression-webpack-plugin":"^3.0.0","bin-ace-editor":"^0.3.1","bin-ui":"^3.7.5","cross-env":"^6.0.3","css-loader":"^3.2.0","eslint":"^5.16.0","eslint-plugin-vue":"^5.0.0","file-loader":"^4.2.0","gulp":"^4.0.2","gulp-autoprefixer":"^7.0.1","gulp-cssmin":"^0.2.0","gulp-stylus":"^2.7.0","highlight.js":"^9.15.10","html-loader":"^0.5.5","html-webpack-plugin":"^3.2.0","markdown-it":"^10.0.0","markdown-it-anchor":"^5.2.5","markdown-it-chain":"^1.3.0","markdown-it-container":"^2.0.0","mini-css-extract-plugin":"^0.8.0","optimize-css-assets-webpack-plugin":"^5.0.3","postcss":"^7.0.27","postcss-loader":"^3.0.0","progress-bar-webpack-plugin":"^1.12.1","style-loader":"^1.0.0","stylus":"^0.54.7","stylus-loader":"^3.0.2","transliteration":"^2.1.7","uglifyjs-webpack-plugin":"^2.2.0","url-loader":"^2.2.0","vue":"^2.6.10","vue-loader":"^15.7.1","vue-router":"^3.1.3","vue-template-compiler":"^2.6.10","webpack":"^4.41.2","webpack-cli":"^3.3.9","webpack-dev-server":"^3.9.0","webpack-merge":"^4.2.2"},"postcss":{"plugins":{"autoprefixer":{}}},"browserslist":["> 1%","last 2 versions"]}')},function(t,e,n){"use strict";var r=n(15);n(13)(e,"__esModule",{value:!0}),e.typeColor=c,e.default=void 0;var o=r(n(136)),i=r(n(142)),a={};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"default",e="";switch(t){case"primary":e="#1089ff";break;case"success":e="#52c41a";break;case"warning":e="#fea638";break;case"danger":e="#ff4d4f";break;case"default":e="#35495E";break;default:e=t}return e}a.print=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"object"!==(0,i.default)(t)?n?console.log("%c ".concat(t," "),"background:".concat(c(e),"; padding: 2px; border-radius: 2px;color: #fff;")):console.log("%c ".concat(t," "),"color: ".concat(c(e),";")):console.dir(t)},a.pretty=function(t,e){var n,r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"primary";console.log((0,o.default)(n="%c ".concat(t," %c ")).call(n,e," %c"),(0,o.default)(r="background:".concat(c(a),";border:1px solid ")).call(r,c(a),"; padding: 1px; border-radius: 2px 0 0 2px; color: #fff;"),(0,o.default)(i="border:1px solid ".concat(c(a),"; padding: 1px; border-radius: 0 2px 2px 0; color: ")).call(i,c(a),";"),"background:transparent")},a.primary=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.print(t,"primary",e)},a.success=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.print(t,"success",e)},a.info=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.print(t,"info",e)},a.warning=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.print(t,"warning",e)},a.danger=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.print(t,"danger",e)};var u=a;e.default=u},function(t,e,n){t.exports=n(137)},function(t,e,n){var r=n(138);t.exports=r},function(t,e,n){var r=n(139),o=Array.prototype;t.exports=function(t){var e=t.concat;return t===o||t instanceof Array&&e===o.concat?r:e}},function(t,e,n){n(84);var r=n(54);t.exports=r("Array").concat},function(t,e,n){"use strict";var r=n(27),o=n(9),i=n(16);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(4),o=n(2),i=n(55),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e,n){"use strict";n.r(e),n.d(e,"default",(function(){return u}));var r=n(58),o=n.n(r),i=n(11),a=n.n(i);function c(t){return(c="function"==typeof a.a&&"symbol"==typeof o.a?function(t){return typeof t}:function(t){return t&&"function"==typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":typeof t})(t)}function u(t){return(u="function"==typeof a.a&&"symbol"===c(o.a)?function(t){return c(t)}:function(t){return t&&"function"==typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":c(t)})(t)}},function(t,e,n){var r=n(144);t.exports=r},function(t,e,n){n(85),n(76),n(44);var r=n(56);t.exports=r.f("iterator")},function(t,e,n){var r=n(146);n(165),n(166),n(167),n(168),n(169),t.exports=r},function(t,e,n){n(84),n(75),n(147),n(150),n(151),n(152),n(153),n(85),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164);var r=n(12);t.exports=r.Symbol},function(t,e,n){"use strict";var r=n(3),o=n(1),i=n(14),a=n(21),c=n(8),u=n(47),s=n(69),f=n(4),l=n(6),p=n(33),d=n(5),v=n(10),h=n(31),y=n(17),g=n(27),b=n(16),m=n(48),x=n(70),w=n(86),S=n(148),j=n(149),O=n(41),_=n(9),E=n(61),k=n(7),P=n(25),T=n(24),L=n(29),A=n(30),C=n(45),M=n(2),N=n(56),I=n(0),F=n(22),R=n(23),K=n(53).forEach,D=L("hidden"),G=M("toPrimitive"),z=R.set,V=R.getterFor("Symbol"),$=Object.prototype,B=o.Symbol,U=i("JSON","stringify"),H=O.f,J=_.f,W=S.f,Y=E.f,q=T("symbols"),X=T("op-symbols"),Q=T("string-to-symbol-registry"),Z=T("symbol-to-string-registry"),tt=T("wks"),et=o.QObject,nt=!et||!et.prototype||!et.prototype.findChild,rt=c&&f((function(){return 7!=m(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=H($,e);r&&delete $[e],J(t,e,n),r&&t!==$&&J($,e,r)}:J,ot=function(t,e){var n=q[t]=m(B.prototype);return z(n,{type:"Symbol",tag:t,description:e}),c||(n.description=e),n},it=u&&"symbol"==typeof B.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof B},at=function(t,e,n){t===$&&at(X,e,n),v(t);var r=g(e,!0);return v(n),l(q,r)?(n.enumerable?(l(t,D)&&t[D][r]&&(t[D][r]=!1),n=m(n,{enumerable:b(0,!1)})):(l(t,D)||J(t,D,b(1,{})),t[D][r]=!0),rt(t,r,n)):J(t,r,n)},ct=function(t,e){v(t);var n=y(e),r=x(n).concat(lt(n));return K(r,(function(e){c&&!ut.call(n,e)||at(t,e,n[e])})),t},ut=function(t){var e=g(t,!0),n=Y.call(this,e);return!(this===$&&l(q,e)&&!l(X,e))&&(!(n||!l(this,e)||!l(q,e)||l(this,D)&&this[D][e])||n)},st=function(t,e){var n=y(t),r=g(e,!0);if(n!==$||!l(q,r)||l(X,r)){var o=H(n,r);return!o||!l(q,r)||l(n,D)&&n[D][r]||(o.enumerable=!0),o}},ft=function(t){var e=W(y(t)),n=[];return K(e,(function(t){l(q,t)||l(A,t)||n.push(t)})),n},lt=fun