@progress/kendo-react-progressbars 4.11.0-dev.202111031451 → 4.11.0-dev.202111101237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("prop-types"),require("react"),require("react-transition-group"),require("@progress/kendo-licensing")):e.KendoReactProgressbars=t(e.PropTypes,e.React,e.ReactTransitionGroup,e.KendoLicensing)}(window,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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),n.d(t,"BrowserSupportService",(function(){return o})),n.d(t,"canUseDOM",(function(){return i})),n.d(t,"canUseRef",(function(){return a})),n.d(t,"classNames",(function(){return u})),n.d(t,"cloneDate",(function(){return c})),n.d(t,"clone",(function(){return s})),n.d(t,"cloneObject",(function(){return l})),n.d(t,"cloneValue",(function(){return p})),n.d(t,"cloneArray",(function(){return f})),n.d(t,"Draggable",(function(){return j})),n.d(t,"focusFirstFocusableChild",(function(){return C})),n.d(t,"FormComponent",(function(){return M})),n.d(t,"getTabIndex",(function(){return N})),n.d(t,"getter",(function(){return D})),n.d(t,"guid",(function(){return R})),n.d(t,"Keys",(function(){return A})),n.d(t,"noop",(function(){return I})),n.d(t,"getScrollbarWidth",(function(){return F})),n.d(t,"setScrollbarWidth",(function(){return H})),n.d(t,"setter",(function(){return U})),n.d(t,"mapTree",(function(){return K})),n.d(t,"mapTreeItem",(function(){return X})),n.d(t,"extendDataItem",(function(){return Y})),n.d(t,"getItemPath",(function(){return V})),n.d(t,"validatePackage",(function(){return $})),n.d(t,"hasRelativeStackingContext",(function(){return Z})),n.d(t,"dispatchEvent",(function(){return J})),n.d(t,"AsyncFocusBlur",(function(){return te})),n.d(t,"useDir",(function(){return ne})),n.d(t,"useAsyncFocusBlur",(function(){return Q})),n.d(t,"useDraggable",(function(){return re})),n.d(t,"useRtl",(function(){return oe})),n.d(t,"useMouse",(function(){return ie})),n.d(t,"useCustomComponent",(function(){return ae})),n.d(t,"Icon",(function(){return le})),n.d(t,"SvgIcon",(function(){return me})),n.d(t,"Typography",(function(){return je}));var r=function(){return"undefined"!=typeof document?document:{}},o=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),i=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),a=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},u=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)?u.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(" ")},c=function(e){return e?new Date(e.getTime()):null};function s(e){var t={};return l(e,t),t}function l(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=p(r,t[n])}}function p(e,t){if(Array.isArray(e))return f(e);if(e instanceof Date)return c(e);if(e&&"object"==typeof e){var n=t||{};return l(e,n),n}return e}function f(e){return e.map((function(e){return p(e,void 0)}))}var d=n(1),m=n(0),v=function(e,t){return function(n){return t(e(n))}},h=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()},x=/touch/;function O(e){return e.type.match(x)?{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 k=function(e){var t=this,n=e.press;void 0===n&&(n=g);var r=e.drag;void 0===r&&(r=g);var o=e.release;void 0===o&&(o=g);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=v(O,n),this._dragHandler=v(O,r),this._releaseHandler=v(O,o),this._ignoreMouse=!1,this._mouseOnly=i,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||(h(t.document,"mousemove",t._mousemove),h(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){y(t.document,"mousemove",t._mousemove),y(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(h(t.document,"pointermove",t._pointermove),h(t.document,"pointerup",t._pointerup),h(t.document,"pointercancel",t._pointerup),h(t.document,"contextmenu",b),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(y(t.document,"pointermove",t._pointermove),y(t.document,"pointerup",t._pointerup),y(t.document,"pointercancel",t._pointerup),y(t.document,"contextmenu",b),t._releaseHandler(e))}},w={document:{configurable:!0}};k.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},w.document.get=function(){return this._element?this._element.ownerDocument:document},k.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},k.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?h(e,"pointerdown",this._pointerdown):(h(e,"mousedown",this._mousedown),this._mouseOnly||(h(e,"touchstart",this._touchstart),h(e,"touchmove",this._touchmove),h(e,"touchend",this._touchend)))},k.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return y(e,"pointerdown",this._pointerdown),y(this.document,"pointermove",this._pointermove),y(this.document,"pointerup",this._pointerup),y(this.document,"contextmenu",b),void y(this.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))},k.prototype._usePointers=function(){return!this._mouseOnly&&k.supportPointerEvent()},k.prototype.update=function(e){var t=e.press;void 0===t&&(t=g);var n=e.drag;void 0===n&&(n=g);var r=e.release;void 0===r&&(r=g);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=v(O,t),this._dragHandler=v(O,n),this._releaseHandler=v(O,r),this._mouseOnly=o},k.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(k.prototype,w),k.default=k;var _,E=k,P=(_=function(e,t){return(_=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}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new E({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.childRef=function(e){var n=t.props.childRef;t.element=e,n&&"function"==typeof n&&n(e)},t}return P(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 d.cloneElement(d.Children.only(this.props.children),{ref:this.childRef})},t.propTypes={children:m.element.isRequired},t}(d.Component),C=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}},M=function(){},N=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0},S=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function T(e){var t=[];return e.replace(S,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var z={};function D(e){if(z[e])return z[e];var t=T(e);return z[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},z[e]}z.undefined=function(){};var R=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},I=function(){},F=function(){return!(!i||!document.body)&&(new o).scrollbarWidth},H=function(){if(!i||!document.body)return!1;var e=(new o).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},B={undefined:function(e){return e}},L=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function U(e){if(B[e])return B[e];var t=T(e);return B[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||L(t[a+1],r);o[t[i]]=n},B[e]}var W=function(){return(W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function q(e,t,n){var r;return n?W({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var K=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=q(t,n).map((function(t){return e(t,n,r)}));return r(q(t,n,o))}return r(t)}(e,t,n)})).slice()},X=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var u=i.length>1?i[i.length-2]:e,c=t[t.length-1],s=r(u[c]);u.splice(c,1,s)},Y=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},V=function(e,t,n){var r=[],o=t.slice();if(o.length){var i=e[o.shift()||0];for(r.push(i);o.length&&n;)i=i[n][o.shift()||0],r.push(i)}return r},G=n(4);function $(e){if(void 0!==G)G.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var Z=function(e){if(!i)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r};function J(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function Q(e){var t=e.onFocus,n=e.onBlur,r=e.onSyncFocus,o=e.onSyncBlur,i=d.useRef(!1),a=d.useRef(0),u=d.useCallback((function(e){clearTimeout(a.current),a.current=window.setTimeout((function(){return e()}))}),[a]),c=d.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(a.current),r&&r.call.apply(r,[void 0].concat(e)),i.current||(i.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[i,t,r]),s=d.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&o.call.apply(o,[void 0].concat(e)),u((function(){i.current&&n&&(i.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[i,u,n,o]);return d.useEffect((function(){return function(){clearTimeout(a.current)}}),[]),{onFocus:c,onBlur:s}}var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},te=function(e){var t=e.children,n=Q({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,ee({},n))};function ne(e,t,n){var r=d.useState(t),o=r[0],i=r[1];return d.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}function re(e,t){var n=t.onPress,r=t.onDrag,o=t.onRelease,i=d.useMemo((function(){return new E({press:n,drag:r,release:o})}),[]);d.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),d.useEffect((function(){i.update({press:n,drag:r,release:o})}),[n,r,o])}function oe(e,t,n){var r=d.useState(t),o=r[0],i=r[1];return d.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}var ie=function(e,t,n){void 0===n&&(n={});var r=d.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),o=d.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:d.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:o,onMouseDown:r,onDoubleClick:d.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:d.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:d.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:d.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:d.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:d.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}},ae=function(e){return d.isValidElement(e)?[e.type,e.props]:[e,{}]},ue={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},ce=function(){return(ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},se=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},le=d.forwardRef((function(e,t){var n=e.className,r=e.name,o=e.themeColor,i=e.size,a=e.flip,c=e.style,s=se(e,["className","name","themeColor","size","flip","style"]),l=d.useRef(null),p=d.useRef(null);d.useImperativeHandle(l,(function(){return{element:p.current}})),d.useImperativeHandle(t,(function(){return l.current}));var f=d.useMemo((function(){return o||pe.themeColor}),[o]),m=d.useMemo((function(){return i||pe.size}),[i]),v=d.useMemo((function(){return a||pe.flip}),[a]),h=d.useMemo((function(){return u("k-icon","k-i-"+r,"k-color-"+f,{"k-flip-h":"horizontal"===v||"both"===v,"k-flip-v":"vertical"===v||"both"===v},ue[m],n)}),[r,f,m,v,n]),y=ie(e,l);return d.createElement("span",ce({ref:p},s,y,{className:h,style:c,role:"presentation"}))}));le.propTypes={style:m.object,classNames:m.string,name:m.string,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};var pe={size:"default",themeColor:"inherit",flip:"default"};le.displayName="KendoIcon";var fe=function(){return(fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},de=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},me=d.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.svgClassName,i=e.icon,a=e.flip,c=e.size,s=e.style,l=e.svgStyle,p=e.themeColor,f=e.viewBox,m=de(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),v=d.useRef(null);d.useImperativeHandle(t,(function(){return{element:v.current}}));var h=d.useMemo((function(){return i?i.name:ve.icon}),[i]),y=d.useMemo((function(){return p||ve.themeColor}),[p]),g=d.useMemo((function(){return c||ve.size}),[c]),b=d.useMemo((function(){return a||ve.flip}),[a]),x=d.useMemo((function(){return f||ve.viewBox}),[f]),O=d.useMemo((function(){return u("k-svg-icon","k-color-"+y,"k-svg-i-"+h,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},ue[g],r)}),[h,y,g,b,r]),k=d.useMemo((function(){return e.width&&e.height?fe({width:e.width,height:e.height},s):e.width?fe({width:e.width,height:e.width},s):e.height?fe({width:e.height,height:e.height},s):fe({},s)}),[e.width,e.height,s]);return d.createElement("span",{className:O,style:k,ref:v},d.createElement("svg",fe({className:o,style:l,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:x,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},m),i?void 0:n))}));me.propTypes={style:m.object,classNames:m.string,children:m.any,icon:m.object,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};var ve={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};me.displayName="KendoSvgIcon";var he={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},ye={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},ge={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},be={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},xe={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Oe={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},ke={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},we={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},_e=function(){return(_e=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Ee=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},Pe=function(e){var t=d.forwardRef((function(t,n){var r=t.className,o=t.fontSize,i=t.fontWeight,a=t.textAlign,u=t.textTransform,c=t.themeColor,s=t.margin,l=Ee(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=d.useRef(null),f=d.useRef(null);d.useImperativeHandle(p,(function(){return{element:f.current,props:t}})),d.useImperativeHandle(n,(function(){return p.current}));var m=e,v=function(){if(void 0!==s){if("string"==typeof s)return[ge[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(t){var n,r;null!==s[t]&&void 0!==s[t]&&e.push((n=t,r=s[t],""+xe[n]+("string"==typeof r?be[r]:r)))})),e.join(" ")}}};return d.createElement(m,_e({ref:f,className:["k-"+("p"===e?"paragraph":e),he[o],ye[i],Oe[a],ke[u],we[c],v(),r].filter((function(e){return void 0!==e})).join(" ")},l),t.children)}));return t.propTypes={style:m.object,className:m.string,fontSize:m.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:m.oneOf(["light","normal","bold"]),margin:m.oneOfType([m.number,m.object,m.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:m.oneOf(["left","right","center","justify"]),textTransform:m.oneOf(["lowercase","uppercase","capitalize"]),themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},je={h1:Pe("h1"),h2:Pe("h2"),h3:Pe("h3"),h4:Pe("h4"),h5:Pe("h5"),h6:Pe("h6"),p:Pe("p"),code:Pe("code"),pre:Pe("pre")}},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.truncateNumber=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)},t.calculatePercentage=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},t.updateProgress=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current&&t.current&&(e.current.style.width=r?"100%":o+"%",t.current.style.width=r?"100%":i+"%",e.current.style.height=r?o+"%":"100%",t.current.style.height=r?i+"%":"100%")},t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_RATIO=1e-5,t.LABEL_DECIMALS=3,t.DEFAULT_ANIMATION_DURATION=400,t.NO_ANIMATION=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635950424,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(9)),r(n(10))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(2),u=n(5),c=n(2),s=n(7);t.ChunkProgressBar=o.forwardRef((function(e,t){c.validatePackage(s.packageMetadata);var n=e.chunkCount,i=void 0===n?l.chunkCount:n,p=e.className,f=e.disabled,d=e.orientation,m=e.min,v=void 0===m?l.min:m,h=e.max,y=void 0===h?l.max:h,g=e.reverse,b=void 0===g?l.reverse:g,x=e.style,O=e.tabIndex,k=e.emptyStyle,w=e.emptyClassName,_=e.progressStyle,E=e.progressClassName,P=o.useRef(null),j=o.useCallback((function(){P.current&&P.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:P.current,focus:j}}));var C=e.value||l.value,M=null===e.value,N=a.useRtl(P,e.dir),S="vertical"===d,T={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!S,"k-progressbar-vertical":S,"k-progressbar-reverse":b,"k-progressbar-indeterminate":M,"k-state-disabled":f},p),ref:P,dir:N,tabIndex:a.getTabIndex(O,f),role:"progressbar","aria-valuemin":v,"aria-valuemax":y,"aria-valuenow":M?void 0:C,"aria-disabled":f,style:x};return o.createElement("div",r({},T),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",c=u.calculateRatio(v,y,C),s=Math.floor(c*t),l=Array(t).fill(!1),p=S&&!b||!S&&b,f=0;f<s;f++)l[f]=!0;p&&l.reverse();for(f=0;f<t;++f){var d=l[f],m=d?E:w,h=r({},{width:S?void 0:i,height:S?i:void 0},d?_:k);n.push(o.createElement("li",{key:f,className:a.classNames("k-item",{"k-first":0===f,"k-last":f===t-1,"k-state-selected":d},m),style:h}))}return o.createElement(o.Fragment,null,n)}),{count:i||l.chunkCount})))})),t.ChunkProgressBar.propTypes={chunkCount:i.number,disabled:i.bool,reverse:i.bool,max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var l={chunkCount:5,min:0,max:100,value:0,disabled:!1,reverse:!1};t.ChunkProgressBar.defaultProps=l,t.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(12),u=n(2),c=n(5),s=n(11),l=n(6),p=n(2),f=n(7);t.ProgressBar=o.forwardRef((function(e,t){p.validatePackage(f.packageMetadata);var n=e.animation,i=e.disabled,m=e.reverse,v=void 0===m?d.reverse:m,h=e.orientation,y=e.labelVisible,g=e.labelPlacement,b=e.max,x=void 0===b?d.max:b,O=e.min,k=void 0===O?d.min:O,w=e.tabIndex,_=e.className,E=e.style,P=e.emptyStyle,j=e.emptyClassName,C=e.progressStyle,M=e.progressClassName,N=o.useRef(null),S=o.useRef(null),T=o.useRef(null),z=o.useCallback((function(){N.current&&N.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:N.current,progressStatusElement:S.current,progressStatusWrapElement:T.current,focus:z}}));var D=e.value||d.value,R=s.usePrevious(D),A=null===e.value,I=u.useRtl(N,e.dir),F="vertical"===h,H=c.truncateNumber(D),B={value:D},L=y?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},B))):o.createElement("span",{className:"k-progress-status"},H):void 0,U={className:u.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!F,"k-progressbar-vertical":F,"k-progressbar-reverse":v,"k-progressbar-indeterminate":A,"k-state-disabled":i},_),ref:N,dir:I,tabIndex:u.getTabIndex(w,i),role:"progressbar","aria-valuemin":k,"aria-valuemax":x,"aria-valuenow":A?void 0:D,"aria-disabled":i,style:E},W=u.classNames("k-progress-status-wrap",{"k-progress-start":"start"===g,"k-progress-center":"center"===g,"k-progress-end":"end"===g||void 0===g}),q="boolean"!=typeof n&&void 0!==n?n.duration:n?l.DEFAULT_ANIMATION_DURATION:l.NO_ANIMATION,K=o.useCallback((function(){var e=c.calculatePercentage(k,x,R);c.updateProgress(S,T,e,F)}),[F,x,k,R]),X=o.useCallback((function(e){var t=c.calculatePercentage(k,x,R+(D-R)*e);c.updateProgress(S,T,t,F)}),[k,x,R,D,F]),Y=o.useCallback((function(){var e=c.calculatePercentage(k,x,D);c.updateProgress(S,T,e,F)}),[F,x,k,D]);return a.useAnimation({duration:q,onStart:K,onUpdate:X,onEnd:Y},[D,q]),o.createElement("div",r({},U),o.createElement("span",{className:W+(j?" "+j:""),style:P},L),o.createElement("div",{className:"k-state-selected",style:C,ref:S},o.createElement("span",{className:W+(M?" "+M:""),ref:T},L)))})),t.ProgressBar.propTypes={animation:i.any,disabled:i.bool,reverse:i.bool,label:i.any,labelVisible:i.bool,labelPlacement:i.oneOf(["start","center","end"]),max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var d={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=d,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.usePrevious=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},function(e,t,n){"use strict";n.r(t),n.d(t,"Animation",(function(){return O})),n.d(t,"AnimationChild",(function(){return v})),n.d(t,"Fade",(function(){return E})),n.d(t,"Expand",(function(){return M})),n.d(t,"Push",(function(){return D})),n.d(t,"Slide",(function(){return F})),n.d(t,"Zoom",(function(){return W})),n.d(t,"Reveal",(function(){return Y})),n.d(t,"useAnimation",(function(){return V}));var r,o=n(1),i=n(0),a=n(2),u=n(3),c=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},s=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},l={"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"},p=(r=function(e,t){return(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},m=l,v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(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,r=t.style,i=t.appear,c=t.enter,s=t.exit,l=t.transitionName,p=t.transitionEnterDuration,v=t.transitionExitDuration,h=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,x=t.onExit,O=t.onExiting,k=t.onExited,w=t.mountOnEnter,_=t.unmountOnExit,E=t.animationEnteringStyle,P=t.animationEnteredStyle,j=t.animationExitingStyle,C=t.animationExitedStyle,M=d(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),N=Object(a.classNames)(h,m["child-animation-container"]),S=f({transitionDelay:"0ms"},r),T={entering:f({transitionDuration:p+"ms"},E),entered:f({},P),exiting:f({transitionDuration:v+"ms"},j),exited:f({},C)},z={in:this.props.in,appear:i,enter:c,exit:s,mountOnEnter:w,unmountOnExit:_,timeout:{enter:p,exit:v},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){x&&x.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){k&&k.call(void 0,{animatedElement:t,target:e})},classNames:{appear:m[l+"-appear"]||l+"-appear",appearActive:m[l+"-appear-active"]||l+"-appear-active",enter:m[l+"-enter"]||l+"-enter",enterActive:m[l+"-enter-active"]||l+"-enter-active",exit:m[l+"-exit"]||l+"-exit",exitActive:m[l+"-exit-active"]||l+"-exit-active"}};return o.createElement(u.CSSTransition,f({},z,M),(function(t){return o.createElement("div",{style:f({},S,T[t]),className:N,ref:function(t){e._element=t}},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.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}(o.Component),h={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1635950075,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},y=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},x=l,O=function(e){function t(t){var n=e.call(this,t)||this;return Object(a.validatePackage)(h),n}return y(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,c=e.className,s=e.childFactory,l=(e.stackChildren,e.componentChildStyle),p=e.componentChildClassName,f=b(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),d={id:t,style:n,component:i,childFactory:s,className:Object(a.classNames)(x["animation-container"],x["animation-container-relative"],c)},m=o.Children.map(r||null,(function(e){return o.createElement(v,g({},f,{style:l,className:p}),e)}));return o.createElement(u.TransitionGroup,g({},d),m)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component),k=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(){return(w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=_(e,["children"]);return o.createElement(O,w({},{transitionName:"fade"},n),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(o.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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},M=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.direction,n=e.children,r=C(e,["direction","children"]),i={transitionName:"expand-"+t};return o.createElement(O,j({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),N=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},z={position:"absolute",top:"0",left:"0"},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=T(e,["children","direction"]);return o.createElement(O,S({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?z:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(o.Component),R=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(){return(A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=I(e,["direction","children"]),i={transitionName:"slide-"+t};return o.createElement(O,A({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(o.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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(){return(B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},U={position:"absolute",top:"0",left:"0"},W=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.children,n=e.direction,r=L(e,["children","direction"]);return o.createElement(O,B({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?U:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["in","out"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(o.Component),q=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}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 r=e.firstChild;if(r){var o=c(r),i=s(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return q(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,a=X(t,["direction","children","childFactory"]),u=this.state,c=u.maxHeight,s=u.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:c?c+"px":null}:{maxWidth:s?s+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(O,K({},a,{childFactory:i||function(t){return t.props.in?t:o.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}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),V=function(e,t){var n=o.useRef(0),r=o.useRef(!1),i=o.useRef();o.useEffect((function(){return function(e){var t,r=e.duration,o=n.current&&1-n.current;e.onStart&&e.onStart();var a=function(u){t||(t=u);var c=(u-t+1)/r+o;c<=1?(e.onUpdate&&e.onUpdate(c),i.current=window.requestAnimationFrame(a),n.current=c):(e.onEnd&&e.onEnd(1),n.current=0)};i.current=window.requestAnimationFrame(a)}(e),function(){i.current&&window.cancelAnimationFrame(i.current)}}),t),o.useEffect((function(){r.current=!0}),[])}}])}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("prop-types"),require("react"),require("react-transition-group"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["prop-types","react","react-transition-group","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoReactProgressbars=t(require("prop-types"),require("react"),require("react-transition-group"),require("@progress/kendo-licensing")):e.KendoReactProgressbars=t(e.PropTypes,e.React,e.ReactTransitionGroup,e.KendoLicensing)}(window,(function(e,t,n,r){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},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),n.d(t,"BrowserSupportService",(function(){return o})),n.d(t,"canUseDOM",(function(){return i})),n.d(t,"canUseRef",(function(){return a})),n.d(t,"classNames",(function(){return u})),n.d(t,"cloneDate",(function(){return c})),n.d(t,"clone",(function(){return s})),n.d(t,"cloneObject",(function(){return l})),n.d(t,"cloneValue",(function(){return p})),n.d(t,"cloneArray",(function(){return f})),n.d(t,"Draggable",(function(){return j})),n.d(t,"focusFirstFocusableChild",(function(){return C})),n.d(t,"FormComponent",(function(){return M})),n.d(t,"getTabIndex",(function(){return N})),n.d(t,"getter",(function(){return D})),n.d(t,"guid",(function(){return R})),n.d(t,"Keys",(function(){return A})),n.d(t,"noop",(function(){return I})),n.d(t,"getScrollbarWidth",(function(){return F})),n.d(t,"setScrollbarWidth",(function(){return H})),n.d(t,"setter",(function(){return U})),n.d(t,"mapTree",(function(){return K})),n.d(t,"mapTreeItem",(function(){return X})),n.d(t,"extendDataItem",(function(){return Y})),n.d(t,"getItemPath",(function(){return V})),n.d(t,"validatePackage",(function(){return $})),n.d(t,"hasRelativeStackingContext",(function(){return Z})),n.d(t,"dispatchEvent",(function(){return J})),n.d(t,"AsyncFocusBlur",(function(){return te})),n.d(t,"createPropsContext",(function(){return oe})),n.d(t,"withContextProps",(function(){return ie})),n.d(t,"useDir",(function(){return ae})),n.d(t,"useAsyncFocusBlur",(function(){return Q})),n.d(t,"useDraggable",(function(){return ue})),n.d(t,"useRtl",(function(){return ce})),n.d(t,"useMouse",(function(){return se})),n.d(t,"useCustomComponent",(function(){return le})),n.d(t,"useContextProps",(function(){return ne})),n.d(t,"Icon",(function(){return me})),n.d(t,"SvgIcon",(function(){return ge})),n.d(t,"Typography",(function(){return Se}));var r=function(){return"undefined"!=typeof document?document:{}},o=function(){function e(){}return Object.defineProperty(e.prototype,"scrollbarWidth",{get:function(){var e=r();if(!this.scrollbar&&e&&e.createElement){var t=e.createElement("div");t.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",t.innerHTML=" ",e.body.appendChild(t),this.scrollbar=t.offsetWidth-t.scrollWidth,e.body.removeChild(t)}return this.scrollbar},enumerable:!0,configurable:!0}),e}(),i=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),a=function(e){return"string"!=typeof Comment&&(function(e){return Boolean("function"==typeof e&&!!e.prototype.isReactComponent)}(e)||function(e){return Boolean(e.$$typeof&&"function"==typeof e.render)}(e))},u=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)?u.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(" ")},c=function(e){return e?new Date(e.getTime()):null};function s(e){var t={};return l(e,t),t}function l(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t[n]=p(r,t[n])}}function p(e,t){if(Array.isArray(e))return f(e);if(e instanceof Date)return c(e);if(e&&"object"==typeof e){var n=t||{};return l(e,n),n}return e}function f(e){return e.map((function(e){return p(e,void 0)}))}var d=n(1),m=n(0),h=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()},x=/touch/;function O(e){return e.type.match(x)?{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 k=function(e){var t=this,n=e.press;void 0===n&&(n=g);var r=e.drag;void 0===r&&(r=g);var o=e.release;void 0===o&&(o=g);var i=e.mouseOnly;void 0===i&&(i=!1),this._pressHandler=h(O,n),this._dragHandler=h(O,r),this._releaseHandler=h(O,o),this._ignoreMouse=!1,this._mouseOnly=i,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(t.document,"mousemove",t._mousemove),v(t.document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){y(t.document,"mousemove",t._mousemove),y(t.document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(v(t.document,"pointermove",t._pointermove),v(t.document,"pointerup",t._pointerup),v(t.document,"pointercancel",t._pointerup),v(t.document,"contextmenu",b),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(y(t.document,"pointermove",t._pointermove),y(t.document,"pointerup",t._pointerup),y(t.document,"pointercancel",t._pointerup),y(t.document,"contextmenu",b),t._releaseHandler(e))}},w={document:{configurable:!0}};k.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},w.document.get=function(){return this._element?this._element.ownerDocument:document},k.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},k.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)))},k.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return y(e,"pointerdown",this._pointerdown),y(this.document,"pointermove",this._pointermove),y(this.document,"pointerup",this._pointerup),y(this.document,"contextmenu",b),void y(this.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))},k.prototype._usePointers=function(){return!this._mouseOnly&&k.supportPointerEvent()},k.prototype.update=function(e){var t=e.press;void 0===t&&(t=g);var n=e.drag;void 0===n&&(n=g);var r=e.release;void 0===r&&(r=g);var o=e.mouseOnly;void 0===o&&(o=!1),this._pressHandler=h(O,t),this._dragHandler=h(O,n),this._releaseHandler=h(O,r),this._mouseOnly=o},k.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},Object.defineProperties(k.prototype,w),k.default=k;var _,E=k,P=(_=function(e,t){return(_=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}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.draggable=new E({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.childRef=function(e){var n=t.props.childRef;t.element=e,n&&"function"==typeof n&&n(e)},t}return P(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 d.cloneElement(d.Children.only(this.props.children),{ref:this.childRef})},t.propTypes={children:m.element.isRequired},t}(d.Component),C=function(e){if(e){if((e instanceof HTMLInputElement||-1!==e.tabIndex)&&e.focus)return void e.focus();var t=e.querySelector('input, [tabindex]:not([tabindex="-1"])');t&&t.focus&&t.focus()}},M=function(){},N=function(e,t,n){var r="string"==typeof e?parseInt(e,void 0):e;if(NaN!==r)return void 0!==r?r:t?n?void 0:-1:0},S=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function T(e){var t=[];return e.replace(S,(function(e,n,r,o){t.push(void 0!==n?n:r||o)})),t}var z={};function D(e){if(z[e])return z[e];var t=T(e);return z[e]=function(e){for(var n=e,r=0;r<t.length&&n;r++)n=n[t[r]];return n},z[e]}z.undefined=function(){};var R=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},I=function(){},F=function(){return!(!i||!document.body)&&(new o).scrollbarWidth},H=function(){if(!i||!document.body)return!1;var e=(new o).scrollbarWidth;document.body.style.setProperty("--kendo-scrollbar-width",e+"px")},B={undefined:function(e){return e}},L=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function U(e){if(B[e])return B[e];var t=T(e);return B[e]=function(e,n,r){for(var o=e,i=t.length-1,a=0;a<i&&o;a++)o=o[t[a]]=o[t[a]]||L(t[a+1],r);o[t[i]]=n},B[e]}var W=function(){return(W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function q(e,t,n){var r;return n?W({},e,((r={})[t]=n.length?n.slice():void 0,r)):e&&e[t]?e[t].slice():[]}var K=function(e,t,n){return e.map((function(e){return function e(t,n,r){if(t[n]){var o=q(t,n).map((function(t){return e(t,n,r)}));return r(q(t,n,o))}return r(t)}(e,t,n)})).slice()},X=function(e,t,n,r){for(var o=e,i=[],a=0;a<t.length;a++)o=o[t[a]],o=Array.isArray(o)?o:o[n],i.push(o);var u=i.length>1?i[i.length-2]:e,c=t[t.length-1],s=r(u[c]);u.splice(c,1,s)},Y=function(e,t,n){var r;return Object.assign({},e,e[t]?((r={})[t]=e[t].slice(),r):{},n||{})},V=function(e,t,n){var r=[],o=t.slice();if(o.length){var i=e[o.shift()||0];for(r.push(i);o.length&&n;)i=i[n][o.shift()||0],r.push(i)}return r},G=n(4);function $(e){if(void 0!==G)G.validatePackage(e);else{var t="License activation failed for "+e.name+"\n";t+="The @progress/kendo-licensing script is not loaded.\n",t+="See "+e.licensingDocsUrl+" for more information.\n",console.warn(t)}}var Z=function(e){if(!i)return!1;var t=e?e.ownerDocument:document;if(!t||!t.body)return!1;var n=t.createElement("div");n.style.transform="matrix(10, 0, 0, 10, 0, 0)",n.innerHTML='<div style="position: fixed; top: 10px;">child</div>',t.body.appendChild(n);var r=10!==n.children[0].getBoundingClientRect().top;return t.body.removeChild(n),r};function J(e,t,n,r){if(e){var o={syntheticEvent:t,nativeEvent:t.nativeEvent,target:n};e.call(void 0,Object.assign(o,r))}}function Q(e){var t=e.onFocus,n=e.onBlur,r=e.onSyncFocus,o=e.onSyncBlur,i=d.useRef(!1),a=d.useRef(0),u=d.useCallback((function(e){clearTimeout(a.current),a.current=window.setTimeout((function(){return e()}))}),[a]),c=d.useCallback((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];clearTimeout(a.current),r&&r.call.apply(r,[void 0].concat(e)),i.current||(i.current=!0,t&&t.call.apply(t,[void 0].concat(e)))}),[i,t,r]),s=d.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];o&&o.call.apply(o,[void 0].concat(e)),u((function(){i.current&&n&&(i.current=!1,n.call.apply(n,[void 0].concat(e)))}))}),[i,u,n,o]);return d.useEffect((function(){return function(){clearTimeout(a.current)}}),[]),{onFocus:c,onBlur:s}}var ee=function(){return(ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},te=function(e){var t=e.children,n=Q({onFocus:e.onFocus,onBlur:e.onBlur,onSyncFocus:e.onSyncFocus,onSyncBlur:e.onSyncBlur});return t.call(void 0,ee({},n))},ne=function(e,t){return d.useContext(e)(t)},re=function(){return(re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},oe=function(){return d.createContext((function(e){return e}))},ie=function(e,t){return d.forwardRef((function(n,r){var o=ne(e,n);return d.createElement(t,re({},o,{ref:r}))}))};function ae(e,t,n){var r=d.useState(t),o=r[0],i=r[1];return d.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}function ue(e,t){var n=t.onPress,r=t.onDrag,o=t.onRelease,i=d.useMemo((function(){return new E({press:n,drag:r,release:o})}),[]);d.useEffect((function(){var t=e.current;if(t)return i.bindTo(t),function(){i.destroy()}}),[]),d.useEffect((function(){i.update({press:n,drag:r,release:o})}),[n,r,o])}function ce(e,t,n){var r=d.useState(t),o=r[0],i=r[1];return d.useEffect((function(){if(!o&&window&&e.current){var t=window.getComputedStyle(e.current).direction;t&&i(t)}}),n),o}var se=function(e,t,n){void 0===n&&(n={});var r=d.useCallback((function(r){n.onMouseDown&&n.onMouseDown.call(void 0,r),e.onMouseDown&&e.onMouseDown.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseDown,e.onMouseDown,t]),o=d.useCallback((function(r){n.onMouseUp&&n.onMouseUp.call(void 0,r),e.onMouseUp&&e.onMouseUp.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseUp,e.onMouseUp,t]);return{onClick:d.useCallback((function(r){n.onClick&&n.onClick.call(void 0,r),e.onClick&&e.onClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onClick,e.onClick,t]),onMouseUp:o,onMouseDown:r,onDoubleClick:d.useCallback((function(r){n.onDoubleClick&&n.onDoubleClick.call(void 0,r),e.onDoubleClick&&e.onDoubleClick.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onDoubleClick,e.onDoubleClick,t]),onMouseEnter:d.useCallback((function(r){n.onMouseEnter&&n.onMouseEnter.call(void 0,r),e.onMouseEnter&&e.onMouseEnter.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseEnter,e.onMouseEnter,t]),onMouseLeave:d.useCallback((function(r){n.onMouseLeave&&n.onMouseLeave.call(void 0,r),e.onMouseLeave&&e.onMouseLeave.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseLeave,e.onMouseLeave,t]),onMouseMove:d.useCallback((function(r){n.onMouseMove&&n.onMouseMove.call(void 0,r),e.onMouseMove&&e.onMouseMove.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseMove,e.onMouseMove,t]),onMouseOut:d.useCallback((function(r){n.onMouseOut&&n.onMouseOut.call(void 0,r),e.onMouseOut&&e.onMouseOut.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOut,e.onMouseOut,t]),onMouseOver:d.useCallback((function(r){n.onMouseOver&&n.onMouseOver.call(void 0,r),e.onMouseOver&&e.onMouseOver.call(void 0,{target:t.current,syntheticEvent:r})}),[n.onMouseOver,e.onMouseOver,t])}},le=function(e){return d.isValidElement(e)?[e.type,e.props]:[e,{}]},pe={default:"",xsmall:"k-icon-xs",small:"k-icon-sm",medium:"k-icon-md",large:"k-icon-lg",xlarge:"k-icon-xl"},fe=function(){return(fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},de=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},me=d.forwardRef((function(e,t){var n=e.className,r=e.name,o=e.themeColor,i=e.size,a=e.flip,c=e.style,s=de(e,["className","name","themeColor","size","flip","style"]),l=d.useRef(null),p=d.useRef(null);d.useImperativeHandle(l,(function(){return{element:p.current}})),d.useImperativeHandle(t,(function(){return l.current}));var f=d.useMemo((function(){return o||he.themeColor}),[o]),m=d.useMemo((function(){return i||he.size}),[i]),h=d.useMemo((function(){return a||he.flip}),[a]),v=d.useMemo((function(){return u("k-icon","k-i-"+r,"k-color-"+f,{"k-flip-h":"horizontal"===h||"both"===h,"k-flip-v":"vertical"===h||"both"===h},pe[m],n)}),[r,f,m,h,n]),y=se(e,l);return d.createElement("span",fe({ref:p},s,y,{className:v,style:c,role:"presentation"}))}));me.propTypes={style:m.object,classNames:m.string,name:m.string,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};var he={size:"default",themeColor:"inherit",flip:"default"};me.displayName="KendoIcon";var ve=function(){return(ve=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},ye=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},ge=d.forwardRef((function(e,t){var n=e.children,r=e.className,o=e.svgClassName,i=e.icon,a=e.flip,c=e.size,s=e.style,l=e.svgStyle,p=e.themeColor,f=e.viewBox,m=ye(e,["children","className","svgClassName","icon","flip","size","style","svgStyle","themeColor","viewBox"]),h=d.useRef(null);d.useImperativeHandle(t,(function(){return{element:h.current}}));var v=d.useMemo((function(){return i?i.name:be.icon}),[i]),y=d.useMemo((function(){return p||be.themeColor}),[p]),g=d.useMemo((function(){return c||be.size}),[c]),b=d.useMemo((function(){return a||be.flip}),[a]),x=d.useMemo((function(){return f||be.viewBox}),[f]),O=d.useMemo((function(){return u("k-svg-icon","k-color-"+y,"k-svg-i-"+v,{"k-flip-h":"horizontal"===b||"both"===b,"k-flip-v":"vertical"===b||"both"===b},pe[g],r)}),[v,y,g,b,r]),k=d.useMemo((function(){return e.width&&e.height?ve({width:e.width,height:e.height},s):e.width?ve({width:e.width,height:e.width},s):e.height?ve({width:e.height,height:e.height},s):ve({},s)}),[e.width,e.height,s]);return d.createElement("span",{className:O,style:k,ref:h},d.createElement("svg",ve({className:o,style:l,"aria-hidden":!0,focusable:"false",xmlns:"http://www.w3.org/2000/svg",viewBox:i?i.viewBox:x,dangerouslySetInnerHTML:i?{__html:i.content}:void 0},m),i?void 0:n))}));ge.propTypes={style:m.object,classNames:m.string,children:m.any,icon:m.object,themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"]),size:m.oneOf(["default","xsmall","small","medium","large","xlarge"]),flip:m.oneOf(["default","horizontal","vertical","both"])};var be={size:"default",themeColor:"inherit",flip:"default",icon:"",viewBox:"0 0 24 24"};ge.displayName="KendoSvgIcon";var xe={xsmall:"k-fs-xs",small:"k-fs-sm",medium:"k-fs-md",large:"k-fs-lg",xlarge:"k-fs-xl"},Oe={light:"k-font-weight-light",normal:"k-font-weight-normal",bold:"k-font-weight-bold"},ke={xsmall:"k-m-xs",small:"k-m-sm",medium:"k-m-md",large:"k-m-lg",xlarge:"k-m-xl",thin:"k-m-thin",hair:"k-m-hair"},we={xsmall:"xs",small:"sm",medium:"md",large:"lg",xlarge:"xl",thin:"thin",hair:"hair"},_e={top:"k-mt-",right:"k-mr-",bottom:"k-mb-",left:"k-ml-"},Ee={left:"k-text-left",right:"k-text-right",center:"k-text-center",justify:"k-text-justify"},Pe={lowercase:"k-text-lowercase",uppercase:"k-text-uppercase",capitalize:"k-text-capitalize"},je={inherit:"k-color-inherit",primary:"k-color-primary",secondary:"k-color-secondary",tertiary:"k-color-tertiary",info:"k-color-info",success:"k-color-success",warning:"k-color-warning",error:"k-color-error",dark:"k-color-dark",light:"k-color-light",inverse:"k-color-inverse"},Ce=function(){return(Ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},Me=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},Ne=function(e){var t=d.forwardRef((function(t,n){var r=t.className,o=t.fontSize,i=t.fontWeight,a=t.textAlign,u=t.textTransform,c=t.themeColor,s=t.margin,l=Me(t,["className","fontSize","fontWeight","textAlign","textTransform","themeColor","margin"]),p=d.useRef(null),f=d.useRef(null);d.useImperativeHandle(p,(function(){return{element:f.current,props:t}})),d.useImperativeHandle(n,(function(){return p.current}));var m=e,h=function(){if(void 0!==s){if("string"==typeof s)return[ke[s]];if("number"==typeof s&&s>=0&&s<=24)return["k-m-"+s];if("object"==typeof s){var e=[];return Object.keys(s).forEach((function(t){var n,r;null!==s[t]&&void 0!==s[t]&&e.push((n=t,r=s[t],""+_e[n]+("string"==typeof r?we[r]:r)))})),e.join(" ")}}};return d.createElement(m,Ce({ref:f,className:["k-"+("p"===e?"paragraph":e),xe[o],Oe[i],Ee[a],Pe[u],je[c],h(),r].filter((function(e){return void 0!==e})).join(" ")},l),t.children)}));return t.propTypes={style:m.object,className:m.string,fontSize:m.oneOf(["xsmall","small","medium","large","xlarge"]),fontWeight:m.oneOf(["light","normal","bold"]),margin:m.oneOfType([m.number,m.object,m.oneOf(["xsmall","small","medium","large","xlarge","thin","hair"])]),textAlign:m.oneOf(["left","right","center","justify"]),textTransform:m.oneOf(["lowercase","uppercase","capitalize"]),themeColor:m.oneOf(["inherit","primary","secondary","tertiary","info","success","error","warning","dark","light","inverse"])},t.displayName="KendoReactTypography"+e.toUpperCase(),t},Se={h1:Ne("h1"),h2:Ne("h2"),h3:Ne("h3"),h4:Ne("h4"),h5:Ne("h5"),h6:Ne("h6"),p:Ne("p"),code:Ne("code"),pre:Ne("pre")}},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.truncateNumber=function(e){var t=e.toString().split(".");return 1===t.length?""+t[0]:t[0]+"."+t[1].substr(0,r.LABEL_DECIMALS)},t.calculatePercentage=function(e,t,n){var r=Math.abs((t-e)/100);return Math.abs((n-e)/r)},t.updateProgress=function(e,t,n,r){var o=Math.max(n,.01),i=100/o*100;e.current&&t.current&&(e.current.style.width=r?"100%":o+"%",t.current.style.width=r?"100%":i+"%",e.current.style.height=r?o+"%":"100%",t.current.style.height=r?i+"%":"100%")},t.calculateRatio=function(e,t,n){return Math.max((n-e)/(t-e),r.MIN_RATIO)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_RATIO=1e-5,t.LABEL_DECIMALS=3,t.DEFAULT_ANIMATION_DURATION=400,t.NO_ANIMATION=0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1636546963,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(9)),r(n(10))},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(2),u=n(5),c=n(2),s=n(7);t.ChunkProgressBar=o.forwardRef((function(e,t){c.validatePackage(s.packageMetadata);var n=e.chunkCount,i=void 0===n?l.chunkCount:n,p=e.className,f=e.disabled,d=e.orientation,m=e.min,h=void 0===m?l.min:m,v=e.max,y=void 0===v?l.max:v,g=e.reverse,b=void 0===g?l.reverse:g,x=e.style,O=e.tabIndex,k=e.emptyStyle,w=e.emptyClassName,_=e.progressStyle,E=e.progressClassName,P=o.useRef(null),j=o.useCallback((function(){P.current&&P.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:P.current,focus:j}}));var C=e.value||l.value,M=null===e.value,N=a.useRtl(P,e.dir),S="vertical"===d,T={className:a.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!S,"k-progressbar-vertical":S,"k-progressbar-reverse":b,"k-progressbar-indeterminate":M,"k-state-disabled":f},p),ref:P,dir:N,tabIndex:a.getTabIndex(O,f),role:"progressbar","aria-valuemin":h,"aria-valuemax":y,"aria-valuenow":M?void 0:C,"aria-disabled":f,style:x};return o.createElement("div",r({},T),o.createElement("ul",{className:"k-reset"},o.createElement((function(e){for(var t=e.count,n=[],i=100/t+"%",c=u.calculateRatio(h,y,C),s=Math.floor(c*t),l=Array(t).fill(!1),p=S&&!b||!S&&b,f=0;f<s;f++)l[f]=!0;p&&l.reverse();for(f=0;f<t;++f){var d=l[f],m=d?E:w,v=r({},{width:S?void 0:i,height:S?i:void 0},d?_:k);n.push(o.createElement("li",{key:f,className:a.classNames("k-item",{"k-first":0===f,"k-last":f===t-1,"k-state-selected":d},m),style:v}))}return o.createElement(o.Fragment,null,n)}),{count:i||l.chunkCount})))})),t.ChunkProgressBar.propTypes={chunkCount:i.number,disabled:i.bool,reverse:i.bool,max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var l={chunkCount:5,min:0,max:100,value:0,disabled:!1,reverse:!1};t.ChunkProgressBar.defaultProps=l,t.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),i=n(0),a=n(12),u=n(2),c=n(5),s=n(11),l=n(6),p=n(2),f=n(7);t.ProgressBar=o.forwardRef((function(e,t){p.validatePackage(f.packageMetadata);var n=e.animation,i=e.disabled,m=e.reverse,h=void 0===m?d.reverse:m,v=e.orientation,y=e.labelVisible,g=e.labelPlacement,b=e.max,x=void 0===b?d.max:b,O=e.min,k=void 0===O?d.min:O,w=e.tabIndex,_=e.className,E=e.style,P=e.emptyStyle,j=e.emptyClassName,C=e.progressStyle,M=e.progressClassName,N=o.useRef(null),S=o.useRef(null),T=o.useRef(null),z=o.useCallback((function(){N.current&&N.current.focus()}),[]);o.useImperativeHandle(t,(function(){return{element:N.current,progressStatusElement:S.current,progressStatusWrapElement:T.current,focus:z}}));var D=e.value||d.value,R=s.usePrevious(D),A=null===e.value,I=u.useRtl(N,e.dir),F="vertical"===v,H=c.truncateNumber(D),B={value:D},L=y?e.label?o.createElement("span",{className:"k-progress-status"},o.createElement(e.label,r({},B))):o.createElement("span",{className:"k-progress-status"},H):void 0,U={className:u.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!F,"k-progressbar-vertical":F,"k-progressbar-reverse":h,"k-progressbar-indeterminate":A,"k-state-disabled":i},_),ref:N,dir:I,tabIndex:u.getTabIndex(w,i),role:"progressbar","aria-valuemin":k,"aria-valuemax":x,"aria-valuenow":A?void 0:D,"aria-disabled":i,style:E},W=u.classNames("k-progress-status-wrap",{"k-progress-start":"start"===g,"k-progress-center":"center"===g,"k-progress-end":"end"===g||void 0===g}),q="boolean"!=typeof n&&void 0!==n?n.duration:n?l.DEFAULT_ANIMATION_DURATION:l.NO_ANIMATION,K=o.useCallback((function(){var e=c.calculatePercentage(k,x,R);c.updateProgress(S,T,e,F)}),[F,x,k,R]),X=o.useCallback((function(e){var t=c.calculatePercentage(k,x,R+(D-R)*e);c.updateProgress(S,T,t,F)}),[k,x,R,D,F]),Y=o.useCallback((function(){var e=c.calculatePercentage(k,x,D);c.updateProgress(S,T,e,F)}),[F,x,k,D]);return a.useAnimation({duration:q,onStart:K,onUpdate:X,onEnd:Y},[D,q]),o.createElement("div",r({},U),o.createElement("span",{className:W+(j?" "+j:""),style:P},L),o.createElement("div",{className:"k-state-selected",style:C,ref:S},o.createElement("span",{className:W+(M?" "+M:""),ref:T},L)))})),t.ProgressBar.propTypes={animation:i.any,disabled:i.bool,reverse:i.bool,label:i.any,labelVisible:i.bool,labelPlacement:i.oneOf(["start","center","end"]),max:i.number,min:i.number,value:i.number,tabIndex:i.number,emptyStyle:i.object,emptyClassName:i.string,progressStyle:i.object,progressClassName:i.string};var d={animation:!1,min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};t.ProgressBar.defaultProps=d,t.ProgressBar.displayName="KendoProgressBar"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);t.usePrevious=function(e){var t=r.useRef();return r.useEffect((function(){t.current=e})),t.current}},function(e,t,n){"use strict";n.r(t),n.d(t,"Animation",(function(){return O})),n.d(t,"AnimationChild",(function(){return h})),n.d(t,"Fade",(function(){return E})),n.d(t,"Expand",(function(){return M})),n.d(t,"Push",(function(){return D})),n.d(t,"Slide",(function(){return F})),n.d(t,"Zoom",(function(){return W})),n.d(t,"Reveal",(function(){return Y})),n.d(t,"useAnimation",(function(){return V}));var r,o=n(1),i=n(0),a=n(2),u=n(3),c=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop),r=parseFloat(t.marginBottom);return e.offsetHeight+n+r},s=function(e){if(!e)return 0;var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginLeft),r=parseFloat(t.marginRight);return e.offsetWidth+n+r},l={"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"},p=(r=function(e,t){return(r=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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),f=function(){return(f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},m=l,h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return p(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,r=t.style,i=t.appear,c=t.enter,s=t.exit,l=t.transitionName,p=t.transitionEnterDuration,h=t.transitionExitDuration,v=t.className,y=t.onEnter,g=t.onEntering,b=t.onEntered,x=t.onExit,O=t.onExiting,k=t.onExited,w=t.mountOnEnter,_=t.unmountOnExit,E=t.animationEnteringStyle,P=t.animationEnteredStyle,j=t.animationExitingStyle,C=t.animationExitedStyle,M=d(t,["children","style","appear","enter","exit","transitionName","transitionEnterDuration","transitionExitDuration","className","onEnter","onEntering","onEntered","onExit","onExiting","onExited","mountOnEnter","unmountOnExit","animationEnteringStyle","animationEnteredStyle","animationExitingStyle","animationExitedStyle"]),N=Object(a.classNames)(v,m["child-animation-container"]),S=f({transitionDelay:"0ms"},r),T={entering:f({transitionDuration:p+"ms"},E),entered:f({},P),exiting:f({transitionDuration:h+"ms"},j),exited:f({},C)},z={in:this.props.in,appear:i,enter:c,exit:s,mountOnEnter:w,unmountOnExit:_,timeout:{enter:p,exit:h},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){x&&x.call(void 0,{animatedElement:t,target:e})},onExiting:function(t){O&&O.call(void 0,{animatedElement:t,target:e})},onExited:function(t){k&&k.call(void 0,{animatedElement:t,target:e})},classNames:{appear:m[l+"-appear"]||l+"-appear",appearActive:m[l+"-appear-active"]||l+"-appear-active",enter:m[l+"-enter"]||l+"-enter",enterActive:m[l+"-enter-active"]||l+"-enter-active",exit:m[l+"-exit"]||l+"-exit",exitActive:m[l+"-exit-active"]||l+"-exit-active"}};return o.createElement(u.CSSTransition,f({},z,M),(function(t){return o.createElement("div",{style:f({},S,T[t]),className:N,ref:function(t){e._element=t}},n)}))},t.propTypes={in:i.bool,children:i.oneOfType([i.arrayOf(i.node),i.node]),transitionName:i.string.isRequired,className:i.string,appear:i.bool,enter:i.bool,exit:i.bool,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired,mountOnEnter:i.bool,unmountOnExit:i.bool,animationEnteringStyle:i.object,animationEnteredStyle:i.object,animationExitingStyle:i.object,animationExitedStyle:i.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}(o.Component),v={name:"@progress/kendo-react-animation",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1636546473,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},y=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},x=l,O=function(e){function t(t){var n=e.call(this,t)||this;return Object(a.validatePackage)(v),n}return y(t,e),t.prototype.render=function(){var e=this.props,t=e.id,n=e.style,r=e.children,i=e.component,c=e.className,s=e.childFactory,l=(e.stackChildren,e.componentChildStyle),p=e.componentChildClassName,f=b(e,["id","style","children","component","className","childFactory","stackChildren","componentChildStyle","componentChildClassName"]),d={id:t,style:n,component:i,childFactory:s,className:Object(a.classNames)(x["animation-container"],x["animation-container-relative"],c)},m=o.Children.map(r||null,(function(e){return o.createElement(h,g({},f,{style:l,className:p}),e)}));return o.createElement(u.TransitionGroup,g({},d),m)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any,transitionName:i.string.isRequired,appear:i.bool.isRequired,enter:i.bool.isRequired,exit:i.bool.isRequired,transitionEnterDuration:i.number.isRequired,transitionExitDuration:i.number.isRequired},t.defaultProps={component:"div"},t}(o.Component),k=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),w=function(){return(w=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return k(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=_(e,["children"]);return o.createElement(O,w({},{transitionName:"fade"},n),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!1,transitionEnterDuration:500,transitionExitDuration:500},t}(o.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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},M=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.direction,n=e.children,r=C(e,["direction","children"]),i={transitionName:"expand-"+t};return o.createElement(O,j({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),N=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},z={position:"absolute",top:"0",left:"0"},D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return N(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.direction,r=T(e,["children","direction"]);return o.createElement(O,S({},r,{transitionName:"push-"+n,animationExitingStyle:this.props.stackChildren?z:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"right",stackChildren:!1},t}(o.Component),R=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),A=function(){return(A=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},F=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return R(t,e),t.prototype.render=function(){var e=this.props,t=e.direction,n=e.children,r=I(e,["direction","children"]),i={transitionName:"slide-"+t};return o.createElement(O,A({},i,r),n)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["up","down","left","right"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"down"},t}(o.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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),B=function(){return(B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n},U={position:"absolute",top:"0",left:"0"},W=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.children,n=e.direction,r=L(e,["children","direction"]);return o.createElement(O,B({},r,{transitionName:"zoom-"+n,animationExitingStyle:this.props.stackChildren?U:void 0}),t)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["in","out"]),component:i.string,id:i.string,style:i.any,stackChildren:i.bool},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"out",stackChildren:!1},t}(o.Component),q=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 r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),K=function(){return(K=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},X=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}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 r=e.firstChild;if(r){var o=c(r),i=s(r);t.setState({maxHeight:o,maxWidth:i},n)}},t}return q(t,e),t.prototype.render=function(){var e,t=this.props,n=t.direction,r=t.children,i=t.childFactory,a=X(t,["direction","children","childFactory"]),u=this.state,c=u.maxHeight,s=u.maxWidth,l={maxHeight:(e="vertical"===n?{maxHeight:c?c+"px":null}:{maxWidth:s?s+"px":null}).maxHeight,maxWidth:e.maxWidth};return o.createElement(O,K({},a,{childFactory:i||function(t){return t.props.in?t:o.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}),r)},t.propTypes={children:i.oneOfType([i.arrayOf(i.node),i.node]),childFactory:i.any,className:i.string,direction:i.oneOf(["horizontal","vertical"]),component:i.string,id:i.string,style:i.any},t.defaultProps={appear:!1,enter:!0,exit:!0,transitionEnterDuration:300,transitionExitDuration:300,direction:"vertical"},t}(o.Component),V=function(e,t){var n=o.useRef(0),r=o.useRef(!1),i=o.useRef();o.useEffect((function(){return function(e){var t,r=e.duration,o=n.current&&1-n.current;e.onStart&&e.onStart();var a=function(u){t||(t=u);var c=(u-t+1)/r+o;c<=1?(e.onUpdate&&e.onUpdate(c),i.current=window.requestAnimationFrame(a),n.current=c):(e.onEnd&&e.onEnd(1),n.current=0)};i.current=window.requestAnimationFrame(a)}(e),function(){i.current&&window.cancelAnimationFrame(i.current)}}),t),o.useEffect((function(){r.current=!0}),[])}}])}));
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-progressbars',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1636546963,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-progressbars',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1636546963,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register("@progress/kendo-react-progressbars",["prop-types","
|
|
1
|
+
System.register("@progress/kendo-react-progressbars",["react","prop-types","@progress/kendo-react-common","@progress/kendo-react-animation"],function(s){var o,u,l,i;function r(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=r(e)},function(e){u=r(e)},function(e){l=r(e)},function(e){i=r(e)}],execute:function(){function n(e){if(a[e])return a[e].exports;var r=a[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,n),r.l=!0,r.exports}var t,a;t=[function(e,r){e.exports=l},function(e,r){e.exports=o},function(e,r){e.exports=u},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(4);r.truncateNumber=function(e){e=e.toString().split(".");return 1===e.length?""+e[0]:e[0]+"."+e[1].substr(0,a.LABEL_DECIMALS)},r.calculatePercentage=function(e,r,t){r=Math.abs((r-e)/100);return Math.abs((t-e)/r)},r.updateProgress=function(e,r,t,a){var n=Math.max(t,.01),t=100/n*100;e.current&&r.current&&(e.current.style.width=a?"100%":n+"%",r.current.style.width=a?"100%":t+"%",e.current.style.height=a?n+"%":"100%",r.current.style.height=a?t+"%":"100%")},r.calculateRatio=function(e,r,t){return Math.max((t-e)/(r-e),a.MIN_RATIO)}},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.MIN_RATIO=1e-5,r.LABEL_DECIMALS=3,r.DEFAULT_ANIMATION_DURATION=400,r.NO_ANIMATION=0},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.packageMetadata={name:"@progress/kendo-react-progressbars",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1636546963,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},function(e,t,r){"use strict";function a(e){for(var r in e)t.hasOwnProperty(r)||(t[r]=e[r])}Object.defineProperty(t,"__esModule",{value:!0}),a(r(7)),a(r(8)),function(e){for(var r in e)s(r,e[r])}(t)},function(e,r,t){"use strict";var k=this&&this.__assign||function(){return(k=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var N=t(1),a=t(2),h=t(0),P=t(3),_=t(0),O=t(5);r.ChunkProgressBar=N.forwardRef(function(e,r){_.validatePackage(O.packageMetadata);var t=e.chunkCount,a=void 0===t?x.chunkCount:t,n=e.className,s=e.disabled,o=e.orientation,u=e.min,c=void 0===u?x.min:u,t=e.max,d=void 0===t?x.max:t,u=e.reverse,p=void 0===u?x.reverse:u,t=e.style,u=e.tabIndex,m=e.emptyStyle,f=e.emptyClassName,b=e.progressStyle,v=e.progressClassName,l=N.useRef(null),i=N.useCallback(function(){l.current&&l.current.focus()},[]);N.useImperativeHandle(r,function(){return{element:l.current,focus:i}});var g=e.value||x.value,r=null===e.value,e=h.useRtl(l,e.dir),y="vertical"===o,t={className:h.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!y,"k-progressbar-vertical":y,"k-progressbar-reverse":p,"k-progressbar-indeterminate":r,"k-state-disabled":s},n),ref:l,dir:e,tabIndex:h.getTabIndex(u,s),role:"progressbar","aria-valuemin":c,"aria-valuemax":d,"aria-valuenow":r?void 0:g,"aria-disabled":s,style:t};return N.createElement("div",k({},t),N.createElement("ul",{className:"k-reset"},N.createElement(function(e){for(var r=e.count,t=[],a=100/r+"%",e=P.calculateRatio(c,d,g),n=Math.floor(e*r),s=Array(r).fill(!1),e=y&&!p||!y&&p,o=0;o<n;o++)s[o]=!0;for(e&&s.reverse(),o=0;o<r;++o){var u=s[o],l=u?v:f,i=k({},{width:y?void 0:a,height:y?a:void 0},u?b:m);t.push(N.createElement("li",{key:o,className:h.classNames("k-item",{"k-first":0===o,"k-last":o===r-1,"k-state-selected":u},l),style:i}))}return N.createElement(N.Fragment,null,t)},{count:a||x.chunkCount})))});var x={chunkCount:5,min:0,max:100,value:0,disabled:!(r.ChunkProgressBar.propTypes={chunkCount:a.number,disabled:a.bool,reverse:a.bool,max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),reverse:!1};r.ChunkProgressBar.defaultProps=x,r.ChunkProgressBar.displayName="KendoChunkProgressBar"},function(e,r,t){"use strict";var x=this&&this.__assign||function(){return(x=Object.assign||function(e){for(var r,t=1,a=arguments.length;t<a;t++)for(var n in r=arguments[t])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e}).apply(this,arguments)};Object.defineProperty(r,"__esModule",{value:!0});var C=t(1),a=t(2),I=t(9),M=t(0),E=t(3),j=t(10),A=t(4),S=t(0),w=t(5);r.ProgressBar=C.forwardRef(function(e,r){S.validatePackage(w.packageMetadata);var t=e.animation,a=e.disabled,n=e.reverse,s=void 0===n?T.reverse:n,o=e.orientation,u=e.labelVisible,l=e.labelPlacement,i=e.max,c=void 0===i?T.max:i,d=e.min,p=void 0===d?T.min:d,m=e.tabIndex,f=e.className,b=e.style,v=e.emptyStyle,g=e.emptyClassName,n=e.progressStyle,i=e.progressClassName,y=C.useRef(null),k=C.useRef(null),N=C.useRef(null),h=C.useCallback(function(){y.current&&y.current.focus()},[]);C.useImperativeHandle(r,function(){return{element:y.current,progressStatusElement:k.current,progressStatusWrapElement:N.current,focus:h}});var P=e.value||T.value,_=j.usePrevious(P),d=null===e.value,r=M.useRtl(y,e.dir),O="vertical"===o,o=E.truncateNumber(P),o=u?e.label?C.createElement("span",{className:"k-progress-status"},C.createElement(e.label,x({},{value:P}))):C.createElement("span",{className:"k-progress-status"},o):void 0,m={className:M.classNames("k-widget k-progressbar",{"k-progressbar-horizontal":!O,"k-progressbar-vertical":O,"k-progressbar-reverse":s,"k-progressbar-indeterminate":d,"k-state-disabled":a},f),ref:y,dir:r,tabIndex:M.getTabIndex(m,a),role:"progressbar","aria-valuemin":p,"aria-valuemax":c,"aria-valuenow":d?void 0:P,"aria-disabled":a,style:b},d=M.classNames("k-progress-status-wrap",{"k-progress-start":"start"===l,"k-progress-center":"center"===l,"k-progress-end":"end"===l||void 0===l}),a="boolean"!=typeof t&&void 0!==t?t.duration:t?A.DEFAULT_ANIMATION_DURATION:A.NO_ANIMATION,b=C.useCallback(function(){var e=E.calculatePercentage(p,c,_);E.updateProgress(k,N,e,O)},[O,c,p,_]),l=C.useCallback(function(e){e=E.calculatePercentage(p,c,_+(P-_)*e);E.updateProgress(k,N,e,O)},[p,c,_,P,O]),t=C.useCallback(function(){var e=E.calculatePercentage(p,c,P);E.updateProgress(k,N,e,O)},[O,c,p,P]);return I.useAnimation({duration:a,onStart:b,onUpdate:l,onEnd:t},[P,a]),C.createElement("div",x({},m),C.createElement("span",{className:d+(g?" "+g:""),style:v},o),C.createElement("div",{className:"k-state-selected",style:n,ref:k},C.createElement("span",{className:d+(i?" "+i:""),ref:N},o)))});var T={animation:!(r.ProgressBar.propTypes={animation:a.any,disabled:a.bool,reverse:a.bool,label:a.any,labelVisible:a.bool,labelPlacement:a.oneOf(["start","center","end"]),max:a.number,min:a.number,value:a.number,tabIndex:a.number,emptyStyle:a.object,emptyClassName:a.string,progressStyle:a.object,progressClassName:a.string}),min:0,max:100,value:0,disabled:!1,reverse:!1,labelVisible:!0};r.ProgressBar.defaultProps=T,r.ProgressBar.displayName="KendoProgressBar"},function(e,r){e.exports=i},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=t(1);r.usePrevious=function(e){var r=a.useRef();return a.useEffect(function(){r.current=e}),r.current}}],a={},n.m=t,n.c=a,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},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(r,e){if(1&e&&(r=n(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var a in r)n.d(t,a,function(e){return r[e]}.bind(null,a));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=6)}}});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-progressbars",
|
|
3
3
|
"description": "KendoReact ProgressBars package",
|
|
4
|
-
"version": "4.11.0-dev.
|
|
4
|
+
"version": "4.11.0-dev.202111101237",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-react.git"
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@progress/kendo-drawing": "^1.8.0",
|
|
41
41
|
"@progress/kendo-licensing": "^1.0.1",
|
|
42
|
-
"@progress/kendo-react-animation": "4.11.0-dev.
|
|
43
|
-
"@progress/kendo-react-buttons": "4.11.0-dev.
|
|
44
|
-
"@progress/kendo-react-dropdowns": "4.11.0-dev.
|
|
45
|
-
"@progress/kendo-react-form": "4.11.0-dev.
|
|
46
|
-
"@progress/kendo-react-inputs": "4.11.0-dev.
|
|
47
|
-
"@progress/kendo-react-intl": "4.11.0-dev.
|
|
42
|
+
"@progress/kendo-react-animation": "4.11.0-dev.202111101237",
|
|
43
|
+
"@progress/kendo-react-buttons": "4.11.0-dev.202111101237",
|
|
44
|
+
"@progress/kendo-react-dropdowns": "4.11.0-dev.202111101237",
|
|
45
|
+
"@progress/kendo-react-form": "4.11.0-dev.202111101237",
|
|
46
|
+
"@progress/kendo-react-inputs": "4.11.0-dev.202111101237",
|
|
47
|
+
"@progress/kendo-react-intl": "4.11.0-dev.202111101237"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@progress/kendo-react-common": "4.11.0-dev.
|
|
50
|
+
"@progress/kendo-react-common": "4.11.0-dev.202111101237",
|
|
51
51
|
"prop-types": "^15.6.0"
|
|
52
52
|
},
|
|
53
53
|
"@progress": {
|