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SAAUA,GAAO,MAAsB,kBAARA,EAAmB5D,OAC/D8D,KAAKF,GACL7Q,SAAQ,SAAUgR,GACnBjR,EAAOiR,GAAOH,EAAIG,EACtB,IAAKjR,EAAO8Q,IAAO,CAAM,CAOjBI,CAAYJ,EACpB,GAAI,EAGJ,OADAF,EAAQH,GACDvD,OACF8D,KAAKhR,GACLiK,KAAI,SAAUgH,GAAO,OAAQjR,EAAOiR,IAAQA,GAAQ,IAAM,IAC1D9G,QAAO,SAAUhH,GAAM,OAAc,OAAPA,CAAa,IAC3CgO,KAAK,IACd,C,gDCzBO,SAAS3C,EAAgBC,GAC5B,GAAyB,qBAAd2C,EACPA,EAAAA,gBAA0B3C,OAEzB,CACD,IAAI4C,EAAU,iCAAiCC,OAAO7C,EAAgB2B,KAAM,MAC5EiB,GAAW,wDACXA,GAAW,OAAOC,OAAO7C,EAAgB+B,iBAAkB,4BAC3De,QAAQC,KAAKH,EACjB,CACJ,C","sources":["../node_modules/@progress/kendo-draggable-common/dist/es/algorithms/intersect.js","../node_modules/@progress/kendo-draggable-common/dist/es/drag-n-drop.js","../node_modules/@progress/kendo-draggable-common/dist/es/utils/index.js","../node_modules/@progress/kendo-draggable-common/dist/es/auto-scroll.js","../node_modules/@progress/kendo-react-intl/dist/es/hooks/useLocalization.js","../node_modules/@progress/kendo-react-intl/dist/es/intlUtils.js","../node_modules/@progress/kendo-react-labels/dist/es/FloatingLabel.js","../node_modules/@progress/kendo-react-labels/dist/es/messages/index.js","../node_modules/@progress/kendo-react-labels/dist/es/package-metadata.js","../node_modules/@progress/kendo-react-labels/node_modules/@progress/kendo-react-common/dist/es/classNames.js","../node_modules/@progress/kendo-react-labels/node_modules/@progress/kendo-react-common/dist/es/validate-package.js"],"sourcesContent":["var getRatio = function (element, target) {\n    var elementRect = element.getBoundingClientRect();\n    var targetRect = target.getBoundingClientRect();\n    var top = Math.max(targetRect.top, elementRect.top);\n    var left = Math.max(targetRect.left, elementRect.left);\n    var right = Math.min(targetRect.left + targetRect.width, elementRect.left + elementRect.width);\n    var bottom = Math.min(targetRect.top + targetRect.height, elementRect.top + elementRect.height);\n    var width = right - left;\n    var height = bottom - top;\n    if (left < right && top < bottom) {\n        var targetArea = targetRect.width * targetRect.height;\n        var entryArea = elementRect.width * elementRect.height;\n        var intersectionArea = width * height;\n        var intersectionRatio = intersectionArea / (targetArea + entryArea - intersectionArea);\n        return Number(intersectionRatio.toFixed(4));\n    }\n    return 0;\n};\n/** @hidden */\nexport var intersect = function (element, candidates) {\n    var max = 0;\n    var result = null;\n    candidates.forEach(function (candidate) {\n        if (candidate && element) {\n            var ration = getRatio(element, candidate);\n            if (ration > max) {\n                max = ration;\n                result = candidate;\n            }\n        }\n    });\n    return result;\n};\n","import { intersect } from \"./algorithms\";\nimport { getWindow, autoScrollVelocity, scrollableViewPort, getScrollableParent, isPointerInsideContainer, getDocument } from \"./utils\";\n/** @hidden */\nexport var DRAG_AND_DROP_DISPATCH_ACTION;\n(function (DRAG_AND_DROP_DISPATCH_ACTION) {\n    DRAG_AND_DROP_DISPATCH_ACTION[\"POINTER_DOWN\"] = \"pointerdown\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"POINTER_MOVE\"] = \"pointermove\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"POINTER_UP\"] = \"pointerup\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"POINTER_CANCEL\"] = \"pointercancel\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"MOUSE_DOWN\"] = \"mousedown\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"MOUSE_MOVE\"] = \"mousemove\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"MOUSE_UP\"] = \"mouseup\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"CONTEXT_MENU\"] = \"contextmenu\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"TOUCH_START\"] = \"touchstart\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"TOUCH_MOVE\"] = \"touchmove\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"TOUCH_END\"] = \"touchend\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"TOUCH_CANCEL\"] = \"touchcancel\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"SCROLL\"] = \"scroll\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"START\"] = \"KENDO_DRAG_AND_DROP_START\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"MOVE\"] = \"KENDO_DRAG_AND_DROP_MOVE\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"END\"] = \"KENDO_DRAG_AND_DROP_END\";\n    DRAG_AND_DROP_DISPATCH_ACTION[\"CANCEL\"] = \"KENDO_DRAG_AND_DROP_CANCEL\";\n})(DRAG_AND_DROP_DISPATCH_ACTION || (DRAG_AND_DROP_DISPATCH_ACTION = {}));\nvar isTouchEvent = function (event) { return /^touch/.test(event.type); };\nvar isScrollEvent = function (event) { return /^(scroll)/.test(event.type); };\n/** @hidden */\nexport var normalizeEvent = function (event, state) { return (isTouchEvent(event)\n    ? ({\n        pageX: event.changedTouches[0].pageX,\n        pageY: event.changedTouches[0].pageY,\n        clientX: event.changedTouches[0].clientX,\n        clientY: event.changedTouches[0].clientY,\n        scrollX: state.scrollOffset.x,\n        scrollY: state.scrollOffset.y,\n        offsetX: state.offset.x,\n        offsetY: state.offset.y,\n        type: event.type,\n        originalEvent: event,\n        isTouch: true,\n        altKey: false,\n        ctrlKey: false,\n        shiftKey: false,\n        metaKey: false\n    })\n    : isScrollEvent(event)\n        ? ({\n            pageX: state.pageOffset.x,\n            pageY: state.pageOffset.y,\n            clientX: state.clientOffset.x,\n            clientY: state.clientOffset.y,\n            scrollX: state.scrollOffset.x,\n            scrollY: state.scrollOffset.y,\n            offsetX: state.offset.x,\n            offsetY: state.offset.y,\n            type: event.type,\n            originalEvent: event,\n            altKey: false,\n            ctrlKey: false,\n            shiftKey: false,\n            metaKey: false\n        })\n        : ({\n            pageX: event.pageX,\n            pageY: event.pageY,\n            clientX: event.clientX,\n            clientY: event.clientY,\n            offsetX: event.offsetX,\n            offsetY: event.offsetY,\n            scrollX: state.scrollOffset.x,\n            scrollY: state.scrollOffset.y,\n            type: event.type,\n            ctrlKey: event.ctrlKey,\n            shiftKey: event.shiftKey,\n            altKey: event.altKey,\n            metaKey: event.metaKey,\n            originalEvent: event\n        })); };\nvar noop = function () { };\n/** @hidden */\nexport var dispatchDragAndDrop = function (state, action, callbacks) {\n    if (callbacks === void 0) { callbacks = {}; }\n    var _a = callbacks.onIsPressedChange, onIsPressedChange = _a === void 0 ? noop : _a, _b = callbacks.onIsScrollingChange, onIsScrollingChange = _b === void 0 ? noop : _b, _c = callbacks.onVelocityChange, onVelocityChange = _c === void 0 ? noop : _c, _d = callbacks.onOffsetChange, onOffsetChange = _d === void 0 ? noop : _d, _e = callbacks.onPageOffsetChange, onPageOffsetChange = _e === void 0 ? noop : _e, _f = callbacks.onClientOffsetChange, onClientOffsetChange = _f === void 0 ? noop : _f, _g = callbacks.onScrollOffsetChange, onScrollOffsetChange = _g === void 0 ? noop : _g, _h = callbacks.onInitialScrollOffsetChange, onInitialScrollOffsetChange = _h === void 0 ? noop : _h;\n    var drag = action.payload;\n    var element = drag.element;\n    var hint = drag.hint;\n    var autoScrollDirection = state.autoScrollDirection;\n    var overrideScrollableParent = state.scrollableParent;\n    var event = normalizeEvent(action.event, state);\n    switch (event.type) {\n        case DRAG_AND_DROP_DISPATCH_ACTION.POINTER_DOWN:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.POINTER_DOWN\n                && (!event.originalEvent.isPrimary\n                    || event.originalEvent.button !== 0)) {\n                break;\n            }\n        // In rare cases where the `which` attribute is available in the mouse event\n        // we check if the `left button` is explicitly clicked:\n        // https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which#return_value\n        case DRAG_AND_DROP_DISPATCH_ACTION.MOUSE_DOWN:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.MOUSE_DOWN\n                && (event.originalEvent.which\n                    && event.originalEvent.which > 1)\n                || state.ignoreMouse) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_START:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_START\n                && event.originalEvent.touches.length !== 1) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.START: {\n            var scrollableParent_1 = overrideScrollableParent || getScrollableParent(action.payload.element);\n            onInitialScrollOffsetChange(scrollableParent_1 instanceof Window\n                ? { x: scrollableParent_1.scrollX, y: scrollableParent_1.scrollY }\n                : { x: scrollableParent_1.scrollLeft, y: scrollableParent_1.scrollTop });\n            onClientOffsetChange({\n                x: event.clientX,\n                y: event.clientY\n            });\n            onPageOffsetChange({\n                x: event.pageX,\n                y: event.pageY\n            });\n            onOffsetChange({\n                x: event.offsetX,\n                y: event.offsetY\n            });\n            onIsPressedChange(true);\n            if (drag.onPress) {\n                drag.onPress(event);\n            }\n            break;\n        }\n        case DRAG_AND_DROP_DISPATCH_ACTION.SCROLL:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.SCROLL && !state.pressed) {\n                break;\n            }\n            var scrollableParent = overrideScrollableParent || getScrollableParent(element);\n            var scrollOffset = scrollableParent instanceof Window\n                ? { x: scrollableParent.scrollX, y: scrollableParent.scrollY }\n                : { x: scrollableParent.scrollLeft, y: scrollableParent.scrollTop };\n            event.scrollX = scrollOffset.x - state.initialScrollOffset.x;\n            event.scrollY = scrollOffset.y - state.initialScrollOffset.y;\n            onScrollOffsetChange({\n                x: event.scrollX,\n                y: event.scrollY\n            });\n        case DRAG_AND_DROP_DISPATCH_ACTION.POINTER_MOVE:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.POINTER_MOVE && !event.originalEvent.isPrimary) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.MOUSE_MOVE:\n        case DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_MOVE:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_MOVE && event.originalEvent.touches.length !== 1) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.MOVE: {\n            if (state.pressed) {\n                if (state.autoScroll && event.originalEvent.type !== 'scroll') {\n                    if (element) {\n                        var document_1 = getDocument(element);\n                        var scrollableParent_2 = overrideScrollableParent || getScrollableParent(document_1.elementFromPoint(event.clientX, event.clientY));\n                        var newVelocity = autoScrollVelocity(event.clientX, event.clientY, scrollableViewPort(scrollableParent_2, getWindow(element)));\n                        onVelocityChange({\n                            x: (autoScrollDirection && autoScrollDirection.horizontal === false) ? 0 : newVelocity.x,\n                            y: (autoScrollDirection && autoScrollDirection.vertical === false) ? 0 : newVelocity.y\n                        });\n                        onIsScrollingChange(newVelocity.y !== 0 || newVelocity.x !== 0);\n                    }\n                }\n                if (!state.drag && drag.onDragStart) {\n                    drag.onDragStart(event);\n                }\n                if (drag.onDrag) {\n                    drag.onDrag(event);\n                }\n                var dropElement_1 = intersect(hint || element, state.drops.map(function (drop) { return drop && drop.element; }).filter(function (d) { return d !== (hint || element); }));\n                var drop = state.drops.find(function (drop) { return drop.element === dropElement_1; });\n                if (drop\n                    && dropElement_1\n                    && isPointerInsideContainer(event.clientX, event.clientY, overrideScrollableParent || getScrollableParent(dropElement_1))\n                    && dropElement_1 !== element) {\n                    if ((state.drop && state.drop.element) !== dropElement_1) {\n                        if (state.drop && state.drop.onDragLeave) {\n                            state.drop.onDragLeave(event);\n                        }\n                        if (drop.onDragEnter) {\n                            drop.onDragEnter(event);\n                        }\n                    }\n                    else {\n                        if (drop.onDragOver) {\n                            drop.onDragOver(event);\n                        }\n                    }\n                }\n                else if (state.drop && state.drop.onDragLeave) {\n                    state.drop.onDragLeave(event);\n                }\n            }\n            onClientOffsetChange({\n                x: event.clientX,\n                y: event.clientY\n            });\n            onPageOffsetChange({\n                x: event.pageX,\n                y: event.pageY\n            });\n            break;\n        }\n        case DRAG_AND_DROP_DISPATCH_ACTION.POINTER_UP:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.POINTER_UP && !event.originalEvent.isPrimary) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.MOUSE_UP:\n        // the last finger has been lifted, and the user is not doing gesture.\n        // there might be a better way to handle this.\n        case DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_END:\n            if (event.type === DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_END && event.originalEvent.touches.length !== 1) {\n                break;\n            }\n        case DRAG_AND_DROP_DISPATCH_ACTION.END: {\n            onIsPressedChange(false);\n            onIsScrollingChange(false);\n            onScrollOffsetChange({ x: 0, y: 0 });\n            if (drag.onRelease) {\n                drag.onRelease(event);\n            }\n            if (state.drop && state.drop.onDrop) {\n                state.drop.onDrop(event);\n            }\n            if (state.drag && drag.onDragEnd) {\n                drag.onDragEnd(event);\n            }\n            break;\n        }\n        case DRAG_AND_DROP_DISPATCH_ACTION.POINTER_CANCEL:\n        case DRAG_AND_DROP_DISPATCH_ACTION.CONTEXT_MENU:\n        case DRAG_AND_DROP_DISPATCH_ACTION.TOUCH_CANCEL:\n        case DRAG_AND_DROP_DISPATCH_ACTION.CANCEL: {\n            onIsPressedChange(false);\n            onIsScrollingChange(false);\n            onScrollOffsetChange({ x: 0, y: 0 });\n            if (drag.onDragEnd) {\n                drag.onDragEnd(event);\n            }\n            if (state.drop && state.drop.onDragLeave) {\n                state.drop.onDragLeave(event);\n            }\n            break;\n        }\n        default:\n            break;\n    }\n};\n","var detectBrowser = function () {\n    var ua = window && window.navigator.userAgent;\n    if (!ua) {\n        return false;\n    }\n    var browser = false;\n    var match = [];\n    var browserRxs = {\n        edge: /(edge)[ \\/]([\\w.]+)/i,\n        webkit: /(chrome|crios)[ \\/]([\\w.]+)/i,\n        safari: /(webkit)[ \\/]([\\w.]+)/i,\n        opera: /(opera)(?:.*version|)[ \\/]([\\w.]+)/i,\n        msie: /(msie\\s|trident.*? rv:)([\\w.]+)/i,\n        mozilla: /(mozilla)(?:.*? rv:([\\w.]+)|)/i\n    };\n    for (var agent in browserRxs) {\n        if (browserRxs.hasOwnProperty(agent)) {\n            match = ua.match(browserRxs[agent]);\n            if (match) {\n                browser = {};\n                browser[agent] = true;\n                browser[match[1].toLowerCase().split(\" \")[0].split(\"/\")[0]] = true;\n                browser.version = parseInt(document.DOCUMENT_NODE || match[2], 10);\n                break;\n            }\n        }\n    }\n    return browser;\n};\n/** @hidden */\nexport var getDocument = function (element) {\n    return element ? element.ownerDocument || window.document : window.document;\n};\n/** @hidden */\nexport var getWindow = function (element) {\n    var document = getDocument(element);\n    return document\n        ? document.defaultView || window\n        : window;\n};\n/** @hidden */\nexport var scrollableRoot = function (element) {\n    var support = { browser: detectBrowser() };\n    var document = getDocument(element);\n    return (support.browser.edge || support.browser.safari) ? document.body : document.documentElement;\n};\n/** @hidden */\nexport var isScrollable = function (el) {\n    if (el && el.className && typeof (el.className) === 'string' && el.className.indexOf('k-auto-scrollable') > -1) {\n        return true;\n    }\n    var overflow = window.getComputedStyle(el, 'overflow').overflow;\n    return overflow.indexOf('auto') > -1 || overflow.indexOf('scroll') > -1;\n};\n/** @hidden */\nexport var getScrollableParent = function (el) {\n    var root = scrollableRoot(el);\n    if (!el || el === document.body || el === document.documentElement) {\n        return root;\n    }\n    var parent = el;\n    while (parent\n        && parent !== document.body\n        && parent.nodeType !== Node.DOCUMENT_FRAGMENT_NODE\n        && parent.nodeType !== Node.DOCUMENT_NODE\n        && !isScrollable(parent)) {\n        parent = parent.parentNode;\n    }\n    if (parent && (parent === document.body || parent.nodeType === Node.DOCUMENT_FRAGMENT_NODE)) {\n        return root;\n    }\n    return parent;\n};\n/** @hidden */\nexport var autoScrollVelocity = function (mouseX, mouseY, rect) {\n    var velocity = { x: 0, y: 0 };\n    var AUTO_SCROLL_AREA = 50;\n    if (mouseX - rect.left < AUTO_SCROLL_AREA) {\n        velocity.x = -(AUTO_SCROLL_AREA - (mouseX - rect.left));\n    }\n    else if (rect.right - mouseX < AUTO_SCROLL_AREA) {\n        velocity.x = AUTO_SCROLL_AREA - (rect.right - mouseX);\n    }\n    if (mouseY - rect.top < AUTO_SCROLL_AREA) {\n        velocity.y = -(AUTO_SCROLL_AREA - (mouseY - rect.top));\n    }\n    else if (rect.bottom - mouseY < AUTO_SCROLL_AREA) {\n        velocity.y = AUTO_SCROLL_AREA - (rect.bottom - mouseY);\n    }\n    return velocity;\n};\n/** @hidden */\nexport var scrollableViewPort = function (el, window) {\n    var root = scrollableRoot(el);\n    if (el === root) {\n        return {\n            top: root.scrollTop,\n            left: root.scrollLeft,\n            bottom: root.scrollTop + window.innerHeight,\n            right: root.scrollLeft + window.innerWidth\n        };\n    }\n    else {\n        var rect = el.getBoundingClientRect();\n        return {\n            bottom: rect.top + rect.height,\n            right: rect.left + rect.width,\n            left: rect.left,\n            top: rect.top\n        };\n    }\n};\n/** @hidden */\nexport var isPointerInsideContainer = function (x, y, container) {\n    var rect = container.getBoundingClientRect();\n    return (rect.top <= y &&\n        rect.left <= x &&\n        y <= rect.bottom &&\n        x <= rect.right);\n};\n","import { scrollableRoot } from './utils';\n/** @hidden */\nexport var autoScroll = function (scrollableParent, vel) {\n    if (!scrollableParent) {\n        return;\n    }\n    var yIsScrollable;\n    var xIsScrollable;\n    var isRootNode = scrollableParent === scrollableRoot(scrollableParent);\n    if (isRootNode) {\n        yIsScrollable = document.body.scrollHeight > window.innerHeight;\n        xIsScrollable = document.body.scrollWidth > window.innerWidth;\n    }\n    else {\n        yIsScrollable = scrollableParent.offsetHeight <= scrollableParent.scrollHeight;\n        xIsScrollable = scrollableParent.offsetWidth <= scrollableParent.scrollWidth;\n    }\n    var yDelta = scrollableParent.scrollTop + vel.y;\n    var yInBounds = yIsScrollable && yDelta > 0 && yDelta < scrollableParent.scrollHeight;\n    var xDelta = scrollableParent.scrollLeft + vel.x;\n    var xInBounds = xIsScrollable && xDelta > 0 && xDelta < scrollableParent.scrollWidth;\n    if (yInBounds) {\n        scrollableParent.scrollTop += vel.y;\n    }\n    else if (yIsScrollable && yDelta < 0) {\n        scrollableParent.scrollTop = 0;\n    }\n    if (xInBounds) {\n        scrollableParent.scrollLeft += vel.x;\n    }\n    else if (xIsScrollable && xDelta < 0) {\n        scrollableParent.scrollLeft = 0;\n    }\n};\n","import * as React from 'react';\nimport { GlobalizationContext } from '../globalization/GlobalizationContext';\n/**\n * A custom [React Hook](https://reactjs.org/docs/hooks-intro.html) providing access to an [LocalizationService]({% slug api_intl_localizationservice %}).\n */\nexport var useLocalization = function () { return React.useContext(GlobalizationContext).localization; };\n","import { IntlService } from './Intl/IntlService';\nimport { LocalizationService } from './Localization/LocalizationService';\nimport { GlobalizationContext } from './globalization/GlobalizationContext';\n/* eslint-disable max-len */\n/**\n * Provides an internationalization service. When the passed component is a direct or indirect child of `IntlProvider`, the returned service uses the locale of the provider. Otherwise, uses `en` as a default locale. To handle locale changes, call the method on each `render`.\n *\n * @param componentClass - The React component class that will use the internationalization service.\n */\nexport function provideIntlService(component) {\n    if (!component && process.env.NODE_ENV !== 'production') {\n        throw \"Passed component - \".concat(component, \" is invalid.\");\n    }\n    var context = component.context;\n    return context && context.intl\n        ? context.intl\n        : new IntlService('en');\n}\n/**\n * Provides a localization service. When the passed component is a direct or indirect child of `LocalizationProvider`, the returned service uses the language of the provider. To handle locale changes, call the method on each `render`.\n *\n * @param componentClass - The React component class that will use the internationalization service.\n */\nexport function provideLocalizationService(component) {\n    if (!component && process.env.NODE_ENV !== 'production') {\n        throw \"Passed component - \".concat(component, \" is invalid.\");\n    }\n    var context = component.context;\n    return context && context.localization\n        ? context.localization\n        : new LocalizationService();\n}\n/**\n * A method which registers a component class or a functional stateless component for internationalization. When a component of that type is a direct or indirect child of `IntlProvider`, the locale of the provider is used. Otherwise, uses `en` as a default locale.\n *\n * @param component - The React component class that will use the internationalization methods.\n */\nexport function registerForIntl(component) {\n    component.contextType = GlobalizationContext;\n}\n/**\n * A method which registers a component class or a stateless functional component for localization. When a component of that type is a direct or indirect child of `LocalizationProvider`, the language of the provider is used.\n *\n * @param component - The React component class that will use the internationalization methods.\n */\nexport function registerForLocalization(component) {\n    component.contextType = GlobalizationContext;\n}\n// tslint:enable:max-line-length\n","var __extends = (this && this.__extends) || (function () {\n    var extendStatics = function (d, b) {\n        extendStatics = Object.setPrototypeOf ||\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n        return extendStatics(d, b);\n    };\n    return function (d, b) {\n        if (typeof b !== \"function\" && b !== null)\n            throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n        extendStatics(d, b);\n        function __() { this.constructor = d; }\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n    };\n})();\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { classNames } from '@progress/kendo-react-common';\nimport { provideLocalizationService, registerForLocalization } from '@progress/kendo-react-intl';\nimport { labelsOptional, messages } from './messages';\nimport { validatePackage } from '@progress/kendo-react-common';\nimport { packageMetadata } from './package-metadata';\n/**\n * Represents the KendoReact FloatingLabel component.\n *\n * @example\n * ```jsx\n * const sizes = [\"X-Small\", \"Small\", \"Medium\", \"Large\", \"X-Large\", \"2X-Large\"];\n * const App = () => {\n *     const [ddlState, setDdlState] = React.useState();\n *     const editorId = 'ddl-sizes';\n *     return (\n *         <FloatingLabel label={'Shirt Size:'} editorId={editorId} editorValue={ddlState}>\n *             <DropDownList\n *                 id={editorId}\n *                 value={ddlState}\n *                 data={sizes}\n *                 onChange={(e) => setDdlState(e.target.value)}\n *             />\n *         </FloatingLabel>\n *     );\n * };\n *\n * ReactDOM.render(<App />, document.querySelector('my-app'));\n * ```\n */\nvar FloatingLabel = /** @class */ (function (_super) {\n    __extends(FloatingLabel, _super);\n    function FloatingLabel(props) {\n        var _this = _super.call(this, props) || this;\n        /**\n         * @hidden\n         */\n        _this.state = {\n            focused: false\n        };\n        /**\n         * @hidden\n         */\n        _this.handleFocus = function (_) {\n            _this.setState({ focused: true });\n        };\n        /**\n         * @hidden\n         */\n        _this.handleBlur = function (_) {\n            _this.setState({ focused: false });\n        };\n        validatePackage(packageMetadata);\n        return _this;\n    }\n    /**\n     * @hidden\n     */\n    FloatingLabel.prototype.render = function () {\n        var _a = this.props, label = _a.label, editorId = _a.editorId, className = _a.className, editorValue = _a.editorValue, editorPlaceholder = _a.editorPlaceholder, editorValid = _a.editorValid, editorDisabled = _a.editorDisabled, style = _a.style, id = _a.id, optional = _a.optional;\n        var localizationService = provideLocalizationService(this);\n        var localizedOptional = optional ? localizationService\n            .toLanguageString(labelsOptional, messages[labelsOptional]) : '';\n        var optionalElement = localizedOptional && (React.createElement(\"span\", { className: 'k-label-optional' }, localizedOptional));\n        var spanClassNames = classNames({\n            'k-floating-label-container': true,\n            'k-focus': this.state.focused,\n            'k-empty': !editorPlaceholder && !editorValue && (editorValue !== 0),\n            'k-text-disabled': editorDisabled,\n            'k-rtl': this.props.dir === 'rtl'\n        }, className);\n        var labelClassNames = classNames({\n            'k-label': true,\n            'k-text-error': editorValid === false,\n            'k-text-disabled': editorDisabled\n        });\n        return (React.createElement(\"span\", { id: this.props.id, className: spanClassNames, onFocus: this.handleFocus, onBlur: this.handleBlur, style: style, dir: this.props.dir },\n            this.props.children,\n            label\n                ? editorId\n                    ? React.createElement(\"label\", { id: id, htmlFor: editorId, className: labelClassNames },\n                        label,\n                        optionalElement)\n                    : React.createElement(\"span\", { id: id, className: labelClassNames },\n                        label,\n                        optionalElement)\n                : null));\n    };\n    /**\n     * @hidden\n     */\n    FloatingLabel.propTypes = {\n        label: PropTypes.string,\n        editorId: PropTypes.string,\n        editorValue: PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number]),\n        editorPlaceholder: PropTypes.string,\n        editorValid: PropTypes.bool,\n        editorDisabled: PropTypes.bool,\n        id: PropTypes.string,\n        style: PropTypes.object,\n        className: PropTypes.string,\n        optional: PropTypes.bool\n    };\n    return FloatingLabel;\n}(React.Component));\nexport { FloatingLabel };\nregisterForLocalization(FloatingLabel);\n","var _a;\n/**\n * @hidden\n */\nexport var labelsOptional = 'labels.optional';\n/**\n * @hidden\n */\nexport var messages = (_a = {},\n    _a[labelsOptional] = '(Optional)',\n    _a);\n","/**\n * @hidden\n */\nexport var packageMetadata = {\n    name: '@progress/kendo-react-labels',\n    productName: 'KendoReact',\n    productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],\n    publishDate: 1686225355,\n    version: '',\n    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'\n};\n","/**\n * @hidden\n */\nexport var classNames = function () {\n    var args = [];\n    for (var _i = 0; _i < arguments.length; _i++) {\n        args[_i] = arguments[_i];\n    }\n    var result = {};\n    var addLeafKeys = function (arg) { return typeof arg === 'object' ? Object\n        .keys(arg)\n        .forEach(function (key) {\n        result[key] = arg[key];\n    }) : result[arg] = true; };\n    ;\n    var addKeys = function (list) { return list\n        .filter(function (arg) { return arg !== true && !!arg; })\n        .map(function (arg) {\n        return Array.isArray(arg) ?\n            addKeys(arg) :\n            addLeafKeys(arg);\n    }); };\n    ;\n    addKeys(args);\n    return Object\n        .keys(result)\n        .map(function (key) { return (result[key] && key) || null; })\n        .filter(function (el) { return el !== null; })\n        .join(' ');\n};\n","import * as licensing from '@progress/kendo-licensing';\n/**\n * @hidden\n */\nexport function validatePackage(packageMetadata) {\n    if (typeof licensing !== 'undefined') {\n        licensing.validatePackage(packageMetadata);\n    }\n    else {\n        var message = \"License activation failed for \".concat(packageMetadata.name, \"\\n\");\n        message += 'The @progress/kendo-licensing script is not loaded.\\n';\n        message += \"See \".concat(packageMetadata.licensingDocsUrl, \" for more information.\\n\");\n        console.warn(message);\n    }\n}\n"],"names":["DRAG_AND_DROP_DISPATCH_ACTION","intersect","element","candidates","max","result","forEach","candidate","ration","target","elementRect","getBoundingClientRect","targetRect","top","Math","left","right","min","width","bottom","height","targetArea","entryArea","intersectionArea","Number","toFixed","getRatio","detectBrowser","ua","window","navigator","userAgent","browser","match","browserRxs","edge","webkit","safari","opera","msie","mozilla","agent","hasOwnProperty","toLowerCase","split","version","parseInt","document","DOCUMENT_NODE","getDocument","ownerDocument","scrollableRoot","support","body","documentElement","isScrollable","el","className","indexOf","overflow","getComputedStyle","getScrollableParent","root","parent","nodeType","Node","DOCUMENT_FRAGMENT_NODE","parentNode","noop","dispatchDragAndDrop","state","action","callbacks","_a","onIsPressedChange","_b","onIsScrollingChange","_c","onVelocityChange","_d","onOffsetChange","_e","onPageOffsetChange","_f","onClientOffsetChange","_g","onScrollOffsetChange","_h","onInitialScrollOffsetChange","drag","payload","hint","autoScrollDirection","overrideScrollableParent","scrollableParent","event","test","type","isTouchEvent","pageX","changedTouches","pageY","clientX","clientY","scrollX","scrollOffset","x","scrollY","y","offsetX","offset","offsetY","originalEvent","isTouch","altKey","ctrlKey","shiftKey","metaKey","isScrollEvent","pageOffset","clientOffset","normalizeEvent","POINTER_DOWN","isPrimary","button","MOUSE_DOWN","which","ignoreMouse","TOUCH_START","touches","length","START","scrollableParent_1","Window","scrollLeft","scrollTop","onPress","SCROLL","pressed","initialScrollOffset","POINTER_MOVE","MOUSE_MOVE","TOUCH_MOVE","MOVE","autoScroll","document_1","scrollableParent_2","elementFromPoint","newVelocity","mouseX","mouseY","rect","velocity","AUTO_SCROLL_AREA","autoScrollVelocity","innerHeight","innerWidth","scrollableViewPort","defaultView","getWindow","horizontal","vertical","onDragStart","onDrag","dropElement_1","drops","map","drop","filter","d","find","container","isPointerInsideContainer","onDragLeave","onDragEnter","onDragOver","POINTER_UP","MOUSE_UP","TOUCH_END","END","onRelease","onDrop","onDragEnd","POINTER_CANCEL","CONTEXT_MENU","TOUCH_CANCEL","CANCEL","vel","yIsScrollable","xIsScrollable","scrollHeight","scrollWidth","offsetHeight","offsetWidth","yDelta","yInBounds","xDelta","xInBounds","useLocalization","React","GlobalizationContext","localization","provideIntlService","component","context","intl","IntlService","provideLocalizationService","LocalizationService","registerForIntl","contextType","registerForLocalization","__extends","extendStatics","b","Object","setPrototypeOf","__proto__","Array","p","prototype","call","TypeError","String","__","this","constructor","create","FloatingLabel","_super","props","_this","focused","handleFocus","_","setState","handleBlur","validatePackage","packageMetadata","render","label","editorId","editorValue","editorPlaceholder","editorValid","editorDisabled","style","id","optional","localizationService","localizedOptional","toLanguageString","labelsOptional","messages","optionalElement","spanClassNames","classNames","dir","labelClassNames","onFocus","onBlur","children","htmlFor","propTypes","PropTypes","name","productName","productCodes","publishDate","licensingDocsUrl","args","_i","arguments","addKeys","list","arg","isArray","keys","key","addLeafKeys","join","licensing","message","concat","console","warn"],"sourceRoot":""}