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/prop-types/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/@progress/kendo-react-progressbars/common/constants.mjs","../node_modules/@progress/kendo-react-progressbars/common/utils.mjs","../node_modules/@progress/kendo-react-progressbars/package-metadata.mjs","../node_modules/@progress/kendo-react-progressbars/chunkprogressbar/ChunkProgressBar.mjs","../node_modules/@progress/kendo-react-progressbars/progressbar/hooks/usePrevious.mjs","../node_modules/@progress/kendo-react-progressbars/progressbar/ProgressBar.mjs"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nconst A = 1e-5, I = 3, N = 400, o = 0;\nexport {\n N as DEFAULT_ANIMATION_DURATION,\n I as LABEL_DECIMALS,\n A as MIN_RATIO,\n o as NO_ANIMATION\n};\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nimport { LABEL_DECIMALS as a, MIN_RATIO as o } from \"./constants.mjs\";\nconst h = (e) => {\n const t = e.toString().split(\".\");\n return t.length === 1 ? `${t[0]}` : `${t[0]}.${t[1].substr(0, a)}`;\n}, l = (e, t, n) => {\n const r = Math.abs((t - e) / 100);\n return Math.abs((n - e) / r);\n}, $ = (e, t, n, r) => {\n const c = Math.max(n, 0.01), u = 100 / c * 100;\n e.current && t.current && (e.current.style.width = r ? \"100%\" : `${c}%`, t.current.style.width = r ? \"100%\" : `${u}%`, e.current.style.height = r ? `${c}%` : \"100%\", t.current.style.height = r ? `${u}%` : \"100%\");\n}, g = (e, t, n) => Math.max((n - e) / (t - e), o);\nexport {\n l as calculatePercentage,\n g as calculateRatio,\n h as truncateNumber,\n $ as updateProgress\n};\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nconst e = {\n name: \"@progress/kendo-react-progressbars\",\n productName: \"KendoReact\",\n productCode: \"KENDOUIREACT\",\n productCodes: [\"KENDOUIREACT\"],\n publishDate: 1741695308,\n version: \"10.0.0\",\n licensingDocsUrl: \"https://www.telerik.com/kendo-react-ui/components/my-license/\"\n};\nexport {\n e as packageMetadata\n};\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nimport * as e from \"react\";\nimport r from \"prop-types\";\nimport { validatePackage as H, useRtl as K, classNames as f, getTabIndex as O, WatermarkOverlay as V } from \"@progress/kendo-react-common\";\nimport { calculateRatio as q } from \"../common/utils.mjs\";\nimport { packageMetadata as D } from \"../package-metadata.mjs\";\nconst v = e.forwardRef(\n (t, y) => {\n const h = !H(D, { component: \"ChunkProgressBar\" }), {\n chunkCount: C = a.chunkCount,\n className: x,\n disabled: c = a.disabled,\n orientation: N,\n min: i = a.min,\n max: u = a.max,\n reverse: P = a.reverse,\n style: E,\n tabIndex: S,\n emptyStyle: R,\n emptyClassName: w,\n progressStyle: I,\n progressClassName: B\n } = t, l = e.useRef(null), L = e.useCallback(() => {\n l.current && l.current.focus();\n }, []);\n e.useImperativeHandle(\n y,\n () => ({\n element: l.current,\n focus: L\n })\n );\n const d = t.value || a.value, k = t.value === null, T = K(l, t.dir), o = N === \"vertical\", j = {\n className: f(\n \"k-progressbar k-chunk-progressbar\",\n {\n \"k-progressbar-horizontal\": !o,\n \"k-progressbar-vertical\": o,\n \"k-progressbar-reverse\": P,\n \"k-progressbar-indeterminate\": k,\n \"k-disabled\": c\n },\n x\n ),\n ref: l,\n dir: T,\n tabIndex: O(S, c),\n role: \"progressbar\",\n \"aria-label\": t.ariaLabel,\n \"aria-valuemin\": i,\n \"aria-valuemax\": u,\n \"aria-valuenow\": k ? void 0 : d,\n \"aria-disabled\": c,\n style: E\n }, z = ({ count: n }) => {\n const p = [], b = 100 / n + \"%\", F = q(i, u, d), M = Math.floor(F * n), g = Array(n).fill(!1);\n for (let s = 0; s < M; s++)\n g[s] = !0;\n for (let s = 0; s < n; ++s) {\n const m = g[s], W = m ? B : w, A = { ...{\n width: o ? void 0 : b,\n height: o ? b : void 0\n }, ...m ? I : R };\n p.push(\n /* @__PURE__ */ e.createElement(\n \"li\",\n {\n key: s,\n className: f(\n \"k-progressbar-chunk\",\n {\n \"k-first\": s === 0,\n \"k-last\": s === n - 1,\n \"k-selected\": m\n },\n W\n ),\n style: A\n }\n )\n );\n }\n return /* @__PURE__ */ e.createElement(e.Fragment, null, p);\n };\n return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(\"div\", { ...j }, /* @__PURE__ */ e.createElement(\"ul\", { className: \"k-progressbar-chunks k-reset\" }, /* @__PURE__ */ e.createElement(z, { count: C }))), h && /* @__PURE__ */ e.createElement(V, null));\n }\n);\nv.propTypes = {\n chunkCount: r.number,\n ariaLabel: r.string,\n disabled: r.bool,\n reverse: r.bool,\n max: r.number,\n min: r.number,\n value: r.number,\n tabIndex: r.number,\n emptyStyle: r.object,\n emptyClassName: r.string,\n progressStyle: r.object,\n progressClassName: r.string\n};\nconst a = {\n chunkCount: 5,\n min: 0,\n max: 100,\n value: 0,\n disabled: !1,\n reverse: !1\n};\nv.displayName = \"KendoChunkProgressBar\";\nexport {\n v as ChunkProgressBar\n};\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nimport * as r from \"react\";\nconst s = (t) => {\n const e = r.useRef();\n return r.useEffect(() => {\n e.current = t;\n }), e.current;\n};\nexport {\n s as usePrevious\n};\n","/**\n * @license\n *-------------------------------------------------------------------------------------------\n * Copyright © 2025 Progress Software Corporation. All rights reserved.\n * Licensed under commercial license. See LICENSE.md in the package root for more information\n *-------------------------------------------------------------------------------------------\n */\nimport * as e from \"react\";\nimport a from \"prop-types\";\nimport { useAnimation as H } from \"@progress/kendo-react-animation\";\nimport { useRtl as K, classNames as I, getTabIndex as q } from \"@progress/kendo-react-common\";\nimport { truncateNumber as G, updateProgress as f, calculatePercentage as v } from \"../common/utils.mjs\";\nimport { usePrevious as J } from \"./hooks/usePrevious.mjs\";\nimport { DEFAULT_ANIMATION_DURATION as Q, NO_ANIMATION as X } from \"../common/constants.mjs\";\nconst R = e.forwardRef((t, S) => {\n const {\n animation: p = o.animation,\n disabled: g = o.disabled,\n reverse: C = o.reverse,\n orientation: A,\n labelVisible: T = o.labelVisible,\n labelPlacement: d,\n max: l = o.max,\n min: n = o.min,\n tabIndex: V,\n className: L,\n style: O,\n emptyStyle: h,\n emptyClassName: N,\n progressStyle: w,\n progressClassName: k\n } = t, i = e.useRef(null), c = e.useRef(null), m = e.useRef(null), U = e.useCallback(() => {\n i.current && i.current.focus();\n }, []);\n e.useImperativeHandle(\n S,\n () => ({\n element: i.current,\n progressStatusElement: c.current,\n progressStatusWrapElement: m.current,\n focus: U\n })\n );\n const s = t.value || o.value, u = J(s), y = t.value === null, D = K(i, t.dir), r = A === \"vertical\", _ = G(s), j = {\n value: s\n }, E = T ? t.label ? /* @__PURE__ */ e.createElement(\"span\", { className: \"k-progress-status\" }, /* @__PURE__ */ e.createElement(t.label, { ...j })) : /* @__PURE__ */ e.createElement(\"span\", { className: \"k-progress-status\" }, _) : void 0, B = {\n className: I(\n \"k-progressbar\",\n {\n \"k-progressbar-horizontal\": !r,\n \"k-progressbar-vertical\": r,\n \"k-progressbar-reverse\": C,\n \"k-progressbar-indeterminate\": y,\n \"k-disabled\": g\n },\n L\n ),\n ref: i,\n dir: D,\n tabIndex: q(V, g),\n role: \"progressbar\",\n \"aria-label\": t.ariaLabel,\n \"aria-valuemin\": n,\n \"aria-valuemax\": l,\n \"aria-valuenow\": y ? void 0 : s,\n \"aria-disabled\": g,\n style: O\n }, P = I(\"k-progress-status-wrap\", {\n \"k-progress-start\": d === \"start\",\n \"k-progress-center\": d === \"center\",\n \"k-progress-end\": d === \"end\" || d === void 0\n }), x = typeof p != \"boolean\" && p !== void 0 ? p.duration : p ? Q : X, M = e.useCallback(() => {\n const b = v(n, l, u);\n f(c, m, b, r);\n }, [r, l, n, u]), W = e.useCallback(\n (b) => {\n const F = v(n, l, u + (s - u) * b);\n f(c, m, F, r);\n },\n [n, l, u, s, r]\n ), z = e.useCallback(() => {\n const b = v(n, l, s);\n f(c, m, b, r);\n }, [r, l, n, s]);\n return H(\n {\n duration: x,\n onStart: M,\n onUpdate: W,\n onEnd: z\n },\n [s, x]\n ), /* @__PURE__ */ e.createElement(\"div\", { ...B }, /* @__PURE__ */ e.createElement(\"span\", { className: P + (N ? \" \" + N : \"\"), style: h }, E), /* @__PURE__ */ e.createElement(\"div\", { className: \"k-progressbar-value k-selected\", style: w, ref: c }, /* @__PURE__ */ e.createElement(\n \"span\",\n {\n className: P + (k ? \" \" + k : \"\"),\n ref: m\n },\n E\n )));\n});\nR.propTypes = {\n animation: a.any,\n ariaLabel: a.string,\n disabled: a.bool,\n reverse: a.bool,\n label: a.any,\n labelVisible: a.bool,\n labelPlacement: a.oneOf([\"start\", \"center\", \"end\"]),\n max: a.number,\n min: a.number,\n value: a.number,\n tabIndex: a.number,\n emptyStyle: a.object,\n emptyClassName: a.string,\n progressStyle: a.object,\n progressClassName: a.string\n};\nconst o = {\n animation: !1,\n min: 0,\n max: 100,\n value: 0,\n disabled: !1,\n reverse: !1,\n labelVisible: !0\n};\nR.displayName = \"KendoProgressBar\";\nexport {\n R as ProgressBar\n};\n"],"names":["ReactPropTypesSecret","require","emptyFunction","emptyFunctionWithReset","resetWarningCache","module","exports","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","l","e","t","n","r","Math","abs","$","c","max","u","current","style","width","height","productName","productCode","productCodes","publishDate","version","licensingDocsUrl","v","y","h","H","D","component","chunkCount","C","a","className","x","disabled","orientation","N","min","i","reverse","P","E","tabIndex","S","emptyStyle","R","emptyClassName","w","progressStyle","I","progressClassName","B","L","focus","d","value","k","T","K","dir","o","j","f","ref","O","role","ariaLabel","z","_ref","count","p","b","F","g","q","M","floor","Array","fill","s","m","W","A","push","key","V","propTypes","displayName","animation","labelVisible","labelPlacement","U","progressStatusElement","progressStatusWrapElement","J","_","toString","split","length","substr","G","label","duration","onStart","onUpdate","onEnd"],"sourceRoot":""}