radar-ui 1.1.30 → 1.1.31

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.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
 
2
2
  (function() {
3
3
  const style = document.createElement('style');
4
- style.textContent = ".radar-table-container{display:flex;flex-direction:column;gap:16px;position:relative}.radar-table{width:100%;border-collapse:separate;border-spacing:0;font-family:inherit;overflow:clip;scroll-snap-type:x mandatory;scroll-behavior:smooth;table-layout:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.radar-table-default{border-radius:12px;background-color:#fff}.radar-table-pagination-container{position:sticky;bottom:-16px;left:0;background-color:#fff;padding:16px;border-top:1px solid #E8E8E8;width:100%}.radar-table *,.radar-table *:before,.radar-table *:after{box-sizing:border-box}@-moz-document url-prefix(){.radar-table{border-collapse:separate;border-spacing:0}.radar-table__body-row{box-sizing:border-box}.radar-table__body-cell{vertical-align:top;box-sizing:border-box}.radar-table__body-cell-wrapper,.radar-table__header-cell-wrapper{display:flex!important;align-items:center!important;box-sizing:border-box!important;padding:9px 12px!important;height:1px;min-height:32px;vertical-align:top}.radar-table-default__body-cell-wrapper,.radar-table-simple__body-cell-wrapper{line-height:1!important;padding:9px 12px!important;font-size:14px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px!important}.radar-table-simple__header-cell-wrapper{padding:20px 10px!important}}.radar-table__header{text-align:left;z-index:1}.radar-table-default__header{background-color:#f7f6fe}.radar-table-simple__header{background-color:#fff}.radar-table__header-group-cell{scroll-snap-align:start}.radar-table-simple__header-group-cell{font-family:inherit;font-weight:700;font-size:18px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;vertical-align:top}.radar-table__header-group-cell-wrapper{width:100%}.radar-table-simple__header-group-cell-wrapper{padding:12px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:44px}.radar-table__header-cell{scroll-snap-align:start;box-sizing:border-box}.radar-table-default__header-cell{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;font-weight:500!important;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;background-color:#f7f6fe;box-sizing:border-box}.radar-table-simple__header-cell{font-weight:500!important;font-size:16px;line-height:1.2;letter-spacing:0%;color:#8c8c8c;background-color:#fff;box-sizing:border-box;vertical-align:top}.radar-table-default__header-cell:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}.radar-table-default__header-cell:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}.radar-table__header-cell-wrapper{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table__header-cell-wrapper:hover .radar-table__resize-button{opacity:1}.radar-table__header-cell-wrapper:hover{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px;display:flex;gap:8px;align-items:center;box-sizing:border-box}.radar-table-simple__header-cell-wrapper{padding:20px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:60px}.radar-table__header-cell-text-wrapper{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.radar-table__sort-button-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.radar-table__sort-button{border:none;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.radar-table__sort-button svg{width:1em;height:1em}.radar-table__sort-button:hover{opacity:.75}.radar-table__drag-handle{display:flex;align-items:center;justify-content:center;cursor:move;opacity:.5;transition:opacity .2s ease;padding:2px;margin-right:4px}.radar-table__drag-handle:hover{opacity:.8}.radar-table__drag-handle.dragging{opacity:1}.radar-table__header-cell.dragging{opacity:.5;transform:rotate(2deg);z-index:1000}.radar-table__header-cell.drag-over.valid-drop-zone,.radar-table__header-cell.drag-over.invalid-drop-zone{transition:all .2s ease;z-index:1000}.radar-table__drag-handle{cursor:grab;transition:transform .2s ease}.radar-table__drag-handle:hover{transform:scale(1.1)}.radar-table__drag-handle.dragging{cursor:grabbing}.radar-table__header-cell.group-header{cursor:default!important}.radar-table__header-cell.group-header{cursor:grab}.radar-table__header-cell.group-header.dragging{cursor:grabbing}.radar-table__body-row[draggable=true]{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.radar-table__body-row.dragging{opacity:.25;cursor:grabbing;border-radius:20px}.radar-table__body-row.drag-over{border-top:2px solid #5329FF!important}.radar-table__body-row[draggable=true]{cursor:grab}.radar-table__body-row[draggable=true]:active{cursor:grabbing}.radar-table__body-cell{scroll-snap-align:start;box-sizing:border-box;vertical-align:top}.radar-table-default__body-cell,.radar-table-simple__body-cell{height:1px}.radar-table__body-cell-wrapper{width:100%;height:100%;font-family:inherit;background-color:#fff;display:flex;align-items:center}.radar-table__expander-btn{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:16px;font-size:12px;color:#1a1a1a;cursor:pointer;transition:transform .15s ease}.radar-table__expander-btn:focus{outline:none}.radar-table-default__body-cell-wrapper{padding:7px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:14px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-simple__body-cell-wrapper{padding:18px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:16px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-default__body-row:last-of-type .radar-table-default__body-cell-wrapper{border-bottom:none}.radar-table-simple__body-row:last-of-type .radar-table-simple__body-cell-wrapper{border-bottom:none}.radar-table__body-noData{padding:18px 12px;display:flex;align-items:center;font-size:16px;line-height:1.2;width:100%}.radar-table__body-noData_width{padding:18px 12px;display:flex;justify-content:center;align-items:center;font-size:16px;line-height:1.2}.radar-table__body-cell-wrapper--stretch,.radar-table-default__body-cell-wrapper--stretch,.radar-table-simple__body-cell-wrapper--stretch{align-items:stretch!important}.radar-table__body-cell-wrapper .salary-cell,.radar-table-default__body-cell-wrapper .salary-cell,.radar-table-simple__body-cell-wrapper .salary-cell{width:100%;height:auto;min-height:auto}.radar-table__custom-content-wrapper{width:100%;height:auto;min-height:100%}.radar-table__footer{pointer-events:auto}.radar-table__footer.resizing{pointer-events:none}.radar-table-default__footer,.radar-table-simple__footer{background-color:#fff}.radar-table-default__footer-cell,.radar-table-simple__footer-cell{border-top:1px solid #E8E8E8}.radar-table__footer-cell-wrapper{width:100%;font-family:inherit}.radar-table-default__footer-cell-wrapper,.radar-table-simple__footer-cell-wrapper{padding:12px 0;display:flex;gap:8px}.radar-table__resize-button{opacity:0;position:absolute;right:0;top:50%;transform:translateY(-50%);height:32px;width:20px;padding-right:6px;background-color:transparent;cursor:col-resize;border:none;display:flex;justify-content:flex-end;align-items:center;transition:all .2s cubic-bezier(.4,0,.2,1)}.radar-table__resize-button:hover{cursor:col-resize!important}.radar-table__resize-button div{background-color:#8c8c8c;width:2px;height:50%;opacity:1;transition:all .3s cubic-bezier(.4,0,.2,1);border-radius:1px}.radar-table__resize-button:hover div{opacity:.5}.radar-table__resize-button:active div{background-color:#5329ff80;opacity:0}.radar-table__resize-line{position:fixed;width:2px;background-color:#5329ff80;z-index:9999;pointer-events:none;opacity:.5}.radar-table__pagination{display:flex;align-items:center;gap:24px}.radar-table__pagination-main{display:grid;grid-template-rows:32px;gap:4px}.radar-table__pagination-button{width:100%;height:100%;max-width:32px;max-height:32px;border-radius:8px;border:none;cursor:pointer;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;opacity:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center;border:1px solid #F7F7F7}.radar-table__pagination-button_active{color:#5329ff;background-color:#eeeaff;border:1px solid #5329FF}.radar-table__pagination-button_control{background-color:transparent;border:none}.radar-table__pagination-button_control:hover{background-color:#f7f7f7}.radar-table__pagination-button:hover{opacity:.75}.radar-table__pagination-quick-jumper{display:flex;align-items:center;gap:8px;font-family:inherit;font-weight:500;font-style:Medium;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a}.radar-table__pagination-input{width:32px;height:32px;border-radius:8px;border:1px solid #F7F7F7;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#5329ff;background-color:#eeeaff;text-align:center;outline:none;border:none}.radar-table__tooltip-button{border:none;display:flex;align-items:center;justify-content:center;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;position:relative}.radar-table__tooltip-button:hover{color:#5329ff}.radar-table__tooltip-text{position:absolute;top:calc(100% + 10px);left:0;background-color:#fff;padding:8px;width:250px;transform:scale(0);opacity:0;transition:all .2s ease;transform-origin:top left;border-radius:8px;box-shadow:0 0 20px #00000014;white-space:pre-line;text-align:left;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a;z-index:1000}.radar-table__tooltip-text_visible{transform:scale(1);opacity:1}.radar-table__tooltip-text--right{left:auto!important;right:0!important;transform-origin:top right!important}.radar-table__tooltip-text--right.radar-table__tooltip-text_visible{transform:scale(1)!important}.radar-table__drag-handle{height:20px;cursor:grab;border-radius:4px;border:none}.radar-title{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-title_h1{font-size:22px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-title_h2{font-size:18px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-text{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-text_m{font-size:14px}.radar-text_s{font-size:12px}.radar-text_medium{font-weight:500}.radar-text_semibold{font-weight:600}.radar-text_bold{font-weight:700}\n";
4
+ style.textContent = ".radar-table-container{display:flex;flex-direction:column;gap:16px;position:relative}.radar-table{width:100%;border-collapse:separate;border-spacing:0;font-family:inherit;overflow:clip;scroll-snap-type:x mandatory;scroll-behavior:smooth;table-layout:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.radar-table-default{border-radius:12px;background-color:#fff}.radar-table-pagination-container{position:sticky;bottom:-16px;left:0;background-color:#fff;padding:16px;border-top:1px solid #E8E8E8;width:100%}.radar-table *,.radar-table *:before,.radar-table *:after{box-sizing:border-box}@-moz-document url-prefix(){.radar-table{border-collapse:separate;border-spacing:0}.radar-table__body-row{box-sizing:border-box}.radar-table__body-cell{vertical-align:top;box-sizing:border-box}.radar-table__body-cell-wrapper,.radar-table__header-cell-wrapper{display:flex!important;align-items:center!important;box-sizing:border-box!important;padding:9px 12px!important;height:1px;min-height:32px;vertical-align:top}.radar-table-default__body-cell-wrapper,.radar-table-simple__body-cell-wrapper{line-height:1!important;padding:9px 12px!important;font-size:14px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px!important}.radar-table-simple__header-cell-wrapper{padding:20px 10px!important}}.radar-table__header{text-align:left;z-index:1}.radar-table-default__header{background-color:#f7f6fe}.radar-table-simple__header{background-color:#fff}.radar-table__header-group-cell{scroll-snap-align:start}.radar-table-simple__header-group-cell{font-family:inherit;font-weight:700;font-size:18px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;vertical-align:top}.radar-table__header-group-cell-wrapper{width:100%}.radar-table-simple__header-group-cell-wrapper{padding:12px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:44px}.radar-table__header-cell{scroll-snap-align:start;box-sizing:border-box}.radar-table-default__header-cell{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;font-weight:500!important;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;background-color:#f7f6fe;box-sizing:border-box}.radar-table-simple__header-cell{font-weight:500!important;font-size:16px;line-height:1.2;letter-spacing:0%;color:#8c8c8c;background-color:#fff;box-sizing:border-box;vertical-align:top}.radar-table-default__header-cell:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}.radar-table-default__header-cell:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}.radar-table__header-cell-wrapper{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table__header-cell-wrapper:hover .radar-table__resize-button{opacity:1}.radar-table__header-cell-wrapper:hover{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px;display:flex;gap:8px;align-items:center;box-sizing:border-box}.radar-table-simple__header-cell-wrapper{padding:20px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:60px}.radar-table__header-cell-text-wrapper{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.radar-table__sort-button-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.radar-table__sort-button{border:none;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.radar-table__sort-button svg{width:1em;height:1em}.radar-table__sort-button:hover{opacity:.75}.radar-table__drag-handle{display:flex;align-items:center;justify-content:center;cursor:move;opacity:.5;transition:opacity .2s ease;padding:2px;margin-right:4px}.radar-table__drag-handle:hover{opacity:.8}.radar-table__drag-handle.dragging{opacity:1}.radar-table__header-cell.dragging{opacity:.5;transform:rotate(2deg);z-index:1000}.radar-table__header-cell.drag-over.valid-drop-zone,.radar-table__header-cell.drag-over.invalid-drop-zone{transition:all .2s ease;z-index:1000}.radar-table__drag-handle{cursor:grab;transition:transform .2s ease}.radar-table__drag-handle:hover{transform:scale(1.1)}.radar-table__drag-handle.dragging{cursor:grabbing}.radar-table__header-cell.group-header{cursor:default!important}.radar-table__header-cell.group-header{cursor:grab}.radar-table__header-cell.group-header.dragging{cursor:grabbing}.radar-table__body-row[draggable=true]{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.radar-table__body-row.dragging{opacity:.25;cursor:grabbing;border-radius:20px}.radar-table__body-row.drag-over{border-top:2px solid #5329FF!important}.radar-table__body-row[draggable=true]{cursor:grab}.radar-table__body-row[draggable=true]:active{cursor:grabbing}.radar-table__body-cell{scroll-snap-align:start;box-sizing:border-box;vertical-align:top}.radar-table-default__body-cell,.radar-table-simple__body-cell{height:1px}.radar-table__body-cell-wrapper{width:100%;height:100%;font-family:inherit;background-color:#fff;display:flex;align-items:center}.radar-table__expander-btn{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:16px;font-size:12px;color:#1a1a1a;cursor:pointer;transition:transform .15s ease}.radar-table__expander-btn:focus{outline:none}.radar-table-default__body-cell-wrapper{padding:7px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:14px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-simple__body-cell-wrapper{padding:18px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:16px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-default__body-row:last-of-type .radar-table-default__body-cell-wrapper{border-bottom:none}.radar-table-simple__body-row:last-of-type .radar-table-simple__body-cell-wrapper{border-bottom:none}.radar-table__body-noData{padding:18px 12px;display:flex;align-items:center;font-size:16px;line-height:1.2;width:100%}.radar-table__body-noData_width{padding:18px 12px;display:flex;justify-content:center;align-items:center;font-size:16px;line-height:1.2}.radar-table__body-cell-wrapper--stretch,.radar-table-default__body-cell-wrapper--stretch,.radar-table-simple__body-cell-wrapper--stretch{align-items:stretch!important}.radar-table__body-cell-wrapper .salary-cell,.radar-table-default__body-cell-wrapper .salary-cell,.radar-table-simple__body-cell-wrapper .salary-cell{width:100%;height:auto;min-height:auto}.radar-table__custom-content-wrapper{width:100%;height:auto;min-height:100%}.radar-table__footer{pointer-events:auto}.radar-table__footer.resizing{pointer-events:none}.radar-table-default__footer,.radar-table-simple__footer{background-color:#fff}.radar-table-default__footer-cell,.radar-table-simple__footer-cell{border-top:1px solid #E8E8E8}.radar-table__footer-cell-wrapper{width:100%;font-family:inherit}.radar-table-default__footer-cell-wrapper,.radar-table-simple__footer-cell-wrapper{padding:12px 0;display:flex;gap:8px}.radar-table__resize-button{opacity:0;position:absolute;right:0;top:50%;transform:translateY(-50%);height:32px;width:20px;padding-right:6px;background-color:transparent;cursor:col-resize;border:none;display:flex;justify-content:flex-end;align-items:center;transition:all .2s cubic-bezier(.4,0,.2,1)}.radar-table__resize-button:hover{cursor:col-resize!important}.radar-table__resize-button div{background-color:#8c8c8c;width:2px;height:50%;opacity:1;transition:all .3s cubic-bezier(.4,0,.2,1);border-radius:1px}.radar-table__resize-button:hover div{opacity:.5}.radar-table__resize-button:active div{background-color:#5329ff80;opacity:0}.radar-table__resize-line{position:fixed;width:2px;background-color:#5329ff80;z-index:9999;pointer-events:none;opacity:.5;will-change:transform;transform:translateZ(0);backface-visibility:hidden}.radar-table__pagination{display:flex;align-items:center;gap:24px}.radar-table__pagination-main{display:grid;grid-template-rows:32px;gap:4px}.radar-table__pagination-button{width:100%;height:100%;max-width:32px;max-height:32px;border-radius:8px;border:none;cursor:pointer;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;opacity:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center;border:1px solid #F7F7F7}.radar-table__pagination-button_active{color:#5329ff;background-color:#eeeaff;border:1px solid #5329FF}.radar-table__pagination-button_control{background-color:transparent;border:none}.radar-table__pagination-button_control:hover{background-color:#f7f7f7}.radar-table__pagination-button:hover{opacity:.75}.radar-table__pagination-quick-jumper{display:flex;align-items:center;gap:8px;font-family:inherit;font-weight:500;font-style:Medium;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a}.radar-table__pagination-input{width:32px;height:32px;border-radius:8px;border:1px solid #F7F7F7;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#5329ff;background-color:#eeeaff;text-align:center;outline:none;border:none}.radar-table__tooltip-button{border:none;display:flex;align-items:center;justify-content:center;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;position:relative}.radar-table__tooltip-button:hover{color:#5329ff}.radar-table__tooltip-text{position:absolute;top:calc(100% + 10px);left:0;background-color:#fff;padding:8px;width:250px;transform:scale(0);opacity:0;transition:all .2s ease;transform-origin:top left;border-radius:8px;box-shadow:0 0 20px #00000014;white-space:pre-line;text-align:left;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a;z-index:1000}.radar-table__tooltip-text_visible{transform:scale(1);opacity:1}.radar-table__tooltip-text--right{left:auto!important;right:0!important;transform-origin:top right!important}.radar-table__tooltip-text--right.radar-table__tooltip-text_visible{transform:scale(1)!important}.radar-table__drag-handle{height:20px;cursor:grab;border-radius:4px;border:none}.radar-title{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-title_h1{font-size:22px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-title_h2{font-size:18px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-text{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-text_m{font-size:14px}.radar-text_s{font-size:12px}.radar-text_medium{font-weight:500}.radar-text_semibold{font-weight:600}.radar-text_bold{font-weight:700}\n";
5
5
  document.head.appendChild(style);
6
6
  })();
7
- import Ne, { useState as ge, useRef as je, useCallback as ae, startTransition as Et, useEffect as Ie, createContext as kt, useContext as wt, useMemo as Ae, useLayoutEffect as lt } from "react";
7
+ import Ne, { useState as pe, useRef as Ce, useCallback as ae, startTransition as Et, useEffect as Ie, createContext as wt, useContext as kt, useMemo as Ae, useLayoutEffect as lt } from "react";
8
8
  import { useSensors as jt, useSensor as et, PointerSensor as St, KeyboardSensor as Rt, pointerWithin as Tt, rectIntersection as Dt, DndContext as Ot, DragOverlay as $t, useDraggable as Pt, useDroppable as Lt } from "@dnd-kit/core";
9
9
  import { sortableKeyboardCoordinates as Nt } from "@dnd-kit/sortable";
10
10
  var Ye = { exports: {} }, Pe = {};
@@ -21,13 +21,13 @@ var tt;
21
21
  function It() {
22
22
  if (tt) return Pe;
23
23
  tt = 1;
24
- var t = Ne, r = Symbol.for("react.element"), l = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, w = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function R($, m, M) {
26
- var j, P = {}, U = null, X = null;
27
- M !== void 0 && (U = "" + M), m.key !== void 0 && (U = "" + m.key), m.ref !== void 0 && (X = m.ref);
28
- for (j in m) d.call(m, j) && !y.hasOwnProperty(j) && (P[j] = m[j]);
29
- if ($ && $.defaultProps) for (j in m = $.defaultProps, m) P[j] === void 0 && (P[j] = m[j]);
30
- return { $$typeof: r, type: $, key: U, ref: X, props: P, _owner: w.current };
24
+ var t = Ne, r = Symbol.for("react.element"), l = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, x = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ function R(P, _, B) {
26
+ var j, L = {}, K = null, U = null;
27
+ B !== void 0 && (K = "" + B), _.key !== void 0 && (K = "" + _.key), _.ref !== void 0 && (U = _.ref);
28
+ for (j in _) d.call(_, j) && !x.hasOwnProperty(j) && (L[j] = _[j]);
29
+ if (P && P.defaultProps) for (j in _ = P.defaultProps, _) L[j] === void 0 && (L[j] = _[j]);
30
+ return { $$typeof: r, type: P, key: K, ref: U, props: L, _owner: k.current };
31
31
  }
32
32
  return Pe.Fragment = l, Pe.jsx = R, Pe.jsxs = R, Pe;
33
33
  }
@@ -44,45 +44,45 @@ var Le = {};
44
44
  var rt;
45
45
  function Wt() {
46
46
  return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
47
- var t = Ne, r = Symbol.for("react.element"), l = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), $ = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), X = Symbol.for("react.offscreen"), Q = Symbol.iterator, K = "@@iterator";
48
- function re(e) {
47
+ var t = Ne, r = Symbol.for("react.element"), l = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), P = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), K = Symbol.for("react.lazy"), U = Symbol.for("react.offscreen"), Q = Symbol.iterator, q = "@@iterator";
48
+ function ie(e) {
49
49
  if (e === null || typeof e != "object")
50
50
  return null;
51
- var i = Q && e[Q] || e[K];
52
- return typeof i == "function" ? i : null;
51
+ var a = Q && e[Q] || e[q];
52
+ return typeof a == "function" ? a : null;
53
53
  }
54
- var V = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
- function f(e) {
54
+ var z = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
+ function u(e) {
56
56
  {
57
- for (var i = arguments.length, p = new Array(i > 1 ? i - 1 : 0), S = 1; S < i; S++)
57
+ for (var a = arguments.length, p = new Array(a > 1 ? a - 1 : 0), S = 1; S < a; S++)
58
58
  p[S - 1] = arguments[S];
59
- L("error", e, p);
59
+ I("error", e, p);
60
60
  }
61
61
  }
62
- function L(e, i, p) {
62
+ function I(e, a, p) {
63
63
  {
64
- var S = V.ReactDebugCurrentFrame, te = S.getStackAddendum();
65
- te !== "" && (i += "%s", p = p.concat([te]));
64
+ var S = z.ReactDebugCurrentFrame, te = S.getStackAddendum();
65
+ te !== "" && (a += "%s", p = p.concat([te]));
66
66
  var se = p.map(function(Y) {
67
67
  return String(Y);
68
68
  });
69
- se.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, se);
69
+ se.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, se);
70
70
  }
71
71
  }
72
- var _ = !1, F = !1, J = !1, v = !1, g = !1, o;
72
+ var y = !1, O = !1, J = !1, v = !1, g = !1, o;
73
73
  o = Symbol.for("react.module.reference");
74
- function x(e) {
75
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === y || g || e === w || e === M || e === j || v || e === X || _ || F || J || typeof e == "object" && e !== null && (e.$$typeof === U || e.$$typeof === P || e.$$typeof === R || e.$$typeof === $ || e.$$typeof === m || // This needs to include all possible module reference object
74
+ function b(e) {
75
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === x || g || e === k || e === B || e === j || v || e === U || y || O || J || typeof e == "object" && e !== null && (e.$$typeof === K || e.$$typeof === L || e.$$typeof === R || e.$$typeof === P || e.$$typeof === _ || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
79
  e.$$typeof === o || e.getModuleId !== void 0));
80
80
  }
81
- function u(e, i, p) {
81
+ function f(e, a, p) {
82
82
  var S = e.displayName;
83
83
  if (S)
84
84
  return S;
85
- var te = i.displayName || i.name || "";
85
+ var te = a.displayName || a.name || "";
86
86
  return te !== "" ? p + "(" + te + ")" : p;
87
87
  }
88
88
  function c(e) {
@@ -91,7 +91,7 @@ function Wt() {
91
91
  function C(e) {
92
92
  if (e == null)
93
93
  return null;
94
- if (typeof e.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
94
+ if (typeof e.tag == "number" && u("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
95
95
  return e.displayName || e.name || null;
96
96
  if (typeof e == "string")
97
97
  return e;
@@ -100,29 +100,29 @@ function Wt() {
100
100
  return "Fragment";
101
101
  case l:
102
102
  return "Portal";
103
- case y:
103
+ case x:
104
104
  return "Profiler";
105
- case w:
105
+ case k:
106
106
  return "StrictMode";
107
- case M:
107
+ case B:
108
108
  return "Suspense";
109
109
  case j:
110
110
  return "SuspenseList";
111
111
  }
112
112
  if (typeof e == "object")
113
113
  switch (e.$$typeof) {
114
- case $:
115
- var i = e;
116
- return c(i) + ".Consumer";
114
+ case P:
115
+ var a = e;
116
+ return c(a) + ".Consumer";
117
117
  case R:
118
118
  var p = e;
119
119
  return c(p._context) + ".Provider";
120
- case m:
121
- return u(e, e.render, "ForwardRef");
122
- case P:
120
+ case _:
121
+ return f(e, e.render, "ForwardRef");
122
+ case L:
123
123
  var S = e.displayName || null;
124
124
  return S !== null ? S : C(e.type) || "Memo";
125
- case U: {
125
+ case K: {
126
126
  var te = e, se = te._payload, Y = te._init;
127
127
  try {
128
128
  return C(Y(se));
@@ -133,14 +133,14 @@ function Wt() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var E = Object.assign, k = 0, O, le, ne, q, ce, ie, de;
136
+ var E = Object.assign, w = 0, $, le, re, Z, ce, ne, de;
137
137
  function he() {
138
138
  }
139
139
  he.__reactDisabledLog = !0;
140
140
  function A() {
141
141
  {
142
- if (k === 0) {
143
- O = console.log, le = console.info, ne = console.warn, q = console.error, ce = console.group, ie = console.groupCollapsed, de = console.groupEnd;
142
+ if (w === 0) {
143
+ $ = console.log, le = console.info, re = console.warn, Z = console.error, ce = console.group, ne = console.groupCollapsed, de = console.groupEnd;
144
144
  var e = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -157,12 +157,12 @@ function Wt() {
157
157
  groupEnd: e
158
158
  });
159
159
  }
160
- k++;
160
+ w++;
161
161
  }
162
162
  }
163
- function I() {
163
+ function W() {
164
164
  {
165
- if (k--, k === 0) {
165
+ if (w--, w === 0) {
166
166
  var e = {
167
167
  configurable: !0,
168
168
  enumerable: !0,
@@ -170,33 +170,33 @@ function Wt() {
170
170
  };
171
171
  Object.defineProperties(console, {
172
172
  log: E({}, e, {
173
- value: O
173
+ value: $
174
174
  }),
175
175
  info: E({}, e, {
176
176
  value: le
177
177
  }),
178
178
  warn: E({}, e, {
179
- value: ne
179
+ value: re
180
180
  }),
181
181
  error: E({}, e, {
182
- value: q
182
+ value: Z
183
183
  }),
184
184
  group: E({}, e, {
185
185
  value: ce
186
186
  }),
187
187
  groupCollapsed: E({}, e, {
188
- value: ie
188
+ value: ne
189
189
  }),
190
190
  groupEnd: E({}, e, {
191
191
  value: de
192
192
  })
193
193
  });
194
194
  }
195
- k < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
+ w < 0 && u("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var Z = V.ReactCurrentDispatcher, ee;
199
- function oe(e, i, p) {
198
+ var G = z.ReactCurrentDispatcher, ee;
199
+ function oe(e, a, p) {
200
200
  {
201
201
  if (ee === void 0)
202
202
  try {
@@ -209,13 +209,13 @@ function Wt() {
209
209
  ` + ee + e;
210
210
  }
211
211
  }
212
- var B = !1, T;
212
+ var V = !1, T;
213
213
  {
214
- var G = typeof WeakMap == "function" ? WeakMap : Map;
215
- T = new G();
214
+ var X = typeof WeakMap == "function" ? WeakMap : Map;
215
+ T = new X();
216
216
  }
217
- function W(e, i) {
218
- if (!e || B)
217
+ function F(e, a) {
218
+ if (!e || V)
219
219
  return "";
220
220
  {
221
221
  var p = T.get(e);
@@ -223,13 +223,13 @@ function Wt() {
223
223
  return p;
224
224
  }
225
225
  var S;
226
- B = !0;
226
+ V = !0;
227
227
  var te = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
229
  var se;
230
- se = Z.current, Z.current = null, A();
230
+ se = G.current, G.current = null, A();
231
231
  try {
232
- if (i) {
232
+ if (a) {
233
233
  var Y = function() {
234
234
  throw Error();
235
235
  };
@@ -262,103 +262,103 @@ function Wt() {
262
262
  }
263
263
  } catch (be) {
264
264
  if (be && S && typeof be.stack == "string") {
265
- for (var z = be.stack.split(`
265
+ for (var M = be.stack.split(`
266
266
  `), ye = S.stack.split(`
267
- `), ue = z.length - 1, fe = ye.length - 1; ue >= 1 && fe >= 0 && z[ue] !== ye[fe]; )
267
+ `), ue = M.length - 1, fe = ye.length - 1; ue >= 1 && fe >= 0 && M[ue] !== ye[fe]; )
268
268
  fe--;
269
269
  for (; ue >= 1 && fe >= 0; ue--, fe--)
270
- if (z[ue] !== ye[fe]) {
270
+ if (M[ue] !== ye[fe]) {
271
271
  if (ue !== 1 || fe !== 1)
272
272
  do
273
- if (ue--, fe--, fe < 0 || z[ue] !== ye[fe]) {
274
- var _e = `
275
- ` + z[ue].replace(" at new ", " at ");
276
- return e.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", e.displayName)), typeof e == "function" && T.set(e, _e), _e;
273
+ if (ue--, fe--, fe < 0 || M[ue] !== ye[fe]) {
274
+ var me = `
275
+ ` + M[ue].replace(" at new ", " at ");
276
+ return e.displayName && me.includes("<anonymous>") && (me = me.replace("<anonymous>", e.displayName)), typeof e == "function" && T.set(e, me), me;
277
277
  }
278
278
  while (ue >= 1 && fe >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- B = !1, Z.current = se, I(), Error.prepareStackTrace = te;
283
+ V = !1, G.current = se, W(), Error.prepareStackTrace = te;
284
284
  }
285
285
  var De = e ? e.displayName || e.name : "", Re = De ? oe(De) : "";
286
286
  return typeof e == "function" && T.set(e, Re), Re;
287
287
  }
288
- function a(e, i, p) {
289
- return W(e, !1);
288
+ function i(e, a, p) {
289
+ return F(e, !1);
290
290
  }
291
- function b(e) {
292
- var i = e.prototype;
293
- return !!(i && i.isReactComponent);
291
+ function m(e) {
292
+ var a = e.prototype;
293
+ return !!(a && a.isReactComponent);
294
294
  }
295
- function h(e, i, p) {
295
+ function h(e, a, p) {
296
296
  if (e == null)
297
297
  return "";
298
298
  if (typeof e == "function")
299
- return W(e, b(e));
299
+ return F(e, m(e));
300
300
  if (typeof e == "string")
301
301
  return oe(e);
302
302
  switch (e) {
303
- case M:
303
+ case B:
304
304
  return oe("Suspense");
305
305
  case j:
306
306
  return oe("SuspenseList");
307
307
  }
308
308
  if (typeof e == "object")
309
309
  switch (e.$$typeof) {
310
- case m:
311
- return a(e.render);
312
- case P:
313
- return h(e.type, i, p);
314
- case U: {
310
+ case _:
311
+ return i(e.render);
312
+ case L:
313
+ return h(e.type, a, p);
314
+ case K: {
315
315
  var S = e, te = S._payload, se = S._init;
316
316
  try {
317
- return h(se(te), i, p);
317
+ return h(se(te), a, p);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var s = Object.prototype.hasOwnProperty, D = {}, H = V.ReactDebugCurrentFrame;
324
+ var s = Object.prototype.hasOwnProperty, D = {}, H = z.ReactDebugCurrentFrame;
325
325
  function N(e) {
326
326
  if (e) {
327
- var i = e._owner, p = h(e.type, e._source, i ? i.type : null);
327
+ var a = e._owner, p = h(e.type, e._source, a ? a.type : null);
328
328
  H.setExtraStackFrame(p);
329
329
  } else
330
330
  H.setExtraStackFrame(null);
331
331
  }
332
- function xe(e, i, p, S, te) {
332
+ function xe(e, a, p, S, te) {
333
333
  {
334
334
  var se = Function.call.bind(s);
335
335
  for (var Y in e)
336
336
  if (se(e, Y)) {
337
- var z = void 0;
337
+ var M = void 0;
338
338
  try {
339
339
  if (typeof e[Y] != "function") {
340
340
  var ye = Error((S || "React class") + ": " + p + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
341
  throw ye.name = "Invariant Violation", ye;
342
342
  }
343
- z = e[Y](i, Y, S, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ M = e[Y](a, Y, S, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (ue) {
345
- z = ue;
345
+ M = ue;
346
346
  }
347
- z && !(z instanceof Error) && (N(te), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", p, Y, typeof z), N(null)), z instanceof Error && !(z.message in D) && (D[z.message] = !0, N(te), f("Failed %s type: %s", p, z.message), N(null));
347
+ M && !(M instanceof Error) && (N(te), u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", p, Y, typeof M), N(null)), M instanceof Error && !(M.message in D) && (D[M.message] = !0, N(te), u("Failed %s type: %s", p, M.message), N(null));
348
348
  }
349
349
  }
350
350
  }
351
- var pe = Array.isArray;
352
- function me(e) {
353
- return pe(e);
351
+ var ge = Array.isArray;
352
+ function _e(e) {
353
+ return ge(e);
354
354
  }
355
355
  function ve(e) {
356
356
  {
357
- var i = typeof Symbol == "function" && Symbol.toStringTag, p = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
357
+ var a = typeof Symbol == "function" && Symbol.toStringTag, p = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
358
  return p;
359
359
  }
360
360
  }
361
- function Ee(e) {
361
+ function we(e) {
362
362
  try {
363
363
  return ke(e), !1;
364
364
  } catch {
@@ -369,10 +369,10 @@ function Wt() {
369
369
  return "" + e;
370
370
  }
371
371
  function Se(e) {
372
- if (Ee(e))
373
- return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ve(e)), ke(e);
372
+ if (we(e))
373
+ return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ve(e)), ke(e);
374
374
  }
375
- var we = V.ReactCurrentOwner, We = {
375
+ var je = z.ReactCurrentOwner, We = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
@@ -380,27 +380,27 @@ function Wt() {
380
380
  }, Oe, $e;
381
381
  function Fe(e) {
382
382
  if (s.call(e, "ref")) {
383
- var i = Object.getOwnPropertyDescriptor(e, "ref").get;
384
- if (i && i.isReactWarning)
383
+ var a = Object.getOwnPropertyDescriptor(e, "ref").get;
384
+ if (a && a.isReactWarning)
385
385
  return !1;
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
- function Ce(e) {
389
+ function Ee(e) {
390
390
  if (s.call(e, "key")) {
391
- var i = Object.getOwnPropertyDescriptor(e, "key").get;
392
- if (i && i.isReactWarning)
391
+ var a = Object.getOwnPropertyDescriptor(e, "key").get;
392
+ if (a && a.isReactWarning)
393
393
  return !1;
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function ze(e, i) {
398
- typeof e.ref == "string" && we.current;
397
+ function ze(e, a) {
398
+ typeof e.ref == "string" && je.current;
399
399
  }
400
- function Me(e, i) {
400
+ function Me(e, a) {
401
401
  {
402
402
  var p = function() {
403
- Oe || (Oe = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
403
+ Oe || (Oe = !0, u("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
404
404
  };
405
405
  p.isReactWarning = !0, Object.defineProperty(e, "key", {
406
406
  get: p,
@@ -408,10 +408,10 @@ function Wt() {
408
408
  });
409
409
  }
410
410
  }
411
- function dt(e, i) {
411
+ function dt(e, a) {
412
412
  {
413
413
  var p = function() {
414
- $e || ($e = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
414
+ $e || ($e = !0, u("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
415
415
  };
416
416
  p.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
417
  get: p,
@@ -419,67 +419,67 @@ function Wt() {
419
419
  });
420
420
  }
421
421
  }
422
- var ut = function(e, i, p, S, te, se, Y) {
423
- var z = {
422
+ var ut = function(e, a, p, S, te, se, Y) {
423
+ var M = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: r,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
- key: i,
428
+ key: a,
429
429
  ref: p,
430
430
  props: Y,
431
431
  // Record the component responsible for creating this element.
432
432
  _owner: se
433
433
  };
434
- return z._store = {}, Object.defineProperty(z._store, "validated", {
434
+ return M._store = {}, Object.defineProperty(M._store, "validated", {
435
435
  configurable: !1,
436
436
  enumerable: !1,
437
437
  writable: !0,
438
438
  value: !1
439
- }), Object.defineProperty(z, "_self", {
439
+ }), Object.defineProperty(M, "_self", {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
443
  value: S
444
- }), Object.defineProperty(z, "_source", {
444
+ }), Object.defineProperty(M, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
448
  value: te
449
- }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
449
+ }), Object.freeze && (Object.freeze(M.props), Object.freeze(M)), M;
450
450
  };
451
- function ft(e, i, p, S, te) {
451
+ function ft(e, a, p, S, te) {
452
452
  {
453
- var se, Y = {}, z = null, ye = null;
454
- p !== void 0 && (Se(p), z = "" + p), Ce(i) && (Se(i.key), z = "" + i.key), Fe(i) && (ye = i.ref, ze(i, te));
455
- for (se in i)
456
- s.call(i, se) && !We.hasOwnProperty(se) && (Y[se] = i[se]);
453
+ var se, Y = {}, M = null, ye = null;
454
+ p !== void 0 && (Se(p), M = "" + p), Ee(a) && (Se(a.key), M = "" + a.key), Fe(a) && (ye = a.ref, ze(a, te));
455
+ for (se in a)
456
+ s.call(a, se) && !We.hasOwnProperty(se) && (Y[se] = a[se]);
457
457
  if (e && e.defaultProps) {
458
458
  var ue = e.defaultProps;
459
459
  for (se in ue)
460
460
  Y[se] === void 0 && (Y[se] = ue[se]);
461
461
  }
462
- if (z || ye) {
462
+ if (M || ye) {
463
463
  var fe = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- z && Me(Y, fe), ye && dt(Y, fe);
464
+ M && Me(Y, fe), ye && dt(Y, fe);
465
465
  }
466
- return ut(e, z, ye, te, S, we.current, Y);
466
+ return ut(e, M, ye, te, S, je.current, Y);
467
467
  }
468
468
  }
469
- var Be = V.ReactCurrentOwner, Ke = V.ReactDebugCurrentFrame;
469
+ var Be = z.ReactCurrentOwner, qe = z.ReactDebugCurrentFrame;
470
470
  function Te(e) {
471
471
  if (e) {
472
- var i = e._owner, p = h(e.type, e._source, i ? i.type : null);
473
- Ke.setExtraStackFrame(p);
472
+ var a = e._owner, p = h(e.type, e._source, a ? a.type : null);
473
+ qe.setExtraStackFrame(p);
474
474
  } else
475
- Ke.setExtraStackFrame(null);
475
+ qe.setExtraStackFrame(null);
476
476
  }
477
477
  var Ve;
478
478
  Ve = !1;
479
479
  function Je(e) {
480
480
  return typeof e == "object" && e !== null && e.$$typeof === r;
481
481
  }
482
- function Ue() {
482
+ function Ke() {
483
483
  {
484
484
  if (Be.current) {
485
485
  var e = C(Be.current.type);
@@ -494,141 +494,141 @@ Check the render method of \`` + e + "`.";
494
494
  function ht(e) {
495
495
  return "";
496
496
  }
497
- var qe = {};
497
+ var Ue = {};
498
498
  function gt(e) {
499
499
  {
500
- var i = Ue();
501
- if (!i) {
500
+ var a = Ke();
501
+ if (!a) {
502
502
  var p = typeof e == "string" ? e : e.displayName || e.name;
503
- p && (i = `
503
+ p && (a = `
504
504
 
505
505
  Check the top-level render call using <` + p + ">.");
506
506
  }
507
- return i;
507
+ return a;
508
508
  }
509
509
  }
510
- function Ze(e, i) {
510
+ function Ze(e, a) {
511
511
  {
512
512
  if (!e._store || e._store.validated || e.key != null)
513
513
  return;
514
514
  e._store.validated = !0;
515
- var p = gt(i);
516
- if (qe[p])
515
+ var p = gt(a);
516
+ if (Ue[p])
517
517
  return;
518
- qe[p] = !0;
518
+ Ue[p] = !0;
519
519
  var S = "";
520
- e && e._owner && e._owner !== Be.current && (S = " It was passed a child from " + C(e._owner.type) + "."), Te(e), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, S), Te(null);
520
+ e && e._owner && e._owner !== Be.current && (S = " It was passed a child from " + C(e._owner.type) + "."), Te(e), u('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, S), Te(null);
521
521
  }
522
522
  }
523
- function Ge(e, i) {
523
+ function Ge(e, a) {
524
524
  {
525
525
  if (typeof e != "object")
526
526
  return;
527
- if (me(e))
527
+ if (_e(e))
528
528
  for (var p = 0; p < e.length; p++) {
529
529
  var S = e[p];
530
- Je(S) && Ze(S, i);
530
+ Je(S) && Ze(S, a);
531
531
  }
532
532
  else if (Je(e))
533
533
  e._store && (e._store.validated = !0);
534
534
  else if (e) {
535
- var te = re(e);
535
+ var te = ie(e);
536
536
  if (typeof te == "function" && te !== e.entries)
537
537
  for (var se = te.call(e), Y; !(Y = se.next()).done; )
538
- Je(Y.value) && Ze(Y.value, i);
538
+ Je(Y.value) && Ze(Y.value, a);
539
539
  }
540
540
  }
541
541
  }
542
542
  function pt(e) {
543
543
  {
544
- var i = e.type;
545
- if (i == null || typeof i == "string")
544
+ var a = e.type;
545
+ if (a == null || typeof a == "string")
546
546
  return;
547
547
  var p;
548
- if (typeof i == "function")
549
- p = i.propTypes;
550
- else if (typeof i == "object" && (i.$$typeof === m || // Note: Memo only checks outer props here.
548
+ if (typeof a == "function")
549
+ p = a.propTypes;
550
+ else if (typeof a == "object" && (a.$$typeof === _ || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- i.$$typeof === P))
553
- p = i.propTypes;
552
+ a.$$typeof === L))
553
+ p = a.propTypes;
554
554
  else
555
555
  return;
556
556
  if (p) {
557
- var S = C(i);
557
+ var S = C(a);
558
558
  xe(p, e.props, "prop", S, e);
559
- } else if (i.PropTypes !== void 0 && !Ve) {
559
+ } else if (a.PropTypes !== void 0 && !Ve) {
560
560
  Ve = !0;
561
- var te = C(i);
562
- f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", te || "Unknown");
561
+ var te = C(a);
562
+ u("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", te || "Unknown");
563
563
  }
564
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && u("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
567
  function vt(e) {
568
568
  {
569
- for (var i = Object.keys(e.props), p = 0; p < i.length; p++) {
570
- var S = i[p];
569
+ for (var a = Object.keys(e.props), p = 0; p < a.length; p++) {
570
+ var S = a[p];
571
571
  if (S !== "children" && S !== "key") {
572
- Te(e), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), Te(null);
572
+ Te(e), u("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), Te(null);
573
573
  break;
574
574
  }
575
575
  }
576
- e.ref !== null && (Te(e), f("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
576
+ e.ref !== null && (Te(e), u("Invalid attribute `ref` supplied to `React.Fragment`."), Te(null));
577
577
  }
578
578
  }
579
579
  var Xe = {};
580
- function Qe(e, i, p, S, te, se) {
580
+ function Qe(e, a, p, S, te, se) {
581
581
  {
582
- var Y = x(e);
582
+ var Y = b(e);
583
583
  if (!Y) {
584
- var z = "";
585
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
584
+ var M = "";
585
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (M += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
586
  var ye = ht();
587
- ye ? z += ye : z += Ue();
587
+ ye ? M += ye : M += Ke();
588
588
  var ue;
589
- e === null ? ue = "null" : me(e) ? ue = "array" : e !== void 0 && e.$$typeof === r ? (ue = "<" + (C(e.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof e, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, z);
589
+ e === null ? ue = "null" : _e(e) ? ue = "array" : e !== void 0 && e.$$typeof === r ? (ue = "<" + (C(e.type) || "Unknown") + " />", M = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof e, u("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, M);
590
590
  }
591
- var fe = ft(e, i, p, te, se);
591
+ var fe = ft(e, a, p, te, se);
592
592
  if (fe == null)
593
593
  return fe;
594
594
  if (Y) {
595
- var _e = i.children;
596
- if (_e !== void 0)
595
+ var me = a.children;
596
+ if (me !== void 0)
597
597
  if (S)
598
- if (me(_e)) {
599
- for (var De = 0; De < _e.length; De++)
600
- Ge(_e[De], e);
601
- Object.freeze && Object.freeze(_e);
598
+ if (_e(me)) {
599
+ for (var De = 0; De < me.length; De++)
600
+ Ge(me[De], e);
601
+ Object.freeze && Object.freeze(me);
602
602
  } else
603
- f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
603
+ u("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- Ge(_e, e);
605
+ Ge(me, e);
606
606
  }
607
- if (s.call(i, "key")) {
608
- var Re = C(e), be = Object.keys(i).filter(function(Ct) {
607
+ if (s.call(a, "key")) {
608
+ var Re = C(e), be = Object.keys(a).filter(function(Ct) {
609
609
  return Ct !== "key";
610
610
  }), He = be.length > 0 ? "{key: someKey, " + be.join(": ..., ") + ": ...}" : "{key: someKey}";
611
611
  if (!Xe[Re + He]) {
612
- var mt = be.length > 0 ? "{" + be.join(": ..., ") + ": ...}" : "{}";
613
- f(`A props object containing a "key" prop is being spread into JSX:
612
+ var _t = be.length > 0 ? "{" + be.join(": ..., ") + ": ...}" : "{}";
613
+ u(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, He, Re, mt, Re), Xe[Re + He] = !0;
618
+ <%s key={someKey} {...props} />`, He, Re, _t, Re), Xe[Re + He] = !0;
619
619
  }
620
620
  }
621
621
  return e === d ? vt(fe) : pt(fe), fe;
622
622
  }
623
623
  }
624
- function yt(e, i, p) {
625
- return Qe(e, i, p, !0);
624
+ function yt(e, a, p) {
625
+ return Qe(e, a, p, !0);
626
626
  }
627
- function xt(e, i, p) {
628
- return Qe(e, i, p, !1);
627
+ function xt(e, a, p) {
628
+ return Qe(e, a, p, !1);
629
629
  }
630
- var bt = xt, _t = yt;
631
- Le.Fragment = d, Le.jsx = bt, Le.jsxs = _t;
630
+ var bt = xt, mt = yt;
631
+ Le.Fragment = d, Le.jsx = bt, Le.jsxs = mt;
632
632
  }()), Le;
633
633
  }
634
634
  process.env.NODE_ENV === "production" ? Ye.exports = It() : Ye.exports = Wt();
@@ -638,88 +638,92 @@ const Ft = ({
638
638
  currWidth: r,
639
639
  currMinWidth: l,
640
640
  onResize: d,
641
- scrollContainerRef: w
641
+ scrollContainerRef: k
642
642
  }) => {
643
- const [y, R] = ge(!1), [$, m] = ge(null), [M, j] = ge(0), [P, U] = ge(0), [X, Q] = ge(null), [K, re] = ge(null), V = je(null);
644
- je(0);
645
- const f = je(!1), L = je(null), _ = je(0), F = je(0), J = ae((o) => {
646
- if (!y || !$ || !t) return;
647
- const x = o.clientX - M, u = t.minWidth || 50;
648
- let c = P + x;
649
- c < u && (c = u), t.maxWidth && c > t.maxWidth && (c = t.maxWidth), _.current = c;
650
- const C = c - P, E = F.current + C;
651
- Q(E);
652
- }, [y, M, P, $, w, t]), v = ae(() => {
653
- var ne;
654
- if (!y || !$) return;
643
+ const [x, R] = pe(!1), [P, _] = pe(null), [B, j] = pe(0), [L, K] = pe(0), [U, Q] = pe(null), q = Ce(null);
644
+ Ce(0);
645
+ const ie = Ce(!1), z = Ce(null), u = Ce(0), I = Ce(0), y = Ce(null), O = Ce(null), J = ae((o) => {
646
+ !x || !P || !t || (O.current && cancelAnimationFrame(O.current), O.current = requestAnimationFrame(() => {
647
+ const b = o.clientX - B, f = t.minWidth || 50;
648
+ let c = L + b;
649
+ c < f && (c = f), t.maxWidth && c > t.maxWidth && (c = t.maxWidth), u.current = c;
650
+ const C = c - L;
651
+ y.current && (y.current.style.transform = `translateX(${C}px)`);
652
+ }));
653
+ }, [x, B, L, P, k, t]), v = ae(() => {
654
+ var re;
655
+ if (!x || !P) return;
655
656
  const o = t.minWidth || 50;
656
- let x = _.current || P;
657
- x < o && (x = o), t != null && t.maxWidth && x > t.maxWidth && (x = t.maxWidth);
658
- const u = x, c = $;
659
- V.current && (clearInterval(V.current), V.current = null), f.current = !1, R(!1), j(0), U(0), m(null), Q(null), re(null), _.current = 0, F.current = 0, document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", v);
660
- const E = ((q) => {
657
+ let b = u.current || L;
658
+ b < o && (b = o), t != null && t.maxWidth && b > t.maxWidth && (b = t.maxWidth);
659
+ const f = b, c = P;
660
+ O.current && (cancelAnimationFrame(O.current), O.current = null), q.current && (clearInterval(q.current), q.current = null), ie.current = !1, y.current && (y.current.style.transform = "translateX(0px)"), R(!1), j(0), K(0), _(null), Q(null), u.current = 0, I.current = 0, document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", v);
661
+ const E = ((Z) => {
661
662
  var ce;
662
- return typeof window < "u" && ((ce = window.CSS) != null && ce.escape) ? window.CSS.escape(q) : q.replace(/([#.;?\[\]\s])/g, "\\$1");
663
- })(c), k = (ne = L.current) == null ? void 0 : ne.closest("table");
664
- if (!k) return;
665
- const O = k.querySelector(`th[data-column-key="${E}"]`);
666
- O && (O.style.width = `${u}px`, O.style.minWidth = `${u}px`), k.querySelectorAll(`td[data-column-key="${E}"]`).forEach((q) => {
667
- q.style.width = `${u}px`;
663
+ return typeof window < "u" && ((ce = window.CSS) != null && ce.escape) ? window.CSS.escape(Z) : Z.replace(/([#.;?\[\]\s])/g, "\\$1");
664
+ })(c), w = (re = z.current) == null ? void 0 : re.closest("table");
665
+ if (!w) return;
666
+ const $ = w.querySelector(`th[data-column-key="${E}"]`);
667
+ $ && ($.style.width = `${f}px`, $.style.minWidth = `${f}px`), w.querySelectorAll(`td[data-column-key="${E}"]`).forEach((Z) => {
668
+ Z.style.width = `${f}px`;
668
669
  }), Et(() => {
669
- d == null || d(c, u);
670
+ d == null || d(c, f);
670
671
  });
671
- }, [y, $, t, P, d, J]), g = ae((o, x, u) => {
672
- if (o.preventDefault(), !L.current) return;
673
- R(!0), j(o.clientX), U(u), m(x), _.current = u;
674
- const c = L.current.getBoundingClientRect(), C = c.left + 12;
675
- Q(C), F.current = C;
676
- const E = w == null ? void 0 : w.current, k = L.current.closest("table");
672
+ }, [x, P, t, L, d, J]), g = ae((o, b, f) => {
673
+ if (o.preventDefault(), !z.current) return;
674
+ R(!0), j(o.clientX), K(f), _(b), u.current = f;
675
+ const c = z.current.getBoundingClientRect(), C = c.left + 12;
676
+ I.current = C, y.current && (y.current.style.left = `${C}px`, y.current.style.transform = "translateX(0px)");
677
+ const E = k == null ? void 0 : k.current, w = z.current.closest("table");
677
678
  if (E) {
678
- const O = E.getBoundingClientRect();
679
- re({
680
- top: O.top + c.height * 2,
681
- height: O.height - c.height * 2
679
+ const $ = E.getBoundingClientRect();
680
+ Q({
681
+ top: $.top + c.height * 2,
682
+ height: $.height - c.height * 2
682
683
  });
683
- } else if (k) {
684
- const O = k.getBoundingClientRect();
685
- re({
686
- top: O.top,
687
- height: O.height
684
+ } else if (w) {
685
+ const $ = w.getBoundingClientRect();
686
+ Q({
687
+ top: $.top,
688
+ height: $.height
688
689
  });
689
690
  }
690
- }, [w]);
691
+ }, [k]);
691
692
  return Ie(() => {
692
- y && (document.addEventListener("mousemove", J), document.addEventListener("mouseup", v));
693
- }, [y, J, v]), Ie(() => () => {
694
- document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", v);
693
+ x && (document.addEventListener("mousemove", J), document.addEventListener("mouseup", v));
694
+ }, [x, J, v]), Ie(() => () => {
695
+ O.current && (cancelAnimationFrame(O.current), O.current = null), document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", v);
695
696
  }, [J, v]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
696
697
  /* @__PURE__ */ n.jsx(
697
698
  "button",
698
699
  {
699
- ref: L,
700
+ ref: z,
700
701
  className: "radar-table__resize-button",
701
702
  onMouseDown: (o) => g(o, t.key, r || l || 200),
702
703
  title: "Изменить ширину колонки",
703
704
  children: /* @__PURE__ */ n.jsx("div", {})
704
705
  }
705
706
  ),
706
- X !== null && K && /* @__PURE__ */ n.jsx(
707
+ x && U && /* @__PURE__ */ n.jsx(
707
708
  "div",
708
709
  {
710
+ ref: y,
709
711
  className: "radar-table__resize-line",
710
712
  style: {
711
- left: `${X}px`,
712
- top: `${K.top}px`,
713
- height: `${K.height}px`
713
+ left: `${I.current}px`,
714
+ top: `${U.top}px`,
715
+ height: `${U.height}px`,
716
+ transform: "translateX(0px)",
717
+ willChange: "transform"
714
718
  }
715
719
  }
716
720
  )
717
721
  ] });
718
722
  }, At = ({ text: t, children: r }) => {
719
- const [l, d] = ge(!1), [w, y] = ge("left"), R = je(null), $ = () => {
723
+ const [l, d] = pe(!1), [k, x] = pe("left"), R = Ce(null), P = () => {
720
724
  if (R.current) {
721
- const m = R.current.getBoundingClientRect(), M = window.innerWidth, j = 250, P = 20, U = M - m.left, X = m.right;
722
- U < j + P && X > j + P ? y("right") : y("left");
725
+ const _ = R.current.getBoundingClientRect(), B = window.innerWidth, j = 250, L = 20, K = B - _.left, U = _.right;
726
+ K < j + L && U > j + L ? x("right") : x("left");
723
727
  }
724
728
  d(!0);
725
729
  };
@@ -728,7 +732,7 @@ const Ft = ({
728
732
  {
729
733
  ref: R,
730
734
  className: "radar-table__tooltip-button",
731
- onMouseOver: $,
735
+ onMouseOver: P,
732
736
  onMouseOut: () => d(!1),
733
737
  children: [
734
738
  r || /* @__PURE__ */ n.jsxs("svg", { width: "1.5em", height: "1em", viewBox: "0 0 24 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
@@ -738,15 +742,15 @@ const Ft = ({
738
742
  /* @__PURE__ */ n.jsx(
739
743
  "div",
740
744
  {
741
- className: `radar-table__tooltip-text ${l ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${w}`,
745
+ className: `radar-table__tooltip-text ${l ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${k}`,
742
746
  children: t
743
747
  }
744
748
  )
745
749
  ]
746
750
  }
747
751
  );
748
- }, ct = kt(null), zt = () => {
749
- const t = wt(ct);
752
+ }, ct = wt(null), zt = () => {
753
+ const t = kt(ct);
750
754
  return t || {
751
755
  activeColumn: null,
752
756
  isValidDropZone: () => !1
@@ -758,7 +762,7 @@ function Mt({
758
762
  onColumnReorder: l,
759
763
  scrollContainerRef: d
760
764
  }) {
761
- const [w, y] = ge(null), [R, $] = ge(40), [m, M] = ge(200), [j, P] = ge(null), U = jt(
765
+ const [k, x] = pe(null), [R, P] = pe(40), [_, B] = pe(200), [j, L] = pe(null), K = jt(
762
766
  et(St, {
763
767
  activationConstraint: {
764
768
  distance: 5
@@ -768,189 +772,189 @@ function Mt({
768
772
  et(Rt, {
769
773
  coordinateGetter: Nt
770
774
  })
771
- ), X = ae((v) => {
775
+ ), U = ae((v) => {
772
776
  const g = Tt(v);
773
777
  if (g.length > 0) {
774
- const u = g.filter(
778
+ const f = g.filter(
775
779
  (c) => c.id.toString().startsWith("drop-zone-")
776
780
  );
777
- if (u.length > 0)
778
- return u;
781
+ if (f.length > 0)
782
+ return f;
779
783
  }
780
- const x = Dt(v).filter(
781
- (u) => u.id.toString().startsWith("drop-zone-")
784
+ const b = Dt(v).filter(
785
+ (f) => f.id.toString().startsWith("drop-zone-")
782
786
  );
783
- return x.length > 0 ? [x[0]] : [];
784
- }, []), Q = ae((v) => v.some((g) => g.children && g.children.length > 0), []), K = ae((v, g) => {
785
- const o = (x, u, c = 0, C = null) => {
786
- for (const E of x) {
787
- if (E.key === u)
787
+ return b.length > 0 ? [b[0]] : [];
788
+ }, []), Q = ae((v) => v.some((g) => g.children && g.children.length > 0), []), q = ae((v, g) => {
789
+ const o = (b, f, c = 0, C = null) => {
790
+ for (const E of b) {
791
+ if (E.key === f)
788
792
  return { column: E, parent: C, level: c };
789
793
  if (E.children && E.children.length > 0) {
790
- const k = o(E.children, u, c + 1, E);
791
- if (k) return k;
794
+ const w = o(E.children, f, c + 1, E);
795
+ if (w) return w;
792
796
  }
793
797
  }
794
798
  return null;
795
799
  };
796
800
  return o(v, g);
797
- }, []), re = ae((v, g) => {
798
- var x;
799
- const o = K(g, v);
800
- return o && (o.column.fixed || ((x = o.parent) == null ? void 0 : x.fixed)) || !1;
801
- }, [K]), V = ae((v, g) => {
801
+ }, []), ie = ae((v, g) => {
802
+ var b;
803
+ const o = q(g, v);
804
+ return o && (o.column.fixed || ((b = o.parent) == null ? void 0 : b.fixed)) || !1;
805
+ }, [q]), z = ae((v, g) => {
802
806
  if (v.columnKey === g.columnKey)
803
807
  return !1;
804
- const o = re(v.columnKey, r), x = re(g.columnKey, r);
805
- if (o !== x)
808
+ const o = ie(v.columnKey, r), b = ie(g.columnKey, r);
809
+ if (o !== b)
806
810
  return !1;
807
811
  if (Q(r)) {
808
- const u = K(r, v.columnKey), c = K(r, g.columnKey);
809
- if (!u || !c)
812
+ const f = q(r, v.columnKey), c = q(r, g.columnKey);
813
+ if (!f || !c)
810
814
  return !1;
811
815
  const C = v.isLeaf, E = g.isLeaf;
812
816
  if (!C && !E) {
813
- const k = u.level === c.level, O = u.parent === null && c.parent === null || u.parent !== null && c.parent !== null && u.parent.key === c.parent.key;
814
- return k && O;
817
+ const w = f.level === c.level, $ = f.parent === null && c.parent === null || f.parent !== null && c.parent !== null && f.parent.key === c.parent.key;
818
+ return w && $;
815
819
  }
816
820
  if (C && E) {
817
- const k = u.level === c.level, O = u.parent === null && c.parent === null || u.parent !== null && c.parent !== null && u.parent.key === c.parent.key;
818
- return k && O;
821
+ const w = f.level === c.level, $ = f.parent === null && c.parent === null || f.parent !== null && c.parent !== null && f.parent.key === c.parent.key;
822
+ return w && $;
819
823
  }
820
824
  return !1;
821
825
  }
822
826
  return !0;
823
- }, [r, Q, K, re]), f = ae((v, g, o) => {
827
+ }, [r, Q, q, ie]), u = ae((v, g, o) => {
824
828
  var de, he;
825
829
  if (!Q(r)) {
826
- const A = o.findIndex((B) => B.key === v), I = o.findIndex((B) => B.key === g);
827
- if (A === -1 || I === -1)
830
+ const A = o.findIndex((V) => V.key === v), W = o.findIndex((V) => V.key === g);
831
+ if (A === -1 || W === -1)
828
832
  return o;
829
- const Z = [...o], ee = Z[A];
830
- Z.splice(A, 1);
831
- const oe = (A < I, I);
832
- return Z.splice(oe, 0, ee), Z;
833
+ const G = [...o], ee = G[A];
834
+ G.splice(A, 1);
835
+ const oe = (A < W, W);
836
+ return G.splice(oe, 0, ee), G;
833
837
  }
834
- const x = K(r, v), u = K(r, g);
835
- if (!x || !u)
838
+ const b = q(r, v), f = q(r, g);
839
+ if (!b || !f)
836
840
  return o;
837
- const c = JSON.parse(JSON.stringify(r)), C = (A, I) => {
838
- if (I === null)
841
+ const c = JSON.parse(JSON.stringify(r)), C = (A, W) => {
842
+ if (W === null)
839
843
  return { container: A, parentObj: null };
840
- const Z = (oe) => {
841
- for (const B of oe) {
842
- if (B.key === I)
843
- return B;
844
- if (B.children) {
845
- const T = Z(B.children);
844
+ const G = (oe) => {
845
+ for (const V of oe) {
846
+ if (V.key === W)
847
+ return V;
848
+ if (V.children) {
849
+ const T = G(V.children);
846
850
  if (T) return T;
847
851
  }
848
852
  }
849
853
  return null;
850
- }, ee = Z(A);
854
+ }, ee = G(A);
851
855
  return {
852
856
  container: (ee == null ? void 0 : ee.children) || A,
853
857
  parentObj: ee
854
858
  };
855
- }, E = ((de = x.parent) == null ? void 0 : de.key) || null, k = ((he = u.parent) == null ? void 0 : he.key) || null, { container: O } = C(c, E), { container: le } = C(c, k);
856
- if (O !== le)
859
+ }, E = ((de = b.parent) == null ? void 0 : de.key) || null, w = ((he = f.parent) == null ? void 0 : he.key) || null, { container: $ } = C(c, E), { container: le } = C(c, w);
860
+ if ($ !== le)
857
861
  return o;
858
- const ne = O.findIndex((A) => A.key === v), q = O.findIndex((A) => A.key === g);
859
- if (ne === -1 || q === -1)
862
+ const re = $.findIndex((A) => A.key === v), Z = $.findIndex((A) => A.key === g);
863
+ if (re === -1 || Z === -1)
860
864
  return o;
861
- const [ce] = O.splice(ne, 1), ie = (ne < q, q);
862
- return O.splice(ie, 0, ce), c;
863
- }, [r, Q, K]), L = ae((v) => {
865
+ const [ce] = $.splice(re, 1), ne = (re < Z, Z);
866
+ return $.splice(ne, 0, ce), c;
867
+ }, [r, Q, q]), I = ae((v) => {
864
868
  const g = v.active.data.current;
865
- y(g);
869
+ x(g);
866
870
  const o = document.querySelector(`[data-column-key="${g.columnKey}"]`);
867
871
  if (o) {
868
- const x = o.getBoundingClientRect();
869
- M(x.width);
870
- const u = o.closest("table");
872
+ const b = o.getBoundingClientRect();
873
+ B(b.width);
874
+ const f = o.closest("table");
871
875
  o.closest('[style*="overflow"]');
872
- const c = u;
876
+ const c = f;
873
877
  if (c) {
874
878
  const C = c.getBoundingClientRect();
875
- $(C.height);
879
+ P(C.height);
876
880
  } else
877
- $(400);
881
+ P(400);
878
882
  } else
879
- $(400), M(200);
883
+ P(400), B(200);
880
884
  document.body.style.cursor = "grabbing";
881
- }, []), _ = ae((v) => {
885
+ }, []), y = ae((v) => {
882
886
  const { active: g, over: o } = v;
883
887
  if (!o || !g.data.current) {
884
- document.body.style.cursor = "grabbing", P(null);
888
+ document.body.style.cursor = "grabbing", L(null);
885
889
  return;
886
890
  }
887
- const x = g.data.current, u = o.data.current;
888
- if (!u) {
889
- document.body.style.cursor = "grabbing", P(null);
891
+ const b = g.data.current, f = o.data.current;
892
+ if (!f) {
893
+ document.body.style.cursor = "grabbing", L(null);
890
894
  return;
891
895
  }
892
- const c = V(x, u);
896
+ const c = z(b, f);
893
897
  document.body.style.cursor = c ? "copy" : "not-allowed";
894
- const C = document.querySelectorAll(`th[data-column-key="${u.columnKey}"]`), E = Q(r), k = C.length > 0 ? E && u.isLeaf ? C[C.length - 1] : C[0] : null;
895
- if (k) {
896
- const O = k.getBoundingClientRect(), le = k.closest("table");
897
- let ne = O.left;
898
- const q = d == null ? void 0 : d.current;
899
- let ce, ie;
900
- if (q) {
901
- const de = q.getBoundingClientRect();
902
- ce = de.top, ie = de.height;
898
+ const C = document.querySelectorAll(`th[data-column-key="${f.columnKey}"]`), E = Q(r), w = C.length > 0 ? E && f.isLeaf ? C[C.length - 1] : C[0] : null;
899
+ if (w) {
900
+ const $ = w.getBoundingClientRect(), le = w.closest("table");
901
+ let re = $.left;
902
+ const Z = d == null ? void 0 : d.current;
903
+ let ce, ne;
904
+ if (Z) {
905
+ const de = Z.getBoundingClientRect();
906
+ ce = de.top, ne = de.height;
903
907
  } else if (le) {
904
908
  const de = le.getBoundingClientRect();
905
- ce = de.top, ie = de.height;
909
+ ce = de.top, ne = de.height;
906
910
  } else
907
- ce = O.top, ie = O.height * 10;
908
- P({
909
- left: ne,
911
+ ce = $.top, ne = $.height * 10;
912
+ L({
913
+ left: re,
910
914
  top: ce,
911
- height: ie,
915
+ height: ne,
912
916
  color: c ? "#5329FF" : "#ff3b3b"
913
917
  });
914
918
  } else
915
- P(null);
916
- }, [V]), F = ae((v) => {
919
+ L(null);
920
+ }, [z]), O = ae((v) => {
917
921
  const { active: g, over: o } = v;
918
- if (document.body.style.cursor = "", y(null), $(40), M(200), P(null), !o || !g.data.current || !o.data.current)
922
+ if (document.body.style.cursor = "", x(null), P(40), B(200), L(null), !o || !g.data.current || !o.data.current)
919
923
  return;
920
- const x = g.data.current, u = o.data.current;
921
- if (V(x, u) && l) {
922
- const c = f(
923
- x.columnKey,
924
- u.columnKey,
924
+ const b = g.data.current, f = o.data.current;
925
+ if (z(b, f) && l) {
926
+ const c = u(
927
+ b.columnKey,
928
+ f.columnKey,
925
929
  r
926
930
  );
927
931
  c._dragInfo = {
928
- draggedKey: x.columnKey,
929
- targetKey: u.columnKey,
930
- draggedIndex: x.index,
932
+ draggedKey: b.columnKey,
933
+ targetKey: f.columnKey,
934
+ draggedIndex: b.index,
931
935
  targetIndex: -1
932
936
  // будет вычислен в TableHeader если нужно
933
937
  }, l(c);
934
938
  }
935
- }, [V, l, f, r]), J = {
936
- activeColumn: w,
937
- isValidDropZone: V
939
+ }, [z, l, u, r]), J = {
940
+ activeColumn: k,
941
+ isValidDropZone: z
938
942
  };
939
943
  return /* @__PURE__ */ n.jsx(ct.Provider, { value: J, children: /* @__PURE__ */ n.jsxs(
940
944
  Ot,
941
945
  {
942
- sensors: U,
943
- collisionDetection: X,
944
- onDragStart: L,
945
- onDragOver: _,
946
- onDragEnd: F,
946
+ sensors: K,
947
+ collisionDetection: U,
948
+ onDragStart: I,
949
+ onDragOver: y,
950
+ onDragEnd: O,
947
951
  children: [
948
952
  t,
949
- /* @__PURE__ */ n.jsx($t, { dropAnimation: null, children: w ? /* @__PURE__ */ n.jsx(
953
+ /* @__PURE__ */ n.jsx($t, { dropAnimation: null, children: k ? /* @__PURE__ */ n.jsx(
950
954
  "div",
951
955
  {
952
956
  style: {
953
- width: `${m}px`,
957
+ width: `${_}px`,
954
958
  height: `${R}px`,
955
959
  backgroundColor: "#5329FF",
956
960
  opacity: 0.5,
@@ -993,56 +997,56 @@ function Jt({
993
997
  index: r,
994
998
  config: l,
995
999
  fullConfig: d,
996
- sorting: w,
997
- onSort: y,
1000
+ sorting: k,
1001
+ onSort: x,
998
1002
  onResize: R,
999
- sortIcon: $,
1000
- resizeable: m,
1001
- draggableColumns: M,
1003
+ sortIcon: P,
1004
+ resizeable: _,
1005
+ draggableColumns: B,
1002
1006
  preset: j,
1003
- headerCellClassName: P,
1004
- headerCellStyle: U,
1005
- headerCellWrapperClassName: X,
1007
+ headerCellClassName: L,
1008
+ headerCellStyle: K,
1009
+ headerCellWrapperClassName: U,
1006
1010
  headerCellWrapperStyle: Q,
1007
- stickyHeader: K,
1008
- scrollContainerRef: re,
1009
- resizeThrottle: V
1011
+ stickyHeader: q,
1012
+ scrollContainerRef: ie,
1013
+ resizeThrottle: z
1010
1014
  }) {
1011
- var B;
1015
+ var V;
1012
1016
  if (t.hidden)
1013
1017
  return null;
1014
- const { activeColumn: f, isValidDropZone: L } = zt(), _ = !t.children || t.children.length === 0;
1018
+ const { activeColumn: u, isValidDropZone: I } = zt(), y = !t.children || t.children.length === 0;
1015
1019
  Ae(() => (d == null ? void 0 : d.some((T) => T.children && T.children.length > 0)) || !1, [d]);
1016
- const F = M, v = ae((T) => {
1020
+ const O = B, v = ae((T) => {
1017
1021
  if (!d) return null;
1018
- const G = (W, a, b = null) => {
1019
- for (const h of W) {
1020
- if (h.key === a)
1021
- return b;
1022
+ const X = (F, i, m = null) => {
1023
+ for (const h of F) {
1024
+ if (h.key === i)
1025
+ return m;
1022
1026
  if (h.children && h.children.length > 0) {
1023
- const s = G(h.children, a, h);
1027
+ const s = X(h.children, i, h);
1024
1028
  if (s !== null) return s;
1025
1029
  }
1026
1030
  }
1027
1031
  return null;
1028
1032
  };
1029
- return G(d, T);
1030
- }, [d])(t.key), g = t.fixed || (v == null ? void 0 : v.fixed) || !1, x = ae((T) => {
1033
+ return X(d, T);
1034
+ }, [d])(t.key), g = t.fixed || (v == null ? void 0 : v.fixed) || !1, b = ae((T) => {
1031
1035
  if (!d) return 0;
1032
- const G = (W, a, b = 0) => {
1033
- for (const h of W) {
1034
- if (h.key === a)
1035
- return b;
1036
+ const X = (F, i, m = 0) => {
1037
+ for (const h of F) {
1038
+ if (h.key === i)
1039
+ return m;
1036
1040
  if (h.children && h.children.length > 0) {
1037
- const s = G(h.children, a, b + 1);
1041
+ const s = X(h.children, i, m + 1);
1038
1042
  if (s !== -1) return s;
1039
1043
  }
1040
1044
  }
1041
1045
  return -1;
1042
1046
  };
1043
- return G(d, T);
1047
+ return X(d, T);
1044
1048
  }, [d])(t.key), {
1045
- attributes: u,
1049
+ attributes: f,
1046
1050
  listeners: c,
1047
1051
  setNodeRef: C,
1048
1052
  isDragging: E
@@ -1053,15 +1057,15 @@ function Jt({
1053
1057
  columnKey: t.key,
1054
1058
  isFixed: g,
1055
1059
  parentKey: v == null ? void 0 : v.key,
1056
- level: x,
1060
+ level: b,
1057
1061
  index: r,
1058
- isLeaf: _
1062
+ isLeaf: y
1059
1063
  // ✅ Добавляем информацию о типе колонки
1060
1064
  },
1061
- disabled: !F
1065
+ disabled: !O
1062
1066
  }), {
1063
- setNodeRef: k,
1064
- isOver: O
1067
+ setNodeRef: w,
1068
+ isOver: $
1065
1069
  } = Lt({
1066
1070
  id: `drop-zone-${t.key}`,
1067
1071
  data: {
@@ -1069,66 +1073,66 @@ function Jt({
1069
1073
  columnKey: t.key,
1070
1074
  isFixed: g,
1071
1075
  accepts: [g ? "fixed" : "non-fixed"],
1072
- isLeaf: _
1076
+ isLeaf: y
1073
1077
  // ✅ Добавляем информацию о типе колонки
1074
1078
  },
1075
1079
  disabled: !1
1076
1080
  }), le = ae((T) => {
1077
- C(T), k(T);
1078
- }, [C, k]), ne = Ae(() => {
1079
- if (!f || !O) return !1;
1081
+ C(T), w(T);
1082
+ }, [C, w]), re = Ae(() => {
1083
+ if (!u || !$) return !1;
1080
1084
  const T = {
1081
1085
  type: "column-drop-zone",
1082
1086
  columnKey: t.key,
1083
1087
  isFixed: g,
1084
1088
  accepts: [g ? "fixed" : "non-fixed"],
1085
- isLeaf: _
1089
+ isLeaf: y
1086
1090
  };
1087
- return L(f, T);
1088
- }, [f, O, t.key, g, L, _]), q = Ae(() => E ? "grabbing" : O && f ? ne ? "copy" : "not-allowed" : "default", [E, O, f, ne]), ce = t.fixed && !t.width ? 200 : t.width, ie = t.fixed && !t.minWidth ? 200 : t.minWidth, de = ae(() => {
1091
+ return I(u, T);
1092
+ }, [u, $, t.key, g, I, y]), Z = Ae(() => E ? "grabbing" : $ && u ? re ? "copy" : "not-allowed" : "default", [E, $, u, re]), ce = t.fixed && !t.width ? 200 : t.width, ne = t.fixed && !t.minWidth ? 200 : t.minWidth, de = ae(() => {
1089
1093
  let T = t.fixedLeft || 0;
1090
1094
  if (!g)
1091
1095
  return T;
1092
- for (let G = 0; G < r; G++) {
1093
- const W = l[G];
1094
- W.fixed && !W.hidden && (T += (W.width || W.minWidth || 200) + (W.fixedLeft || 0));
1096
+ for (let X = 0; X < r; X++) {
1097
+ const F = l[X];
1098
+ F.fixed && !F.hidden && (T += (F.width || F.minWidth || 200) + (F.fixedLeft || 0));
1095
1099
  }
1096
1100
  return T;
1097
- }, [t.fixedLeft, l, r, g]), [he, A] = ge(() => de());
1101
+ }, [t.fixedLeft, l, r, g]), [he, A] = pe(() => de());
1098
1102
  lt(() => {
1099
1103
  if (!g) {
1100
1104
  A(de());
1101
1105
  return;
1102
1106
  }
1103
1107
  let T = t.fixedLeft || 0;
1104
- for (let G = 0; G < r; G++) {
1105
- const W = l[G];
1106
- if (W.fixed && !W.hidden) {
1107
- const a = W.width || W.minWidth || 200, b = Vt(W.key);
1108
- T += Math.floor(b ?? a) + (W.fixedLeft || 0) - 0.05;
1108
+ for (let X = 0; X < r; X++) {
1109
+ const F = l[X];
1110
+ if (F.fixed && !F.hidden) {
1111
+ const i = F.width || F.minWidth || 200, m = Vt(F.key);
1112
+ T += Math.floor(m ?? i) + (F.fixedLeft || 0) - 0.05;
1109
1113
  }
1110
1114
  }
1111
1115
  A(T);
1112
1116
  }, [t.fixedLeft, t.width, t.minWidth, l, r, g, de]);
1113
- const Z = ((T) => {
1117
+ const G = ((T) => {
1114
1118
  if (T.groupColor)
1115
1119
  return T.groupColor;
1116
1120
  if (d) {
1117
- const G = (a, b) => {
1118
- for (const h of a)
1121
+ const X = (i, m) => {
1122
+ for (const h of i)
1119
1123
  if (h.children) {
1120
- if (h.children.some((D) => D.key === b))
1124
+ if (h.children.some((D) => D.key === m))
1121
1125
  return h;
1122
- const s = G(h.children, b);
1126
+ const s = X(h.children, m);
1123
1127
  if (s) return s;
1124
1128
  }
1125
1129
  return null;
1126
- }, W = G(d, T.key);
1127
- return W == null ? void 0 : W.groupColor;
1130
+ }, F = X(d, T.key);
1131
+ return F == null ? void 0 : F.groupColor;
1128
1132
  }
1129
1133
  })(t);
1130
1134
  let ee = "currentColor", oe = "currentColor";
1131
- return w.sort_field === t.key && (w.sort_order === "ASC" && (ee = "#5329FF"), w.sort_order === "DESC" && (oe = "#5329FF")), /* @__PURE__ */ n.jsx(
1135
+ return k.sort_field === t.key && (k.sort_order === "ASC" && (ee = "#5329FF"), k.sort_order === "DESC" && (oe = "#5329FF")), /* @__PURE__ */ n.jsx(
1132
1136
  "th",
1133
1137
  {
1134
1138
  ref: le,
@@ -1136,26 +1140,26 @@ function Jt({
1136
1140
  className: `
1137
1141
  radar-table__header-cell
1138
1142
  ${j ? j + "__header-cell" : ""}
1139
- ${P || ""}
1143
+ ${L || ""}
1140
1144
  ${E ? "dragging" : ""}
1141
- ${O ? "drag-over" : ""}
1142
- ${ne && O ? "valid-drop-zone" : ""}
1143
- ${O && !ne ? "invalid-drop-zone" : ""}
1144
- ${_ ? "leaf-header" : "group-header"}
1145
+ ${$ ? "drag-over" : ""}
1146
+ ${re && $ ? "valid-drop-zone" : ""}
1147
+ ${$ && !re ? "invalid-drop-zone" : ""}
1148
+ ${y ? "leaf-header" : "group-header"}
1145
1149
  ${t.className || ""}`,
1146
1150
  colSpan: t.colSpan || 1,
1147
1151
  rowSpan: t.rowSpan || 1,
1148
1152
  style: {
1149
1153
  width: ce,
1150
- minWidth: ie,
1154
+ minWidth: ne,
1151
1155
  position: t.fixed ? "sticky" : "static",
1152
- top: K && typeof K == "number" ? K : 0,
1156
+ top: q && typeof q == "number" ? q : 0,
1153
1157
  left: he,
1154
- borderRight: t.fixed && !((B = l[r + 1]) != null && B.fixed) ? "1px solid #E8E8E8" : "none",
1158
+ borderRight: t.fixed && !((V = l[r + 1]) != null && V.fixed) ? "1px solid #E8E8E8" : "none",
1155
1159
  zIndex: t.fixed ? 2 : "auto",
1156
- backgroundColor: Z,
1157
- cursor: q,
1158
- ...U,
1160
+ backgroundColor: G,
1161
+ cursor: Z,
1162
+ ...K,
1159
1163
  ...t.style
1160
1164
  },
1161
1165
  children: /* @__PURE__ */ n.jsxs(
@@ -1164,15 +1168,15 @@ function Jt({
1164
1168
  className: `
1165
1169
  radar-table__header-cell-wrapper
1166
1170
  ${j ? j + "__header-cell-wrapper" : ""}
1167
- ${X || ""}
1171
+ ${U || ""}
1168
1172
  `,
1169
1173
  style: Q,
1170
1174
  children: [
1171
- F && /* @__PURE__ */ n.jsx(
1175
+ O && /* @__PURE__ */ n.jsx(
1172
1176
  "div",
1173
1177
  {
1174
- className: `radar-table__drag-handle ${E ? "dragging" : ""} ${_ ? "" : "group-drag-handle"}`,
1175
- ...u,
1178
+ className: `radar-table__drag-handle ${E ? "dragging" : ""} ${y ? "" : "group-drag-handle"}`,
1179
+ ...f,
1176
1180
  ...c,
1177
1181
  style: { cursor: E ? "grabbing" : "grab" },
1178
1182
  children: /* @__PURE__ */ n.jsxs("svg", { width: "8", height: "10", viewBox: "0 0 16 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
@@ -1190,12 +1194,12 @@ function Jt({
1190
1194
  {
1191
1195
  title: t.title,
1192
1196
  onClick: () => {
1193
- const { sort_field: T, sort_order: G } = w;
1194
- let W = {
1197
+ const { sort_field: T, sort_order: X } = k;
1198
+ let F = {
1195
1199
  columnKey: t.key,
1196
1200
  direction: "ASC"
1197
1201
  };
1198
- T === t.key ? G === "ASC" ? W.direction = "DESC" : G === "DESC" && (W.columnKey = void 0, W.direction = void 0) : (W.columnKey = t.key, W.direction = "ASC"), y(W.columnKey, W.direction);
1202
+ T === t.key ? X === "ASC" ? F.direction = "DESC" : X === "DESC" && (F.columnKey = void 0, F.direction = void 0) : (F.columnKey = t.key, F.direction = "ASC"), x(F.columnKey, F.direction);
1199
1203
  },
1200
1204
  style: {
1201
1205
  cursor: t.sortable ? "pointer" : "default",
@@ -1204,12 +1208,12 @@ function Jt({
1204
1208
  children: t.title
1205
1209
  }
1206
1210
  ) }),
1207
- t.sortable && !$ && _ && /* @__PURE__ */ n.jsxs("div", { className: "radar-table__sort-button-wrapper", children: [
1211
+ t.sortable && !P && y && /* @__PURE__ */ n.jsxs("div", { className: "radar-table__sort-button-wrapper", children: [
1208
1212
  /* @__PURE__ */ n.jsx(
1209
1213
  "button",
1210
1214
  {
1211
1215
  className: "radar-table__sort-button",
1212
- onClick: (T) => y(t.key, "ASC"),
1216
+ onClick: (T) => x(t.key, "ASC"),
1213
1217
  title: `Сортировать по ${t.title}`,
1214
1218
  children: /* @__PURE__ */ n.jsx("svg", { width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width: 12, height: 7 }, children: /* @__PURE__ */ n.jsx("path", { fill: ee, d: "M4.99264 0.21967C5.28553 -0.0732233 5.76041 -0.0732233 6.0533 0.21967L10.8263 4.99264C11.1192 5.28553 11.1192 5.76041 10.8263 6.0533C10.5334 6.34619 10.0585 6.34619 9.76561 6.0533L6.27297 2.56066L5.5 1.78769L4.77297 2.56066L1.28033 6.0533C0.987437 6.34619 0.512563 6.34619 0.21967 6.0533C-0.0732234 5.76041 -0.0732234 5.28553 0.21967 4.99264L4.99264 0.21967Z" }) })
1215
1219
  }
@@ -1218,22 +1222,22 @@ function Jt({
1218
1222
  "button",
1219
1223
  {
1220
1224
  className: "radar-table__sort-button",
1221
- onClick: (T) => y(t.key, "DESC"),
1225
+ onClick: (T) => x(t.key, "DESC"),
1222
1226
  title: `Сортировать по ${t.title}`,
1223
1227
  children: /* @__PURE__ */ n.jsx("svg", { width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width: 12, height: 7 }, children: /* @__PURE__ */ n.jsx("path", { fill: oe, d: "M4.99264 6.78033C5.28553 7.07322 5.76041 7.07322 6.0533 6.78033L10.8263 2.00736C11.1192 1.71447 11.1192 1.23959 10.8263 0.946699C10.5334 0.653806 10.0585 0.653806 9.76561 0.946699L6.27297 4.43934L5.5 5.21231L4.77297 4.43934L1.28033 0.946699C0.987437 0.653806 0.512563 0.653806 0.21967 0.946699C-0.0732234 1.23959 -0.0732234 1.71447 0.21967 2.00736L4.99264 6.78033Z" }) })
1224
1228
  }
1225
1229
  )
1226
1230
  ] }),
1227
- t.sortable && $ && _ && $(w.sort_field, w.sort_order),
1231
+ t.sortable && P && y && P(k.sort_field, k.sort_order),
1228
1232
  t.tooltipText && /* @__PURE__ */ n.jsx(At, { text: t.tooltipText, children: t.tooltipIcon }),
1229
- m && _ && /* @__PURE__ */ n.jsx(
1233
+ _ && y && /* @__PURE__ */ n.jsx(
1230
1234
  Ft,
1231
1235
  {
1232
1236
  column: t,
1233
1237
  currWidth: ce,
1234
- currMinWidth: ie,
1238
+ currMinWidth: ne,
1235
1239
  onResize: R,
1236
- scrollContainerRef: re
1240
+ scrollContainerRef: ie
1237
1241
  }
1238
1242
  )
1239
1243
  ]
@@ -1247,70 +1251,70 @@ function nt({
1247
1251
  fullConfig: r,
1248
1252
  onSort: l,
1249
1253
  onResize: d,
1250
- onColumnReorder: w,
1254
+ onColumnReorder: k,
1251
1255
  // ✅ Сохранен (понадобится для передачи в TableDndProvider)
1252
- sortIcon: y,
1256
+ sortIcon: x,
1253
1257
  resizeable: R,
1254
- draggableColumns: $,
1255
- preset: m,
1256
- headerClassName: M,
1258
+ draggableColumns: P,
1259
+ preset: _,
1260
+ headerClassName: B,
1257
1261
  headerStyle: j,
1258
- headerRowClassName: P,
1259
- headerRowStyle: U,
1260
- headerCellClassName: X,
1262
+ headerRowClassName: L,
1263
+ headerRowStyle: K,
1264
+ headerCellClassName: U,
1261
1265
  headerCellStyle: Q,
1262
- headerCellWrapperClassName: K,
1263
- headerCellWrapperStyle: re,
1264
- stickyHeader: V,
1265
- scrollContainerRef: f,
1266
+ headerCellWrapperClassName: q,
1267
+ headerCellWrapperStyle: ie,
1268
+ stickyHeader: z,
1269
+ scrollContainerRef: u,
1266
1270
  // ✅ Сохранен (для передачи в HeaderCell)
1267
- sorting: L,
1268
- defaultSorting: _,
1269
- resizeThrottle: F
1271
+ sorting: I,
1272
+ defaultSorting: y,
1273
+ resizeThrottle: O
1270
1274
  }) {
1271
- const [J, v] = ge(() => _ || { sort_field: void 0, sort_order: void 0 }), g = L !== void 0, o = g ? L : J;
1275
+ const [J, v] = pe(() => y || { sort_field: void 0, sort_order: void 0 }), g = I !== void 0, o = g ? I : J;
1272
1276
  Ie(() => {
1273
- !g && _ && v(_);
1274
- }, [_, g]);
1275
- const x = ae((u, c) => {
1277
+ !g && y && v(y);
1278
+ }, [y, g]);
1279
+ const b = ae((f, c) => {
1276
1280
  const { sort_field: C, sort_order: E } = o;
1277
- let k = {
1278
- sort_field: u,
1281
+ let w = {
1282
+ sort_field: f,
1279
1283
  sort_order: c
1280
1284
  };
1281
- C === u && E === c && (k = {
1285
+ C === f && E === c && (w = {
1282
1286
  sort_field: void 0,
1283
1287
  sort_order: void 0
1284
- }), g || v(k), l == null || l(k.sort_field, k.sort_order);
1288
+ }), g || v(w), l == null || l(w.sort_field, w.sort_order);
1285
1289
  }, [o, l, g]);
1286
1290
  return /* @__PURE__ */ n.jsx(
1287
1291
  "tr",
1288
1292
  {
1289
- className: `radar-table__header-row ${m ? m + "__header-row" : ""} ${P || ""}`,
1290
- style: U,
1291
- children: t.map((u, c) => /* @__PURE__ */ n.jsx(
1293
+ className: `radar-table__header-row ${_ ? _ + "__header-row" : ""} ${L || ""}`,
1294
+ style: K,
1295
+ children: t.map((f, c) => /* @__PURE__ */ n.jsx(
1292
1296
  Jt,
1293
1297
  {
1294
- column: u,
1298
+ column: f,
1295
1299
  index: c,
1296
1300
  config: t,
1297
1301
  fullConfig: r,
1298
1302
  sorting: o,
1299
- onSort: x,
1303
+ onSort: b,
1300
1304
  onResize: d,
1301
- sortIcon: y,
1305
+ sortIcon: x,
1302
1306
  resizeable: R,
1303
- draggableColumns: $,
1304
- preset: m,
1305
- headerCellClassName: X,
1307
+ draggableColumns: P,
1308
+ preset: _,
1309
+ headerCellClassName: U,
1306
1310
  headerCellStyle: Q,
1307
- headerCellWrapperClassName: K,
1308
- headerCellWrapperStyle: re,
1309
- stickyHeader: V,
1310
- scrollContainerRef: f,
1311
- resizeThrottle: F
1311
+ headerCellWrapperClassName: q,
1312
+ headerCellWrapperStyle: ie,
1313
+ stickyHeader: z,
1314
+ scrollContainerRef: u,
1315
+ resizeThrottle: O
1312
1316
  },
1313
- u.key
1317
+ f.key
1314
1318
  ))
1315
1319
  }
1316
1320
  );
@@ -1320,34 +1324,34 @@ function Ht(t) {
1320
1324
  config: r,
1321
1325
  preset: l,
1322
1326
  headerClassName: d,
1323
- headerStyle: w,
1324
- stickyHeader: y,
1327
+ headerStyle: k,
1328
+ stickyHeader: x,
1325
1329
  headerRowClassName: R,
1326
- headerRowStyle: $,
1327
- headerCellClassName: m,
1328
- headerCellStyle: M,
1330
+ headerRowStyle: P,
1331
+ headerCellClassName: _,
1332
+ headerCellStyle: B,
1329
1333
  headerCellWrapperClassName: j,
1330
- headerCellWrapperStyle: P,
1331
- onResize: U,
1332
- onColumnReorder: X,
1334
+ headerCellWrapperStyle: L,
1335
+ onResize: K,
1336
+ onColumnReorder: U,
1333
1337
  sorting: Q,
1334
- defaultSorting: K
1335
- } = t, re = r.some((_) => _.children && _.children.length > 0), V = Ae(() => {
1336
- if (!re)
1338
+ defaultSorting: q
1339
+ } = t, ie = r.some((y) => y.children && y.children.length > 0), z = Ae(() => {
1340
+ if (!ie)
1337
1341
  return null;
1338
- const _ = {}, F = (J, v = 0) => {
1339
- _[v] || (_[v] = []), J.forEach((g) => {
1340
- g.hidden || (_[v].push(g), g.children && g.children.length > 0 && F(g.children, v + 1));
1342
+ const y = {}, O = (J, v = 0) => {
1343
+ y[v] || (y[v] = []), J.forEach((g) => {
1344
+ g.hidden || (y[v].push(g), g.children && g.children.length > 0 && O(g.children, v + 1));
1341
1345
  });
1342
1346
  };
1343
- return F(r), _;
1344
- }, [r, re]), f = ae((_, F) => {
1345
- if (!U) return;
1346
- const J = (o, x) => {
1347
- for (const u of o) {
1348
- if (u.key === x) return u;
1349
- if (u.children) {
1350
- const c = J(u.children, x);
1347
+ return O(r), y;
1348
+ }, [r, ie]), u = ae((y, O) => {
1349
+ if (!K) return;
1350
+ const J = (o, b) => {
1351
+ for (const f of o) {
1352
+ if (f.key === b) return f;
1353
+ if (f.children) {
1354
+ const c = J(f.children, b);
1351
1355
  if (c) return c;
1352
1356
  }
1353
1357
  }
@@ -1355,122 +1359,122 @@ function Ht(t) {
1355
1359
  }, v = (o) => {
1356
1360
  if (!o.children || o.children.length === 0)
1357
1361
  return [o];
1358
- const x = [];
1359
- return o.children.forEach((u) => {
1360
- u.hidden || x.push(...v(u));
1361
- }), x;
1362
- }, g = J(r, _);
1362
+ const b = [];
1363
+ return o.children.forEach((f) => {
1364
+ f.hidden || b.push(...v(f));
1365
+ }), b;
1366
+ }, g = J(r, y);
1363
1367
  if (g)
1364
1368
  if (g.children && g.children.length > 0) {
1365
1369
  const o = v(g);
1366
1370
  if (o.length > 0) {
1367
- const x = o.reduce((c, C) => c + (C.width || C.minWidth || 200), 0), u = F / x;
1371
+ const b = o.reduce((c, C) => c + (C.width || C.minWidth || 200), 0), f = O / b;
1368
1372
  o.forEach((c) => {
1369
- const C = Math.max(50, Math.round((c.width || c.minWidth || 200) * u));
1370
- U(c.key, C);
1373
+ const C = Math.max(50, Math.round((c.width || c.minWidth || 200) * f));
1374
+ K(c.key, C);
1371
1375
  });
1372
1376
  }
1373
1377
  } else
1374
- U(_, F);
1375
- }, [r, U]), L = ae((_) => {
1376
- if (!X) return;
1377
- if (!re) {
1378
- X(_);
1378
+ K(y, O);
1379
+ }, [r, K]), I = ae((y) => {
1380
+ if (!U) return;
1381
+ if (!ie) {
1382
+ U(y);
1379
1383
  return;
1380
1384
  }
1381
- const F = (A, I, Z = [], ee = null) => {
1385
+ const O = (A, W, G = [], ee = null) => {
1382
1386
  for (let oe = 0; oe < A.length; oe++) {
1383
- const B = A[oe], T = [...Z, oe];
1384
- if (B.key === I)
1387
+ const V = A[oe], T = [...G, oe];
1388
+ if (V.key === W)
1385
1389
  return {
1386
- column: B,
1390
+ column: V,
1387
1391
  parent: ee,
1388
1392
  path: T,
1389
- level: Z.length
1393
+ level: G.length
1390
1394
  };
1391
- if (B.children && B.children.length > 0) {
1392
- const G = F(B.children, I, T, B);
1393
- if (G)
1394
- return G;
1395
+ if (V.children && V.children.length > 0) {
1396
+ const X = O(V.children, W, T, V);
1397
+ if (X)
1398
+ return X;
1395
1399
  }
1396
1400
  }
1397
1401
  return null;
1398
1402
  };
1399
- if (!Object.values(V).find((A) => {
1400
- if (A.length !== _.length) return !1;
1401
- const I = A.map((ee) => ee.key).sort(), Z = _.map((ee) => ee.key).sort();
1402
- return JSON.stringify(I) === JSON.stringify(Z);
1403
+ if (!Object.values(z).find((A) => {
1404
+ if (A.length !== y.length) return !1;
1405
+ const W = A.map((ee) => ee.key).sort(), G = y.map((ee) => ee.key).sort();
1406
+ return JSON.stringify(W) === JSON.stringify(G);
1403
1407
  }))
1404
1408
  return;
1405
- const v = _._dragInfo;
1409
+ const v = y._dragInfo;
1406
1410
  if (!(v != null && v.draggedKey) || !(v != null && v.targetKey))
1407
1411
  return;
1408
- const { draggedKey: g, targetKey: o } = v, x = F(r, g), u = F(r, o);
1409
- if (!x || !u) return;
1410
- const { column: c, parent: C, path: E, level: k } = x, { column: O, parent: le, path: ne, level: q } = u, ce = (A, I) => A.fixed || (I == null ? void 0 : I.fixed) || !1, ie = ce(c, C), de = ce(O, le);
1411
- if (k !== q || C !== le || C && le && C.key !== le.key || ie !== de)
1412
+ const { draggedKey: g, targetKey: o } = v, b = O(r, g), f = O(r, o);
1413
+ if (!b || !f) return;
1414
+ const { column: c, parent: C, path: E, level: w } = b, { column: $, parent: le, path: re, level: Z } = f, ce = (A, W) => A.fixed || (W == null ? void 0 : W.fixed) || !1, ne = ce(c, C), de = ce($, le);
1415
+ if (w !== Z || C !== le || C && le && C.key !== le.key || ne !== de)
1412
1416
  return;
1413
1417
  const he = JSON.parse(JSON.stringify(r));
1414
- if (k === 0) {
1415
- const A = E[0], I = ne[0], [Z] = he.splice(A, 1);
1416
- he.splice(I, 0, Z);
1418
+ if (w === 0) {
1419
+ const A = E[0], W = re[0], [G] = he.splice(A, 1);
1420
+ he.splice(W, 0, G);
1417
1421
  } else {
1418
1422
  const A = E.slice(0, -1);
1419
- let I = he;
1420
- for (let B = 0; B < A.length; B++)
1421
- B === 0 ? I = I[A[B]] : I = I.children[A[B]];
1422
- if (!I || !I.children)
1423
+ let W = he;
1424
+ for (let V = 0; V < A.length; V++)
1425
+ V === 0 ? W = W[A[V]] : W = W.children[A[V]];
1426
+ if (!W || !W.children)
1423
1427
  return;
1424
- const Z = E[E.length - 1], ee = ne[ne.length - 1];
1425
- if (Z < 0 || Z >= I.children.length || ee < 0 || ee >= I.children.length)
1428
+ const G = E[E.length - 1], ee = re[re.length - 1];
1429
+ if (G < 0 || G >= W.children.length || ee < 0 || ee >= W.children.length)
1426
1430
  return;
1427
- const [oe] = I.children.splice(Z, 1);
1428
- I.children.splice(ee, 0, oe);
1431
+ const [oe] = W.children.splice(G, 1);
1432
+ W.children.splice(ee, 0, oe);
1429
1433
  }
1430
- X(he);
1431
- }, [r, X, V]);
1432
- return re ? /* @__PURE__ */ n.jsx(
1434
+ U(he);
1435
+ }, [r, U, z]);
1436
+ return ie ? /* @__PURE__ */ n.jsx(
1433
1437
  "thead",
1434
1438
  {
1435
1439
  className: `radar-table__header ${l ? l + "__header" : ""} ${d}`,
1436
1440
  style: {
1437
- position: y ? "sticky" : "static",
1438
- top: y && typeof y == "number" ? y : 0,
1439
- ...w
1441
+ position: x ? "sticky" : "static",
1442
+ top: x && typeof x == "number" ? x : 0,
1443
+ ...k
1440
1444
  },
1441
- children: Object.keys(V).map((_) => {
1442
- const F = V[parseInt(_)], J = parseInt(_);
1445
+ children: Object.keys(z).map((y) => {
1446
+ const O = z[parseInt(y)], J = parseInt(y);
1443
1447
  return /* @__PURE__ */ n.jsx(
1444
1448
  nt,
1445
1449
  {
1446
- config: F,
1450
+ config: O,
1447
1451
  fullConfig: r,
1448
1452
  onSort: t.onSort,
1449
- onResize: f,
1450
- onColumnReorder: L,
1453
+ onResize: u,
1454
+ onColumnReorder: I,
1451
1455
  resizeable: t.resizeable,
1452
1456
  draggableColumns: t.draggableColumns,
1453
1457
  preset: l,
1454
1458
  headerClassName: d,
1455
- headerStyle: w,
1459
+ headerStyle: k,
1456
1460
  headerRowClassName: R,
1457
1461
  headerRowStyle: {
1458
- ...$,
1459
- position: y ? "sticky" : "static",
1460
- top: y && typeof y == "number" ? y + (J - 1) * 50 : 0
1462
+ ...P,
1463
+ position: x ? "sticky" : "static",
1464
+ top: x && typeof x == "number" ? x + (J - 1) * 50 : 0
1461
1465
  },
1462
- headerCellClassName: m,
1463
- headerCellStyle: M,
1466
+ headerCellClassName: _,
1467
+ headerCellStyle: B,
1464
1468
  headerCellWrapperClassName: j,
1465
- headerCellWrapperStyle: P,
1466
- stickyHeader: y,
1469
+ headerCellWrapperStyle: L,
1470
+ stickyHeader: x,
1467
1471
  sortIcon: t.sortIcon,
1468
1472
  scrollContainerRef: t.scrollContainerRef,
1469
1473
  sorting: Q,
1470
- defaultSorting: K,
1474
+ defaultSorting: q,
1471
1475
  resizeThrottle: t.resizeThrottle
1472
1476
  },
1473
- _
1477
+ y
1474
1478
  );
1475
1479
  })
1476
1480
  }
@@ -1479,11 +1483,11 @@ function Ht(t) {
1479
1483
  {
1480
1484
  className: `radar-table__header ${l ? l + "__header" : ""} ${d}`,
1481
1485
  style: {
1482
- position: y ? "sticky" : "static",
1483
- top: y && typeof y == "number" ? y : 0,
1484
- ...w
1486
+ position: x ? "sticky" : "static",
1487
+ top: x && typeof x == "number" ? x : 0,
1488
+ ...k
1485
1489
  },
1486
- children: /* @__PURE__ */ n.jsx(nt, { ...t, fullConfig: r, onResize: f, onColumnReorder: L, scrollContainerRef: t.scrollContainerRef, sorting: Q, defaultSorting: K, resizeThrottle: t.resizeThrottle })
1490
+ children: /* @__PURE__ */ n.jsx(nt, { ...t, fullConfig: r, onResize: u, onColumnReorder: I, scrollContainerRef: t.scrollContainerRef, sorting: Q, defaultSorting: q, resizeThrottle: t.resizeThrottle })
1487
1491
  }
1488
1492
  );
1489
1493
  }
@@ -1498,58 +1502,58 @@ const Yt = (t, r) => {
1498
1502
  }), r && (l += ` ${r}`);
1499
1503
  }
1500
1504
  return l;
1501
- }, Kt = (t) => {
1505
+ }, qt = (t) => {
1502
1506
  var r;
1503
1507
  return typeof window < "u" && ((r = window.CSS) != null && r.escape) ? window.CSS.escape(t) : t.replace(/([#.;?\[\]\s])/g, "\\$1");
1504
- }, Ut = (t) => {
1508
+ }, Kt = (t) => {
1505
1509
  if (typeof document > "u") return null;
1506
- const r = `th[data-column-key="${Kt(t)}"]`, l = document.querySelector(r);
1510
+ const r = `th[data-column-key="${qt(t)}"]`, l = document.querySelector(r);
1507
1511
  return l ? l.getBoundingClientRect().width : null;
1508
- }, qt = typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("firefox");
1512
+ }, Ut = typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("firefox");
1509
1513
  function Zt({
1510
1514
  draggableRows: t = !1,
1511
1515
  dataSource: r,
1512
1516
  config: l,
1513
1517
  rowKey: d,
1514
- loading: w = !1,
1515
- onRowReorder: y,
1518
+ loading: k = !1,
1519
+ onRowReorder: x,
1516
1520
  preset: R,
1517
- customCellRender: $,
1518
- treeMode: m,
1519
- expandedRowKeys: M,
1521
+ customCellRender: P,
1522
+ treeMode: _,
1523
+ expandedRowKeys: B,
1520
1524
  defaultExpandedRowKeys: j,
1521
- onExpandedRowsChange: P,
1522
- indentSize: U,
1523
- expandIcon: X,
1525
+ onExpandedRowsChange: L,
1526
+ indentSize: K,
1527
+ expandIcon: U,
1524
1528
  bodyClassName: Q,
1525
- bodyStyle: K,
1526
- bodyRowClassName: re,
1527
- bodyRowStyle: V,
1528
- bodyCellClassName: f,
1529
- bodyCellStyle: L,
1530
- bodyCellWrapperClassName: _,
1531
- bodyCellWrapperStyle: F,
1529
+ bodyStyle: q,
1530
+ bodyRowClassName: ie,
1531
+ bodyRowStyle: z,
1532
+ bodyCellClassName: u,
1533
+ bodyCellStyle: I,
1534
+ bodyCellWrapperClassName: y,
1535
+ bodyCellWrapperStyle: O,
1532
1536
  noDataRender: J,
1533
1537
  scrollContainerRef: v,
1534
1538
  recalculateRowHeight: g
1535
1539
  }) {
1536
- var W;
1537
- const [o, x] = ge(null), [u, c] = ge(null), [C, E] = ge(() => j && j.length > 0 ? new Set(j) : /* @__PURE__ */ new Set()), k = Ne.useMemo(() => M ? new Set(M) : C, [M, C]), O = ae((a) => {
1538
- M || E(new Set(a)), P == null || P(a);
1539
- }, [M, P]), le = ae((a) => d ? d(a) : JSON.stringify(a), [d]), ne = Ne.useMemo(() => {
1540
- if (!m) return [];
1541
- const a = [], b = r;
1542
- return b.forEach((h, s) => {
1540
+ var F;
1541
+ const [o, b] = pe(null), [f, c] = pe(null), [C, E] = pe(() => j && j.length > 0 ? new Set(j) : /* @__PURE__ */ new Set()), w = Ne.useMemo(() => B ? new Set(B) : C, [B, C]), $ = ae((i) => {
1542
+ B || E(new Set(i)), L == null || L(i);
1543
+ }, [B, L]), le = ae((i) => d ? d(i) : JSON.stringify(i), [d]), re = Ne.useMemo(() => {
1544
+ if (!_) return [];
1545
+ const i = [], m = r;
1546
+ return m.forEach((h, s) => {
1543
1547
  const D = le(h), H = h == null ? void 0 : h.children;
1544
- a.push({
1548
+ i.push({
1545
1549
  record: h,
1546
1550
  key: D,
1547
1551
  type: "parent",
1548
1552
  depth: 0,
1549
1553
  indexWithinGroup: s,
1550
- groupSize: b.length
1551
- }), H && H.length > 0 && k.has(D) && H.forEach((N, xe) => {
1552
- a.push({
1554
+ groupSize: m.length
1555
+ }), H && H.length > 0 && w.has(D) && H.forEach((N, xe) => {
1556
+ i.push({
1553
1557
  record: N,
1554
1558
  key: le(N),
1555
1559
  type: "child",
@@ -1559,14 +1563,14 @@ function Zt({
1559
1563
  groupSize: H.length
1560
1564
  });
1561
1565
  });
1562
- }), a;
1563
- }, [m, r, le, k]), q = Ne.useMemo(() => {
1564
- const a = /* @__PURE__ */ new Map();
1565
- return ne.forEach((b) => a.set(b.key, b)), a;
1566
- }, [ne]);
1566
+ }), i;
1567
+ }, [_, r, le, w]), Z = Ne.useMemo(() => {
1568
+ const i = /* @__PURE__ */ new Map();
1569
+ return re.forEach((m) => i.set(m.key, m)), i;
1570
+ }, [re]);
1567
1571
  Ie(() => {
1568
- qt && g && (() => {
1569
- const b = document.querySelectorAll(".radar-table__body-row");
1572
+ Ut && g && (() => {
1573
+ const m = document.querySelectorAll(".radar-table__body-row");
1570
1574
  document.querySelectorAll(".radar-table__header-row").forEach((s) => {
1571
1575
  const D = s.querySelectorAll(".radar-table__header-cell-wrapper");
1572
1576
  let H = 0;
@@ -1575,7 +1579,7 @@ function Zt({
1575
1579
  }), D.forEach((N) => {
1576
1580
  N.style.height = H + "px";
1577
1581
  });
1578
- }), b.forEach((s) => {
1582
+ }), m.forEach((s) => {
1579
1583
  const D = s.querySelectorAll(".radar-table__body-cell-wrapper");
1580
1584
  let H = 0;
1581
1585
  D.forEach((N) => {
@@ -1586,34 +1590,34 @@ function Zt({
1586
1590
  });
1587
1591
  })();
1588
1592
  }, [r, l]);
1589
- const ie = ((a) => {
1590
- const b = [], h = (s) => {
1593
+ const ne = ((i) => {
1594
+ const m = [], h = (s) => {
1591
1595
  s.forEach((D) => {
1592
- D.children && D.children.length > 0 ? h(D.children) : b.push(D);
1596
+ D.children && D.children.length > 0 ? h(D.children) : m.push(D);
1593
1597
  });
1594
1598
  };
1595
- return h(a), b;
1596
- })(l), de = (a) => {
1597
- if (a.groupColor)
1598
- return a.groupColor;
1599
- const b = (s, D) => {
1599
+ return h(i), m;
1600
+ })(l), de = (i) => {
1601
+ if (i.groupColor)
1602
+ return i.groupColor;
1603
+ const m = (s, D) => {
1600
1604
  for (const H of s)
1601
1605
  if (H.children) {
1602
1606
  if (H.children.some((xe) => xe.key === D))
1603
1607
  return H;
1604
- const N = b(H.children, D);
1608
+ const N = m(H.children, D);
1605
1609
  if (N) return N;
1606
1610
  }
1607
1611
  return null;
1608
- }, h = b(l, a.key);
1612
+ }, h = m(l, i.key);
1609
1613
  return h == null ? void 0 : h.groupColor;
1610
- }, he = ae((a, b) => {
1611
- if (!b) {
1612
- a.preventDefault();
1614
+ }, he = ae((i, m) => {
1615
+ if (!m) {
1616
+ i.preventDefault();
1613
1617
  return;
1614
1618
  }
1615
- x(b), a.dataTransfer.effectAllowed = "move", a.dataTransfer.setData("text/plain", b), document.body.style.cursor = "grabbing";
1616
- const h = r.find((s) => (d ? d(s) : JSON.stringify(s)) === b);
1619
+ b(m), i.dataTransfer.effectAllowed = "move", i.dataTransfer.setData("text/plain", m), document.body.style.cursor = "grabbing";
1620
+ const h = r.find((s) => (d ? d(s) : JSON.stringify(s)) === m);
1617
1621
  if (h) {
1618
1622
  const s = document.createElement("div");
1619
1623
  s.style.cssText = `
@@ -1630,52 +1634,52 @@ function Zt({
1630
1634
  overflow: hidden;
1631
1635
  text-overflow: ellipsis;
1632
1636
  `;
1633
- const D = ie[0];
1637
+ const D = ne[0];
1634
1638
  if (D) {
1635
1639
  const N = h[D.key];
1636
1640
  s.textContent = (N == null ? void 0 : N.toString()) || "Строка";
1637
1641
  } else
1638
1642
  s.textContent = "Строка";
1639
- document.body.appendChild(s), s.style.position = "absolute", s.style.top = "-1000px", s.style.left = "-1000px", a.dataTransfer.setDragImage(s, 10, 10);
1643
+ document.body.appendChild(s), s.style.position = "absolute", s.style.top = "-1000px", s.style.left = "-1000px", i.dataTransfer.setDragImage(s, 10, 10);
1640
1644
  const H = setTimeout(() => {
1641
1645
  document.body.contains(s) && document.body.removeChild(s);
1642
1646
  }, 0);
1643
1647
  return () => clearTimeout(H);
1644
1648
  }
1645
- }, []), A = ae((a) => {
1646
- a.preventDefault(), a.dataTransfer.dropEffect = "move";
1647
- }, []), I = ae((a, b) => {
1648
- if (a.preventDefault(), !o) return;
1649
- if (!m) {
1650
- o !== b && c(b);
1649
+ }, []), A = ae((i) => {
1650
+ i.preventDefault(), i.dataTransfer.dropEffect = "move";
1651
+ }, []), W = ae((i, m) => {
1652
+ if (i.preventDefault(), !o) return;
1653
+ if (!_) {
1654
+ o !== m && c(m);
1651
1655
  return;
1652
1656
  }
1653
- const h = q.get(o), s = q.get(b);
1657
+ const h = Z.get(o), s = Z.get(m);
1654
1658
  if (!h || !s) return;
1655
1659
  const D = h.type === "parent" && s.type === "parent" || h.type === "child" && s.type === "child" && h.parentKey === s.parentKey;
1656
- c(D && o !== b ? b : null);
1657
- }, [o, m, q]), Z = ae((a) => {
1658
- a.preventDefault(), c(null);
1660
+ c(D && o !== m ? m : null);
1661
+ }, [o, _, Z]), G = ae((i) => {
1662
+ i.preventDefault(), c(null);
1659
1663
  }, []), ee = ae(() => {
1660
- x(null), c(null), document.body.style.cursor = "";
1661
- }, []), oe = ae((a, b) => {
1662
- if (a.preventDefault(), !o || o === b)
1664
+ b(null), c(null), document.body.style.cursor = "";
1665
+ }, []), oe = ae((i, m) => {
1666
+ if (i.preventDefault(), !o || o === m)
1663
1667
  return;
1664
- if (!m) {
1665
- const D = r.findIndex((pe) => (d ? d(pe) : JSON.stringify(pe)) === o), H = r.findIndex((pe) => (d ? d(pe) : JSON.stringify(pe)) === b);
1668
+ if (!_) {
1669
+ const D = r.findIndex((ge) => (d ? d(ge) : JSON.stringify(ge)) === o), H = r.findIndex((ge) => (d ? d(ge) : JSON.stringify(ge)) === m);
1666
1670
  if (D === -1 || H === -1)
1667
1671
  return;
1668
1672
  const N = [...r], [xe] = N.splice(D, 1);
1669
- N.splice(H, 0, xe), y == null || y(N), x(null), c(null), document.body.style.cursor = "";
1673
+ N.splice(H, 0, xe), x == null || x(N), b(null), c(null), document.body.style.cursor = "";
1670
1674
  return;
1671
1675
  }
1672
- const h = q.get(o), s = q.get(b);
1676
+ const h = Z.get(o), s = Z.get(m);
1673
1677
  if (!(!h || !s)) {
1674
1678
  if (h.type === "parent" && s.type === "parent") {
1675
- const D = r.findIndex((pe) => (d ? d(pe) : JSON.stringify(pe)) === h.key), H = r.findIndex((pe) => (d ? d(pe) : JSON.stringify(pe)) === s.key);
1679
+ const D = r.findIndex((ge) => (d ? d(ge) : JSON.stringify(ge)) === h.key), H = r.findIndex((ge) => (d ? d(ge) : JSON.stringify(ge)) === s.key);
1676
1680
  if (D === -1 || H === -1) return;
1677
1681
  const N = [...r], [xe] = N.splice(D, 1);
1678
- N.splice(H, 0, xe), y == null || y(N), x(null), c(null), document.body.style.cursor = "";
1682
+ N.splice(H, 0, xe), x == null || x(N), b(null), c(null), document.body.style.cursor = "";
1679
1683
  return;
1680
1684
  }
1681
1685
  if (h.type === "child" && s.type === "child" && h.parentKey === s.parentKey) {
@@ -1683,169 +1687,169 @@ function Zt({
1683
1687
  if (D === -1) return;
1684
1688
  const H = r[D], N = H == null ? void 0 : H.children;
1685
1689
  if (!N || N.length === 0) return;
1686
- const xe = N.findIndex((ve) => (d ? d(ve) : JSON.stringify(ve)) === h.key), pe = N.findIndex((ve) => (d ? d(ve) : JSON.stringify(ve)) === s.key);
1687
- if (xe === -1 || pe === -1) return;
1688
- const me = r.map((ve, Ee) => {
1689
- if (Ee !== D) return ve;
1690
+ const xe = N.findIndex((ve) => (d ? d(ve) : JSON.stringify(ve)) === h.key), ge = N.findIndex((ve) => (d ? d(ve) : JSON.stringify(ve)) === s.key);
1691
+ if (xe === -1 || ge === -1) return;
1692
+ const _e = r.map((ve, we) => {
1693
+ if (we !== D) return ve;
1690
1694
  const ke = [...N], [Se] = ke.splice(xe, 1);
1691
- return ke.splice(pe, 0, Se), { ...ve, children: ke };
1695
+ return ke.splice(ge, 0, Se), { ...ve, children: ke };
1692
1696
  });
1693
- y == null || y(me), x(null), c(null), document.body.style.cursor = "";
1697
+ x == null || x(_e), b(null), c(null), document.body.style.cursor = "";
1694
1698
  return;
1695
1699
  }
1696
1700
  }
1697
- }, [o, r, d, y, m, q]);
1701
+ }, [o, r, d, x, _, Z]);
1698
1702
  if (r.length === 0) {
1699
- let a;
1700
- return v && (a = ((W = v.current) == null ? void 0 : W.clientWidth) + "px"), /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${R ? R + "__body" : ""} ${Q}`, style: K, children: /* @__PURE__ */ n.jsx(
1703
+ let i;
1704
+ return v && (i = ((F = v.current) == null ? void 0 : F.clientWidth) + "px"), /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${R ? R + "__body" : ""} ${Q}`, style: q, children: /* @__PURE__ */ n.jsx(
1701
1705
  "tr",
1702
1706
  {
1703
- className: `radar-table__body-row ${R ? R + "__body-row" : ""} ${re}`,
1704
- style: V,
1707
+ className: `radar-table__body-row ${R ? R + "__body-row" : ""} ${ie}`,
1708
+ style: z,
1705
1709
  children: /* @__PURE__ */ n.jsxs(
1706
1710
  "td",
1707
1711
  {
1708
- className: `radar-table__body-cell ${R ? R + "__body-cell" : ""} ${f}`,
1709
- colSpan: ie.length,
1712
+ className: `radar-table__body-cell ${R ? R + "__body-cell" : ""} ${u}`,
1713
+ colSpan: ne.length,
1710
1714
  style: {
1711
- ...L
1715
+ ...I
1712
1716
  },
1713
1717
  children: [
1714
1718
  J && J(),
1715
- !J && /* @__PURE__ */ n.jsx("div", { className: `${a ? "radar-table__body-noData_width" : "radar-table__body-noData"}`, style: { width: a || "" }, children: "Нет данных" })
1719
+ !J && /* @__PURE__ */ n.jsx("div", { className: `${i ? "radar-table__body-noData_width" : "radar-table__body-noData"}`, style: { width: i || "" }, children: "Нет данных" })
1716
1720
  ]
1717
1721
  }
1718
1722
  )
1719
1723
  }
1720
1724
  ) });
1721
1725
  }
1722
- const B = m ? ne : r.map((a) => ({
1723
- record: a,
1724
- key: d ? d(a) : JSON.stringify(a),
1726
+ const V = _ ? re : r.map((i) => ({
1727
+ record: i,
1728
+ key: d ? d(i) : JSON.stringify(i),
1725
1729
  type: "parent",
1726
1730
  depth: 0,
1727
1731
  indexWithinGroup: 0,
1728
1732
  groupSize: r.length
1729
- })), T = ae((a) => {
1730
- const b = new Set(k);
1731
- b.has(a) ? b.delete(a) : b.add(a), O(Array.from(b));
1732
- }, [k, O]);
1733
- function G({ column: a, index: b, row: h, item: s }) {
1733
+ })), T = ae((i) => {
1734
+ const m = new Set(w);
1735
+ m.has(i) ? m.delete(i) : m.add(i), $(Array.from(m));
1736
+ }, [w, $]);
1737
+ function X({ column: i, index: m, row: h, item: s }) {
1734
1738
  var Oe, $e;
1735
- const D = je(null), [H, N] = ge(0), xe = a.fixed && !a.width ? 200 : a.width, pe = a.fixed && !a.minWidth ? 200 : a.minWidth;
1736
- let me = !1;
1737
- $ && $.idx.includes(a.dataIndex) && (me = !0), $ && $.idx.length === 0 && (me = !0), lt(() => {
1738
- if (!a.fixed) {
1739
+ const D = Ce(null), [H, N] = pe(0), xe = i.fixed && !i.width ? 200 : i.width, ge = i.fixed && !i.minWidth ? 200 : i.minWidth;
1740
+ let _e = !1;
1741
+ P && P.idx.includes(i.dataIndex) && (_e = !0), P && P.idx.length === 0 && (_e = !0), lt(() => {
1742
+ if (!i.fixed) {
1739
1743
  N(0);
1740
1744
  return;
1741
1745
  }
1742
- let Fe = a.fixedLeft || 0;
1743
- if (b !== 0) {
1744
- for (let Ce = 0; Ce < b; Ce++)
1745
- if (ie[Ce].fixed && !ie[Ce].hidden) {
1746
- const ze = ie[Ce].width || ie[Ce].minWidth || 200, Me = Ut(ie[Ce].key);
1746
+ let Fe = i.fixedLeft || 0;
1747
+ if (m !== 0) {
1748
+ for (let Ee = 0; Ee < m; Ee++)
1749
+ if (ne[Ee].fixed && !ne[Ee].hidden) {
1750
+ const ze = ne[Ee].width || ne[Ee].minWidth || 200, Me = Kt(ne[Ee].key);
1747
1751
  Fe += Math.floor(Me ?? ze) - 0.05;
1748
1752
  }
1749
1753
  }
1750
1754
  N(Fe);
1751
- }, [a.fixed, a.fixedLeft, a.width, b]);
1752
- const ve = de(a), Ee = b === 0, ke = m && Ee && h.depth > 0 ? h.depth * (U || 16) : void 0, Se = !!(m && h.type === "parent"), we = !!(m && k.has(h.key)), We = !!(m && Se && (s != null && s.children) && s.children.length > 0);
1753
- return a.hidden ? null : /* @__PURE__ */ n.jsx(
1755
+ }, [i.fixed, i.fixedLeft, i.width, m]);
1756
+ const ve = de(i), we = m === 0, ke = _ && we && h.depth > 0 ? h.depth * (K || 16) : void 0, Se = !!(_ && h.type === "parent"), je = !!(_ && w.has(h.key)), We = !!(_ && Se && (s != null && s.children) && s.children.length > 0);
1757
+ return i.hidden ? null : /* @__PURE__ */ n.jsx(
1754
1758
  "td",
1755
1759
  {
1756
1760
  ref: D,
1757
- "data-column-key": a.key,
1758
- className: `radar-table__body-cell ${R ? R + "__body-cell" : ""} ${f}`,
1761
+ "data-column-key": i.key,
1762
+ className: `radar-table__body-cell ${R ? R + "__body-cell" : ""} ${u}`,
1759
1763
  style: {
1760
1764
  width: xe,
1761
- minWidth: pe,
1762
- position: a.fixed ? "sticky" : "static",
1765
+ minWidth: ge,
1766
+ position: i.fixed ? "sticky" : "static",
1763
1767
  left: H,
1764
- borderRight: a.fixed && !((Oe = ie[b + 1]) != null && Oe.fixed) ? "1px solid #E8E8E8" : "none",
1765
- cursor: Ee && We ? "pointer" : "default",
1766
- ...L
1768
+ borderRight: i.fixed && !((Oe = ne[m + 1]) != null && Oe.fixed) ? "1px solid #E8E8E8" : "none",
1769
+ cursor: we && We ? "pointer" : "default",
1770
+ ...I
1767
1771
  },
1768
- onClick: Ee && We ? () => T(h.key) : void 0,
1772
+ onClick: we && We ? () => T(h.key) : void 0,
1769
1773
  children: /* @__PURE__ */ n.jsxs(
1770
1774
  "div",
1771
1775
  {
1772
- className: `radar-table__body-cell-wrapper ${R ? R + "__body-cell-wrapper" : ""} ${_}`,
1776
+ className: `radar-table__body-cell-wrapper ${R ? R + "__body-cell-wrapper" : ""} ${y}`,
1773
1777
  style: {
1774
1778
  backgroundColor: ve || "white",
1775
1779
  paddingLeft: ke,
1776
- ...F
1780
+ ...O
1777
1781
  },
1778
1782
  children: [
1779
- Ee && Se && m && (s == null ? void 0 : s.children) && s.children.length > 0 && /* @__PURE__ */ n.jsx(
1783
+ we && Se && _ && (s == null ? void 0 : s.children) && s.children.length > 0 && /* @__PURE__ */ n.jsx(
1780
1784
  "button",
1781
1785
  {
1782
1786
  type: "button",
1783
- className: `radar-table__expander-btn ${we ? "expanded" : ""}`,
1784
- "aria-expanded": we,
1787
+ className: `radar-table__expander-btn ${je ? "expanded" : ""}`,
1788
+ "aria-expanded": je,
1785
1789
  onClick: () => T(h.key),
1786
- style: { marginRight: 8, background: "transparent", border: "none", transform: we ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
1787
- title: we ? "Свернуть" : "Развернуть",
1788
- children: X ? X(we, s) : /* @__PURE__ */ n.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M4.99264 6.91705C5.28553 7.20994 5.76041 7.20994 6.0533 6.91705L10.8263 2.14408C11.1192 1.85118 11.1192 1.37631 10.8263 1.08342C10.5334 0.790524 10.0585 0.790524 9.76561 1.08342L6.27297 4.57606L5.5 5.34903L4.77297 4.57606L1.28033 1.08342C0.987437 0.790524 0.512563 0.790524 0.21967 1.08342C-0.0732234 1.37631 -0.0732234 1.85118 0.21967 2.14408L4.99264 6.91705Z", fill: "#8C8C8C" }) })
1790
+ style: { marginRight: 8, background: "transparent", border: "none", transform: je ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
1791
+ title: je ? "Свернуть" : "Развернуть",
1792
+ children: U ? U(je, s) : /* @__PURE__ */ n.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M4.99264 6.91705C5.28553 7.20994 5.76041 7.20994 6.0533 6.91705L10.8263 2.14408C11.1192 1.85118 11.1192 1.37631 10.8263 1.08342C10.5334 0.790524 10.0585 0.790524 9.76561 1.08342L6.27297 4.57606L5.5 5.34903L4.77297 4.57606L1.28033 1.08342C0.987437 0.790524 0.512563 0.790524 0.21967 1.08342C-0.0732234 1.37631 -0.0732234 1.85118 0.21967 2.14408L4.99264 6.91705Z", fill: "#8C8C8C" }) })
1789
1793
  }
1790
1794
  ),
1791
- me ? $ == null ? void 0 : $.renderer(s[a.dataIndex], s, b, a.dataIndex) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1792
- a.units && Yt((($e = s[a.key]) == null ? void 0 : $e.toString()) || "", a.units),
1793
- !a.units && s[a.key]
1795
+ _e ? P == null ? void 0 : P.renderer(s[i.dataIndex], s, m, i.dataIndex) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1796
+ i.units && Yt((($e = s[i.key]) == null ? void 0 : $e.toString()) || "", i.units),
1797
+ !i.units && s[i.key]
1794
1798
  ] })
1795
1799
  ]
1796
1800
  }
1797
1801
  )
1798
1802
  },
1799
- a.key
1803
+ i.key
1800
1804
  );
1801
1805
  }
1802
- return /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${R ? R + "__body" : ""} ${Q}`, style: K, children: B.map((a) => {
1803
- const b = a.record, h = a.key;
1806
+ return /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${R ? R + "__body" : ""} ${Q}`, style: q, children: V.map((i) => {
1807
+ const m = i.record, h = i.key;
1804
1808
  return /* @__PURE__ */ n.jsx(
1805
1809
  "tr",
1806
1810
  {
1807
- className: `radar-table__body-row ${R ? R + "__body-row" : ""} ${re} ${o === h ? "dragging" : ""} ${u === h ? "drag-over" : ""} ${m ? a.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
1808
- style: V,
1811
+ className: `radar-table__body-row ${R ? R + "__body-row" : ""} ${ie} ${o === h ? "dragging" : ""} ${f === h ? "drag-over" : ""} ${_ ? i.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
1812
+ style: z,
1809
1813
  draggable: t,
1810
1814
  onDragStart: (s) => he(s, h),
1811
1815
  onDragOver: A,
1812
- onDragEnter: (s) => I(s, h),
1813
- onDragLeave: Z,
1816
+ onDragEnter: (s) => W(s, h),
1817
+ onDragLeave: G,
1814
1818
  onDrop: (s) => oe(s, h),
1815
1819
  onDragEnd: ee,
1816
- children: ie.map((s, D) => /* @__PURE__ */ n.jsx(G, { column: s, index: D, row: a, item: b }, s.key))
1820
+ children: ne.map((s, D) => /* @__PURE__ */ n.jsx(X, { column: s, index: D, row: i, item: m }, s.key))
1817
1821
  },
1818
1822
  h
1819
1823
  );
1820
1824
  }) });
1821
1825
  }
1822
- const it = ({ config: t }) => {
1823
- const [{ current: r, pageSize: l, total: d, onChange: w, showQuickJumper: y, buttonsCount: R = 4, hideOnSinglePage: $ = !1 }, m] = ge(t);
1826
+ const at = ({ config: t }) => {
1827
+ const [{ current: r, pageSize: l, total: d, onChange: k, showQuickJumper: x, buttonsCount: R = 4, hideOnSinglePage: P = !1 }, _] = pe(t);
1824
1828
  Ie(() => {
1825
- m(t);
1829
+ _(t);
1826
1830
  }, [t]);
1827
- const M = Math.ceil(r / R), j = (M - 1) * R + 1, P = M * R, U = (f) => {
1828
- const L = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
1829
- !/^[0-9]$/.test(f.key) && !L.includes(f.key) && f.preventDefault();
1830
- }, X = (f) => {
1831
- if (f.key === "Enter") {
1832
- const L = parseInt(f.currentTarget.value);
1833
- L > 0 && L <= d && (m({ ...t, current: L }), w == null || w(L, l), f.currentTarget.value = "");
1834
- }
1835
- }, Q = (f) => {
1836
- const _ = f.target.value.replace(/[^0-9]/g, "");
1837
- f.target.value = _;
1838
- }, K = (f) => {
1839
- f.preventDefault();
1840
- const _ = f.clipboardData.getData("text").replace(/[^0-9]/g, ""), F = f.target, J = F.selectionStart || 0, v = F.selectionEnd || 0, g = F.value.substring(0, J) + _ + F.value.substring(v);
1841
- F.value = g, F.setSelectionRange(J + _.length, J + _.length);
1842
- }, re = (f) => {
1843
- const L = f.currentTarget.id;
1844
- L === "pagination_left_button" && r > 1 && (m({ ...t, current: r - 1 }), w == null || w(r - 1, l)), L === "pagination_right_button" && r < d && (m({ ...t, current: r + 1 }), w == null || w(r + 1, l));
1845
- }, V = (f) => {
1846
- m({ ...t, current: f }), w == null || w(f, l);
1831
+ const B = Math.ceil(r / R), j = (B - 1) * R + 1, L = B * R, K = (u) => {
1832
+ const I = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
1833
+ !/^[0-9]$/.test(u.key) && !I.includes(u.key) && u.preventDefault();
1834
+ }, U = (u) => {
1835
+ if (u.key === "Enter") {
1836
+ const I = parseInt(u.currentTarget.value);
1837
+ I > 0 && I <= d && (_({ ...t, current: I }), k == null || k(I, l), u.currentTarget.value = "");
1838
+ }
1839
+ }, Q = (u) => {
1840
+ const y = u.target.value.replace(/[^0-9]/g, "");
1841
+ u.target.value = y;
1842
+ }, q = (u) => {
1843
+ u.preventDefault();
1844
+ const y = u.clipboardData.getData("text").replace(/[^0-9]/g, ""), O = u.target, J = O.selectionStart || 0, v = O.selectionEnd || 0, g = O.value.substring(0, J) + y + O.value.substring(v);
1845
+ O.value = g, O.setSelectionRange(J + y.length, J + y.length);
1846
+ }, ie = (u) => {
1847
+ const I = u.currentTarget.id;
1848
+ I === "pagination_left_button" && r > 1 && (_({ ...t, current: r - 1 }), k == null || k(r - 1, l)), I === "pagination_right_button" && r < d && (_({ ...t, current: r + 1 }), k == null || k(r + 1, l));
1849
+ }, z = (u) => {
1850
+ _({ ...t, current: u }), k == null || k(u, l);
1847
1851
  };
1848
- return $ && d <= 1 ? null : /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination", children: [
1852
+ return P && d <= 1 ? null : /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination", children: [
1849
1853
  /* @__PURE__ */ n.jsxs(
1850
1854
  "div",
1851
1855
  {
@@ -1854,26 +1858,26 @@ const it = ({ config: t }) => {
1854
1858
  gridTemplateColumns: `repeat(${R + 2}, 32px)`
1855
1859
  },
1856
1860
  children: [
1857
- /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick: re, title: "Назад", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M5 0.544067L1 4.54407L5 8.54407", stroke: "#8C8C8C", strokeLinecap: "round" }) }) }),
1858
- Array.from({ length: d }, (f, L) => L + 1).map((f) => {
1859
- const L = r === f;
1860
- if (f >= j && f <= P)
1861
- return L ? /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: f }, f) : /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button", onClick: () => V(f), children: f }, f);
1861
+ /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick: ie, title: "Назад", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M5 0.544067L1 4.54407L5 8.54407", stroke: "#8C8C8C", strokeLinecap: "round" }) }) }),
1862
+ Array.from({ length: d }, (u, I) => I + 1).map((u) => {
1863
+ const I = r === u;
1864
+ if (u >= j && u <= L)
1865
+ return I ? /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: u }, u) : /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button", onClick: () => z(u), children: u }, u);
1862
1866
  }),
1863
- /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick: re, title: "Вперёд", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M1 8.54407L5 4.54407L1 0.544067", stroke: "#8C8C8C", strokeLinecap: "round" }) }) })
1867
+ /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick: ie, title: "Вперёд", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M1 8.54407L5 4.54407L1 0.544067", stroke: "#8C8C8C", strokeLinecap: "round" }) }) })
1864
1868
  ]
1865
1869
  }
1866
1870
  ),
1867
- y && /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination-quick-jumper", children: [
1871
+ x && /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination-quick-jumper", children: [
1868
1872
  "Перейти на ",
1869
1873
  /* @__PURE__ */ n.jsx(
1870
1874
  "input",
1871
1875
  {
1872
1876
  className: "radar-table__pagination-input",
1873
- onKeyDown: U,
1877
+ onKeyDown: K,
1874
1878
  onChange: Q,
1875
- onPaste: K,
1876
- onKeyUp: (f) => X(f)
1879
+ onPaste: q,
1880
+ onKeyUp: (u) => U(u)
1877
1881
  }
1878
1882
  ),
1879
1883
  " стр. из ",
@@ -1886,60 +1890,60 @@ function rr({
1886
1890
  preset: r,
1887
1891
  config: l,
1888
1892
  rowKey: d,
1889
- loading: w = !1,
1890
- pagination: y,
1893
+ loading: k = !1,
1894
+ pagination: x,
1891
1895
  stickyHeader: R = !1,
1892
- resizeable: $ = !1,
1893
- draggableRows: m = !1,
1894
- draggableColumns: M = !1,
1896
+ resizeable: P = !1,
1897
+ draggableRows: _ = !1,
1898
+ draggableColumns: B = !1,
1895
1899
  scrollContainerRef: j,
1896
- onResize: P,
1897
- onSort: U,
1898
- onRowReorder: X,
1900
+ onResize: L,
1901
+ onSort: K,
1902
+ onRowReorder: U,
1899
1903
  onColumnReorder: Q,
1900
- customCellRender: K,
1901
- noDataRender: re,
1902
- sortIcon: V,
1903
- expandIcon: f,
1904
- recalculateRowHeight: L = !1,
1904
+ customCellRender: q,
1905
+ noDataRender: ie,
1906
+ sortIcon: z,
1907
+ expandIcon: u,
1908
+ recalculateRowHeight: I = !1,
1905
1909
  // sorting props
1906
- sorting: _,
1907
- defaultSorting: F,
1910
+ sorting: y,
1911
+ defaultSorting: O,
1908
1912
  // tree props
1909
1913
  treeMode: J,
1910
1914
  expandedRowKeys: v,
1911
1915
  defaultExpandedRowKeys: g,
1912
1916
  onExpandedRowsChange: o,
1913
- indentSize: x,
1914
- className: u = "",
1917
+ indentSize: b,
1918
+ className: f = "",
1915
1919
  style: c,
1916
1920
  headerClassName: C = "",
1917
1921
  headerStyle: E,
1918
- headerCellClassName: k = "",
1919
- headerCellStyle: O,
1922
+ headerCellClassName: w = "",
1923
+ headerCellStyle: $,
1920
1924
  headerRowClassName: le = "",
1921
- headerRowStyle: ne,
1922
- headerCellWrapperClassName: q = "",
1925
+ headerRowStyle: re,
1926
+ headerCellWrapperClassName: Z = "",
1923
1927
  headerCellWrapperStyle: ce,
1924
- bodyClassName: ie = "",
1928
+ bodyClassName: ne = "",
1925
1929
  bodyStyle: de,
1926
1930
  bodyRowClassName: he = "",
1927
1931
  bodyRowStyle: A,
1928
- bodyCellClassName: I = "",
1929
- bodyCellStyle: Z,
1932
+ bodyCellClassName: W = "",
1933
+ bodyCellStyle: G,
1930
1934
  bodyCellWrapperClassName: ee = "",
1931
1935
  bodyCellWrapperStyle: oe,
1932
- headerGroupRowClassName: B,
1936
+ headerGroupRowClassName: V,
1933
1937
  headerGroupRowStyle: T,
1934
- headerGroupCellClassName: G,
1935
- headerGroupCellStyle: W,
1936
- headerGroupCellWrapperClassName: a,
1937
- headerGroupCellWrapperStyle: b,
1938
+ headerGroupCellClassName: X,
1939
+ headerGroupCellStyle: F,
1940
+ headerGroupCellWrapperClassName: i,
1941
+ headerGroupCellWrapperStyle: m,
1938
1942
  paginationContainerClassName: h = "",
1939
1943
  paginationContainerStyle: s,
1940
1944
  resizeThrottle: D = 0
1941
1945
  }) {
1942
- return M ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1946
+ return B ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1943
1947
  /* @__PURE__ */ n.jsx(
1944
1948
  Mt,
1945
1949
  {
@@ -1947,245 +1951,245 @@ function rr({
1947
1951
  onColumnReorder: Q,
1948
1952
  scrollContainerRef: j,
1949
1953
  children: /* @__PURE__ */ n.jsx(
1950
- at,
1954
+ it,
1951
1955
  {
1952
1956
  dataSource: t,
1953
1957
  preset: r,
1954
1958
  config: l,
1955
1959
  rowKey: d,
1956
- loading: w,
1957
- pagination: y,
1960
+ loading: k,
1961
+ pagination: x,
1958
1962
  stickyHeader: R,
1959
- resizeable: $,
1960
- draggableRows: m,
1961
- draggableColumns: M,
1963
+ resizeable: P,
1964
+ draggableRows: _,
1965
+ draggableColumns: B,
1962
1966
  scrollContainerRef: j,
1963
- onResize: P,
1964
- onSort: U,
1965
- onRowReorder: X,
1967
+ onResize: L,
1968
+ onSort: K,
1969
+ onRowReorder: U,
1966
1970
  onColumnReorder: Q,
1967
- customCellRender: K,
1968
- sortIcon: V,
1969
- expandIcon: f,
1971
+ customCellRender: q,
1972
+ sortIcon: z,
1973
+ expandIcon: u,
1970
1974
  treeMode: J,
1971
1975
  expandedRowKeys: v,
1972
1976
  defaultExpandedRowKeys: g,
1973
1977
  onExpandedRowsChange: o,
1974
- indentSize: x,
1975
- className: u,
1978
+ indentSize: b,
1979
+ className: f,
1976
1980
  style: c,
1977
1981
  headerClassName: C,
1978
1982
  headerStyle: E,
1979
- headerCellClassName: k,
1980
- headerCellStyle: O,
1983
+ headerCellClassName: w,
1984
+ headerCellStyle: $,
1981
1985
  headerRowClassName: le,
1982
- headerRowStyle: ne,
1983
- headerCellWrapperClassName: q,
1986
+ headerRowStyle: re,
1987
+ headerCellWrapperClassName: Z,
1984
1988
  headerCellWrapperStyle: ce,
1985
- bodyClassName: ie,
1989
+ bodyClassName: ne,
1986
1990
  bodyStyle: de,
1987
1991
  bodyRowClassName: he,
1988
1992
  bodyRowStyle: A,
1989
- bodyCellClassName: I,
1990
- bodyCellStyle: Z,
1993
+ bodyCellClassName: W,
1994
+ bodyCellStyle: G,
1991
1995
  bodyCellWrapperClassName: ee,
1992
1996
  bodyCellWrapperStyle: oe,
1993
- headerGroupRowClassName: B,
1997
+ headerGroupRowClassName: V,
1994
1998
  headerGroupRowStyle: T,
1995
- headerGroupCellClassName: G,
1996
- headerGroupCellStyle: W,
1997
- headerGroupCellWrapperClassName: a,
1998
- headerGroupCellWrapperStyle: b,
1999
+ headerGroupCellClassName: X,
2000
+ headerGroupCellStyle: F,
2001
+ headerGroupCellWrapperClassName: i,
2002
+ headerGroupCellWrapperStyle: m,
1999
2003
  paginationContainerClassName: h,
2000
2004
  paginationContainerStyle: s,
2001
- noDataRender: re,
2002
- recalculateRowHeight: L,
2003
- sorting: _,
2004
- defaultSorting: F,
2005
+ noDataRender: ie,
2006
+ recalculateRowHeight: I,
2007
+ sorting: y,
2008
+ defaultSorting: O,
2005
2009
  resizeThrottle: D
2006
2010
  }
2007
2011
  )
2008
2012
  }
2009
2013
  ),
2010
- /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${h}`, style: s, children: y && /* @__PURE__ */ n.jsx(it, { config: y }) })
2014
+ /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${h}`, style: s, children: x && /* @__PURE__ */ n.jsx(at, { config: x }) })
2011
2015
  ] }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
2012
2016
  /* @__PURE__ */ n.jsx(
2013
- at,
2017
+ it,
2014
2018
  {
2015
2019
  dataSource: t,
2016
2020
  preset: r,
2017
2021
  config: l,
2018
2022
  rowKey: d,
2019
- loading: w,
2020
- pagination: y,
2023
+ loading: k,
2024
+ pagination: x,
2021
2025
  stickyHeader: R,
2022
- resizeable: $,
2023
- draggableRows: m,
2024
- draggableColumns: M,
2026
+ resizeable: P,
2027
+ draggableRows: _,
2028
+ draggableColumns: B,
2025
2029
  scrollContainerRef: j,
2026
- onResize: P,
2027
- onSort: U,
2028
- onRowReorder: X,
2030
+ onResize: L,
2031
+ onSort: K,
2032
+ onRowReorder: U,
2029
2033
  onColumnReorder: Q,
2030
- customCellRender: K,
2031
- sortIcon: V,
2032
- expandIcon: f,
2034
+ customCellRender: q,
2035
+ sortIcon: z,
2036
+ expandIcon: u,
2033
2037
  treeMode: J,
2034
2038
  expandedRowKeys: v,
2035
2039
  defaultExpandedRowKeys: g,
2036
2040
  onExpandedRowsChange: o,
2037
- indentSize: x,
2038
- className: u,
2041
+ indentSize: b,
2042
+ className: f,
2039
2043
  style: c,
2040
2044
  headerClassName: C,
2041
2045
  headerStyle: E,
2042
- headerCellClassName: k,
2043
- headerCellStyle: O,
2046
+ headerCellClassName: w,
2047
+ headerCellStyle: $,
2044
2048
  headerRowClassName: le,
2045
- headerRowStyle: ne,
2046
- headerCellWrapperClassName: q,
2049
+ headerRowStyle: re,
2050
+ headerCellWrapperClassName: Z,
2047
2051
  headerCellWrapperStyle: ce,
2048
- bodyClassName: ie,
2052
+ bodyClassName: ne,
2049
2053
  bodyStyle: de,
2050
2054
  bodyRowClassName: he,
2051
2055
  bodyRowStyle: A,
2052
- bodyCellClassName: I,
2053
- bodyCellStyle: Z,
2056
+ bodyCellClassName: W,
2057
+ bodyCellStyle: G,
2054
2058
  bodyCellWrapperClassName: ee,
2055
2059
  bodyCellWrapperStyle: oe,
2056
- headerGroupRowClassName: B,
2060
+ headerGroupRowClassName: V,
2057
2061
  headerGroupRowStyle: T,
2058
- headerGroupCellClassName: G,
2059
- headerGroupCellStyle: W,
2060
- headerGroupCellWrapperClassName: a,
2061
- headerGroupCellWrapperStyle: b,
2062
+ headerGroupCellClassName: X,
2063
+ headerGroupCellStyle: F,
2064
+ headerGroupCellWrapperClassName: i,
2065
+ headerGroupCellWrapperStyle: m,
2062
2066
  paginationContainerClassName: h,
2063
2067
  paginationContainerStyle: s,
2064
- noDataRender: re,
2065
- recalculateRowHeight: L,
2066
- sorting: _,
2067
- defaultSorting: F,
2068
+ noDataRender: ie,
2069
+ recalculateRowHeight: I,
2070
+ sorting: y,
2071
+ defaultSorting: O,
2068
2072
  resizeThrottle: D
2069
2073
  }
2070
2074
  ),
2071
- /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${h}`, style: s, children: y && /* @__PURE__ */ n.jsx(it, { config: y }) })
2075
+ /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${h}`, style: s, children: x && /* @__PURE__ */ n.jsx(at, { config: x }) })
2072
2076
  ] });
2073
2077
  }
2074
- function at(t) {
2078
+ function it(t) {
2075
2079
  const {
2076
2080
  dataSource: r,
2077
2081
  preset: l,
2078
2082
  config: d,
2079
- rowKey: w,
2080
- loading: y,
2083
+ rowKey: k,
2084
+ loading: x,
2081
2085
  stickyHeader: R,
2082
- resizeable: $,
2083
- draggableRows: m,
2084
- draggableColumns: M,
2086
+ resizeable: P,
2087
+ draggableRows: _,
2088
+ draggableColumns: B,
2085
2089
  scrollContainerRef: j,
2086
- onResize: P,
2087
- onSort: U,
2088
- onRowReorder: X,
2090
+ onResize: L,
2091
+ onSort: K,
2092
+ onRowReorder: U,
2089
2093
  onColumnReorder: Q,
2090
- customCellRender: K,
2091
- sortIcon: re,
2092
- expandIcon: V,
2093
- treeMode: f,
2094
- expandedRowKeys: L,
2095
- defaultExpandedRowKeys: _,
2096
- onExpandedRowsChange: F,
2094
+ customCellRender: q,
2095
+ sortIcon: ie,
2096
+ expandIcon: z,
2097
+ treeMode: u,
2098
+ expandedRowKeys: I,
2099
+ defaultExpandedRowKeys: y,
2100
+ onExpandedRowsChange: O,
2097
2101
  indentSize: J,
2098
2102
  className: v,
2099
2103
  style: g,
2100
2104
  headerClassName: o,
2101
- headerStyle: x,
2102
- headerCellClassName: u,
2105
+ headerStyle: b,
2106
+ headerCellClassName: f,
2103
2107
  headerCellStyle: c,
2104
2108
  headerRowClassName: C,
2105
2109
  headerRowStyle: E,
2106
- headerCellWrapperClassName: k,
2107
- headerCellWrapperStyle: O,
2110
+ headerCellWrapperClassName: w,
2111
+ headerCellWrapperStyle: $,
2108
2112
  bodyClassName: le,
2109
- bodyStyle: ne,
2110
- bodyRowClassName: q,
2113
+ bodyStyle: re,
2114
+ bodyRowClassName: Z,
2111
2115
  bodyRowStyle: ce,
2112
- bodyCellClassName: ie,
2116
+ bodyCellClassName: ne,
2113
2117
  bodyCellStyle: de,
2114
2118
  bodyCellWrapperClassName: he,
2115
2119
  bodyCellWrapperStyle: A,
2116
- headerGroupRowClassName: I,
2117
- headerGroupRowStyle: Z,
2120
+ headerGroupRowClassName: W,
2121
+ headerGroupRowStyle: G,
2118
2122
  headerGroupCellClassName: ee,
2119
2123
  headerGroupCellStyle: oe,
2120
- headerGroupCellWrapperClassName: B,
2124
+ headerGroupCellWrapperClassName: V,
2121
2125
  headerGroupCellWrapperStyle: T,
2122
- noDataRender: G,
2123
- recalculateRowHeight: W,
2124
- sorting: a,
2125
- defaultSorting: b,
2126
+ noDataRender: X,
2127
+ recalculateRowHeight: F,
2128
+ sorting: i,
2129
+ defaultSorting: m,
2126
2130
  resizeThrottle: h
2127
2131
  } = t;
2128
2132
  return /* @__PURE__ */ n.jsxs("table", { className: `radar-table ${l || ""} ${v}`, style: g, children: [
2129
2133
  /* @__PURE__ */ n.jsx(
2130
2134
  Ht,
2131
2135
  {
2132
- draggableColumns: M,
2136
+ draggableColumns: B,
2133
2137
  config: d,
2134
- onSort: U,
2135
- resizeable: $,
2136
- onResize: P,
2137
- sortIcon: re,
2138
+ onSort: K,
2139
+ resizeable: P,
2140
+ onResize: L,
2141
+ sortIcon: ie,
2138
2142
  preset: l,
2139
2143
  headerClassName: o,
2140
- headerStyle: x,
2144
+ headerStyle: b,
2141
2145
  headerRowClassName: C,
2142
2146
  headerRowStyle: E,
2143
- headerCellClassName: u,
2147
+ headerCellClassName: f,
2144
2148
  headerCellStyle: c,
2145
- headerCellWrapperClassName: k,
2146
- headerCellWrapperStyle: O,
2147
- headerGroupRowClassName: I,
2148
- headerGroupRowStyle: Z,
2149
+ headerCellWrapperClassName: w,
2150
+ headerCellWrapperStyle: $,
2151
+ headerGroupRowClassName: W,
2152
+ headerGroupRowStyle: G,
2149
2153
  headerGroupCellClassName: ee,
2150
2154
  headerGroupCellStyle: oe,
2151
- headerGroupCellWrapperClassName: B,
2155
+ headerGroupCellWrapperClassName: V,
2152
2156
  headerGroupCellWrapperStyle: T,
2153
2157
  stickyHeader: R,
2154
2158
  scrollContainerRef: j,
2155
2159
  onColumnReorder: Q,
2156
- sorting: a,
2157
- defaultSorting: b,
2160
+ sorting: i,
2161
+ defaultSorting: m,
2158
2162
  resizeThrottle: h
2159
2163
  }
2160
2164
  ),
2161
2165
  /* @__PURE__ */ n.jsx(
2162
2166
  Zt,
2163
2167
  {
2164
- draggableRows: m,
2165
- onRowReorder: X,
2168
+ draggableRows: _,
2169
+ onRowReorder: U,
2166
2170
  dataSource: r,
2167
2171
  config: d,
2168
- rowKey: w,
2169
- loading: y,
2172
+ rowKey: k,
2173
+ loading: x,
2170
2174
  preset: l,
2171
- customCellRender: K,
2172
- expandIcon: V,
2173
- treeMode: f,
2174
- expandedRowKeys: L,
2175
- defaultExpandedRowKeys: _,
2176
- onExpandedRowsChange: F,
2175
+ customCellRender: q,
2176
+ expandIcon: z,
2177
+ treeMode: u,
2178
+ expandedRowKeys: I,
2179
+ defaultExpandedRowKeys: y,
2180
+ onExpandedRowsChange: O,
2177
2181
  indentSize: J,
2178
2182
  bodyClassName: le,
2179
- bodyStyle: ne,
2180
- bodyRowClassName: q,
2183
+ bodyStyle: re,
2184
+ bodyRowClassName: Z,
2181
2185
  bodyRowStyle: ce,
2182
- bodyCellClassName: ie,
2186
+ bodyCellClassName: ne,
2183
2187
  bodyCellStyle: de,
2184
2188
  bodyCellWrapperClassName: he,
2185
2189
  bodyCellWrapperStyle: A,
2186
- noDataRender: G,
2190
+ noDataRender: X,
2187
2191
  scrollContainerRef: j,
2188
- recalculateRowHeight: W
2192
+ recalculateRowHeight: F
2189
2193
  }
2190
2194
  )
2191
2195
  ] });
@@ -2300,11 +2304,11 @@ const st = ({ children: t, tagType: r = "h1", ...l }) => {
2300
2304
  children: t
2301
2305
  }
2302
2306
  );
2303
- }, nr = Object.assign(st, { H1: st, H2: Gt }), ot = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_m radar-text_${r}`, ...l, children: t }), Xt = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_s radar-text_${r}`, ...l, children: t }), ir = Object.assign(ot, { M: ot, S: Xt });
2307
+ }, nr = Object.assign(st, { H1: st, H2: Gt }), ot = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_m radar-text_${r}`, ...l, children: t }), Xt = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_s radar-text_${r}`, ...l, children: t }), ar = Object.assign(ot, { M: ot, S: Xt });
2304
2308
  export {
2305
2309
  Jt as HeaderCell,
2306
- it as Pagination,
2307
- ir as RadarText,
2310
+ at as Pagination,
2311
+ ar as RadarText,
2308
2312
  nr as RadarTitle,
2309
2313
  rr as Table,
2310
2314
  At as Tooltip