{"ast":null,"code":"import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"clearIcon\", \"suffixIcon\", \"separator\", \"activeIndex\", \"activeHelp\", \"allHelp\", \"focused\", \"onFocus\", \"onBlur\", \"onKeyDown\", \"locale\", \"generateConfig\", \"placeholder\", \"className\", \"style\", \"onClick\", \"onClear\", \"value\", \"onChange\", \"onSubmit\", \"onInputChange\", \"format\", \"maskFormat\", \"preserveInvalidOnBlur\", \"onInvalid\", \"disabled\", \"invalid\", \"inputReadOnly\", \"direction\", \"onOpenChange\", \"onActiveOffset\", \"placement\", \"onMouseDown\", \"required\", \"aria-required\", \"autoFocus\"],\n _excluded2 = [\"index\"];\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { useEvent } from 'rc-util';\nimport * as React from 'react';\nimport PickerContext from \"../context\";\nimport useInputProps from \"./hooks/useInputProps\";\nimport useRootProps from \"./hooks/useRootProps\";\nimport Icon, { ClearIcon } from \"./Icon\";\nimport Input from \"./Input\";\nimport { getoffsetUnit, getRealPlacement } from \"../../utils/uiUtil\";\nfunction RangeSelector(props, ref) {\n var id = props.id,\n clearIcon = props.clearIcon,\n suffixIcon = props.suffixIcon,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '~' : _props$separator,\n activeIndex = props.activeIndex,\n activeHelp = props.activeHelp,\n allHelp = props.allHelp,\n focused = props.focused,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onKeyDown = props.onKeyDown,\n locale = props.locale,\n generateConfig = props.generateConfig,\n placeholder = props.placeholder,\n className = props.className,\n style = props.style,\n onClick = props.onClick,\n onClear = props.onClear,\n value = props.value,\n onChange = props.onChange,\n onSubmit = props.onSubmit,\n onInputChange = props.onInputChange,\n format = props.format,\n maskFormat = props.maskFormat,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n onInvalid = props.onInvalid,\n disabled = props.disabled,\n invalid = props.invalid,\n inputReadOnly = props.inputReadOnly,\n direction = props.direction,\n onOpenChange = props.onOpenChange,\n onActiveOffset = props.onActiveOffset,\n placement = props.placement,\n _onMouseDown = props.onMouseDown,\n required = props.required,\n ariaRequired = props['aria-required'],\n autoFocus = props.autoFocus,\n restProps = _objectWithoutProperties(props, _excluded);\n var rtl = direction === 'rtl';\n\n // ======================== Prefix ========================\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n\n // ========================== Id ==========================\n var ids = React.useMemo(function () {\n if (typeof id === 'string') {\n return [id];\n }\n var mergedId = id || {};\n return [mergedId.start, mergedId.end];\n }, [id]);\n\n // ========================= Refs =========================\n var rootRef = React.useRef();\n var inputStartRef = React.useRef();\n var inputEndRef = React.useRef();\n var getInput = function getInput(index) {\n var _index;\n return (_index = [inputStartRef, inputEndRef][index]) === null || _index === void 0 ? void 0 : _index.current;\n };\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: rootRef.current,\n focus: function focus(options) {\n if (_typeof(options) === 'object') {\n var _getInput;\n var _ref = options || {},\n _ref$index = _ref.index,\n _index2 = _ref$index === void 0 ? 0 : _ref$index,\n rest = _objectWithoutProperties(_ref, _excluded2);\n (_getInput = getInput(_index2)) === null || _getInput === void 0 || _getInput.focus(rest);\n } else {\n var _getInput2;\n (_getInput2 = getInput(options !== null && options !== void 0 ? options : 0)) === null || _getInput2 === void 0 || _getInput2.focus();\n }\n },\n blur: function blur() {\n var _getInput3, _getInput4;\n (_getInput3 = getInput(0)) === null || _getInput3 === void 0 || _getInput3.blur();\n (_getInput4 = getInput(1)) === null || _getInput4 === void 0 || _getInput4.blur();\n }\n };\n });\n\n // ======================== Props =========================\n var rootProps = useRootProps(restProps);\n\n // ===================== Placeholder ======================\n var mergedPlaceholder = React.useMemo(function () {\n return Array.isArray(placeholder) ? placeholder : [placeholder, placeholder];\n }, [placeholder]);\n\n // ======================== Inputs ========================\n var _useInputProps = useInputProps(_objectSpread(_objectSpread({}, props), {}, {\n id: ids,\n placeholder: mergedPlaceholder\n })),\n _useInputProps2 = _slicedToArray(_useInputProps, 1),\n getInputProps = _useInputProps2[0];\n\n // ====================== ActiveBar =======================\n var realPlacement = getRealPlacement(placement, rtl);\n var offsetUnit = getoffsetUnit(realPlacement, rtl);\n var placementRight = realPlacement === null || realPlacement === void 0 ? void 0 : realPlacement.toLowerCase().endsWith('right');\n var _React$useState = React.useState({\n position: 'absolute',\n width: 0\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeBarStyle = _React$useState2[0],\n setActiveBarStyle = _React$useState2[1];\n var syncActiveOffset = useEvent(function () {\n var input = getInput(activeIndex);\n if (input) {\n var _input$nativeElement = input.nativeElement,\n offsetWidth = _input$nativeElement.offsetWidth,\n offsetLeft = _input$nativeElement.offsetLeft,\n offsetParent = _input$nativeElement.offsetParent;\n var parentWidth = (offsetParent === null || offsetParent === void 0 ? void 0 : offsetParent.offsetWidth) || 0;\n var activeOffset = placementRight ? parentWidth - offsetWidth - offsetLeft : offsetLeft;\n setActiveBarStyle(function (ori) {\n return _objectSpread(_objectSpread({}, ori), {}, _defineProperty({\n width: offsetWidth\n }, offsetUnit, activeOffset));\n });\n onActiveOffset(activeOffset);\n }\n });\n React.useEffect(function () {\n syncActiveOffset();\n }, [activeIndex]);\n\n // ======================== Clear =========================\n var showClear = clearIcon && (value[0] && !disabled[0] || value[1] && !disabled[1]);\n\n // ======================= Disabled =======================\n var startAutoFocus = autoFocus && !disabled[0];\n var endAutoFocus = autoFocus && !startAutoFocus && !disabled[1];\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: syncActiveOffset\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, rootProps, {\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-range\"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-focused\"), focused), \"\".concat(prefixCls, \"-disabled\"), disabled.every(function (i) {\n return i;\n })), \"\".concat(prefixCls, \"-invalid\"), invalid.some(function (i) {\n return i;\n })), \"\".concat(prefixCls, \"-rtl\"), rtl), className),\n style: style,\n ref: rootRef,\n onClick: onClick\n // Not lose current input focus\n ,\n\n onMouseDown: function onMouseDown(e) {\n var target = e.target;\n if (target !== inputStartRef.current.inputElement && target !== inputEndRef.current.inputElement) {\n e.preventDefault();\n }\n _onMouseDown === null || _onMouseDown === void 0 || _onMouseDown(e);\n }\n }), /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputStartRef\n }, getInputProps(0), {\n autoFocus: startAutoFocus,\n \"date-range\": \"start\"\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-range-separator\")\n }, separator), /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputEndRef\n }, getInputProps(1), {\n autoFocus: endAutoFocus,\n \"date-range\": \"end\"\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-active-bar\"),\n style: activeBarStyle\n }), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n })));\n}\nvar RefRangeSelector = /*#__PURE__*/React.forwardRef(RangeSelector);\nif (process.env.NODE_ENV !== 'production') {\n RefRangeSelector.displayName = 'RangeSelector';\n}\nexport default RefRangeSelector;","map":{"version":3,"names":["_extends","_defineProperty","_objectSpread","_slicedToArray","_typeof","_objectWithoutProperties","_excluded","_excluded2","classNames","ResizeObserver","useEvent","React","PickerContext","useInputProps","useRootProps","Icon","ClearIcon","Input","getoffsetUnit","getRealPlacement","RangeSelector","props","ref","id","clearIcon","suffixIcon","_props$separator","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","_onMouseDown","onMouseDown","required","ariaRequired","autoFocus","restProps","rtl","_React$useContext","useContext","prefixCls","ids","useMemo","mergedId","start","end","rootRef","useRef","inputStartRef","inputEndRef","getInput","index","_index","current","useImperativeHandle","nativeElement","focus","options","_getInput","_ref","_ref$index","_index2","rest","_getInput2","blur","_getInput3","_getInput4","rootProps","mergedPlaceholder","Array","isArray","_useInputProps","_useInputProps2","getInputProps","realPlacement","offsetUnit","placementRight","toLowerCase","endsWith","_React$useState","useState","position","width","_React$useState2","activeBarStyle","setActiveBarStyle","syncActiveOffset","input","_input$nativeElement","offsetWidth","offsetLeft","offsetParent","parentWidth","activeOffset","ori","useEffect","showClear","startAutoFocus","endAutoFocus","createElement","onResize","concat","every","i","some","e","target","inputElement","preventDefault","type","icon","RefRangeSelector","forwardRef","process","env","NODE_ENV","displayName"],"sources":["C:/Users/Аришина)/source/repos/PromoCursed/node_modules/rc-picker/es/PickerInput/Selector/RangeSelector.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"id\", \"clearIcon\", \"suffixIcon\", \"separator\", \"activeIndex\", \"activeHelp\", \"allHelp\", \"focused\", \"onFocus\", \"onBlur\", \"onKeyDown\", \"locale\", \"generateConfig\", \"placeholder\", \"className\", \"style\", \"onClick\", \"onClear\", \"value\", \"onChange\", \"onSubmit\", \"onInputChange\", \"format\", \"maskFormat\", \"preserveInvalidOnBlur\", \"onInvalid\", \"disabled\", \"invalid\", \"inputReadOnly\", \"direction\", \"onOpenChange\", \"onActiveOffset\", \"placement\", \"onMouseDown\", \"required\", \"aria-required\", \"autoFocus\"],\n _excluded2 = [\"index\"];\nimport classNames from 'classnames';\nimport ResizeObserver from 'rc-resize-observer';\nimport { useEvent } from 'rc-util';\nimport * as React from 'react';\nimport PickerContext from \"../context\";\nimport useInputProps from \"./hooks/useInputProps\";\nimport useRootProps from \"./hooks/useRootProps\";\nimport Icon, { ClearIcon } from \"./Icon\";\nimport Input from \"./Input\";\nimport { getoffsetUnit, getRealPlacement } from \"../../utils/uiUtil\";\nfunction RangeSelector(props, ref) {\n var id = props.id,\n clearIcon = props.clearIcon,\n suffixIcon = props.suffixIcon,\n _props$separator = props.separator,\n separator = _props$separator === void 0 ? '~' : _props$separator,\n activeIndex = props.activeIndex,\n activeHelp = props.activeHelp,\n allHelp = props.allHelp,\n focused = props.focused,\n onFocus = props.onFocus,\n onBlur = props.onBlur,\n onKeyDown = props.onKeyDown,\n locale = props.locale,\n generateConfig = props.generateConfig,\n placeholder = props.placeholder,\n className = props.className,\n style = props.style,\n onClick = props.onClick,\n onClear = props.onClear,\n value = props.value,\n onChange = props.onChange,\n onSubmit = props.onSubmit,\n onInputChange = props.onInputChange,\n format = props.format,\n maskFormat = props.maskFormat,\n preserveInvalidOnBlur = props.preserveInvalidOnBlur,\n onInvalid = props.onInvalid,\n disabled = props.disabled,\n invalid = props.invalid,\n inputReadOnly = props.inputReadOnly,\n direction = props.direction,\n onOpenChange = props.onOpenChange,\n onActiveOffset = props.onActiveOffset,\n placement = props.placement,\n _onMouseDown = props.onMouseDown,\n required = props.required,\n ariaRequired = props['aria-required'],\n autoFocus = props.autoFocus,\n restProps = _objectWithoutProperties(props, _excluded);\n var rtl = direction === 'rtl';\n\n // ======================== Prefix ========================\n var _React$useContext = React.useContext(PickerContext),\n prefixCls = _React$useContext.prefixCls;\n\n // ========================== Id ==========================\n var ids = React.useMemo(function () {\n if (typeof id === 'string') {\n return [id];\n }\n var mergedId = id || {};\n return [mergedId.start, mergedId.end];\n }, [id]);\n\n // ========================= Refs =========================\n var rootRef = React.useRef();\n var inputStartRef = React.useRef();\n var inputEndRef = React.useRef();\n var getInput = function getInput(index) {\n var _index;\n return (_index = [inputStartRef, inputEndRef][index]) === null || _index === void 0 ? void 0 : _index.current;\n };\n React.useImperativeHandle(ref, function () {\n return {\n nativeElement: rootRef.current,\n focus: function focus(options) {\n if (_typeof(options) === 'object') {\n var _getInput;\n var _ref = options || {},\n _ref$index = _ref.index,\n _index2 = _ref$index === void 0 ? 0 : _ref$index,\n rest = _objectWithoutProperties(_ref, _excluded2);\n (_getInput = getInput(_index2)) === null || _getInput === void 0 || _getInput.focus(rest);\n } else {\n var _getInput2;\n (_getInput2 = getInput(options !== null && options !== void 0 ? options : 0)) === null || _getInput2 === void 0 || _getInput2.focus();\n }\n },\n blur: function blur() {\n var _getInput3, _getInput4;\n (_getInput3 = getInput(0)) === null || _getInput3 === void 0 || _getInput3.blur();\n (_getInput4 = getInput(1)) === null || _getInput4 === void 0 || _getInput4.blur();\n }\n };\n });\n\n // ======================== Props =========================\n var rootProps = useRootProps(restProps);\n\n // ===================== Placeholder ======================\n var mergedPlaceholder = React.useMemo(function () {\n return Array.isArray(placeholder) ? placeholder : [placeholder, placeholder];\n }, [placeholder]);\n\n // ======================== Inputs ========================\n var _useInputProps = useInputProps(_objectSpread(_objectSpread({}, props), {}, {\n id: ids,\n placeholder: mergedPlaceholder\n })),\n _useInputProps2 = _slicedToArray(_useInputProps, 1),\n getInputProps = _useInputProps2[0];\n\n // ====================== ActiveBar =======================\n var realPlacement = getRealPlacement(placement, rtl);\n var offsetUnit = getoffsetUnit(realPlacement, rtl);\n var placementRight = realPlacement === null || realPlacement === void 0 ? void 0 : realPlacement.toLowerCase().endsWith('right');\n var _React$useState = React.useState({\n position: 'absolute',\n width: 0\n }),\n _React$useState2 = _slicedToArray(_React$useState, 2),\n activeBarStyle = _React$useState2[0],\n setActiveBarStyle = _React$useState2[1];\n var syncActiveOffset = useEvent(function () {\n var input = getInput(activeIndex);\n if (input) {\n var _input$nativeElement = input.nativeElement,\n offsetWidth = _input$nativeElement.offsetWidth,\n offsetLeft = _input$nativeElement.offsetLeft,\n offsetParent = _input$nativeElement.offsetParent;\n var parentWidth = (offsetParent === null || offsetParent === void 0 ? void 0 : offsetParent.offsetWidth) || 0;\n var activeOffset = placementRight ? parentWidth - offsetWidth - offsetLeft : offsetLeft;\n setActiveBarStyle(function (ori) {\n return _objectSpread(_objectSpread({}, ori), {}, _defineProperty({\n width: offsetWidth\n }, offsetUnit, activeOffset));\n });\n onActiveOffset(activeOffset);\n }\n });\n React.useEffect(function () {\n syncActiveOffset();\n }, [activeIndex]);\n\n // ======================== Clear =========================\n var showClear = clearIcon && (value[0] && !disabled[0] || value[1] && !disabled[1]);\n\n // ======================= Disabled =======================\n var startAutoFocus = autoFocus && !disabled[0];\n var endAutoFocus = autoFocus && !startAutoFocus && !disabled[1];\n\n // ======================== Render ========================\n return /*#__PURE__*/React.createElement(ResizeObserver, {\n onResize: syncActiveOffset\n }, /*#__PURE__*/React.createElement(\"div\", _extends({}, rootProps, {\n className: classNames(prefixCls, \"\".concat(prefixCls, \"-range\"), _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, \"\".concat(prefixCls, \"-focused\"), focused), \"\".concat(prefixCls, \"-disabled\"), disabled.every(function (i) {\n return i;\n })), \"\".concat(prefixCls, \"-invalid\"), invalid.some(function (i) {\n return i;\n })), \"\".concat(prefixCls, \"-rtl\"), rtl), className),\n style: style,\n ref: rootRef,\n onClick: onClick\n // Not lose current input focus\n ,\n onMouseDown: function onMouseDown(e) {\n var target = e.target;\n if (target !== inputStartRef.current.inputElement && target !== inputEndRef.current.inputElement) {\n e.preventDefault();\n }\n _onMouseDown === null || _onMouseDown === void 0 || _onMouseDown(e);\n }\n }), /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputStartRef\n }, getInputProps(0), {\n autoFocus: startAutoFocus,\n \"date-range\": \"start\"\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-range-separator\")\n }, separator), /*#__PURE__*/React.createElement(Input, _extends({\n ref: inputEndRef\n }, getInputProps(1), {\n autoFocus: endAutoFocus,\n \"date-range\": \"end\"\n })), /*#__PURE__*/React.createElement(\"div\", {\n className: \"\".concat(prefixCls, \"-active-bar\"),\n style: activeBarStyle\n }), /*#__PURE__*/React.createElement(Icon, {\n type: \"suffix\",\n icon: suffixIcon\n }), showClear && /*#__PURE__*/React.createElement(ClearIcon, {\n icon: clearIcon,\n onClear: onClear\n })));\n}\nvar RefRangeSelector = /*#__PURE__*/React.forwardRef(RangeSelector);\nif (process.env.NODE_ENV !== 'production') {\n RefRangeSelector.displayName = 'RangeSelector';\n}\nexport default RefRangeSelector;"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,eAAe,MAAM,2CAA2C;AACvE,OAAOC,aAAa,MAAM,0CAA0C;AACpE,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,OAAO,MAAM,mCAAmC;AACvD,OAAOC,wBAAwB,MAAM,oDAAoD;AACzF,IAAIC,SAAS,GAAG,CAAC,IAAI,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,QAAQ,EAAE,YAAY,EAAE,uBAAuB,EAAE,WAAW,EAAE,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,gBAAgB,EAAE,WAAW,EAAE,aAAa,E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