New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-treeview

Package Overview
Dependencies
Maintainers
1
Versions
1148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-treeview - npm Package Compare versions

Comparing version 3.4.0-dev.201909041613 to 3.4.0-dev.201909090936

2

dist/cdn/js/kendo-react-treeview.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group"],t):"object"==typeof exports?exports.KendoReactTreeview=t(require("prop-types"),require("react"),require("react-transition-group")):e.KendoReactTreeview=t(e.PropTypes,e.React,e.ReactTransitionGroup)}(window,function(e,t,n){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t);var i,r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return!0!==e&&!!e}).map(function(e){return Array.isArray(e)?r.apply(void 0,e):"object"==typeof e?Object.keys(e).map(function(t,n){return e[n]||e[t]&&t||null}).filter(function(e){return null!==e}).join(" "):e}).filter(function(e){return!!e}).join(" ")},o=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=function(){},c=function(){},u=n(1),l=n(0),p=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,i=e.className,o=e.value,a=e.placeholder,s=e.valid,c=e.style,l=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!s&&void 0!==s},i);return u.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?u.createElement("label",{htmlFor:n,className:"k-label"},t):u.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:l.string,id:l.string,value:l.string,placeholder:l.string,valid:l.bool},t}(u.Component);function f(e,t,n,i){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,i))}}var h=function(){return"undefined"==typeof window},m=function(e,t){return function(n){return t(e(n))}},v=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},y=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},g=function(){},b=function(e){return e.preventDefault()},I=/touch/;function x(e){return e.type.match(I)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var E=function(e){var t=this,n=e.press;void 0===n&&(n=g);var i=e.drag;void 0===i&&(i=g);var r=e.release;void 0===r&&(r=g);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=m(x,n),this._dragHandler=m(x,i),this._releaseHandler=m(x,r),this._ignoreMouse=!1,this._mouseOnly=o,this._touchAction,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(v(document,"mousemove",t._mousemove),v(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){y(document,"mousemove",t._mousemove),y(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(v(document,"pointermove",t._pointermove),v(document,"pointerup",t._pointerup),v(document,"pointercancel",t._pointerup),v(document,"contextmenu",b),t._touchAction=e.target.style.touchAction,e.target.style.touchAction="none",t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(y(document,"pointermove",t._pointermove),y(document,"pointerup",t._pointerup),y(document,"pointercancel",t._pointerup),y(document,"contextmenu",b),e.target.style.touchAction=t._touchAction,t._releaseHandler(e))}};E.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},E.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},E.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?v(e,"pointerdown",this._pointerdown):(v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend)))},E.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return y(e,"pointerdown",this._pointerdown),y(document,"pointermove",this._pointermove),y(document,"pointerup",this._pointerup),y(document,"contextmenu",b),void y(document,"pointercancel",this._pointerup);y(e,"mousedown",this._mousedown),this._mouseOnly||(y(e,"touchstart",this._touchstart),y(e,"touchmove",this._touchmove),y(e,"touchend",this._touchend))},E.prototype._usePointers=function(){return!this._mouseOnly&&E.supportPointerEvent()},E.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},E.default=E;var _=E,O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new _({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.assingRef=function(e){t.element=e},t}return O(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return u.cloneElement(u.Children.only(this.props.children),{ref:this.assingRef})},t.propTypes={children:l.element.isRequired},t}(u.Component),C=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},P=function(e,t){var n=u.useState(t),i=n[0],r=n[1];return u.useEffect(function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&r(t)}},[]),i};n.d(t,"classNames",function(){return r}),n.d(t,"guid",function(){return o}),n.d(t,"Keys",function(){return a}),n.d(t,"noop",function(){return s}),n.d(t,"FloatingLabel",function(){return d}),n.d(t,"FormComponent",function(){return c}),n.d(t,"dispatchEvent",function(){return f}),n.d(t,"isServerRendering",function(){return h}),n.d(t,"Draggable",function(){return k}),n.d(t,"focusFirstFocusableChild",function(){return C}),n.d(t,"useRtl",function(){return P})},function(e,t,n){"use strict";function i(e){return s(e)?e:e.split(t.SEPARATOR)[0]}function r(e){if(s(e))return e;var n=e.indexOf(t.SEPARATOR);return e.substring(n+1)}function o(e,n){return e=e.toString(),n?n+t.SEPARATOR+e:e}function a(e){var n=e.lastIndexOf(t.SEPARATOR);return n<0?t.EMPTY_ID:e.substring(0,n)}function s(e){return e===t.EMPTY_ID||e.indexOf(t.SEPARATOR)<0}function c(e){return e!==t.EMPTY_ID&&e.indexOf(t.SEPARATOR)<0}function u(e){var n=e.lastIndexOf(t.SEPARATOR);return n<0?e:e.substring(n+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_ID="",t.ZERO_LEVEL_ZERO_NODE_ID="0",t.SEPARATOR="_",t.getItemById=function e(t,n){if(c(t))return n[Number(t)];var o=n[Number(i(t))];return o&&o.items&&o.items.length?e(r(t),o.items):void 0},t.getRootParentId=i,t.getIdWithoutRootParentId=r,t.getFirstChildId=function(e){return o("0",e)},t.createId=o,t.getDirectParentId=a,t.isIdEmptyOrZeroLevel=s,t.isIdZeroLevel=c,t.getAllShortIds=function(e){return e.split(t.SEPARATOR)},t.getShortId=u,t.isItemFirstFromSiblings=function(e){return u(e)===t.ZERO_LEVEL_ZERO_NODE_ID},t.getDecrementedItemIdAfterRemoval=function(e,n){var o=n;e="r"+t.SEPARATOR+e,n="r"+t.SEPARATOR+n;var s=a(e)+t.SEPARATOR;if(n.startsWith(s)){var c=n.substring(s.length);if(c){var l=i(c);if(Number(u(e))<Number(l))return r(s+(Number(l)-1).toString()+c.substring(l.length))}}return o}},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(11),a=n(5);function s(e,t,n){var i=[],s=new o.default;return s.init(e),function e(t,n,i,o,s){for(var u=0;u<i.length;u++){var l=i[u],p=r.createId(u,o);t.hasId(a.getNestedValue(n,l))&&s.push(p),c(l)&&e(t,n,l.items,p,s)}}(s,t,n,r.EMPTY_ID,i),i}function c(e){return Boolean(e.items&&e.items.length)}t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&c(e)},t.resolveItemId=function(e,t,n){var i=s([e],t,n);return i.length?i[0]:void 0},t.resolveItemsIds=s,t.updateItem=function e(t,n,i,o){var a,s=Number(r.getRootParentId(n));if(s>=t.length)return t;var c=t,u=t[s];return u[o]||(u=(c=t.slice())[s]=Object.assign({},u,((a={})[o]=!0,a))),r.isIdZeroLevel(n)?i(u):u.items&&(u.items=e(u.items,r.getIdWithoutRootParentId(n),i,o)),c},t.hasChildren=c,t.isEnabledAndAllParentsEnabled=function(e,t,n){for(var i=r.getAllShortIds(e),o=t,a=0;a<i.length;a++){var s=o[Number(i[a])];if(n.disabled(s))return!1;o=s.items}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,n){return n?function e(t){var i=[];if(t.items)for(var r=0;r<t.items.length;r++)i.push(a.getNestedValue(n,t.items[r])),i=i.concat(e(t.items[r]));return i}(e):function e(t,n){var i=[];if(t.items)for(var o=0;o<t.items.length;o++){var a=r.createId(o,n);i.push(a),i=i.concat(e(t.items[o],a))}return i}(e,t)},t.areAllDirectChildrenChecked=function(e,t,n,i){return!e.items||e.items.every(function(e,o){return i.indexOf(n?a.getNestedValue(n,e):r.createId(o,t))>-1})},t.getAllParents=function(e,t){for(var n=[],i=r.getAllShortIds(e),o=t,a=0;a<i.length-1&&o;a++){var s=o[Number(i[a])];n.push(s),o=s.items}return n},t.removeItem=function e(t,n){var o=n.slice();if(r.isIdZeroLevel(t))o.splice(Number(t),1);else{var a=Number(r.getRootParentId(t)),s=o[a]=i({},o[a]);s.items=e(r.getIdWithoutRootParentId(t),s.items)}return o},t.addItem=function e(t,n,o,a){var s=a.slice();if(r.isIdZeroLevel(o))if("child"===n){var c=s[Number(o)]=i({},s[Number(o)]);c.items?(c.items=c.items.slice(),c.items.push(t)):c.items=[t]}else s.splice(Number(o)+("after"===n?1:0),0,t);else{var u=Number(r.getRootParentId(o)),l=s[u]=i({},s[u]);l.items=e(t,n,r.getIdWithoutRootParentId(o),l.items)}return s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=function(e,t){var n=(e||"").split("."),i=t;return n.forEach(function(e){i=i?i[e]:void 0}),i},t.isArray=function(e){return void 0!==e.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPAND_FIELD="expanded",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9);t.TreeView=i.default;var r=n(14);t.processTreeViewItems=r.default;var o=n(15);t.moveTreeViewItem=o.default;var a=n(16);t.handleTreeViewCheckChange=a.handleTreeViewCheckChange;var s=n(17);t.TreeViewDragClue=s.default;var c=n(18);t.TreeViewDragAnalyzer=c.default},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(2),c=n(10),u=n(4),l=n(12),p=n(3),d=n(13),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:p.ZERO_LEVEL_ZERO_NODE_ID},t.allowExplicitFocus=!1,t.treeGuid=s.guid(),t.onFocusDomElNeeded=function(e){t.allowExplicitFocus&&t.focusDomItem(e)},t.onCheckChange=function(e,n,i){t.setFocus(i),t.dispatchCheckChange(e,n,i)},t.onExpandChange=function(e,n,i){t.setFocus(i),t.dispatchExpandChange(e,n,i)},t.onPress=function(e,n,i){e.originalEvent.preventDefault(),t.props.onItemDragStart&&t.props.onItemDragStart.call(void 0,{target:t,item:n,itemHierarchicalIndex:i})},t.onDrag=function(e,n,i){e.originalEvent.preventDefault();var r=e.pageX,o=e.pageY,a=e.clientX,s=e.clientY;t.props.onItemDragOver&&t.props.onItemDragOver.call(void 0,{target:t,item:n,itemHierarchicalIndex:i,pageX:r,pageY:o,clientX:a,clientY:s})},t.onRelease=function(e,n,i){var r=e.pageX,o=e.pageY,a=e.clientX,s=e.clientY;t.props.onItemDragEnd&&t.props.onItemDragEnd.call(void 0,{target:t,item:n,itemHierarchicalIndex:i,pageX:r,pageY:o,clientX:a,clientY:s})},t.onItemClick=function(e,n,i){t.setFocus(i),t.dispatchItemClick(e,n,i)},t.onFocus=function(){clearTimeout(t.blurRequest),void 0===t.state.focusedItemId&&t.data.length&&t.setFocus(t.state.tabbableItemId)},t.onBlur=function(){clearTimeout(t.blurRequest),t.blurRequest=setTimeout(function(){return t.setFocus(void 0)},0)},t.onKeyDown=function(e){var n=t.getFocusedItem();if(n){var i=c.default(n,t.state.focusedItemId,t.data,e.keyCode,t.fieldsSvc);i!==t.state.focusedItemId&&(e.preventDefault(),t.allowExplicitFocus=!0,t.setFocus(i)),t.dispatchEventsOnKeyDown(e,n)}},t}return r(t,e),t.prototype.render=function(){var e=this;return this.fieldsSvc=new d.default(this.props),o.createElement("div",{className:"k-widget k-treeview"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},o.createElement("ul",{className:"k-treeview-lines",role:"group"},this.data.map(function(t,n){return o.createElement(l.default,{item:t,itemId:n.toString(),treeGuid:e.treeGuid,animate:e.props.animate,focusedItemId:e.state.focusedItemId,tabbableItemId:e.state.tabbableItemId,fieldsService:e.fieldsSvc,itemRender:e.props.itemRender,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.ariaMultiSelectable,onItemClick:e.onItemClick,onFocusDomElNeeded:e.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.onPress,onDrag:e.onDrag,onRelease:e.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.onExpandChange,onCheckChange:e.onCheckChange,key:n})})))},t.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},t.prototype.dispatchEventsOnKeyDown=function(e,t){var n=this,i=function(){return u.isEnabledAndAllParentsEnabled(n.state.focusedItemId,n.data,n.fieldsSvc)};e.keyCode===s.Keys.left&&this.fieldsSvc.expanded(t)&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===s.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||u.hasChildren(t))&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===s.Keys.enter&&i()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===s.Keys.space&&i()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))},t.prototype.setFocus=function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState(function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}})},t.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},t.prototype.getItemById=function(e){return p.getItemById(e,this.data)},t.prototype.dispatchCheckChange=function(e,t,n){s.dispatchEvent(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchExpandChange=function(e,t,n){s.dispatchEvent(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchItemClick=function(e,t,n){s.dispatchEvent(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):u.resolveItemId(e,this.fieldsSvc.focusIdField,this.data);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(t.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!0,configurable:!0}),t.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(t.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!0,configurable:!0}),t.propTypes={data:a.arrayOf(a.any),animate:a.bool,focusIdField:a.string,getHierarchicalIndexById:a.func,onExpandChange:a.func,onItemClick:a.func,expandField:a.string,selectField:a.string,hasChildrenField:a.string,textField:a.string,disableField:a.string,itemRender:a.any,"aria-multiselectable":a.oneOfType([a.bool,a.oneOf(["false","true"])]),"aria-label":a.string,"aria-labelledby":a.string},t.defaultProps={animate:!0},t}(o.Component);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),r=n(3),o=n(4);t.default=function(e,t,n,a,s){switch(a){case i.Keys.left:return r.isIdZeroLevel(t)||s.expanded(e)&&o.isEnabledAndAllParentsEnabled(t,n,s)?t:r.getDirectParentId(t);case i.Keys.right:return o.isItemExpandedAndWithChildren(e,s)?r.getFirstChildId(t):t;case i.Keys.up:return c=Number(r.getShortId(t)),u=r.getDirectParentId(t),c?function e(t,n,i){var a=r.getItemById(t,n);return o.isItemExpandedAndWithChildren(a,i)?e(r.createId(a.items.length-1,t),n,i):t}(r.createId(c-1,u),n,s):r.isIdZeroLevel(t)?t:u;case i.Keys.down:return o.isItemExpandedAndWithChildren(e,s)?r.getFirstChildId(t):function e(t,n){var i=r.getDirectParentId(t),o=i?r.getItemById(i,n):void 0,a=o?o.items:n,s=Number(r.getShortId(t));return s<a.length-1?r.createId(s+1,i):o?e(i,n):void 0}(t,n)||t;case i.Keys.home:return r.ZERO_LEVEL_ZERO_NODE_ID;case i.Keys.end:return function(){var e=(n.length-1).toString(),t=n[n.length-1];for(;o.isItemExpandedAndWithChildren(t,s);)e=r.createId(t.items.length-1,e),t=t.items[t.items.length-1];return e}();default:return t}var c,u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0},e.prototype.hasId=function(e){return this.objects.some(function(t){return t[e]})},e}();t.default=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(2),s=n(3),c=n(4),u=n(19),l=n(6),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemGuid=a.guid(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e[l.DOM_KENDO_ITEM_ID_FIELD]=t.props.itemId,e[l.DOM_KENDO_TREEVIEW_GUID_FIELD]=t.props.treeGuid)},t}return r(t,e),t.prototype.render=function(){var e=this,t=this.renderSubitemsIfApplicable(),n=this.renderItemInPart();return o.createElement("li",{className:this.getRootClassName(),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0,ref:function(t){return e.itemElement=t}},o.createElement("div",{className:"k-mid",ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?o.createElement(a.Draggable,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},n):n),this.props.animate?o.createElement(u.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:t}):t)},t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var n=this.fieldsSvc.checkIndeterminate(this.item);n!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=n)}},t.prototype.renderCheckbox=function(){var e=this;return this.props.checkboxes?o.createElement("div",{className:"k-checkbox-wrapper"},o.createElement("input",{type:"checkbox",className:"k-checkbox",checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(t){return e.checkboxElement=t}}),o.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid})):void 0},t.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||c.hasChildren(this.item))?o.createElement("span",{className:this.getIconClassName(),onClick:this.onExpandChange}):void 0},t.prototype.renderSubitemsIfApplicable=function(){var e=this;return c.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?o.createElement("ul",{className:"k-content",role:"group"},this.item.items.map(function(n,i){return o.createElement(t,{item:n,itemId:s.createId(i,e.itemId),treeGuid:e.props.treeGuid,animate:e.props.animate,focusedItemId:e.props.focusedItemId,tabbableItemId:e.props.tabbableItemId,fieldsService:e.props.fieldsService,itemRender:e.props.itemRender,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.props.ariaMultiSelectable,onItemClick:e.props.onItemClick,onFocusDomElNeeded:e.props.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.props.onPress,onDrag:e.props.onDrag,onRelease:e.props.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.props.onExpandChange,onCheckChange:e.props.onCheckChange,key:i})})):void 0},t.prototype.renderItemInPart=function(){return o.createElement("span",{className:this.getContentClassName(),onClick:this.onItemClick},this.props.itemRender?o.createElement(this.props.itemRender,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item))},Object.defineProperty(t.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||c.hasChildren(this.item)?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)},enumerable:!0,configurable:!0}),t.prototype.getIconClassName=function(){return a.classNames("k-icon",{"k-i-expand":!this.fieldsSvc.expanded(this.item),"k-i-collapse":this.fieldsSvc.expanded(this.item),"k-i-loading":this.fieldsSvc.expanded(this.item)&&!c.hasChildren(this.item)})},t.prototype.getRootClassName=function(){return a.classNames("k-item k-treeview-item",{"k-state-disabled":this.fieldsSvc.disabled(this.item)})},t.prototype.getContentClassName=function(){return a.classNames("k-in",{"k-state-focused":this.props.focusedItemId===this.itemId,"k-state-selected":this.fieldsSvc.selected(this.item)})},t}(o.Component);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),r=n(5),o=function(){function e(e){this.expandField=e.expandField||i.EXPAND_FIELD,this.selectField=e.selectField||i.SELECT_FIELD,this.hasChildrenField=e.hasChildrenField||"hasChildren",this.textField=e.textField||"text",this.disableField=e.disableField||"disabled",this.checkField=e.checkField||i.CHECK_FIELD,this.checkIndeterminateField=e.checkIndeterminateField||i.CHECK_INDETERMINATE_FIELD,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return r.getNestedValue(this.expandField,e)},e.prototype.selected=function(e){return r.getNestedValue(this.selectField,e)},e.prototype.text=function(e){return r.getNestedValue(this.textField,e)},e.prototype.disabled=function(e){return r.getNestedValue(this.disableField,e)},e.prototype.hasChildren=function(e){return r.getNestedValue(this.hasChildrenField,e)},e.prototype.checked=function(e){return r.getNestedValue(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return r.getNestedValue(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&r.getNestedValue(this.focusIdField,e)},e}();t.default=o},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(6),a=n(5);function s(e,t,n,i){if(n){var o=c(n,t),s=o.ids,l=o.field;return function(e,t,n,i){var o=e;return t.forEach(function(e){o=r.updateItem(o,e,function(e){return u(n,e)},i)}),o}(e,!a.isArray(n)&&n.idField?r.resolveItemsIds(s,n.idField,e):s,l,i)}return e}function c(e,t){var n,i;return a.isArray(e)?(n=e,i=t):(n=e.ids||[],i=e.operationField||t),{ids:n,field:i}}function u(e,t){for(var n=(e||"").split("."),r=t,o=0;o<n.length;o++){var a=n[o];if(o===n.length-1)r[a]=!0;else{if(void 0===r[a])return;r[a]=i({},r[a]),r=r[a]}}}function l(e,t,n,i){for(var r=!1,o=0;o<e.length;o++){var s=e[o];if(a.getNestedValue(n,s)){if(!r)for(var c=0;c<t.length;c++)u(i,t[c]);r=!0,s.items&&l(s.items,[],n,i)}else s.items&&l(s.items,r?[s]:t.concat([s]),n,i)}}t.default=function(e,t){if(!e||!e.length)return[];var n=e,i=t.cloneField||"cloned";return n=s(n,o.EXPAND_FIELD,t.expand,i),n=s(n,o.SELECT_FIELD,t.select,i),function(e,t){if(t&&!a.isArray(t)&&t.applyCheckIndeterminate)for(var n=c(t,o.CHECK_FIELD).field,i=t.checkIndeterminateField||o.CHECK_INDETERMINATE_FIELD,r=0;r<e.length;r++){var s=e[r];s.items&&l(s.items,a.getNestedValue(n,s)?[]:[s],n,i)}}(n=s(n,o.CHECK_FIELD,t.check,i),t.check),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),r=n(3);t.default=function(e,t,n,o,a){if(!function(){if(!(t&&t.length&&e&&o))return!1;if(a&&!a.length)return!1;var n=a&&a!==t?a:t;if(!r.getItemById(o,n))return!1;return!0}())return l();var s=r.getItemById(e,t);if(!s)return l();if(a&&a!==t)return{sourceData:i.removeItem(e,t),targetData:i.addItem(s,n,o,a)};if((o+"_").startsWith(e+"_"))return l();var c=i.removeItem(e,t),u=i.addItem(s,n,r.getDecrementedItemIdAfterRemoval(e,o),c);return a?{sourceData:u,targetData:u}:u;function l(){return a?{sourceData:t,targetData:a}:t}}},function(e,t,n){"use strict";var i=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5);t.handleTreeViewCheckChange=function(e,t,n,s){if(void 0===s&&(s={}),!n||!n.length)return[];var c,u=function(e){var t,n=void 0;a.isArray(e)?t=e:(t=e.ids||[],n=e.idField);return{ids:t,idField:n}}(t),l=u.ids,p=u.idField,d=p?a.getNestedValue(p,e.item):e.itemHierarchicalIndex,f=l.indexOf(d),h=-1===f;return s.singleMode?c=h?[d]:[]:(c=l.slice(),h?c.push(d):c.splice(f,1),s.checkChildren&&function(e,t,n,i,o){r.getAllDirectIndirectChildrenIds(e,t,i).forEach(function(e){n&&-1===o.indexOf(e)?o.push(e):!n&&o.indexOf(e)>-1&&o.splice(o.indexOf(e),1)})}(e.item,e.itemHierarchicalIndex,h,p,c),s.checkParents&&function(e,t,n,s,c){var u=function(){var s,u,l;return i(this,function(i){switch(i.label){case 0:if(!n)return[3,5];s=r.getAllParents(e,c),u=s.length-1,i.label=1;case 1:return u>-1?[4,{id:a.getNestedValue(n,s[u]),item:t?s[u]:void 0}]:[3,4];case 2:i.sent(),i.label=3;case 3:return u--,[3,1];case 4:return[3,8];case 5:l=o.getDirectParentId(e),i.label=6;case 6:return l?[4,{id:l,item:t?o.getItemById(l,c):void 0}]:[3,8];case 7:return i.sent(),l=o.getDirectParentId(l),[3,6];case 8:return[2]}})}(),l=u.next();t?function(){for(;!l.done;){var e=l.value,t=e.id,i=e.item;if(-1!==s.indexOf(t)||!r.areAllDirectChildrenChecked(i,t,n,s))break;s.push(t),l=u.next()}}():function(){for(;!l.done;){var e=l.value.id,t=s.indexOf(e);if(!(t>-1))break;s.splice(t,1),l=u.next()}}()}(e.itemHierarchicalIndex,h,p,c,n)),a.isArray(t)?c:Object.assign({},t,{ids:c})}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(2),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"},t}return r(t,e),t.prototype.render=function(){var e={top:this.state.top+"px",left:this.state.left+"px"};return this.state.visible&&a.createElement("div",{className:"k-header k-drag-clue",style:o({},this.props.style,e)},a.createElement("span",{className:s.classNames("k-icon k-drag-status k-icon-with-modifier",this.state.operationClassName)},a.createElement("span",{className:"k-icon k-icon-modifier"})),this.state.text)},t.prototype.show=function(e,t,n,i){this.setState({visible:!0,top:e,left:t,text:n,operationClassName:i})},t.prototype.hide=function(){this.setState({visible:!1})},t.defaultProps={style:{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}},t}(a.PureComponent);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),r=function(){function e(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid}return e.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(e.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!0,configurable:!0}),e.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},e.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[i.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[i.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[i.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[i.DOM_KENDO_TREEVIEW_GUID_FIELD])},e}();t.default=r},function(e,t,n){"use strict";n.r(t);var i,r=n(1),o=n(0),a=n(2),s=n(7),c={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}},u=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(){return(l=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},d=c.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,o=t.appear,c=t.enter,u=t.exit,f=t.transitionName,h=t.transitionEnterDuration,m=t.transitionExitDuration,v=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,I=t.onExit,x=t.onExiting,E=t.onExited,_=t.mountOnEnter,O=t.unmountOnExit,k=t.animationEnteringStyle,C=t.animationEnteredStyle,P=t.animationExitingStyle,D=t.animationExitedStyle,w=p(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=Object(a.classNames)(v,d["child-animation-container"]),F=l({transitionDelay:"0ms"},i),j={entering:l({transitionDuration:h+"ms"},k),entered:l({},C),exiting:l({transitionDuration:m+"ms"},P),exited:l({},D)},N={in:this.props.in,appear:o,enter:c,exit:u,mountOnEnter:_,unmountOnExit:O,timeout:{enter:h,exit:m},onEnter:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExit:function(t){I&&I.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:d[f+"-appear"]||f+"-appear",appearActive:d[f+"-appear-active"]||f+"-appear-active",enter:d[f+"-enter"]||f+"-enter",enterActive:d[f+"-enter-active"]||f+"-enter-active",exit:d[f+"-exit"]||f+"-exit",exitActive:d[f+"-exit-active"]||f+"-exit-active"}};return r.createElement(s.CSSTransition,l({},N,w),function(t){return r.createElement("div",{style:l({},F,j[t]),className:S,ref:function(t){e._element=t}},n)})},t.propTypes={in:o.bool,children:o.oneOfType([o.arrayOf(o.node),o.node]),transitionName:o.string.isRequired,className:o.string,appear:o.bool,enter:o.bool,exit:o.bool,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired,mountOnEnter:o.bool,unmountOnExit:o.bool,animationEnteringStyle:o.object,animationEnteredStyle:o.object,animationExitingStyle:o.object,animationExitedStyle:o.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:a.noop,onEntering:a.noop,onEntered:a.noop,onExit:a.noop,onExiting:a.noop,onExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(r.Component),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},y=c.styles,g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,i=e.children,o=e.component,c=e.className,u=e.childFactory,l=(e.stackChildren,e.componentChildStyle),p=e.componentChildClassName,d=v(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),h={id:t,style:n,component:o,childFactory:u,className:Object(a.classNames)(y["animation-container"],y["animation-container-relative"],c)},g=r.Children.map(i||null,function(e){return r.createElement(f,m({},d,{style:l,className:p}),e)});return r.createElement(s.TransitionGroup,m({},h),g)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any,transitionName:o.string.isRequired,appear:o.bool.isRequired,enter:o.bool.isRequired,exit:o.bool.isRequired,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired},t.defaultProps={component:"div"},t}(r.Component),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),I=function(){return(I=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},x=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=x(e,["children"]);return r.createElement(g,I({},{transitionName:"fade"},n),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(r.Component),_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),O=function(){return(O=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},k=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=k(e,["direction","children"]),o={transitionName:"expand-"+t};return r.createElement(g,O({},o,i),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component),P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),D=function(){return(D=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},w=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},S={position:"absolute",top:"0",left:"0"},F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=w(e,["children","direction"]);return r.createElement(g,D({},i,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?S:void 0}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(r.Component),j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(){return(N=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},R=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=R(e,["direction","children"]),o={transitionName:"slide-"+t};return r.createElement(g,N({},o,i),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(r.Component),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),M=function(){return(M=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},z=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},H={position:"absolute",top:"0",left:"0"},L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=z(e,["children","direction"]);return r.createElement(g,M({},i,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?H:void 0}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["in","out"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(r.Component),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},W=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,function(){n&&n.call(void 0,e)})},t.updateContainerDimensions=function(e,n){void 0===n&&(n=a.noop);var i=e.firstChild;if(i){var r=c.outerHeight(i),o=c.outerWidth(i);t.setState({maxHeight:r,maxWidth:o},n)}},t}return V(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,o=t.childFactory,a=W(t,["direction","children","childFactory"]),s=this.state,c=s.maxHeight,u=s.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:c?c+"px":null}:{maxWidth:u?u+"px":null}).maxHeight,maxWidth:e.maxWidth};return r.createElement(g,K({},a,{childFactory:o||function(t){return t.props.in?t:r.cloneElement(t,K({},t.props,{style:K({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:l,transitionName:"reveal-"+n}),i)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component);n.d(t,"Animation",function(){return g}),n.d(t,"AnimationChild",function(){return f}),n.d(t,"Fade",function(){return E}),n.d(t,"Expand",function(){return C}),n.d(t,"Push",function(){return F}),n.d(t,"Slide",function(){return T}),n.d(t,"Zoom",function(){return L}),n.d(t,"Reveal",function(){return Y})}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group"],t):"object"==typeof exports?exports.KendoReactTreeview=t(require("prop-types"),require("react"),require("react-transition-group")):e.KendoReactTreeview=t(e.PropTypes,e.React,e.ReactTransitionGroup)}(window,(function(e,t,n){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=8)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";n.r(t);var i,r=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter((function(e){return!0!==e&&!!e})).map((function(e){return Array.isArray(e)?r.apply(void 0,e):"object"==typeof e?Object.keys(e).map((function(t,n){return e[n]||e[t]&&t||null})).filter((function(e){return null!==e})).join(" "):e})).filter((function(e){return!!e})).join(" ")},o=function(){var e,t,n="";for(e=0;e<32;e++)t=16*Math.random()|0,8!==e&&12!==e&&16!==e&&20!==e||(n+="-"),n+=(12===e?4:16===e?3&t|8:t).toString(16);return n},a={backspace:8,tab:9,enter:13,shift:16,esc:27,space:32,pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40,delete:46},s=function(){},c=function(){},u=n(1),l=n(0),p=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focused:!1},t.handleFocus=function(e){t.setState({focused:!0})},t.handleBlur=function(e){t.setState({focused:!1})},t}return p(t,e),t.prototype.render=function(){var e=this.props,t=e.label,n=e.id,i=e.className,o=e.value,a=e.placeholder,s=e.valid,c=e.style,l=r({"k-textbox-container":!0,"k-state-focused":this.state.focused,"k-state-empty":!(o||a),"k-state-invalid":!s&&void 0!==s},i);return u.createElement("span",{className:l,onFocus:this.handleFocus,onBlur:this.handleBlur,style:c},this.props.children,t?n?u.createElement("label",{htmlFor:n,className:"k-label"},t):u.createElement("span",{className:"k-label"},t):null)},t.propTypes={label:l.string,id:l.string,value:l.string,placeholder:l.string,valid:l.bool},t}(u.Component);function f(e,t,n,i){if(e){var r={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(r,i))}}var h=function(){return"undefined"==typeof window},m=function(e,t){return function(n){return t(e(n))}},v=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},y=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},g=function(){},b=function(e){return e.preventDefault()},I=/touch/;function x(e){return e.type.match(I)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var E=function(e){var t=this,n=e.press;void 0===n&&(n=g);var i=e.drag;void 0===i&&(i=g);var r=e.release;void 0===r&&(r=g);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=m(x,n),this._dragHandler=m(x,i),this._releaseHandler=m(x,r),this._ignoreMouse=!1,this._mouseOnly=o,this._touchAction,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(v(document,"mousemove",t._mousemove),v(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){y(document,"mousemove",t._mousemove),y(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(v(document,"pointermove",t._pointermove),v(document,"pointerup",t._pointerup),v(document,"pointercancel",t._pointerup),v(document,"contextmenu",b),t._touchAction=e.target.style.touchAction,e.target.style.touchAction="none",t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(y(document,"pointermove",t._pointermove),y(document,"pointerup",t._pointerup),y(document,"pointercancel",t._pointerup),y(document,"contextmenu",b),e.target.style.touchAction=t._touchAction,t._releaseHandler(e))}};E.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},E.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},E.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?v(e,"pointerdown",this._pointerdown):(v(e,"mousedown",this._mousedown),this._mouseOnly||(v(e,"touchstart",this._touchstart),v(e,"touchmove",this._touchmove),v(e,"touchend",this._touchend)))},E.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return y(e,"pointerdown",this._pointerdown),y(document,"pointermove",this._pointermove),y(document,"pointerup",this._pointerup),y(document,"contextmenu",b),void y(document,"pointercancel",this._pointerup);y(e,"mousedown",this._mousedown),this._mouseOnly||(y(e,"touchstart",this._touchstart),y(e,"touchmove",this._touchmove),y(e,"touchend",this._touchend))},E.prototype._usePointers=function(){return!this._mouseOnly&&E.supportPointerEvent()},E.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},E.default=E;var _=E,O=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),k=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new _({press:function(e){t.element&&t.props.onPress&&t.props.onPress.call(void 0,{target:t,event:e,element:t.element})},drag:function(e){t.element&&t.props.onDrag&&t.props.onDrag.call(void 0,{target:t,event:e,element:t.element})},release:function(e){t.element&&t.props.onRelease&&t.props.onRelease.call(void 0,{target:t,event:e})}}),t.assingRef=function(e){t.element=e},t}return O(t,e),t.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},t.prototype.componentWillUnmount=function(){this.draggable.destroy()},t.prototype.render=function(){return u.cloneElement(u.Children.only(this.props.children),{ref:this.assingRef})},t.propTypes={children:l.element.isRequired},t}(u.Component),C=function(e){if(e){var t=e.querySelectorAll('input, [tabindex]:not([tabindex="-1"])');t.length&&t[0].focus&&t[0].focus()}},P=function(e,t){var n=u.useState(t),i=n[0],r=n[1];return u.useEffect((function(){if(!i&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&r(t)}}),[]),i};n.d(t,"classNames",(function(){return r})),n.d(t,"guid",(function(){return o})),n.d(t,"Keys",(function(){return a})),n.d(t,"noop",(function(){return s})),n.d(t,"FloatingLabel",(function(){return d})),n.d(t,"FormComponent",(function(){return c})),n.d(t,"dispatchEvent",(function(){return f})),n.d(t,"isServerRendering",(function(){return h})),n.d(t,"Draggable",(function(){return k})),n.d(t,"focusFirstFocusableChild",(function(){return C})),n.d(t,"useRtl",(function(){return P}))},function(e,t,n){"use strict";function i(e){return s(e)?e:e.split(t.SEPARATOR)[0]}function r(e){if(s(e))return e;var n=e.indexOf(t.SEPARATOR);return e.substring(n+1)}function o(e,n){return e=e.toString(),n?n+t.SEPARATOR+e:e}function a(e){var n=e.lastIndexOf(t.SEPARATOR);return n<0?t.EMPTY_ID:e.substring(0,n)}function s(e){return e===t.EMPTY_ID||e.indexOf(t.SEPARATOR)<0}function c(e){return e!==t.EMPTY_ID&&e.indexOf(t.SEPARATOR)<0}function u(e){var n=e.lastIndexOf(t.SEPARATOR);return n<0?e:e.substring(n+1)}Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_ID="",t.ZERO_LEVEL_ZERO_NODE_ID="0",t.SEPARATOR="_",t.getItemById=function e(t,n){if(c(t))return n[Number(t)];var o=n[Number(i(t))];return o&&o.items&&o.items.length?e(r(t),o.items):void 0},t.getRootParentId=i,t.getIdWithoutRootParentId=r,t.getFirstChildId=function(e){return o("0",e)},t.createId=o,t.getDirectParentId=a,t.isIdEmptyOrZeroLevel=s,t.isIdZeroLevel=c,t.getAllShortIds=function(e){return e.split(t.SEPARATOR)},t.getShortId=u,t.isItemFirstFromSiblings=function(e){return u(e)===t.ZERO_LEVEL_ZERO_NODE_ID},t.getDecrementedItemIdAfterRemoval=function(e,n){var o=n;e="r"+t.SEPARATOR+e,n="r"+t.SEPARATOR+n;var s=a(e)+t.SEPARATOR;if(n.startsWith(s)){var c=n.substring(s.length);if(c){var l=i(c);if(Number(u(e))<Number(l))return r(s+(Number(l)-1).toString()+c.substring(l.length))}}return o}},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(11),a=n(5);function s(e,t,n){var i=[],s=new o.default;return s.init(e),function e(t,n,i,o,s){for(var u=0;u<i.length;u++){var l=i[u],p=r.createId(u,o);t.hasId(a.getNestedValue(n,l))&&s.push(p),c(l)&&e(t,n,l.items,p,s)}}(s,t,n,r.EMPTY_ID,i),i}function c(e){return Boolean(e.items&&e.items.length)}t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&c(e)},t.resolveItemId=function(e,t,n){var i=s([e],t,n);return i.length?i[0]:void 0},t.resolveItemsIds=s,t.updateItem=function e(t,n,i,o){var a,s=Number(r.getRootParentId(n));if(s>=t.length)return t;var c=t,u=t[s];return u[o]||(u=(c=t.slice())[s]=Object.assign({},u,((a={})[o]=!0,a))),r.isIdZeroLevel(n)?i(u):u.items&&(u.items=e(u.items,r.getIdWithoutRootParentId(n),i,o)),c},t.hasChildren=c,t.isEnabledAndAllParentsEnabled=function(e,t,n){for(var i=r.getAllShortIds(e),o=t,a=0;a<i.length;a++){var s=o[Number(i[a])];if(n.disabled(s))return!1;o=s.items}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,n){return n?function e(t){var i=[];if(t.items)for(var r=0;r<t.items.length;r++)i.push(a.getNestedValue(n,t.items[r])),i=i.concat(e(t.items[r]));return i}(e):function e(t,n){var i=[];if(t.items)for(var o=0;o<t.items.length;o++){var a=r.createId(o,n);i.push(a),i=i.concat(e(t.items[o],a))}return i}(e,t)},t.areAllDirectChildrenChecked=function(e,t,n,i){return!e.items||e.items.every((function(e,o){return i.indexOf(n?a.getNestedValue(n,e):r.createId(o,t))>-1}))},t.getAllParents=function(e,t){for(var n=[],i=r.getAllShortIds(e),o=t,a=0;a<i.length-1&&o;a++){var s=o[Number(i[a])];n.push(s),o=s.items}return n},t.removeItem=function e(t,n){var o=n.slice();if(r.isIdZeroLevel(t))o.splice(Number(t),1);else{var a=Number(r.getRootParentId(t)),s=o[a]=i({},o[a]);s.items=e(r.getIdWithoutRootParentId(t),s.items)}return o},t.addItem=function e(t,n,o,a){var s=a.slice();if(r.isIdZeroLevel(o))if("child"===n){var c=s[Number(o)]=i({},s[Number(o)]);c.items?(c.items=c.items.slice(),c.items.push(t)):c.items=[t]}else s.splice(Number(o)+("after"===n?1:0),0,t);else{var u=Number(r.getRootParentId(o)),l=s[u]=i({},s[u]);l.items=e(t,n,r.getIdWithoutRootParentId(o),l.items)}return s}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=function(e,t){var n=(e||"").split("."),i=t;return n.forEach((function(e){i=i?i[e]:void 0})),i},t.isArray=function(e){return void 0!==e.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPAND_FIELD="expanded",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9);t.TreeView=i.default;var r=n(14);t.processTreeViewItems=r.default;var o=n(15);t.moveTreeViewItem=o.default;var a=n(16);t.handleTreeViewCheckChange=a.handleTreeViewCheckChange;var s=n(17);t.TreeViewDragClue=s.default;var c=n(18);t.TreeViewDragAnalyzer=c.default},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(0),s=n(2),c=n(10),u=n(4),l=n(12),p=n(3),d=n(13),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:p.ZERO_LEVEL_ZERO_NODE_ID},t.allowExplicitFocus=!1,t.treeGuid=s.guid(),t.onFocusDomElNeeded=function(e){t.allowExplicitFocus&&t.focusDomItem(e)},t.onCheckChange=function(e,n,i){t.setFocus(i),t.dispatchCheckChange(e,n,i)},t.onExpandChange=function(e,n,i){t.setFocus(i),t.dispatchExpandChange(e,n,i)},t.onPress=function(e,n,i){e.originalEvent.preventDefault(),t.props.onItemDragStart&&t.props.onItemDragStart.call(void 0,{target:t,item:n,itemHierarchicalIndex:i})},t.onDrag=function(e,n,i){e.originalEvent.preventDefault();var r=e.pageX,o=e.pageY,a=e.clientX,s=e.clientY;t.props.onItemDragOver&&t.props.onItemDragOver.call(void 0,{target:t,item:n,itemHierarchicalIndex:i,pageX:r,pageY:o,clientX:a,clientY:s})},t.onRelease=function(e,n,i){var r=e.pageX,o=e.pageY,a=e.clientX,s=e.clientY;t.props.onItemDragEnd&&t.props.onItemDragEnd.call(void 0,{target:t,item:n,itemHierarchicalIndex:i,pageX:r,pageY:o,clientX:a,clientY:s})},t.onItemClick=function(e,n,i){t.setFocus(i),t.dispatchItemClick(e,n,i)},t.onFocus=function(){clearTimeout(t.blurRequest),void 0===t.state.focusedItemId&&t.data.length&&t.setFocus(t.state.tabbableItemId)},t.onBlur=function(){clearTimeout(t.blurRequest),t.blurRequest=setTimeout((function(){return t.setFocus(void 0)}),0)},t.onKeyDown=function(e){var n=t.getFocusedItem();if(n){var i=c.default(n,t.state.focusedItemId,t.data,e.keyCode,t.fieldsSvc);i!==t.state.focusedItemId&&(e.preventDefault(),t.allowExplicitFocus=!0,t.setFocus(i)),t.dispatchEventsOnKeyDown(e,n)}},t}return r(t,e),t.prototype.render=function(){var e=this;return this.fieldsSvc=new d.default(this.props),o.createElement("div",{className:"k-widget k-treeview"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},o.createElement("ul",{className:"k-treeview-lines",role:"group"},this.data.map((function(t,n){return o.createElement(l.default,{item:t,itemId:n.toString(),treeGuid:e.treeGuid,animate:e.props.animate,focusedItemId:e.state.focusedItemId,tabbableItemId:e.state.tabbableItemId,fieldsService:e.fieldsSvc,itemRender:e.props.itemRender,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.ariaMultiSelectable,onItemClick:e.onItemClick,onFocusDomElNeeded:e.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.onPress,onDrag:e.onDrag,onRelease:e.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.onExpandChange,onCheckChange:e.onCheckChange,key:n})}))))},t.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},t.prototype.dispatchEventsOnKeyDown=function(e,t){var n=this,i=function(){return u.isEnabledAndAllParentsEnabled(n.state.focusedItemId,n.data,n.fieldsSvc)};e.keyCode===s.Keys.left&&this.fieldsSvc.expanded(t)&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===s.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||u.hasChildren(t))&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===s.Keys.enter&&i()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===s.Keys.space&&i()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))},t.prototype.setFocus=function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState((function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}}))},t.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},t.prototype.getItemById=function(e){return p.getItemById(e,this.data)},t.prototype.dispatchCheckChange=function(e,t,n){s.dispatchEvent(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchExpandChange=function(e,t,n){s.dispatchEvent(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.dispatchItemClick=function(e,t,n){s.dispatchEvent(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:n})},t.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):u.resolveItemId(e,this.fieldsSvc.focusIdField,this.data);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(t.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!0,configurable:!0}),t.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(t.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!0,configurable:!0}),t.propTypes={data:a.arrayOf(a.any),animate:a.bool,focusIdField:a.string,getHierarchicalIndexById:a.func,onExpandChange:a.func,onItemClick:a.func,expandField:a.string,selectField:a.string,hasChildrenField:a.string,textField:a.string,disableField:a.string,itemRender:a.any,"aria-multiselectable":a.oneOfType([a.bool,a.oneOf(["false","true"])]),"aria-label":a.string,"aria-labelledby":a.string},t.defaultProps={animate:!0},t}(o.Component);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),r=n(3),o=n(4);t.default=function(e,t,n,a,s){switch(a){case i.Keys.left:return r.isIdZeroLevel(t)||s.expanded(e)&&o.isEnabledAndAllParentsEnabled(t,n,s)?t:r.getDirectParentId(t);case i.Keys.right:return o.isItemExpandedAndWithChildren(e,s)?r.getFirstChildId(t):t;case i.Keys.up:return c=Number(r.getShortId(t)),u=r.getDirectParentId(t),c?function e(t,n,i){var a=r.getItemById(t,n);return o.isItemExpandedAndWithChildren(a,i)?e(r.createId(a.items.length-1,t),n,i):t}(r.createId(c-1,u),n,s):r.isIdZeroLevel(t)?t:u;case i.Keys.down:return o.isItemExpandedAndWithChildren(e,s)?r.getFirstChildId(t):function e(t,n){var i=r.getDirectParentId(t),o=i?r.getItemById(i,n):void 0,a=o?o.items:n,s=Number(r.getShortId(t));return s<a.length-1?r.createId(s+1,i):o?e(i,n):void 0}(t,n)||t;case i.Keys.home:return r.ZERO_LEVEL_ZERO_NODE_ID;case i.Keys.end:return function(){var e=(n.length-1).toString(),t=n[n.length-1];for(;o.isItemExpandedAndWithChildren(t,s);)e=r.createId(t.items.length-1,e),t=t.items[t.items.length-1];return e}();default:return t}var c,u}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){this.objects=[]}return e.prototype.init=function(e){for(var t,n=0;n<e.length;n++)n%5e4==0&&(t={},this.objects.push(t)),t[e[n]]=!0},e.prototype.hasId=function(e){return this.objects.some((function(t){return t[e]}))},e}();t.default=i},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=n(2),s=n(3),c=n(4),u=n(19),l=n(6),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.itemGuid=a.guid(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e[l.DOM_KENDO_ITEM_ID_FIELD]=t.props.itemId,e[l.DOM_KENDO_TREEVIEW_GUID_FIELD]=t.props.treeGuid)},t}return r(t,e),t.prototype.render=function(){var e=this,t=this.renderSubitemsIfApplicable(),n=this.renderItemInPart();return o.createElement("li",{className:this.getRootClassName(),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0,ref:function(t){return e.itemElement=t}},o.createElement("div",{className:"k-mid",ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?o.createElement(a.Draggable,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},n):n),this.props.animate?o.createElement(u.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:t}):t)},t.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},t.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var n=this.fieldsSvc.checkIndeterminate(this.item);n!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=n)}},t.prototype.renderCheckbox=function(){var e=this;return this.props.checkboxes?o.createElement("div",{className:"k-checkbox-wrapper"},o.createElement("input",{type:"checkbox",className:"k-checkbox",checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(t){return e.checkboxElement=t}}),o.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid})):void 0},t.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||c.hasChildren(this.item))?o.createElement("span",{className:this.getIconClassName(),onClick:this.onExpandChange}):void 0},t.prototype.renderSubitemsIfApplicable=function(){var e=this;return c.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?o.createElement("ul",{className:"k-content",role:"group"},this.item.items.map((function(n,i){return o.createElement(t,{item:n,itemId:s.createId(i,e.itemId),treeGuid:e.props.treeGuid,animate:e.props.animate,focusedItemId:e.props.focusedItemId,tabbableItemId:e.props.tabbableItemId,fieldsService:e.props.fieldsService,itemRender:e.props.itemRender,checkboxes:e.props.checkboxes,ariaMultiSelectable:e.props.ariaMultiSelectable,onItemClick:e.props.onItemClick,onFocusDomElNeeded:e.props.onFocusDomElNeeded,draggable:e.props.draggable,onPress:e.props.onPress,onDrag:e.props.onDrag,onRelease:e.props.onRelease,expandIcons:e.props.expandIcons,onExpandChange:e.props.onExpandChange,onCheckChange:e.props.onCheckChange,key:i})}))):void 0},t.prototype.renderItemInPart=function(){return o.createElement("span",{className:this.getContentClassName(),onClick:this.onItemClick},this.props.itemRender?o.createElement(this.props.itemRender,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item))},Object.defineProperty(t.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"item",{get:function(){return this.props.item},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||c.hasChildren(this.item)?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)},enumerable:!0,configurable:!0}),t.prototype.getIconClassName=function(){return a.classNames("k-icon",{"k-i-expand":!this.fieldsSvc.expanded(this.item),"k-i-collapse":this.fieldsSvc.expanded(this.item),"k-i-loading":this.fieldsSvc.expanded(this.item)&&!c.hasChildren(this.item)})},t.prototype.getRootClassName=function(){return a.classNames("k-item k-treeview-item",{"k-state-disabled":this.fieldsSvc.disabled(this.item)})},t.prototype.getContentClassName=function(){return a.classNames("k-in",{"k-state-focused":this.props.focusedItemId===this.itemId,"k-state-selected":this.fieldsSvc.selected(this.item)})},t}(o.Component);t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),r=n(5),o=function(){function e(e){this.expandField=e.expandField||i.EXPAND_FIELD,this.selectField=e.selectField||i.SELECT_FIELD,this.hasChildrenField=e.hasChildrenField||"hasChildren",this.textField=e.textField||"text",this.disableField=e.disableField||"disabled",this.checkField=e.checkField||i.CHECK_FIELD,this.checkIndeterminateField=e.checkIndeterminateField||i.CHECK_INDETERMINATE_FIELD,this.focusIdField=e.focusIdField}return e.prototype.expanded=function(e){return r.getNestedValue(this.expandField,e)},e.prototype.selected=function(e){return r.getNestedValue(this.selectField,e)},e.prototype.text=function(e){return r.getNestedValue(this.textField,e)},e.prototype.disabled=function(e){return r.getNestedValue(this.disableField,e)},e.prototype.hasChildren=function(e){return r.getNestedValue(this.hasChildrenField,e)},e.prototype.checked=function(e){return r.getNestedValue(this.checkField,e)},e.prototype.checkIndeterminate=function(e){return r.getNestedValue(this.checkIndeterminateField,e)},e.prototype.focusId=function(e){return this.focusIdField&&r.getNestedValue(this.focusIdField,e)},e}();t.default=o},function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(6),a=n(5);function s(e,t,n,i){if(n){var o=c(n,t),s=o.ids,l=o.field;return function(e,t,n,i){var o=e;return t.forEach((function(e){o=r.updateItem(o,e,(function(e){return u(n,e)}),i)})),o}(e,!a.isArray(n)&&n.idField?r.resolveItemsIds(s,n.idField,e):s,l,i)}return e}function c(e,t){var n,i;return a.isArray(e)?(n=e,i=t):(n=e.ids||[],i=e.operationField||t),{ids:n,field:i}}function u(e,t){for(var n=(e||"").split("."),r=t,o=0;o<n.length;o++){var a=n[o];if(o===n.length-1)r[a]=!0;else{if(void 0===r[a])return;r[a]=i({},r[a]),r=r[a]}}}function l(e,t,n,i){for(var r=!1,o=0;o<e.length;o++){var s=e[o];if(a.getNestedValue(n,s)){if(!r)for(var c=0;c<t.length;c++)u(i,t[c]);r=!0,s.items&&l(s.items,[],n,i)}else s.items&&l(s.items,r?[s]:t.concat([s]),n,i)}}t.default=function(e,t){if(!e||!e.length)return[];var n=e,i=t.cloneField||"cloned";return n=s(n,o.EXPAND_FIELD,t.expand,i),n=s(n,o.SELECT_FIELD,t.select,i),function(e,t){if(t&&!a.isArray(t)&&t.applyCheckIndeterminate)for(var n=c(t,o.CHECK_FIELD).field,i=t.checkIndeterminateField||o.CHECK_INDETERMINATE_FIELD,r=0;r<e.length;r++){var s=e[r];s.items&&l(s.items,a.getNestedValue(n,s)?[]:[s],n,i)}}(n=s(n,o.CHECK_FIELD,t.check,i),t.check),n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4),r=n(3);t.default=function(e,t,n,o,a){if(!function(){if(!(t&&t.length&&e&&o))return!1;if(a&&!a.length)return!1;var n=a&&a!==t?a:t;if(!r.getItemById(o,n))return!1;return!0}())return l();var s=r.getItemById(e,t);if(!s)return l();if(a&&a!==t)return{sourceData:i.removeItem(e,t),targetData:i.addItem(s,n,o,a)};if((o+"_").startsWith(e+"_"))return l();var c=i.removeItem(e,t),u=i.addItem(s,n,r.getDecrementedItemIdAfterRemoval(e,o),c);return a?{sourceData:u,targetData:u}:u;function l(){return a?{sourceData:t,targetData:a}:t}}},function(e,t,n){"use strict";var i=this&&this.__generator||function(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5);t.handleTreeViewCheckChange=function(e,t,n,s){if(void 0===s&&(s={}),!n||!n.length)return[];var c,u=function(e){var t,n=void 0;a.isArray(e)?t=e:(t=e.ids||[],n=e.idField);return{ids:t,idField:n}}(t),l=u.ids,p=u.idField,d=p?a.getNestedValue(p,e.item):e.itemHierarchicalIndex,f=l.indexOf(d),h=-1===f;return s.singleMode?c=h?[d]:[]:(c=l.slice(),h?c.push(d):c.splice(f,1),s.checkChildren&&function(e,t,n,i,o){r.getAllDirectIndirectChildrenIds(e,t,i).forEach((function(e){n&&-1===o.indexOf(e)?o.push(e):!n&&o.indexOf(e)>-1&&o.splice(o.indexOf(e),1)}))}(e.item,e.itemHierarchicalIndex,h,p,c),s.checkParents&&function(e,t,n,s,c){var u=function(){var s,u,l;return i(this,(function(i){switch(i.label){case 0:if(!n)return[3,5];s=r.getAllParents(e,c),u=s.length-1,i.label=1;case 1:return u>-1?[4,{id:a.getNestedValue(n,s[u]),item:t?s[u]:void 0}]:[3,4];case 2:i.sent(),i.label=3;case 3:return u--,[3,1];case 4:return[3,8];case 5:l=o.getDirectParentId(e),i.label=6;case 6:return l?[4,{id:l,item:t?o.getItemById(l,c):void 0}]:[3,8];case 7:return i.sent(),l=o.getDirectParentId(l),[3,6];case 8:return[2]}}))}(),l=u.next();t?function(){for(;!l.done;){var e=l.value,t=e.id,i=e.item;if(-1!==s.indexOf(t)||!r.areAllDirectChildrenChecked(i,t,n,s))break;s.push(t),l=u.next()}}():function(){for(;!l.done;){var e=l.value.id,t=s.indexOf(e);if(!(t>-1))break;s.splice(t,1),l=u.next()}}()}(e.itemHierarchicalIndex,h,p,c,n)),a.isArray(t)?c:Object.assign({},t,{ids:c})}},function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),s=n(2),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"},t}return r(t,e),t.prototype.render=function(){var e={top:this.state.top+"px",left:this.state.left+"px"};return this.state.visible&&a.createElement("div",{className:"k-header k-drag-clue",style:o({},this.props.style,e)},a.createElement("span",{className:s.classNames("k-icon k-drag-status k-icon-with-modifier",this.state.operationClassName)},a.createElement("span",{className:"k-icon k-icon-modifier"})),this.state.text)},t.prototype.show=function(e,t,n,i){this.setState({visible:!0,top:e,left:t,text:n,operationClassName:i})},t.prototype.hide=function(){this.setState({visible:!1})},t.defaultProps={style:{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}},t}(a.PureComponent);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),r=function(){function e(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid}return e.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(e.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!0,configurable:!0}),e.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},e.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[i.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[i.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[i.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[i.DOM_KENDO_TREEVIEW_GUID_FIELD])},e}();t.default=r},function(e,t,n){"use strict";n.r(t);var i,r=n(1),o=n(0),a=n(2),s=n(7),c={outerHeight:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),i=parseFloat(t.marginBottom);return e.offsetHeight+n+i},outerWidth:function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),i=parseFloat(t.marginRight);return e.offsetWidth+n+i},styles:{"animation-container":"k-animation-container","animation-container-relative":"k-animation-container-relative","animation-container-fixed":"k-animation-container-fixed","push-right-enter":"k-push-right-enter","push-right-appear":"k-push-right-appear","push-right-enter-active":"k-push-right-enter-active","push-right-appear-active":"k-push-right-appear-active","push-right-exit":"k-push-right-exit","push-right-exit-active":"k-push-right-exit-active","push-left-enter":"k-push-left-enter","push-left-appear":"k-push-left-appear","push-left-enter-active":"k-push-left-enter-active","push-left-appear-active":"k-push-left-appear-active","push-left-exit":"k-push-left-exit","push-left-exit-active":"k-push-left-exit-active","push-down-enter":"k-push-down-enter","push-down-appear":"k-push-down-appear","push-down-enter-active":"k-push-down-enter-active","push-down-appear-active":"k-push-down-appear-active","push-down-exit":"k-push-down-exit","push-down-exit-active":"k-push-down-exit-active","push-up-enter":"k-push-up-enter","push-up-appear":"k-push-up-appear","push-up-enter-active":"k-push-up-enter-active","push-up-appear-active":"k-push-up-appear-active","push-up-exit":"k-push-up-exit","push-up-exit-active":"k-push-up-exit-active",expand:"k-expand","expand-vertical-enter":"k-expand-vertical-enter","expand-vertical-appear":"k-expand-vertical-appear","expand-vertical-enter-active":"k-expand-vertical-enter-active","expand-vertical-appear-active":"k-expand-vertical-appear-active","expand-vertical-exit":"k-expand-vertical-exit","expand-vertical-exit-active":"k-expand-vertical-exit-active","expand-horizontal-enter":"k-expand-horizontal-enter","expand-horizontal-appear":"k-expand-horizontal-appear","expand-horizontal-enter-active":"k-expand-horizontal-enter-active","expand-horizontal-appear-active":"k-expand-horizontal-appear-active","expand-horizontal-exit":"k-expand-horizontal-exit","expand-horizontal-exit-active":"k-expand-horizontal-exit-active","child-animation-container":"k-child-animation-container","fade-enter":"k-fade-enter","fade-appear":"k-fade-appear","fade-enter-active":"k-fade-enter-active","fade-appear-active":"k-fade-appear-active","fade-exit":"k-fade-exit","fade-exit-active":"k-fade-exit-active","zoom-in-enter":"k-zoom-in-enter","zoom-in-appear":"k-zoom-in-appear","zoom-in-enter-active":"k-zoom-in-enter-active","zoom-in-appear-active":"k-zoom-in-appear-active","zoom-in-exit":"k-zoom-in-exit","zoom-in-exit-active":"k-zoom-in-exit-active","zoom-out-enter":"k-zoom-out-enter","zoom-out-appear":"k-zoom-out-appear","zoom-out-enter-active":"k-zoom-out-enter-active","zoom-out-appear-active":"k-zoom-out-appear-active","zoom-out-exit":"k-zoom-out-exit","zoom-out-exit-active":"k-zoom-out-exit-active","slide-in-appear":"k-slide-in-appear",centered:"k-centered","slide-in-appear-active":"k-slide-in-appear-active","slide-down-enter":"k-slide-down-enter","slide-down-appear":"k-slide-down-appear","slide-down-enter-active":"k-slide-down-enter-active","slide-down-appear-active":"k-slide-down-appear-active","slide-down-exit":"k-slide-down-exit","slide-down-exit-active":"k-slide-down-exit-active","slide-up-enter":"k-slide-up-enter","slide-up-appear":"k-slide-up-appear","slide-up-enter-active":"k-slide-up-enter-active","slide-up-appear-active":"k-slide-up-appear-active","slide-up-exit":"k-slide-up-exit","slide-up-exit-active":"k-slide-up-exit-active","slide-right-enter":"k-slide-right-enter","slide-right-appear":"k-slide-right-appear","slide-right-enter-active":"k-slide-right-enter-active","slide-right-appear-active":"k-slide-right-appear-active","slide-right-exit":"k-slide-right-exit","slide-right-exit-active":"k-slide-right-exit-active","slide-left-enter":"k-slide-left-enter","slide-left-appear":"k-slide-left-appear","slide-left-enter-active":"k-slide-left-enter-active","slide-left-appear-active":"k-slide-left-appear-active","slide-left-exit":"k-slide-left-exit","slide-left-exit-active":"k-slide-left-exit-active","reveal-vertical-enter":"k-reveal-vertical-enter","reveal-vertical-appear":"k-reveal-vertical-appear","reveal-vertical-enter-active":"k-reveal-vertical-enter-active","reveal-vertical-appear-active":"k-reveal-vertical-appear-active","reveal-vertical-exit":"k-reveal-vertical-exit","reveal-vertical-exit-active":"k-reveal-vertical-exit-active","reveal-horizontal-enter":"k-reveal-horizontal-enter","reveal-horizontal-appear":"k-reveal-horizontal-appear","reveal-horizontal-enter-active":"k-reveal-horizontal-enter-active","reveal-horizontal-appear-active":"k-reveal-horizontal-appear-active","reveal-horizontal-exit":"k-reveal-horizontal-exit","reveal-horizontal-exit-active":"k-reveal-horizontal-exit-active"}},u=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=function(){return(l=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},d=c.styles,f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return u(t,e),Object.defineProperty(t.prototype,"element",{get:function(){return this._element},enumerable:!0,configurable:!0}),t.prototype.render=function(){var e=this,t=this.props,n=t.children,i=t.style,o=t.appear,c=t.enter,u=t.exit,f=t.transitionName,h=t.transitionEnterDuration,m=t.transitionExitDuration,v=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,I=t.onExit,x=t.onExiting,E=t.onExited,_=t.mountOnEnter,O=t.unmountOnExit,k=t.animationEnteringStyle,C=t.animationEnteredStyle,P=t.animationExitingStyle,D=t.animationExitedStyle,w=p(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),S=Object(a.classNames)(v,d["child-animation-container"]),F=l({transitionDelay:"0ms"},i),j={entering:l({transitionDuration:h+"ms"},k),entered:l({},C),exiting:l({transitionDuration:m+"ms"},P),exited:l({},D)},N={in:this.props.in,appear:o,enter:c,exit:u,mountOnEnter:_,unmountOnExit:O,timeout:{enter:h,exit:m},onEnter:function(t){y&&y.call(void 0,{animatedElement:t,target:e})},onEntering:function(t){g&&g.call(void 0,{animatedElement:t,target:e})},onEntered:function(t){b&&b.call(void 0,{animatedElement:t,target:e})},onExit:function(t){I&&I.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){x&&x.call(void 0,{animatedElement:t,target:e})},onExited:function(t){E&&E.call(void 0,{animatedElement:t,target:e})},classNames:{appear:d[f+"-appear"]||f+"-appear",appearActive:d[f+"-appear-active"]||f+"-appear-active",enter:d[f+"-enter"]||f+"-enter",enterActive:d[f+"-enter-active"]||f+"-enter-active",exit:d[f+"-exit"]||f+"-exit",exitActive:d[f+"-exit-active"]||f+"-exit-active"}};return r.createElement(s.CSSTransition,l({},N,w),(function(t){return r.createElement("div",{style:l({},F,j[t]),className:S,ref:function(t){e._element=t}},n)}))},t.propTypes={in:o.bool,children:o.oneOfType([o.arrayOf(o.node),o.node]),transitionName:o.string.isRequired,className:o.string,appear:o.bool,enter:o.bool,exit:o.bool,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired,mountOnEnter:o.bool,unmountOnExit:o.bool,animationEnteringStyle:o.object,animationEnteredStyle:o.object,animationExitingStyle:o.object,animationExitedStyle:o.object},t.defaultProps={mountOnEnter:!0,unmountOnExit:!1,onEnter:a.noop,onEntering:a.noop,onEntered:a.noop,onExit:a.noop,onExiting:a.noop,onExited:a.noop,animationEnteringStyle:{},animationEnteredStyle:{},animationExitingStyle:{},animationExitedStyle:{}},t}(r.Component),h=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),m=function(){return(m=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},v=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},y=c.styles,g=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,i=e.children,o=e.component,c=e.className,u=e.childFactory,l=(e.stackChildren,e.componentChildStyle),p=e.componentChildClassName,d=v(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),h={id:t,style:n,component:o,childFactory:u,className:Object(a.classNames)(y["animation-container"],y["animation-container-relative"],c)},g=r.Children.map(i||null,(function(e){return r.createElement(f,m({},d,{style:l,className:p}),e)}));return r.createElement(s.TransitionGroup,m({},h),g)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any,transitionName:o.string.isRequired,appear:o.bool.isRequired,enter:o.bool.isRequired,exit:o.bool.isRequired,transitionEnterDuration:o.number.isRequired,transitionExitDuration:o.number.isRequired},t.defaultProps={component:"div"},t}(r.Component),b=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),I=function(){return(I=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},x=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=x(e,["children"]);return r.createElement(g,I({},{transitionName:"fade"},n),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(r.Component),_=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),O=function(){return(O=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},k=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return _(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=k(e,["direction","children"]),o={transitionName:"expand-"+t};return r.createElement(g,O({},o,i),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component),P=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),D=function(){return(D=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},w=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},S={position:"absolute",top:"0",left:"0"},F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return P(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=w(e,["children","direction"]);return r.createElement(g,D({},i,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?S:void 0}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(r.Component),j=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),N=function(){return(N=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},R=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return j(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,i=R(e,["direction","children"]),o={transitionName:"slide-"+t};return r.createElement(g,N({},o,i),n)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["up","down","left","right"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(r.Component),A=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),M=function(){return(M=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},z=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},H={position:"absolute",top:"0",left:"0"},L=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return A(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,i=z(e,["children","direction"]);return r.createElement(g,M({},i,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?H:void 0}),t)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["in","out"]),component:o.string,id:o.string,style:o.any,stackChildren:o.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(r.Component),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},W=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n},Y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={maxHeight:void 0,maxWidth:void 0},t.componentWillEnter=function(e){var n=t.props.onEnter;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentIsEntering=function(e){var n=t.props.onEntering;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.componentWillExit=function(e){var n=t.props.onExit;t.updateContainerDimensions(e.animatedElement,(function(){n&&n.call(void 0,e)}))},t.updateContainerDimensions=function(e,n){void 0===n&&(n=a.noop);var i=e.firstChild;if(i){var r=c.outerHeight(i),o=c.outerWidth(i);t.setState({maxHeight:r,maxWidth:o},n)}},t}return V(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,i=t.children,o=t.childFactory,a=W(t,["direction","children","childFactory"]),s=this.state,c=s.maxHeight,u=s.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:c?c+"px":null}:{maxWidth:u?u+"px":null}).maxHeight,maxWidth:e.maxWidth};return r.createElement(g,K({},a,{childFactory:o||function(t){return t.props.in?t:r.cloneElement(t,K({},t.props,{style:K({},t.props.style,{maxHeight:e.maxHeight,maxWidth:e.maxWidth})}))},onEnter:this.componentWillEnter,onEntering:this.componentIsEntering,onExit:this.componentWillExit,animationEnteringStyle:l,transitionName:"reveal-"+n}),i)},t.propTypes={children:o.oneOfType([o.arrayOf(o.node),o.node]),childFactory:o.any,className:o.string,direction:o.oneOf(["horizontal","vertical"]),component:o.string,id:o.string,style:o.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(r.Component);n.d(t,"Animation",(function(){return g})),n.d(t,"AnimationChild",(function(){return f})),n.d(t,"Fade",(function(){return E})),n.d(t,"Expand",(function(){return C})),n.d(t,"Push",(function(){return F})),n.d(t,"Slide",(function(){return T})),n.d(t,"Zoom",(function(){return L})),n.d(t,"Reveal",(function(){return Y}))}])}));

@@ -1,1 +0,1 @@

System.register("@progress/kendo-react-treeview",["@progress/kendo-react-common","react","prop-types","@progress/kendo-react-animation"],function(d){var s,o,a,c;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){o=t(e)},function(e){a=t(e)},function(e){c=t(e)}],execute:function(){function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var i,n;n={},r.m=i=[function(e,o,t){"use strict";function a(e){return n(e)?e:e.split(o.SEPARATOR)[0]}function c(e){if(n(e))return e;var t=e.indexOf(o.SEPARATOR);return e.substring(t+1)}function i(e,t){return e=e.toString(),t?t+o.SEPARATOR+e:e}function d(e){var t=e.lastIndexOf(o.SEPARATOR);return t<0?o.EMPTY_ID:e.substring(0,t)}function n(e){return e===o.EMPTY_ID||e.indexOf(o.SEPARATOR)<0}function r(e){return e!==o.EMPTY_ID&&e.indexOf(o.SEPARATOR)<0}function l(e){var t=e.lastIndexOf(o.SEPARATOR);return t<0?e:e.substring(t+1)}Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_ID="",o.ZERO_LEVEL_ZERO_NODE_ID="0",o.SEPARATOR="_",o.getItemById=function e(t,i){if(r(t))return i[Number(t)];var n=i[Number(a(t))];return n&&n.items&&n.items.length?e(c(t),n.items):void 0},o.getRootParentId=a,o.getIdWithoutRootParentId=c,o.getFirstChildId=function(e){return i("0",e)},o.createId=i,o.getDirectParentId=d,o.isIdEmptyOrZeroLevel=n,o.isIdZeroLevel=r,o.getAllShortIds=function(e){return e.split(o.SEPARATOR)},o.getShortId=l,o.isItemFirstFromSiblings=function(e){return l(e)===o.ZERO_LEVEL_ZERO_NODE_ID},o.getDecrementedItemIdAfterRemoval=function(e,t){var i=t;e="r"+o.SEPARATOR+e,t="r"+o.SEPARATOR+t;var n=d(e)+o.SEPARATOR;if(t.startsWith(n)){var r=t.substring(n.length);if(r){var s=a(r);if(Number(l(e))<Number(s))return c(n+(Number(s)-1).toString()+r.substring(s.length))}}return i}},function(e,t,i){"use strict";var d=this&&this.__assign||function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var l=i(0),s=i(10),u=i(3);function r(e,t,i){var n=[],r=new s.default;return r.init(e),function e(t,i,n,r,s){for(var o=0;o<n.length;o++){var a=n[o],c=l.createId(o,r);t.hasId(u.getNestedValue(i,a))&&s.push(c),p(a)&&e(t,i,a.items,c,s)}}(r,t,i,l.EMPTY_ID,n),n}function p(e){return Boolean(e.items&&e.items.length)}t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&p(e)},t.resolveItemId=function(e,t,i){var n=r([e],t,i);return n.length?n[0]:void 0},t.resolveItemsIds=r,t.updateItem=function e(t,i,n,r){var s,o=Number(l.getRootParentId(i));if(o>=t.length)return t;var a=t,c=t[o];return c[r]||(c=(a=t.slice())[o]=Object.assign({},c,((s={})[r]=!0,s))),l.isIdZeroLevel(i)?n(c):c.items&&(c.items=e(c.items,l.getIdWithoutRootParentId(i),n,r)),a},t.hasChildren=p,t.isEnabledAndAllParentsEnabled=function(e,t,i){for(var n=l.getAllShortIds(e),r=t,s=0;s<n.length;s++){var o=r[Number(n[s])];if(i.disabled(o))return!1;r=o.items}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,r){return r?function e(t){var i=[];if(t.items)for(var n=0;n<t.items.length;n++)i.push(u.getNestedValue(r,t.items[n])),i=i.concat(e(t.items[n]));return i}(e):function e(t,i){var n=[];if(t.items)for(var r=0;r<t.items.length;r++){var s=l.createId(r,i);n.push(s),n=n.concat(e(t.items[r],s))}return n}(e,t)},t.areAllDirectChildrenChecked=function(e,i,n,r){return!e.items||e.items.every(function(e,t){return-1<r.indexOf(n?u.getNestedValue(n,e):l.createId(t,i))})},t.getAllParents=function(e,t){for(var i=[],n=l.getAllShortIds(e),r=t,s=0;s<n.length-1&&r;s++){var o=r[Number(n[s])];i.push(o),r=o.items}return i},t.removeItem=function e(t,i){var n=i.slice();if(l.isIdZeroLevel(t))n.splice(Number(t),1);else{var r=Number(l.getRootParentId(t)),s=n[r]=d({},n[r]);s.items=e(l.getIdWithoutRootParentId(t),s.items)}return n},t.addItem=function e(t,i,n,r){var s=r.slice();if(l.isIdZeroLevel(n))if("child"===i){var o=s[Number(n)]=d({},s[Number(n)]);o.items?(o.items=o.items.slice(),o.items.push(t)):o.items=[t]}else s.splice(Number(n)+("after"===i?1:0),0,t);else{var a=Number(l.getRootParentId(n)),c=s[a]=d({},s[a]);c.items=e(t,i,l.getIdWithoutRootParentId(n),c.items)}return s}},function(e,t){e.exports=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=function(e,t){var i=(e||"").split("."),n=t;return i.forEach(function(e){n=n?n[e]:void 0}),n},t.isArray=function(e){return void 0!==e.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPAND_FIELD="expanded",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t){e.exports=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7);t.TreeView=n.default;var r=i(14);t.processTreeViewItems=r.default;var s=i(15);t.moveTreeViewItem=s.default;var o=i(16);t.handleTreeViewCheckChange=o.handleTreeViewCheckChange;var a=i(17);t.TreeViewDragClue=a.default;var c=i(18);t.TreeViewDragAnalyzer=c.default,function(e){for(var t in e)d(t,e[t])}(t)},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s,o=i(5),a=i(8),c=i(2),d=i(9),l=i(1),u=i(11),p=i(0),h=i(13),f=(s=o.Component,r(m,s),m.prototype.render=function(){var i=this;return this.fieldsSvc=new h.default(this.props),o.createElement("div",{className:"k-widget k-treeview"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},o.createElement("ul",{className:"k-treeview-lines",role:"group"},this.data.map(function(e,t){return o.createElement(u.default,{item:e,itemId:t.toString(),treeGuid:i.treeGuid,animate:i.props.animate,focusedItemId:i.state.focusedItemId,tabbableItemId:i.state.tabbableItemId,fieldsService:i.fieldsSvc,itemRender:i.props.itemRender,checkboxes:i.props.checkboxes,ariaMultiSelectable:i.ariaMultiSelectable,onItemClick:i.onItemClick,onFocusDomElNeeded:i.onFocusDomElNeeded,draggable:i.props.draggable,onPress:i.onPress,onDrag:i.onDrag,onRelease:i.onRelease,expandIcons:i.props.expandIcons,onExpandChange:i.onExpandChange,onCheckChange:i.onCheckChange,key:t})})))},m.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},m.prototype.dispatchEventsOnKeyDown=function(e,t){function i(){return l.isEnabledAndAllParentsEnabled(n.state.focusedItemId,n.data,n.fieldsSvc)}var n=this;e.keyCode===c.Keys.left&&this.fieldsSvc.expanded(t)&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===c.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||l.hasChildren(t))&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===c.Keys.enter&&i()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===c.Keys.space&&i()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))},m.prototype.setFocus=function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState(function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}})},m.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},m.prototype.getItemById=function(e){return p.getItemById(e,this.data)},m.prototype.dispatchCheckChange=function(e,t,i){c.dispatchEvent(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.dispatchExpandChange=function(e,t,i){c.dispatchEvent(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.dispatchItemClick=function(e,t,i){c.dispatchEvent(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):l.resolveItemId(e,this.fieldsSvc.focusIdField,this.data);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(m.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!0,configurable:!0}),m.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(m.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!0,configurable:!0}),m.propTypes={data:a.arrayOf(a.any),animate:a.bool,focusIdField:a.string,getHierarchicalIndexById:a.func,onExpandChange:a.func,onItemClick:a.func,expandField:a.string,selectField:a.string,hasChildrenField:a.string,textField:a.string,disableField:a.string,itemRender:a.any,"aria-multiselectable":a.oneOfType([a.bool,a.oneOf(["false","true"])]),"aria-label":a.string,"aria-labelledby":a.string},m.defaultProps={animate:!0},m);function m(){var a=null!==s&&s.apply(this,arguments)||this;return a.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:p.ZERO_LEVEL_ZERO_NODE_ID},a.allowExplicitFocus=!1,a.treeGuid=c.guid(),a.onFocusDomElNeeded=function(e){a.allowExplicitFocus&&a.focusDomItem(e)},a.onCheckChange=function(e,t,i){a.setFocus(i),a.dispatchCheckChange(e,t,i)},a.onExpandChange=function(e,t,i){a.setFocus(i),a.dispatchExpandChange(e,t,i)},a.onPress=function(e,t,i){e.originalEvent.preventDefault(),a.props.onItemDragStart&&a.props.onItemDragStart.call(void 0,{target:a,item:t,itemHierarchicalIndex:i})},a.onDrag=function(e,t,i){e.originalEvent.preventDefault();var n=e.pageX,r=e.pageY,s=e.clientX,o=e.clientY;a.props.onItemDragOver&&a.props.onItemDragOver.call(void 0,{target:a,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:s,clientY:o})},a.onRelease=function(e,t,i){var n=e.pageX,r=e.pageY,s=e.clientX,o=e.clientY;a.props.onItemDragEnd&&a.props.onItemDragEnd.call(void 0,{target:a,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:s,clientY:o})},a.onItemClick=function(e,t,i){a.setFocus(i),a.dispatchItemClick(e,t,i)},a.onFocus=function(){clearTimeout(a.blurRequest),void 0===a.state.focusedItemId&&a.data.length&&a.setFocus(a.state.tabbableItemId)},a.onBlur=function(){clearTimeout(a.blurRequest),a.blurRequest=setTimeout(function(){return a.setFocus(void 0)},0)},a.onKeyDown=function(e){var t=a.getFocusedItem();if(t){var i=d.default(t,a.state.focusedItemId,a.data,e.keyCode,a.fieldsSvc);i!==a.state.focusedItemId&&(e.preventDefault(),a.allowExplicitFocus=!0,a.setFocus(i)),a.dispatchEventsOnKeyDown(e,t)}},a}t.default=f},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(2),c=i(0),d=i(1);t.default=function(e,t,i,n,r){switch(n){case a.Keys.left:return c.isIdZeroLevel(t)||r.expanded(e)&&d.isEnabledAndAllParentsEnabled(t,i,r)?t:c.getDirectParentId(t);case a.Keys.right:return d.isItemExpandedAndWithChildren(e,r)?c.getFirstChildId(t):t;case a.Keys.up:return s=Number(c.getShortId(t)),o=c.getDirectParentId(t),s?function e(t,i,n){var r=c.getItemById(t,i);return d.isItemExpandedAndWithChildren(r,n)?e(c.createId(r.items.length-1,t),i,n):t}(c.createId(s-1,o),i,r):c.isIdZeroLevel(t)?t:o;case a.Keys.down:return d.isItemExpandedAndWithChildren(e,r)?c.getFirstChildId(t):function e(t,i){var n=c.getDirectParentId(t),r=n?c.getItemById(n,i):void 0,s=r?r.items:i,o=Number(c.getShortId(t));return o<s.length-1?c.createId(o+1,n):r?e(n,i):void 0}(t,i)||t;case a.Keys.home:return c.ZERO_LEVEL_ZERO_NODE_ID;case a.Keys.end:return function(){for(var e=(i.length-1).toString(),t=i[i.length-1];d.isItemExpandedAndWithChildren(t,r);)e=c.createId(t.items.length-1,e),t=t.items[t.items.length-1];return e}();default:return t}var s,o}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(r.prototype.init=function(e){for(var t,i=0;i<e.length;i++)i%5e4==0&&(t={},this.objects.push(t)),t[e[i]]=!0},r.prototype.hasId=function(t){return this.objects.some(function(e){return e[t]})},r);function r(){this.objects=[]}t.default=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s,o=i(5),a=i(2),c=i(0),d=i(1),l=i(12),u=i(4),p=(s=o.Component,r(h,s),h.prototype.render=function(){var t=this,e=this.renderSubitemsIfApplicable(),i=this.renderItemInPart();return o.createElement("li",{className:this.getRootClassName(),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0,ref:function(e){return t.itemElement=e}},o.createElement("div",{className:"k-mid",ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?o.createElement(a.Draggable,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},i):i),this.props.animate?o.createElement(l.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:e}):e)},h.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},h.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var i=this.fieldsSvc.checkIndeterminate(this.item);i!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=i)}},h.prototype.renderCheckbox=function(){var t=this;return this.props.checkboxes?o.createElement("div",{className:"k-checkbox-wrapper"},o.createElement("input",{type:"checkbox",className:"k-checkbox",checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(e){return t.checkboxElement=e}}),o.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid})):void 0},h.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||d.hasChildren(this.item))?o.createElement("span",{className:this.getIconClassName(),onClick:this.onExpandChange}):void 0},h.prototype.renderSubitemsIfApplicable=function(){var i=this;return d.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?o.createElement("ul",{className:"k-content",role:"group"},this.item.items.map(function(e,t){return o.createElement(h,{item:e,itemId:c.createId(t,i.itemId),treeGuid:i.props.treeGuid,animate:i.props.animate,focusedItemId:i.props.focusedItemId,tabbableItemId:i.props.tabbableItemId,fieldsService:i.props.fieldsService,itemRender:i.props.itemRender,checkboxes:i.props.checkboxes,ariaMultiSelectable:i.props.ariaMultiSelectable,onItemClick:i.props.onItemClick,onFocusDomElNeeded:i.props.onFocusDomElNeeded,draggable:i.props.draggable,onPress:i.props.onPress,onDrag:i.props.onDrag,onRelease:i.props.onRelease,expandIcons:i.props.expandIcons,onExpandChange:i.props.onExpandChange,onCheckChange:i.props.onCheckChange,key:t})})):void 0},h.prototype.renderItemInPart=function(){return o.createElement("span",{className:this.getContentClassName(),onClick:this.onItemClick},this.props.itemRender?o.createElement(this.props.itemRender,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item))},Object.defineProperty(h.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"item",{get:function(){return this.props.item},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||d.hasChildren(this.item)?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)},enumerable:!0,configurable:!0}),h.prototype.getIconClassName=function(){return a.classNames("k-icon",{"k-i-expand":!this.fieldsSvc.expanded(this.item),"k-i-collapse":this.fieldsSvc.expanded(this.item),"k-i-loading":this.fieldsSvc.expanded(this.item)&&!d.hasChildren(this.item)})},h.prototype.getRootClassName=function(){return a.classNames("k-item k-treeview-item",{"k-state-disabled":this.fieldsSvc.disabled(this.item)})},h.prototype.getContentClassName=function(){return a.classNames("k-in",{"k-state-focused":this.props.focusedItemId===this.itemId,"k-state-selected":this.fieldsSvc.selected(this.item)})},h);function h(){var t=null!==s&&s.apply(this,arguments)||this;return t.itemGuid=a.guid(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e[u.DOM_KENDO_ITEM_ID_FIELD]=t.props.itemId,e[u.DOM_KENDO_TREEVIEW_GUID_FIELD]=t.props.treeGuid)},t}t.default=p},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3),s=(o.prototype.expanded=function(e){return r.getNestedValue(this.expandField,e)},o.prototype.selected=function(e){return r.getNestedValue(this.selectField,e)},o.prototype.text=function(e){return r.getNestedValue(this.textField,e)},o.prototype.disabled=function(e){return r.getNestedValue(this.disableField,e)},o.prototype.hasChildren=function(e){return r.getNestedValue(this.hasChildrenField,e)},o.prototype.checked=function(e){return r.getNestedValue(this.checkField,e)},o.prototype.checkIndeterminate=function(e){return r.getNestedValue(this.checkIndeterminateField,e)},o.prototype.focusId=function(e){return this.focusIdField&&r.getNestedValue(this.focusIdField,e)},o);function o(e){this.expandField=e.expandField||n.EXPAND_FIELD,this.selectField=e.selectField||n.SELECT_FIELD,this.hasChildrenField=e.hasChildrenField||"hasChildren",this.textField=e.textField||"text",this.disableField=e.disableField||"disabled",this.checkField=e.checkField||n.CHECK_FIELD,this.checkIndeterminateField=e.checkIndeterminateField||n.CHECK_INDETERMINATE_FIELD,this.focusIdField=e.focusIdField}t.default=s},function(e,t,i){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var p=i(1),a=i(4),h=i(3);function r(e,t,i,n){if(i){var r=f(i,t),s=r.ids,o=r.field;return a=e,c=!h.isArray(i)&&i.idField?p.resolveItemsIds(s,i.idField,e):s,d=o,l=n,u=a,c.forEach(function(e){u=p.updateItem(u,e,function(e){return m(d,e)},l)}),u}var a,c,d,l,u;return e}function f(e,t){var i,n;return n=h.isArray(e)?(i=e,t):(i=e.ids||[],e.operationField||t),{ids:i,field:n}}function m(e,t){for(var i=(e||"").split("."),n=t,r=0;r<i.length;r++){var s=i[r];if(r===i.length-1)n[s]=!0;else{if(void 0===n[s])return;n[s]=o({},n[s]),n=n[s]}}}function c(e,t,i,n){for(var r=!1,s=0;s<e.length;s++){var o=e[s];if(h.getNestedValue(i,o)){if(!r)for(var a=0;a<t.length;a++)m(n,t[a]);r=!0,o.items&&c(o.items,[],i,n)}else o.items&&c(o.items,r?[o]:t.concat([o]),i,n)}}t.default=function(e,t){if(!e||!e.length)return[];var i=e,n=t.cloneField||"cloned";return function(e,t){if(t&&!h.isArray(t)&&t.applyCheckIndeterminate)for(var i=f(t,a.CHECK_FIELD).field,n=t.checkIndeterminateField||a.CHECK_INDETERMINATE_FIELD,r=0;r<e.length;r++){var s=e[r];s.items&&c(s.items,h.getNestedValue(i,s)?[]:[s],i,n)}}(i=r(i=r(i=r(i,a.EXPAND_FIELD,t.expand,n),a.SELECT_FIELD,t.select,n),a.CHECK_FIELD,t.check,n),t.check),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=i(1),l=i(0);t.default=function(t,i,e,n,r){if(!function(){if(!(i&&i.length&&t&&n))return!1;if(r&&!r.length)return!1;var e=r&&r!==i?r:i;return!!l.getItemById(n,e)}())return c();var s=l.getItemById(t,i);if(!s)return c();if(r&&r!==i)return{sourceData:d.removeItem(t,i),targetData:d.addItem(s,e,n,r)};if((n+"_").startsWith(t+"_"))return c();var o=d.removeItem(t,i),a=d.addItem(s,e,l.getDecrementedItemIdAfterRemoval(t,n),o);return r?{sourceData:a,targetData:a}:a;function c(){return r?{sourceData:i,targetData:r}:i}}},function(e,t,i){"use strict";var k=this&&this.__generator||function(i,n){var r,s,o,e,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,s&&(o=2&t[0]?s.return:t[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,t[1])).done)return o;switch(s=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return a.label++,{value:t[1],done:!1};case 5:a.label++,s=t[1],t=[0];continue;case 7:t=a.ops.pop(),a.trys.pop();continue;default:if(!(o=0<(o=a.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){a=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3])){a.label=t[1];break}if(6===t[0]&&a.label<o[1]){a.label=o[1],o=t;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(t);break}o[2]&&a.ops.pop(),a.trys.pop();continue}t=n.call(i,a)}catch(e){t=[6,e],s=0}finally{r=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var O=i(1),F=i(0),P=i(3);t.handleTreeViewCheckChange=function(e,t,i,n){if(void 0===n&&(n={}),!i||!i.length)return[];var r,s,o,a,c,d,l,u,p,h,f,m,I,g,v,b,y=(s=t,a=void 0,P.isArray(s)?o=s:(o=s.ids||[],a=s.idField),{ids:o,idField:a}),E=y.ids,_=y.idField,x=_?P.getNestedValue(_,e.item):e.itemHierarchicalIndex,D=E.indexOf(x),C=-1===D;return n.singleMode?r=C?[x]:[]:(r=E.slice(),C?r.push(x):r.splice(D,1),n.checkChildren&&(m=e.item,I=e.itemHierarchicalIndex,g=C,v=_,b=r,O.getAllDirectIndirectChildrenIds(m,I,v).forEach(function(e){g&&-1===b.indexOf(e)?b.push(e):!g&&-1<b.indexOf(e)&&b.splice(b.indexOf(e),1)})),n.checkParents&&(c=e.itemHierarchicalIndex,d=C,l=_,u=r,p=i,h=function(){var t,i,n;return k(this,function(e){switch(e.label){case 0:if(!l)return[3,5];t=O.getAllParents(c,p),i=t.length-1,e.label=1;case 1:return-1<i?[4,{id:P.getNestedValue(l,t[i]),item:d?t[i]:void 0}]:[3,4];case 2:e.sent(),e.label=3;case 3:return i--,[3,1];case 4:return[3,8];case 5:n=F.getDirectParentId(c),e.label=6;case 6:return n?[4,{id:n,item:d?F.getItemById(n,p):void 0}]:[3,8];case 7:return e.sent(),n=F.getDirectParentId(n),[3,6];case 8:return[2]}})}(),f=h.next(),d?function(){for(;!f.done;){var e=f.value,t=e.id,i=e.item;if(-1!==u.indexOf(t)||!O.areAllDirectChildrenChecked(i,t,l,u))break;u.push(t),f=h.next()}}():function(){for(;!f.done;){var e=f.value.id,t=u.indexOf(e);if(!(-1<t))break;u.splice(t,1),f=h.next()}}())),P.isArray(t)?r:Object.assign({},t,{ids:r})}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o,a=i(5),c=i(2),d=(o=a.PureComponent,r(l,o),l.prototype.render=function(){var e={top:this.state.top+"px",left:this.state.left+"px"};return this.state.visible&&a.createElement("div",{className:"k-header k-drag-clue",style:s({},this.props.style,e)},a.createElement("span",{className:c.classNames("k-icon k-drag-status k-icon-with-modifier",this.state.operationClassName)},a.createElement("span",{className:"k-icon k-icon-modifier"})),this.state.text)},l.prototype.show=function(e,t,i,n){this.setState({visible:!0,top:e,left:t,text:i,operationClassName:n})},l.prototype.hide=function(){this.setState({visible:!1})},l.defaultProps={style:{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}},l);function l(){var e=null!==o&&o.apply(this,arguments)||this;return e.state={visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"},e}t.default=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=(s.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(s.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!0,configurable:!0}),s.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},s.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[n.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[n.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[n.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[n.DOM_KENDO_TREEVIEW_GUID_FIELD])},s);function s(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid}t.default=r}],r.c=n,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}}});
System.register("@progress/kendo-react-treeview",["react","@progress/kendo-react-common","prop-types","@progress/kendo-react-animation"],function(d){var s,o,a,c;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){s=t(e)},function(e){o=t(e)},function(e){a=t(e)},function(e){c=t(e)}],execute:function(){function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var i,n;n={},r.m=i=[function(e,o,t){"use strict";function a(e){return n(e)?e:e.split(o.SEPARATOR)[0]}function c(e){if(n(e))return e;var t=e.indexOf(o.SEPARATOR);return e.substring(t+1)}function i(e,t){return e=e.toString(),t?t+o.SEPARATOR+e:e}function d(e){var t=e.lastIndexOf(o.SEPARATOR);return t<0?o.EMPTY_ID:e.substring(0,t)}function n(e){return e===o.EMPTY_ID||e.indexOf(o.SEPARATOR)<0}function r(e){return e!==o.EMPTY_ID&&e.indexOf(o.SEPARATOR)<0}function l(e){var t=e.lastIndexOf(o.SEPARATOR);return t<0?e:e.substring(t+1)}Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_ID="",o.ZERO_LEVEL_ZERO_NODE_ID="0",o.SEPARATOR="_",o.getItemById=function e(t,i){if(r(t))return i[Number(t)];var n=i[Number(a(t))];return n&&n.items&&n.items.length?e(c(t),n.items):void 0},o.getRootParentId=a,o.getIdWithoutRootParentId=c,o.getFirstChildId=function(e){return i("0",e)},o.createId=i,o.getDirectParentId=d,o.isIdEmptyOrZeroLevel=n,o.isIdZeroLevel=r,o.getAllShortIds=function(e){return e.split(o.SEPARATOR)},o.getShortId=l,o.isItemFirstFromSiblings=function(e){return l(e)===o.ZERO_LEVEL_ZERO_NODE_ID},o.getDecrementedItemIdAfterRemoval=function(e,t){var i=t;e="r"+o.SEPARATOR+e,t="r"+o.SEPARATOR+t;var n=d(e)+o.SEPARATOR;if(t.startsWith(n)){var r=t.substring(n.length);if(r){var s=a(r);if(Number(l(e))<Number(s))return c(n+(Number(s)-1).toString()+r.substring(s.length))}}return i}},function(e,t,i){"use strict";var d=this&&this.__assign||function(){return(d=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var l=i(0),s=i(10),u=i(3);function r(e,t,i){var n=[],r=new s.default;return r.init(e),function e(t,i,n,r,s){for(var o=0;o<n.length;o++){var a=n[o],c=l.createId(o,r);t.hasId(u.getNestedValue(i,a))&&s.push(c),p(a)&&e(t,i,a.items,c,s)}}(r,t,i,l.EMPTY_ID,n),n}function p(e){return Boolean(e.items&&e.items.length)}t.isItemExpandedAndWithChildren=function(e,t){return t.expanded(e)&&p(e)},t.resolveItemId=function(e,t,i){var n=r([e],t,i);return n.length?n[0]:void 0},t.resolveItemsIds=r,t.updateItem=function e(t,i,n,r){var s,o=Number(l.getRootParentId(i));if(o>=t.length)return t;var a=t,c=t[o];return c[r]||(c=(a=t.slice())[o]=Object.assign({},c,((s={})[r]=!0,s))),l.isIdZeroLevel(i)?n(c):c.items&&(c.items=e(c.items,l.getIdWithoutRootParentId(i),n,r)),a},t.hasChildren=p,t.isEnabledAndAllParentsEnabled=function(e,t,i){for(var n=l.getAllShortIds(e),r=t,s=0;s<n.length;s++){var o=r[Number(n[s])];if(i.disabled(o))return!1;r=o.items}return!0},t.getAllDirectIndirectChildrenIds=function(e,t,r){return r?function e(t){var i=[];if(t.items)for(var n=0;n<t.items.length;n++)i.push(u.getNestedValue(r,t.items[n])),i=i.concat(e(t.items[n]));return i}(e):function e(t,i){var n=[];if(t.items)for(var r=0;r<t.items.length;r++){var s=l.createId(r,i);n.push(s),n=n.concat(e(t.items[r],s))}return n}(e,t)},t.areAllDirectChildrenChecked=function(e,i,n,r){return!e.items||e.items.every(function(e,t){return-1<r.indexOf(n?u.getNestedValue(n,e):l.createId(t,i))})},t.getAllParents=function(e,t){for(var i=[],n=l.getAllShortIds(e),r=t,s=0;s<n.length-1&&r;s++){var o=r[Number(n[s])];i.push(o),r=o.items}return i},t.removeItem=function e(t,i){var n=i.slice();if(l.isIdZeroLevel(t))n.splice(Number(t),1);else{var r=Number(l.getRootParentId(t)),s=n[r]=d({},n[r]);s.items=e(l.getIdWithoutRootParentId(t),s.items)}return n},t.addItem=function e(t,i,n,r){var s=r.slice();if(l.isIdZeroLevel(n))if("child"===i){var o=s[Number(n)]=d({},s[Number(n)]);o.items?(o.items=o.items.slice(),o.items.push(t)):o.items=[t]}else s.splice(Number(n)+("after"===i?1:0),0,t);else{var a=Number(l.getRootParentId(n)),c=s[a]=d({},s[a]);c.items=e(t,i,l.getIdWithoutRootParentId(n),c.items)}return s}},function(e,t){e.exports=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNestedValue=function(e,t){var i=(e||"").split("."),n=t;return i.forEach(function(e){n=n?n[e]:void 0}),n},t.isArray=function(e){return void 0!==e.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EXPAND_FIELD="expanded",t.SELECT_FIELD="selected",t.CHECK_FIELD="checked",t.CHECK_INDETERMINATE_FIELD="checkIndeterminate",t.DOM_KENDO_ITEM_ID_FIELD="_kendoItemId",t.DOM_KENDO_TREEVIEW_GUID_FIELD="_kendoTreeViewGuid"},function(e,t){e.exports=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7);t.TreeView=n.default;var r=i(14);t.processTreeViewItems=r.default;var s=i(15);t.moveTreeViewItem=s.default;var o=i(16);t.handleTreeViewCheckChange=o.handleTreeViewCheckChange;var a=i(17);t.TreeViewDragClue=a.default;var c=i(18);t.TreeViewDragAnalyzer=c.default,function(e){for(var t in e)d(t,e[t])}(t)},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s,o=i(5),a=i(8),c=i(2),d=i(9),l=i(1),u=i(11),p=i(0),h=i(13),f=(s=o.Component,r(m,s),m.prototype.render=function(){var i=this;return this.fieldsSvc=new h.default(this.props),o.createElement("div",{className:"k-widget k-treeview"+(this.props.className?" "+this.props.className:""),onKeyDown:this.onKeyDown,onFocus:this.onFocus,onBlur:this.onBlur,role:"tree","aria-multiselectable":!!this.ariaMultiSelectable||void 0,"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]},o.createElement("ul",{className:"k-treeview-lines",role:"group"},this.data.map(function(e,t){return o.createElement(u.default,{item:e,itemId:t.toString(),treeGuid:i.treeGuid,animate:i.props.animate,focusedItemId:i.state.focusedItemId,tabbableItemId:i.state.tabbableItemId,fieldsService:i.fieldsSvc,itemRender:i.props.itemRender,checkboxes:i.props.checkboxes,ariaMultiSelectable:i.ariaMultiSelectable,onItemClick:i.onItemClick,onFocusDomElNeeded:i.onFocusDomElNeeded,draggable:i.props.draggable,onPress:i.onPress,onDrag:i.onDrag,onRelease:i.onRelease,expandIcons:i.props.expandIcons,onExpandChange:i.onExpandChange,onCheckChange:i.onCheckChange,key:t})})))},m.prototype.componentDidUpdate=function(){this.allowExplicitFocus=!1,this.refocusDueToFocusIdField()},m.prototype.dispatchEventsOnKeyDown=function(e,t){function i(){return l.isEnabledAndAllParentsEnabled(n.state.focusedItemId,n.data,n.fieldsSvc)}var n=this;e.keyCode===c.Keys.left&&this.fieldsSvc.expanded(t)&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===c.Keys.right&&!this.fieldsSvc.expanded(t)&&(this.fieldsSvc.hasChildren(t)||l.hasChildren(t))&&i()?this.dispatchExpandChange(e,t,this.state.focusedItemId):e.keyCode===c.Keys.enter&&i()?this.dispatchItemClick(e,t,this.state.focusedItemId):e.keyCode===c.Keys.space&&i()&&(e.preventDefault(),this.dispatchCheckChange(e,t,this.state.focusedItemId))},m.prototype.setFocus=function(e){if(e)if(this.fieldsSvc.focusIdField){var t=this.getItemById(e);this.setState({focusedItemId:e,focusedItemPublicId:this.fieldsSvc.focusId(t)})}else this.setState({focusedItemId:e});else this.setState(function(e){return{focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:e.focusedItemId}})},m.prototype.getFocusedItem=function(){return this.state.focusedItemId?this.getItemById(this.state.focusedItemId):void 0},m.prototype.getItemById=function(e){return p.getItemById(e,this.data)},m.prototype.dispatchCheckChange=function(e,t,i){c.dispatchEvent(this.props.onCheckChange,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.dispatchExpandChange=function(e,t,i){c.dispatchEvent(this.props.onExpandChange,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.dispatchItemClick=function(e,t,i){c.dispatchEvent(this.props.onItemClick,e,this,{item:t,itemHierarchicalIndex:i})},m.prototype.refocusDueToFocusIdField=function(){if(this.fieldsSvc.focusIdField){var e=this.state.focusedItemPublicId;if(e){var t=this.props.getFocusHierarchicalIndex?this.props.getFocusHierarchicalIndex(e):l.resolveItemId(e,this.fieldsSvc.focusIdField,this.data);t!==this.state.focusedItemId&&(this.allowExplicitFocus=!0,this.setState({focusedItemId:t}))}}},Object.defineProperty(m.prototype,"ariaMultiSelectable",{get:function(){return!0===this.props["aria-multiselectable"]||"true"===this.props["aria-multiselectable"]},enumerable:!0,configurable:!0}),Object.defineProperty(m.prototype,"data",{get:function(){return this.props.data||[]},enumerable:!0,configurable:!0}),m.prototype.focusDomItem=function(e){e.focus()},Object.defineProperty(m.prototype,"guid",{get:function(){return this.treeGuid},enumerable:!0,configurable:!0}),m.propTypes={data:a.arrayOf(a.any),animate:a.bool,focusIdField:a.string,getHierarchicalIndexById:a.func,onExpandChange:a.func,onItemClick:a.func,expandField:a.string,selectField:a.string,hasChildrenField:a.string,textField:a.string,disableField:a.string,itemRender:a.any,"aria-multiselectable":a.oneOfType([a.bool,a.oneOf(["false","true"])]),"aria-label":a.string,"aria-labelledby":a.string},m.defaultProps={animate:!0},m);function m(){var a=null!==s&&s.apply(this,arguments)||this;return a.state={focusedItemId:void 0,focusedItemPublicId:void 0,tabbableItemId:p.ZERO_LEVEL_ZERO_NODE_ID},a.allowExplicitFocus=!1,a.treeGuid=c.guid(),a.onFocusDomElNeeded=function(e){a.allowExplicitFocus&&a.focusDomItem(e)},a.onCheckChange=function(e,t,i){a.setFocus(i),a.dispatchCheckChange(e,t,i)},a.onExpandChange=function(e,t,i){a.setFocus(i),a.dispatchExpandChange(e,t,i)},a.onPress=function(e,t,i){e.originalEvent.preventDefault(),a.props.onItemDragStart&&a.props.onItemDragStart.call(void 0,{target:a,item:t,itemHierarchicalIndex:i})},a.onDrag=function(e,t,i){e.originalEvent.preventDefault();var n=e.pageX,r=e.pageY,s=e.clientX,o=e.clientY;a.props.onItemDragOver&&a.props.onItemDragOver.call(void 0,{target:a,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:s,clientY:o})},a.onRelease=function(e,t,i){var n=e.pageX,r=e.pageY,s=e.clientX,o=e.clientY;a.props.onItemDragEnd&&a.props.onItemDragEnd.call(void 0,{target:a,item:t,itemHierarchicalIndex:i,pageX:n,pageY:r,clientX:s,clientY:o})},a.onItemClick=function(e,t,i){a.setFocus(i),a.dispatchItemClick(e,t,i)},a.onFocus=function(){clearTimeout(a.blurRequest),void 0===a.state.focusedItemId&&a.data.length&&a.setFocus(a.state.tabbableItemId)},a.onBlur=function(){clearTimeout(a.blurRequest),a.blurRequest=setTimeout(function(){return a.setFocus(void 0)},0)},a.onKeyDown=function(e){var t=a.getFocusedItem();if(t){var i=d.default(t,a.state.focusedItemId,a.data,e.keyCode,a.fieldsSvc);i!==a.state.focusedItemId&&(e.preventDefault(),a.allowExplicitFocus=!0,a.setFocus(i)),a.dispatchEventsOnKeyDown(e,t)}},a}t.default=f},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(2),c=i(0),d=i(1);t.default=function(e,t,i,n,r){switch(n){case a.Keys.left:return c.isIdZeroLevel(t)||r.expanded(e)&&d.isEnabledAndAllParentsEnabled(t,i,r)?t:c.getDirectParentId(t);case a.Keys.right:return d.isItemExpandedAndWithChildren(e,r)?c.getFirstChildId(t):t;case a.Keys.up:return s=Number(c.getShortId(t)),o=c.getDirectParentId(t),s?function e(t,i,n){var r=c.getItemById(t,i);return d.isItemExpandedAndWithChildren(r,n)?e(c.createId(r.items.length-1,t),i,n):t}(c.createId(s-1,o),i,r):c.isIdZeroLevel(t)?t:o;case a.Keys.down:return d.isItemExpandedAndWithChildren(e,r)?c.getFirstChildId(t):function e(t,i){var n=c.getDirectParentId(t),r=n?c.getItemById(n,i):void 0,s=r?r.items:i,o=Number(c.getShortId(t));return o<s.length-1?c.createId(o+1,n):r?e(n,i):void 0}(t,i)||t;case a.Keys.home:return c.ZERO_LEVEL_ZERO_NODE_ID;case a.Keys.end:return function(){for(var e=(i.length-1).toString(),t=i[i.length-1];d.isItemExpandedAndWithChildren(t,r);)e=c.createId(t.items.length-1,e),t=t.items[t.items.length-1];return e}();default:return t}var s,o}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(r.prototype.init=function(e){for(var t,i=0;i<e.length;i++)i%5e4==0&&(t={},this.objects.push(t)),t[e[i]]=!0},r.prototype.hasId=function(t){return this.objects.some(function(e){return e[t]})},r);function r(){this.objects=[]}t.default=n},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0});var s,o=i(5),a=i(2),c=i(0),d=i(1),l=i(12),u=i(4),p=(s=o.Component,r(h,s),h.prototype.render=function(){var t=this,e=this.renderSubitemsIfApplicable(),i=this.renderItemInPart();return o.createElement("li",{className:this.getRootClassName(),tabIndex:this.tabIndex,role:"treeitem","aria-expanded":this.ariaExpanded,"aria-selected":this.ariaSelected,"aria-checked":this.ariaChecked,"aria-disabled":!!this.fieldsSvc.disabled(this.item)||void 0,ref:function(e){return t.itemElement=e}},o.createElement("div",{className:"k-mid",ref:this.assignDraggableMeta},this.renderExpandIcon(),this.renderCheckbox(),this.props.draggable?o.createElement(a.Draggable,{onPress:this.onPress,onDrag:this.onDrag,onRelease:this.onRelease},i):i),this.props.animate?o.createElement(l.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,style:{display:"block"},children:e}):e)},h.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.itemId;e&&e===t&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement&&(this.checkboxElement.indeterminate=this.fieldsSvc.checkIndeterminate(this.item))},h.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId;if(t&&t!==e.focusedItemId&&t===this.itemId&&this.props.onFocusDomElNeeded(this.itemElement),this.checkboxElement){var i=this.fieldsSvc.checkIndeterminate(this.item);i!==e.fieldsService.checkIndeterminate(e.item)&&(this.checkboxElement.indeterminate=i)}},h.prototype.renderCheckbox=function(){var t=this;return this.props.checkboxes?o.createElement("div",{className:"k-checkbox-wrapper"},o.createElement("input",{type:"checkbox",className:"k-checkbox",checked:Boolean(this.fieldsSvc.checked(this.item)),id:this.itemGuid,tabIndex:-1,onChange:this.onCheckChange,ref:function(e){return t.checkboxElement=e}}),o.createElement("label",{className:"k-checkbox-label",htmlFor:this.itemGuid})):void 0},h.prototype.renderExpandIcon=function(){return this.props.expandIcons&&(this.fieldsSvc.hasChildren(this.item)||d.hasChildren(this.item))?o.createElement("span",{className:this.getIconClassName(),onClick:this.onExpandChange}):void 0},h.prototype.renderSubitemsIfApplicable=function(){var i=this;return d.isItemExpandedAndWithChildren(this.item,this.fieldsSvc)?o.createElement("ul",{className:"k-content",role:"group"},this.item.items.map(function(e,t){return o.createElement(h,{item:e,itemId:c.createId(t,i.itemId),treeGuid:i.props.treeGuid,animate:i.props.animate,focusedItemId:i.props.focusedItemId,tabbableItemId:i.props.tabbableItemId,fieldsService:i.props.fieldsService,itemRender:i.props.itemRender,checkboxes:i.props.checkboxes,ariaMultiSelectable:i.props.ariaMultiSelectable,onItemClick:i.props.onItemClick,onFocusDomElNeeded:i.props.onFocusDomElNeeded,draggable:i.props.draggable,onPress:i.props.onPress,onDrag:i.props.onDrag,onRelease:i.props.onRelease,expandIcons:i.props.expandIcons,onExpandChange:i.props.onExpandChange,onCheckChange:i.props.onCheckChange,key:t})})):void 0},h.prototype.renderItemInPart=function(){return o.createElement("span",{className:this.getContentClassName(),onClick:this.onItemClick},this.props.itemRender?o.createElement(this.props.itemRender,{item:this.item,itemHierarchicalIndex:this.itemId}):this.fieldsSvc.text(this.item))},Object.defineProperty(h.prototype,"fieldsSvc",{get:function(){return this.props.fieldsService},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"itemId",{get:function(){return this.props.itemId},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"item",{get:function(){return this.props.item},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"tabIndex",{get:function(){return(this.props.focusedItemId||this.props.tabbableItemId)===this.itemId?0:-1},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaExpanded",{get:function(){return this.fieldsSvc.hasChildren(this.item)||d.hasChildren(this.item)?Boolean(this.fieldsSvc.expanded(this.item)):void 0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaChecked",{get:function(){return this.props.checkboxes?this.fieldsSvc.checked(this.item)?"true":this.fieldsSvc.checkIndeterminate(this.item)?"mixed":"false":void 0},enumerable:!0,configurable:!0}),Object.defineProperty(h.prototype,"ariaSelected",{get:function(){return!!this.fieldsSvc.selected(this.item)||(this.props.ariaMultiSelectable?!!this.fieldsSvc.disabled(this.item)&&void 0:void 0)},enumerable:!0,configurable:!0}),h.prototype.getIconClassName=function(){return a.classNames("k-icon",{"k-i-expand":!this.fieldsSvc.expanded(this.item),"k-i-collapse":this.fieldsSvc.expanded(this.item),"k-i-loading":this.fieldsSvc.expanded(this.item)&&!d.hasChildren(this.item)})},h.prototype.getRootClassName=function(){return a.classNames("k-item k-treeview-item",{"k-state-disabled":this.fieldsSvc.disabled(this.item)})},h.prototype.getContentClassName=function(){return a.classNames("k-in",{"k-state-focused":this.props.focusedItemId===this.itemId,"k-state-selected":this.fieldsSvc.selected(this.item)})},h);function h(){var t=null!==s&&s.apply(this,arguments)||this;return t.itemGuid=a.guid(),t.onCheckChange=function(e){t.props.onCheckChange(e,t.item,t.itemId)},t.onExpandChange=function(e){t.props.onExpandChange(e,t.item,t.itemId)},t.onItemClick=function(e){t.props.onItemClick(e,t.item,t.itemId)},t.onPress=function(e){t.props.onPress(e.event,t.item,t.itemId)},t.onDrag=function(e){t.props.onDrag(e.event,t.item,t.itemId)},t.onRelease=function(e){t.props.onRelease(e.event,t.item,t.itemId)},t.assignDraggableMeta=function(e){e&&(e[u.DOM_KENDO_ITEM_ID_FIELD]=t.props.itemId,e[u.DOM_KENDO_TREEVIEW_GUID_FIELD]=t.props.treeGuid)},t}t.default=p},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=i(3),s=(o.prototype.expanded=function(e){return r.getNestedValue(this.expandField,e)},o.prototype.selected=function(e){return r.getNestedValue(this.selectField,e)},o.prototype.text=function(e){return r.getNestedValue(this.textField,e)},o.prototype.disabled=function(e){return r.getNestedValue(this.disableField,e)},o.prototype.hasChildren=function(e){return r.getNestedValue(this.hasChildrenField,e)},o.prototype.checked=function(e){return r.getNestedValue(this.checkField,e)},o.prototype.checkIndeterminate=function(e){return r.getNestedValue(this.checkIndeterminateField,e)},o.prototype.focusId=function(e){return this.focusIdField&&r.getNestedValue(this.focusIdField,e)},o);function o(e){this.expandField=e.expandField||n.EXPAND_FIELD,this.selectField=e.selectField||n.SELECT_FIELD,this.hasChildrenField=e.hasChildrenField||"hasChildren",this.textField=e.textField||"text",this.disableField=e.disableField||"disabled",this.checkField=e.checkField||n.CHECK_FIELD,this.checkIndeterminateField=e.checkIndeterminateField||n.CHECK_INDETERMINATE_FIELD,this.focusIdField=e.focusIdField}t.default=s},function(e,t,i){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var p=i(1),a=i(4),h=i(3);function r(e,t,i,n){if(i){var r=f(i,t),s=r.ids,o=r.field;return a=e,c=!h.isArray(i)&&i.idField?p.resolveItemsIds(s,i.idField,e):s,d=o,l=n,u=a,c.forEach(function(e){u=p.updateItem(u,e,function(e){return m(d,e)},l)}),u}var a,c,d,l,u;return e}function f(e,t){var i,n;return n=h.isArray(e)?(i=e,t):(i=e.ids||[],e.operationField||t),{ids:i,field:n}}function m(e,t){for(var i=(e||"").split("."),n=t,r=0;r<i.length;r++){var s=i[r];if(r===i.length-1)n[s]=!0;else{if(void 0===n[s])return;n[s]=o({},n[s]),n=n[s]}}}function c(e,t,i,n){for(var r=!1,s=0;s<e.length;s++){var o=e[s];if(h.getNestedValue(i,o)){if(!r)for(var a=0;a<t.length;a++)m(n,t[a]);r=!0,o.items&&c(o.items,[],i,n)}else o.items&&c(o.items,r?[o]:t.concat([o]),i,n)}}t.default=function(e,t){if(!e||!e.length)return[];var i=e,n=t.cloneField||"cloned";return function(e,t){if(t&&!h.isArray(t)&&t.applyCheckIndeterminate)for(var i=f(t,a.CHECK_FIELD).field,n=t.checkIndeterminateField||a.CHECK_INDETERMINATE_FIELD,r=0;r<e.length;r++){var s=e[r];s.items&&c(s.items,h.getNestedValue(i,s)?[]:[s],i,n)}}(i=r(i=r(i=r(i,a.EXPAND_FIELD,t.expand,n),a.SELECT_FIELD,t.select,n),a.CHECK_FIELD,t.check,n),t.check),i}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var d=i(1),l=i(0);t.default=function(t,i,e,n,r){if(!function(){if(!(i&&i.length&&t&&n))return!1;if(r&&!r.length)return!1;var e=r&&r!==i?r:i;return!!l.getItemById(n,e)}())return c();var s=l.getItemById(t,i);if(!s)return c();if(r&&r!==i)return{sourceData:d.removeItem(t,i),targetData:d.addItem(s,e,n,r)};if((n+"_").startsWith(t+"_"))return c();var o=d.removeItem(t,i),a=d.addItem(s,e,l.getDecrementedItemIdAfterRemoval(t,n),o);return r?{sourceData:a,targetData:a}:a;function c(){return r?{sourceData:i,targetData:r}:i}}},function(e,t,i){"use strict";var k=this&&this.__generator||function(i,n){var r,s,o,e,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return e={next:t(0),throw:t(1),return:t(2)},"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,s&&(o=2&t[0]?s.return:t[0]?s.throw||((o=s.return)&&o.call(s),0):s.next)&&!(o=o.call(s,t[1])).done)return o;switch(s=0,o&&(t=[2&t[0],o.value]),t[0]){case 0:case 1:o=t;break;case 4:return a.label++,{value:t[1],done:!1};case 5:a.label++,s=t[1],t=[0];continue;case 7:t=a.ops.pop(),a.trys.pop();continue;default:if(!(o=0<(o=a.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){a=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3])){a.label=t[1];break}if(6===t[0]&&a.label<o[1]){a.label=o[1],o=t;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(t);break}o[2]&&a.ops.pop(),a.trys.pop();continue}t=n.call(i,a)}catch(e){t=[6,e],s=0}finally{r=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var O=i(1),F=i(0),P=i(3);t.handleTreeViewCheckChange=function(e,t,i,n){if(void 0===n&&(n={}),!i||!i.length)return[];var r,s,o,a,c,d,l,u,p,h,f,m,I,g,v,b,y=(s=t,a=void 0,P.isArray(s)?o=s:(o=s.ids||[],a=s.idField),{ids:o,idField:a}),E=y.ids,_=y.idField,x=_?P.getNestedValue(_,e.item):e.itemHierarchicalIndex,D=E.indexOf(x),C=-1===D;return n.singleMode?r=C?[x]:[]:(r=E.slice(),C?r.push(x):r.splice(D,1),n.checkChildren&&(m=e.item,I=e.itemHierarchicalIndex,g=C,v=_,b=r,O.getAllDirectIndirectChildrenIds(m,I,v).forEach(function(e){g&&-1===b.indexOf(e)?b.push(e):!g&&-1<b.indexOf(e)&&b.splice(b.indexOf(e),1)})),n.checkParents&&(c=e.itemHierarchicalIndex,d=C,l=_,u=r,p=i,h=function(){var t,i,n;return k(this,function(e){switch(e.label){case 0:if(!l)return[3,5];t=O.getAllParents(c,p),i=t.length-1,e.label=1;case 1:return-1<i?[4,{id:P.getNestedValue(l,t[i]),item:d?t[i]:void 0}]:[3,4];case 2:e.sent(),e.label=3;case 3:return i--,[3,1];case 4:return[3,8];case 5:n=F.getDirectParentId(c),e.label=6;case 6:return n?[4,{id:n,item:d?F.getItemById(n,p):void 0}]:[3,8];case 7:return e.sent(),n=F.getDirectParentId(n),[3,6];case 8:return[2]}})}(),f=h.next(),d?function(){for(;!f.done;){var e=f.value,t=e.id,i=e.item;if(-1!==u.indexOf(t)||!O.areAllDirectChildrenChecked(i,t,l,u))break;u.push(t),f=h.next()}}():function(){for(;!f.done;){var e=f.value.id,t=u.indexOf(e);if(!(-1<t))break;u.splice(t,1),f=h.next()}}())),P.isArray(t)?r:Object.assign({},t,{ids:r})}},function(e,t,i){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),s=this&&this.__assign||function(){return(s=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o,a=i(5),c=i(2),d=(o=a.PureComponent,r(l,o),l.prototype.render=function(){var e={top:this.state.top+"px",left:this.state.left+"px"};return this.state.visible&&a.createElement("div",{className:"k-header k-drag-clue",style:s({},this.props.style,e)},a.createElement("span",{className:c.classNames("k-icon k-drag-status k-icon-with-modifier",this.state.operationClassName)},a.createElement("span",{className:"k-icon k-icon-modifier"})),this.state.text)},l.prototype.show=function(e,t,i,n){this.setState({visible:!0,top:e,left:t,text:i,operationClassName:n})},l.prototype.hide=function(){this.setState({visible:!1})},l.defaultProps={style:{display:"block",position:"absolute",zIndex:2e4,padding:"4px 6px"}},l);function l(){var e=null!==o&&o.apply(this,arguments)||this;return e.state={visible:!1,top:0,left:0,text:"",operationClassName:"k-i-cancel"},e}t.default=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4),r=(s.prototype.init=function(){return this.initialized||(this.setDestimationMeta(document.elementFromPoint(this.event.clientX,this.event.clientY)),this.initialized=!0),this},Object.defineProperty(s.prototype,"isDropAllowed",{get:function(){return!!(this.initialized&&this.destItemId&&this.destTreeViewGuid)&&!(this.destTreeViewGuid+"_"+this.destItemId+"_").startsWith(this.treeViewGuid+"_"+this.itemId+"_")},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"destinationMeta",{get:function(){return{itemHierarchicalIndex:this.destItemId,treeViewGuid:this.destTreeViewGuid}},enumerable:!0,configurable:!0}),s.prototype.getDropOperation=function(){if(this.initialized&&this.isDropAllowed){var e=this.destDomNodeWithMeta.getBoundingClientRect(),t=e.top;return t+e.height-this.event.clientY<6?"after":this.event.clientY-t<6?"before":"child"}},s.prototype.setDestimationMeta=function(e){for(var t=e;t&&!t[n.DOM_KENDO_ITEM_ID_FIELD];)t=t.parentNode;t&&t[n.DOM_KENDO_ITEM_ID_FIELD]&&(this.destDomNodeWithMeta=t,this.destItemId=t[n.DOM_KENDO_ITEM_ID_FIELD],this.destTreeViewGuid=t[n.DOM_KENDO_TREEVIEW_GUID_FIELD])},s);function s(e){this.event=e,this.initialized=!1,this.itemId=e.itemHierarchicalIndex,this.treeViewGuid=e.target.guid}t.default=r}],r.c=n,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(i,n,function(e){return t[e]}.bind(null,n));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}}});
{
"name": "@progress/kendo-react-treeview",
"version": "3.4.0-dev.201909041613",
"version": "3.4.0-dev.201909090936",
"description": "KendoReact TreeView package",

@@ -39,7 +39,7 @@ "repository": {

"dependencies": {
"@progress/kendo-react-common": "3.4.0-dev.201909041613",
"@progress/kendo-react-common": "3.4.0-dev.201909090936",
"prop-types": "^15.6.0"
},
"devDependencies": {
"@progress/kendo-react-animation": "3.4.0-dev.201909041613"
"@progress/kendo-react-animation": "3.4.0-dev.201909090936"
},

@@ -46,0 +46,0 @@ "@progress": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc