UNPKG

tree-transfer

Version:

react antd tree transfer (tree to tree)

17 lines 386 kB
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(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,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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="",n(n.s=157)}([function(t,e,n){t.exports=n(118)()},function(t,e,n){"use strict";t.exports=n(119)},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(71),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e,n){return e in t?(0,a.default)(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(114),a=(r=o)&&r.__esModule?r:{default:r};e.default=a.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},function(t,e,n){var r; /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ !function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var a=typeof r;if("string"===a||"number"===a)t.push(r);else if(Array.isArray(r))t.push(o.apply(null,r));else if("object"===a)for(var i in r)n.call(r,i)&&r[i]&&t.push(i)}}return t.join(" ")}void 0!==t&&t.exports?t.exports=o:void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(126)),o=i(n(122)),a=i(n(24));function i(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,a.default)(e)));t.prototype=(0,o.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(r.default?(0,r.default)(t,e):t.__proto__=e)}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(24),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":(0,a.default)(e))&&"function"!=typeof e?t:e}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e,n){"use strict";e.__esModule=!0;var r,o=n(71),a=(r=o)&&r.__esModule?r:{default:r};e.default=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}()},function(t,e){var n=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){"use strict";t.exports=function(){}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var r=n(3),o=n.n(r);e.a=function(t,e){for(var n=o()({},t),r=0;r<e.length;r++)delete n[e[r]];return n}},function(t,e,n){t.exports=!n(21)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(25),o=n(73),a=n(49),i=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=a(e,!0),r(n),o)try{return i(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(11),o=n(9),a=n(74),i=n(23),c=n(16),l=function(t,e,n){var u,s,f,d=t&l.F,p=t&l.G,h=t&l.S,b=t&l.P,m=t&l.B,g=t&l.W,y=p?o:o[e]||(o[e]={}),v=y.prototype,k=p?r:h?r[e]:(r[e]||{}).prototype;for(u in p&&(n=e),n)(s=!d&&k&&void 0!==k[u])&&c(y,u)||(f=s?k[u]:n[u],y[u]=p&&"function"!=typeof k[u]?n[u]:m&&s?a(f,r):g&&k[u]==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}(f):b&&"function"==typeof f?a(Function.call,f):f,b&&((y.virtual||(y.virtual={}))[u]=f,t&l.R&&v&&!v[u]&&i(v,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r,o,a={},i=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),c=function(t){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=function(t){return document.querySelector(t)}.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),l=null,u=0,s=[],f=n(95);function d(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=a[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(y(r.parts[i],e))}else{var c=[];for(i=0;i<r.parts.length;i++)c.push(y(r.parts[i],e));a[r.id]={id:r.id,refs:1,parts:c}}}}function p(t,e){for(var n=[],r={},o=0;o<t.length;o++){var a=t[o],i=e.base?a[0]+e.base:a[0],c={css:a[1],media:a[2],sourceMap:a[3]};r[i]?r[i].parts.push(c):n.push(r[i]={id:i,parts:[c]})}return n}function h(t,e){var n=c(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=s[s.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),s.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=c(t.insertInto+" "+t.insertAt.before);n.insertBefore(e,o)}}function b(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=s.indexOf(t);e>=0&&s.splice(e,1)}function m(t){var e=document.createElement("style");return t.attrs.type="text/css",g(e,t.attrs),h(t,e),e}function g(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function y(t,e){var n,r,o,a;if(e.transform&&t.css){if(!(a=e.transform(t.css)))return function(){};t.css=a}if(e.singleton){var i=u++;n=l||(l=m(e)),r=w.bind(null,n,i,!1),o=w.bind(null,n,i,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",g(e,t.attrs),h(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,a=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||a)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var i=new Blob([r],{type:"text/css"}),c=t.href;t.href=URL.createObjectURL(i),c&&URL.revokeObjectURL(c)}.bind(null,n,e),o=function(){b(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){b(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=i()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=p(t,e);return d(n,e),function(t){for(var r=[],o=0;o<n.length;o++){var i=n[o];(c=a[i.id]).refs--,r.push(c)}t&&d(p(t,e),e);for(o=0;o<r.length;o++){var c;if(0===(c=r[o]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete a[c.id]}}}};var v,k=(v=[],function(t,e){return v[t]=e,v.filter(Boolean).join("\n")});function w(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=k(e,o);else{var a=document.createTextNode(o),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(a,i[e]):t.appendChild(a)}}},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var o=(i=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),a=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(a).concat([o]).join("\n")}var i;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<t.length;o++){var i=t[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(t,e,n){var r=n(50)("wks"),o=n(31),a=n(11).Symbol,i="function"==typeof a;(t.exports=function(t){return r[t]||(r[t]=i&&a[t]||(i?a:o)("Symbol."+t))}).store=r},function(t,e,n){var r=n(67),o=n(52);t.exports=function(t){return r(o(t))}},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,n){var r=n(14),o=n(30);t.exports=n(13)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(150)),o=i(n(136)),a="function"==typeof o.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof o.default&&"symbol"===a(r.default)?function(t){return void 0===t?"undefined":a(t)}:function(t){return t&&"function"==typeof o.default&&t.constructor===o.default&&t!==o.default.prototype?"symbol":void 0===t?"undefined":a(t)}},function(t,e,n){var r=n(22);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){"use strict";n.r(e);var r=n(1),o=n(0),a=n.n(o),i=a.a.shape({trySubscribe:a.a.func.isRequired,tryUnsubscribe:a.a.func.isRequired,notifyNestedSubs:a.a.func.isRequired,isSubscribed:a.a.func.isRequired}),c=a.a.shape({subscribe:a.a.func.isRequired,dispatch:a.a.func.isRequired,getState:a.a.func.isRequired});function l(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1]||e+"Subscription",o=function(t){function o(n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var a=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,r));return a[e]=n.store,a}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,t),o.prototype.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},o.prototype.render=function(){return r.Children.only(this.props.children)},o}(r.Component);return o.propTypes={store:c.isRequired,children:a.a.element.isRequired},o.childContextTypes=((t={})[e]=c.isRequired,t[n]=i,t),o}var u=l(),s=n(79),f=n.n(s),d=n(36),p=n.n(d);var h=null,b={notify:function(){}};var m=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.store=e,this.parentSub=n,this.onStateChange=r,this.unsubscribe=null,this.listeners=b}return t.prototype.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},t.prototype.notifyNestedSubs=function(){this.listeners.notify()},t.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},t.prototype.trySubscribe=function(){var t,e;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=(t=[],e=[],{clear:function(){e=h,t=h},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==h&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}))},t.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=b)},t}(),g=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};var y=0,v={};function k(){}function w(t){var e,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.getDisplayName,l=void 0===a?function(t){return"ConnectAdvanced("+t+")"}:a,u=o.methodName,s=void 0===u?"connectAdvanced":u,d=o.renderCountProp,h=void 0===d?void 0:d,b=o.shouldHandleStateChanges,w=void 0===b||b,x=o.storeKey,E=void 0===x?"store":x,_=o.withRef,T=void 0!==_&&_,C=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),S=E+"Subscription",O=y++,N=((e={})[E]=c,e[S]=i,e),P=((n={})[S]=i,n);return function(e){p()("function"==typeof e,"You must pass a component to the function returned by "+s+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",o=l(n),a=g({},C,{getDisplayName:l,methodName:s,renderCountProp:h,shouldHandleStateChanges:w,storeKey:E,withRef:T,displayName:o,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,n.call(this,t,e));return r.version=O,r.state={},r.renderCount=0,r.store=t[E]||e[E],r.propsMode=Boolean(t[E]),r.setWrappedInstance=r.setWrappedInstance.bind(r),p()(r.store,'Could not find "'+E+'" in either the context or props of "'+o+'". Either wrap the root component in a <Provider>, or explicitly pass "'+E+'" as a prop to "'+o+'".'),r.initSelector(),r.initSubscription(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(i,n),i.prototype.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[S]=e||this.context[S],t},i.prototype.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},i.prototype.componentWillReceiveProps=function(t){this.selector.run(t)},i.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},i.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=k,this.store=null,this.selector.run=k,this.selector.shouldComponentUpdate=!1},i.prototype.getWrappedInstance=function(){return p()(T,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+s+"() call."),this.wrappedInstance},i.prototype.setWrappedInstance=function(t){this.wrappedInstance=t},i.prototype.initSelector=function(){var e=t(this.store.dispatch,a);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},i.prototype.initSubscription=function(){if(w){var t=(this.propsMode?this.props:this.context)[S];this.subscription=new m(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},i.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(v)):this.notifyNestedSubs()},i.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},i.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},i.prototype.addExtraProps=function(t){if(!(T||h||this.propsMode&&this.subscription))return t;var e=g({},t);return T&&(e.ref=this.setWrappedInstance),h&&(e[h]=this.renderCount++),this.propsMode&&this.subscription&&(e[S]=this.subscription),e},i.prototype.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(r.createElement)(e,this.addExtraProps(t.props))},i}(r.Component);return i.WrappedComponent=e,i.displayName=o,i.childContextTypes=P,i.contextTypes=N,i.propTypes=N,f()(i,e)}}var x=Object.prototype.hasOwnProperty;function E(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function _(t,e){if(E(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!x.call(e,n[o])||!E(t[n[o]],e[n[o]]))return!1;return!0}var T=n(33);n(55);function C(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function S(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function O(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=S(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=S(o),o=r(e,n)),o},r}}var N=[function(t){return"function"==typeof t?O(t):void 0},function(t){return t?void 0:C(function(t){return{dispatch:t}})},function(t){return t&&"object"==typeof t?C(function(e){return Object(T.bindActionCreators)(t,e)}):void 0}];var P=[function(t){return"function"==typeof t?O(t):void 0},function(t){return t?void 0:C(function(){return{}})}],A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function D(t,e,n){return A({},n,t,e)}var R=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r=n.pure,o=n.areMergedPropsEqual,a=!1,i=void 0;return function(e,n,c){var l=t(e,n,c);return a?r&&o(l,i)||(i=l):(a=!0,i=l),i}}}(t):void 0},function(t){return t?void 0:function(){return D}}];function z(t,e,n,r){return function(o,a){return n(t(o,a),e(r,a),a)}}function L(t,e,n,r,o){var a=o.areStatesEqual,i=o.areOwnPropsEqual,c=o.areStatePropsEqual,l=!1,u=void 0,s=void 0,f=void 0,d=void 0,p=void 0;function h(o,l){var h,b,m=!i(l,s),g=!a(o,u);return u=o,s=l,m&&g?(f=t(u,s),e.dependsOnOwnProps&&(d=e(r,s)),p=n(f,d,s)):m?(t.dependsOnOwnProps&&(f=t(u,s)),e.dependsOnOwnProps&&(d=e(r,s)),p=n(f,d,s)):g?(h=t(u,s),b=!c(h,f),f=h,b&&(p=n(f,d,s)),p):p}return function(o,a){return l?h(o,a):(f=t(u=o,s=a),d=e(r,s),p=n(f,d,s),l=!0,p)}}function I(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,a=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),i=n(t,a),c=r(t,a),l=o(t,a);return(a.pure?L:z)(i,c,l,t,a)}var j=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function M(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function F(t,e){return t===e}var U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.connectHOC,n=void 0===e?w:e,r=t.mapStateToPropsFactories,o=void 0===r?P:r,a=t.mapDispatchToPropsFactories,i=void 0===a?N:a,c=t.mergePropsFactories,l=void 0===c?R:c,u=t.selectorFactory,s=void 0===u?I:u;return function(t,e,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=a.pure,u=void 0===c||c,f=a.areStatesEqual,d=void 0===f?F:f,p=a.areOwnPropsEqual,h=void 0===p?_:p,b=a.areStatePropsEqual,m=void 0===b?_:b,g=a.areMergedPropsEqual,y=void 0===g?_:g,v=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(a,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),k=M(t,o,"mapStateToProps"),w=M(e,i,"mapDispatchToProps"),x=M(r,l,"mergeProps");return n(s,j({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:w,initMergeProps:x,pure:u,areStatesEqual:d,areOwnPropsEqual:h,areStatePropsEqual:m,areMergedPropsEqual:y},v))}}();n.d(e,"Provider",function(){return u}),n.d(e,"createProvider",function(){return l}),n.d(e,"connectAdvanced",function(){return w}),n.d(e,"connect",function(){return U})},function(t,e,n){var r=n(96);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(17)(r,o);r.locals&&(t.exports=r.locals)},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(68),o=n(44);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){t.exports={default:n(156),__esModule:!0}},function(t,e,n){"use strict";n.r(e);var r=n(55),o=n(54),a={INIT:"@@redux/INIT"};function i(t,e,n){var c;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(i)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var l=t,u=e,s=[],f=s,d=!1;function p(){f===s&&(f=s.slice())}function h(){return u}function b(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return p(),f.push(t),function(){if(e){e=!1,p();var n=f.indexOf(t);f.splice(n,1)}}}function m(t){if(!Object(r.a)(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,u=l(u,t)}finally{d=!1}for(var e=s=f,n=0;n<e.length;n++){(0,e[n])()}return t}return m({type:a.INIT}),(c={dispatch:m,subscribe:b,getState:h,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");l=t,m({type:a.INIT})}})[o.a]=function(){var t,e=b;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(h())}return n(),{unsubscribe:e(n)}}})[o.a]=function(){return this},t},c}function c(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function l(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];0,"function"==typeof t[o]&&(n[o]=t[o])}var i=Object.keys(n);var l=void 0;try{!function(t){Object.keys(t).forEach(function(e){var n=t[e];if(void 0===n(void 0,{type:a.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+a.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(t){l=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(l)throw l;for(var r=!1,o={},a=0;a<i.length;a++){var u=i[a],s=n[u],f=t[u],d=s(f,e);if(void 0===d){var p=c(u,e);throw new Error(p)}o[u]=d,r=r||d!==f}return r?o:t}}function u(t,e){return function(){return e(t.apply(void 0,arguments))}}function s(t,e){if("function"==typeof t)return u(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},o=0;o<n.length;o++){var a=n[o],i=t[a];"function"==typeof i&&(r[a]=u(i,e))}return r}function f(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function p(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(n,r,o){var a,i=t(n,r,o),c=i.dispatch,l={getState:i.getState,dispatch:function(t){return c(t)}};return a=e.map(function(t){return t(l)}),c=f.apply(void 0,a)(i.dispatch),d({},i,{dispatch:c})}}}n.d(e,"createStore",function(){return i}),n.d(e,"combineReducers",function(){return l}),n.d(e,"bindActionCreators",function(){return s}),n.d(e,"applyMiddleware",function(){return p}),n.d(e,"compose",function(){return f})},function(t,e,n){"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(103)},function(t,e,n){"use strict";n.r(e);var r=n(3),o=n.n(r),a=n(2),i=n.n(a),c=n(7),l=n.n(c),u=n(8),s=n.n(u),f=n(6),d=n.n(f),p=n(5),h=n.n(p),b=n(1),m=n(34),g=n(0),y=n.n(g),v=n(4),k=n.n(v),w=n(12),x=n(56),E=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n},_=/^[\u4e00-\u9fa5]{2}$/,T=_.test.bind(_);var C=function(t){function e(t){l()(this,e);var n=d()(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.handleClick=function(t){n.setState({clicked:!0}),clearTimeout(n.timeout),n.timeout=window.setTimeout(function(){return n.setState({clicked:!1})},500);var e=n.props.onClick;e&&e(t)},n.state={loading:t.loading,clicked:!1,hasTwoCNChar:!1},n}return h()(e,t),s()(e,[{key:"componentDidMount",value:function(){this.fixTwoCNChar()}},{key:"componentWillReceiveProps",value:function(t){var e=this,n=this.props.loading,r=t.loading;n&&clearTimeout(this.delayTimeout),"boolean"!=typeof r&&r&&r.delay?this.delayTimeout=window.setTimeout(function(){return e.setState({loading:r})},r.delay):this.setState({loading:r})}},{key:"componentDidUpdate",value:function(){this.fixTwoCNChar()}},{key:"componentWillUnmount",value:function(){this.timeout&&clearTimeout(this.timeout),this.delayTimeout&&clearTimeout(this.delayTimeout)}},{key:"fixTwoCNChar",value:function(){var t=Object(m.findDOMNode)(this),e=t.textContent||t.innerText;this.isNeedInserted()&&T(e)?this.state.hasTwoCNChar||this.setState({hasTwoCNChar:!0}):this.state.hasTwoCNChar&&this.setState({hasTwoCNChar:!1})}},{key:"isNeedInserted",value:function(){var t=this.props,e=t.loading,n=t.icon,r=t.children,o=e?"loading":n;return 1===b.Children.count(r)&&(!o||"loading"===o)}},{key:"render",value:function(){var t,e=this,n=this.props,r=n.type,a=n.shape,c=n.size,l=n.className,u=n.htmlType,s=n.children,f=n.icon,d=n.prefixCls,p=n.ghost,h=E(n,["type","shape","size","className","htmlType","children","icon","prefixCls","ghost"]),m=this.state,g=m.loading,y=m.clicked,v=m.hasTwoCNChar,_="";switch(c){case"large":_="lg";break;case"small":_="sm"}var C=h.href?"a":"button",S=k()(d,l,(t={},i()(t,d+"-"+r,r),i()(t,d+"-"+a,a),i()(t,d+"-"+_,_),i()(t,d+"-icon-only",!s&&f),i()(t,d+"-loading",g),i()(t,d+"-clicked",y),i()(t,d+"-background-ghost",p),i()(t,d+"-two-chinese-chars",v),t)),O=g?"loading":f,N=O?b.createElement(x.a,{type:O}):null,P=s||0===s?b.Children.map(s,function(t){return function(t,e){if(null!=t){var n=e?" ":"";return"string"!=typeof t&&"number"!=typeof t&&"string"==typeof t.type&&T(t.props.children)?b.cloneElement(t,{},t.props.children.split("").join(n)):"string"==typeof t?(T(t)&&(t=t.split("").join(n)),b.createElement("span",null,t)):t}}(t,e.isNeedInserted())}):null;return b.createElement(C,o()({},Object(w.a)(h,["loading"]),{type:h.href?void 0:u||"button",className:S,onClick:this.handleClick}),N,P)}}]),e}(b.Component),S=C;C.__ANT_BUTTON=!0,C.defaultProps={prefixCls:"ant-btn",loading:!1,ghost:!1},C.propTypes={type:y.a.string,shape:y.a.oneOf(["circle","circle-outline"]),size:y.a.oneOf(["large","default","small"]),htmlType:y.a.oneOf(["submit","button","reset"]),onClick:y.a.func,loading:y.a.oneOfType([y.a.bool,y.a.object]),className:y.a.string,icon:y.a.string};var O=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n},N=function(t){var e=t.prefixCls,n=void 0===e?"ant-btn-group":e,r=t.size,a=t.className,c=O(t,["prefixCls","size","className"]),l="";switch(r){case"large":l="lg";break;case"small":l="sm"}var u=k()(n,i()({},n+"-"+l,l),a);return b.createElement("div",o()({},c,{className:u}))};S.Group=N;e.default=S},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,a,i,c){if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,c],s=0;(l=new Error(e.replace(/%s/g,function(){return u[s++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getAllTreeData=e.MergeArrayData=e.TransTreeData=e.MakeTreeData=void 0;var r,o=n(106),a=(r=o)&&r.__esModule?r:{default:r};var i=function(t){var e={},n=[];return t.map(function(t,r){t.parentKey?(e[t.parentKey]||(e[t.parentKey]=[]),e[t.parentKey].push(t)):n.push(t)}),{treeObj:e,treeArray:n}},c=function(t){var e=t.treeObj;return function(t){var e=a.default.cloneDeep(t);return function(t){return e.map(function(e,n){return t.hasOwnProperty(e.key)?(e.children=t[e.key],e.isLeaf=!1):e.isLeaf=!0,e})}}(t.treeArray)(function(t){var e=a.default.cloneDeep(t);for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];r.map(function(t,n){return e.hasOwnProperty(t.key)?(t.children=e[t.key],t.isLeaf=!1):t.isLeaf=!0,t}),e[n]=r}return e}(e))},l=(e.MakeTreeData=function(t){var e=a.default.cloneDeep(t);return c(i(e))},function t(e,n,r){return n.map(function(n,o){var a=n.key;e.hasOwnProperty(a)&&t(e,e[a],r),r.push(n)}),r}),u=(e.TransTreeData=function(t,e){var n=e.find(function(e){return e.key===t}),r=i(e),o=r.treeObj,c=(r.treeArray,[]),u=[];return c=function t(e,n,r,o){var a=r.key,i=r.parentKey,c=void 0;if(c=i?e.find(function(t){return t.key===i}):e.find(function(t){return t.key===a}),n.hasOwnProperty(i)){var l=n[i].find(function(t){return t.key===a});if(l)return o.push(l),t(e,n,c,o)}else o.push(c);return o}(e,o,n,c),u=function(t,e,n){var r=e.key;e.parentKey;if(t.hasOwnProperty(r)){var o=t[r];return l(t,o,n)}}(o,n,u),c=c||[],u=u||[],{newArray:a.default.filter(e,function(e){var n=!0;return e.key!==t&&(u.map(function(t){e.key===t.key&&(n=!1)}),n)}),transferArray:c.concat(u)}},e.MergeArrayData=function(t,e){return a.default.uniqWith(t.concat(e),a.default.isEqual)},void 0);e.getAllTreeData=function(t){if(!t)return u();u=t}},function(t,e,n){"use strict";function r(t){return function(){return t}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(t){return t},t.exports=o},function(t,e,n){"use strict";var r=function(t){};t.exports=function(t,e,n,o,a,i,c,l){if(r(e),!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,o,a,i,c,l],f=0;(u=new Error(e.replace(/%s/g,function(){return s[f++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(11),o=n(9),a=n(47),i=n(42),c=n(14).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||c(e,t,{value:i.f(t)})}},function(t,e,n){e.f=n(19)},function(t,e,n){var r=n(14).f,o=n(16),a=n(19)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,a)&&r(t,a,{configurable:!0,value:e})}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(25),o=n(145),a=n(44),i=n(51)("IE_PROTO"),c=function(){},l=function(){var t,e=n(72)("iframe"),r=a.length;for(e.style.display="none",n(141).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;r--;)delete l.prototype[a[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(c.prototype=r(t),n=new c,c.prototype=null,n[i]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e){t.exports={}},function(t,e){t.exports=!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,n){var r=n(22);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(11),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(50)("keys"),o=n(31);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(52);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";(function(t,r){var o,a=n(78);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var i=Object(a.a)(o);e.a=i}).call(this,n(61),n(116)(t))},function(t,e,n){"use strict";var r=Object.prototype.toString;var o=function(t){return r.call(t)};var a=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var i=function(t){return null!=t&&"object"==typeof t},c="[object Object]",l=Function.prototype,u=Object.prototype,s=l.toString,f=u.hasOwnProperty,d=s.call(Object);e.a=function(t){if(!i(t)||o(t)!=c)return!1;var e=a(t);if(null===e)return!0;var n=f.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==d}},function(t,e,n){"use strict";var r=n(3),o=n.n(r),a=n(2),i=n.n(a),c=n(1),l=n(4),u=n.n(l),s=n(12);e.a=function(t){var e=t.type,n=t.className,r=void 0===n?"":n,a=t.spin,l=u()(i()({anticon:!0,"anticon-spin":!!a||"loading"===e},"anticon-"+e,!0),r);return c.createElement("i",o()({},Object(s.a)(t,["type","spin"]),{className:l}))}},function(t,e){t.exports=function(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0;n<t.length;++n)if(t[n]===e)return n;return-1}},function(t,e,n){"use strict";n.r(e);n(27),n(94)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setPlaceholder=e.setTransferBtns=e.setSearchShow=e.setTreeHeight=e.setTreeWidth=e.setRightTitle=e.setLeftTitle=e.setRightSelectedKey=e.setLeftSelectedKey=e.setRightTreeData=e.setLeftTreeData=e.setRightTreeArray=e.setLeftTreeArray=e.setAllTreeArray=e.clearData=void 0;var r=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}(n(60));e.clearData=function(){return{type:r.CLEARDATA}},e.setAllTreeArray=function(t){return{type:r.SETALLTREEARRAY,data:t}},e.setLeftTreeArray=function(t){return{type:r.SETLEFTTREEARRAY,data:t}},e.setRightTreeArray=function(t){return{type:r.SETRIGHTTREEARRAY,data:t}},e.setLeftTreeData=function(t){return{type:r.SETLEFTTREEDATA,data:t}},e.setRightTreeData=function(t){return{type:r.SETRIGHTTREEDATA,data:t}},e.setLeftSelectedKey=function(t){return{type:r.SETLEFTSELECTEDKEY,data:t}},e.setRightSelectedKey=function(t){return{type:r.SETRIGHTSELECTEDKEY,data:t}},e.setLeftTitle=function(t){return{type:r.SETLEFTTITLE,data:t}},e.setRightTitle=function(t){return{type:r.SETRIGHTTITLE,data:t}},e.setTreeWidth=function(t){return{type:r.SETTREEWIDTH,data:t}},e.setTreeHeight=function(t){return{type:r.SETTREEHEIGHT,data:t}},e.setSearchShow=function(t){return{type:r.SETSERACHSHOW,data:t}},e.setTransferBtns=function(t){return{type:r.SETTRANSFERBTN,data:t}},e.setPlaceholder=function(t){return{type:r.SETPLACEHOLDER,data:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.CLEARDATA="CLEARDATA",e.SETALLTREEARRAY="SETALLTREEARRAY",e.SETLEFTTREEARRAY="SETLEFTTREEARRAY",e.SETRIGHTTREEARRAY="SETRIGHTTREEARRAY",e.SETLEFTTREEDATA="SETLEFTTREEDATA",e.SETRIGHTTREEDATA="SETRIGHTTREEDATA",e.SETLEFTSELECTEDKEY="SETLEFTSELECTEDKEY",e.SETRIGHTSELECTEDKEY="SETRIGHTSELECTEDKEY",e.SETLEFTTITLE="SETLEFTTITLE",e.SETRIGHTTITLE="SETRIGHTTITLE",e.SETTREEWIDTH="SETTREEWIDTH",e.SETTREEHEIGHT="SETTREEHEIGHT",e.SETSERACHSHOW="SETSERACHSHOW",e.SETTRANSFERBTN="SETTRANSFERBTN",e.SETPLACEHOLDER="SETPLACEHOLDER"},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";t.exports={}},function(t,e,n){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,i,c=function(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(c[u]=n[u]);if(r){i=r(n);for(var s=0;s<i.length;s++)a.call(n,i[s])&&(c[i[s]]=n[i[s]])}}return c}},function(t,e,n){var r=n(28),o=n(30),a=n(20),i=n(49),c=n(16),l=n(73),u=Object.getOwnPropertyDescriptor;e.f=n(13)?u:function(t,e){if(t=a(t),e=i(e,!0),l)try{return u(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(68),o=n(44).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(66);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(16),o=n(20),a=n(144)(!1),i=n(51)("IE_PROTO");t.exports=function(t,e){var n,c=o(t),l=0,u=[];for(n in c)n!=i&&r(c,n)&&u.push(n);for(;e.length>l;)r(c,n=e[l++])&&(~a(u,n)||u.push(n));return u}},function(t,e,n){t.exports=n(23)},function(t,e,n){"use strict";var r=n(47),o=n(15),a=n(69),i=n(23),c=n(46),l=n(146),u=n(43),s=n(75),f=n(19)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,h,b,m,g){l(n,e,h);var y,v,k,w=function(t){if(!d&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",E="values"==b,_=!1,T=t.prototype,C=T[f]||T["@@iterator"]||b&&T[b],S=C||w(b),O=b?E?w("entries"):S:void 0,N="Array"==e&&T.entries||C;if(N&&(k=s(N.call(new t)))!==Object.prototype&&k.next&&(u(k,x,!0),r||"function"==typeof k[f]||i(k,f,p)),E&&C&&"values"!==C.name&&(_=!0,S=function(){return C.call(this)}),r&&!g||!d&&!_&&T[f]||i(T,f,S),c[e]=S,c[x]=p,b)if(y={values:E?S:w("values"),keys:m?S:w("keys"),entries:O},g)for(v in y)v in T||a(T,v,y[v]);else o(o.P+o.F*(d||_),e,y);return y}},function(t,e,n){t.exports={default:n(152),__esModule:!0}},function(t,e,n){var r=n(22),o=n(11).document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},function(t,e,n){t.exports=!n(13)&&!n(21)(function(){return 7!=Object.defineProperty(n(72)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(153);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){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(16),o=n(53),a=n(51)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},function(t,e,n){try{var r=n(57)}catch(t){r=n(57)}var o=/\s+/,a=Object.prototype.toString;function i(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}t.exports=function(t){return new i(t)},i.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~r(e,t)||e.push(t),this.el.className=e.join(" "),this},i.prototype.remove=function(t){if("[object RegExp]"==a.call(t))return this.removeMatching(t);if(this.list)return this.list.remove(t),this;var e=this.array(),n=r(e,t);return~n&&e.splice(n,1),this.el.className=e.join(" "),this},i.prototype.removeMatching=function(t){for(var e=this.array(),n=0;n<e.length;n++)t.test(e[n])&&this.remove(e[n]);return this},i.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},i.prototype.array=function(){var t=(this.el.getAttribute("class")||"").replace(/^\s+|\s+$/g,"").split(o);return""===t[0]&&t.shift(),t},i.prototype.has=i.prototype.contains=function(t){return this.list?this.list.contains(t):!!~r(this.array(),t)}},function(t,e,n){"use strict";e.__esModule=!0,e.default=function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",function(){return r})},function(t,e,n){t.exports=function(){"use strict";var t={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n=Object.defineProperty,r=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,a=Object.getOwnPropertyDescriptor,i=Object.getPrototypeOf,c=i&&i(Object);return function l(u,s,f){if("string"!=typeof s){if(c){var d=i(s);d&&d!==c&&l(u,d,f)}var p=r(s);o&&(p=p.concat(o(s)));for(var h=0;h<p.length;++h){var b=p[h];if(!(t[b]||e[b]||f&&f[b])){var m=a(s,b);try{n(u,b,m)}catch(t){}}}return u}return u}}()},function(t,e,n){"use strict";n.r(e);n(27),n(88),n(86)},function(t,e,n){"use strict";n.r(e);var r=n(3),o=n.n(r),a=n(2),i=n.n(a),c=n(7),l=n.n(c),u=n(8),s=n.n(u),f=n(6),d=n.n(f),p=n(5),h=n.n(p),b=n(1),m=n(0),g=n.n(m),y=n(4),v=n.n(y),k=n(12);var w=function(t){function e(){l()(this,e);var t=d()(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.handleKeyDown=function(e){var n=t.props,r=n.onPressEnter,o=n.onKeyDown;13===e.keyCode&&r&&r(e),o&&o(e)},t.saveInput=function(e){t.input=e},t}return h()(e,t),s()(e,[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"getInputClassName",value:function(){var t,e=this.props,n=e.prefixCls,r=e.size,o=e.disabled;return v()(n,(t={},i()(t,n+"-sm","small"===r),i()(t,n+"-lg","large"===r),i()(t,n+"-disabled",o),t))}},{key:"renderLabeledInput",value:function(t){var e,n=this.props;if(!n.addonBefore&&!n.addonAfter)return t;var r=n.prefixCls+"-group",o=r+"-addon",a=n.addonBefore?b.createElement("span",{className:o},n.addonBefore):null,c=n.addonAfter?b.createElement("span",{className:o},n.addonAfter):null,l=v()(n.prefixCls+"-wrapper",i()({},r,a||c)),u=v()(n.prefixCls+"-group-wrapper",(e={},i()(e,n.prefixCls+"-group-wrapper-sm","small"===n.size),i()(e,n.prefixCls+"-group-wrapper-lg","large"===n.size),e));return a||c?b.createElement("span",{className:u,style:n.style},b.createElement("span",{className:l},a,b.cloneElement(t,{style:null}),c)):b.createElement("span",{className:l},a,t,c)}},{key:"renderLabeledIcon",value:function(t){var e,n=this.props;if(!("prefix"in n||"suffix"in n))return t;var r=n.prefix?b.createElement("span",{className:n.prefixCls+"-prefix"},n.prefix):null,o=n.suffix?b.createElement("span",{className:n.prefixCls+"-suffix"},n.suffix):null,a=v()(n.className,n.prefixCls+"-affix-wrapper",(e={},i()(e,n.prefixCls+"-affix-wrapper-sm","small"===n.size),i()(e,n.prefixCls+"-affix-wrapper-lg","large"===n.size),e));return b.createElement("span",{className:a,style:n.style},r,b.cloneElement(t,{style:null,className:this.getInputClassName()}),o)}},{key:"renderInput",value:function(){var t=this.props,e=t.value,n=t.className,r=Object(k.a)(this.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix"]);return"value"in this.props&&(r.value=function(t){return void 0===t||null===t?"":t}(e),delete r.defaultValue),this.renderLabeledIcon(b.createElement("input",o()({},r,{className:v()(this.getInputClassName(),n),onKeyDown:this.handleKeyDown,ref:this.saveInput})))}},{key:"render",value:function(){return this.renderLabeledInput(this.renderInput())}}]),e}(b.Component),x=w;w.defaultProps={prefixCls:"ant-input",type:"text",disabled:!1},w.propTypes={type:g.a.string,id:g.a.oneOfType([g.a.string,g.a.number]),size:g.a.oneOf(["small","default","large"]),maxLength:g.a.oneOfType([g.a.string,g.a.number]),disabled:g.a.bool,value:g.a.any,defaultValue:g.a.any,className:g.a.string,addonBefore:g.a.node,addonAfter:g.a.node,prefixCls:g.a.string,autosize:g.a.oneOfType([g.a.bool,g.a.object]),onPressEnter:g.a.func,onKeyDown:g.a.func,onKeyUp:g.a.func,onFocus:g.a.func,onBlur:g.a.func,prefix:g.a.node,suffix:g.a.node};var E=function(t){var e,n=t.prefixCls,r=void 0===n?"ant-input-group":n,o=t.className,a=void 0===o?"":o,c=v()(r,(e={},i()(e,r+"-lg","large"===t.size),i()(e,r+"-sm","small"===t.size),i()(e,r+"-compact",t.compact),e),a);return b.createElement("span",{className:c,style:t.style},t.children)},_=n(56),T=n(35),C=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&(n[r[o]]=t[r[o]])}return n},S=function(t){function e(){l()(this,e);var t=d()(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments));return t.onSearch=function(){var e=t.props.onSearch;e&&e(t.input.inpu