"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("lodash-unified");function g(...n){return n.reduce((r,e)=>({...r,...e}),{})}function a(n,r=0){if(!n)return r;if(typeof n=="number")return n;const e=n.match(/^(-?\d+(?:\.\d+)?)px$/);if(!e)return r;const o=parseFloat(e[1]);return o>0?o:r}function p(n){return u.isNumber(n)?String(n):n}let l=0;function d(n){return`_${u.isArray(n)?n.join("_"):String(n)}_${l++}`}async function h(n,r,...e){for(const o of n){const t=r(o);t&&await t(...e)}}async function m(n,r,e,...o){let t=r;for(const i of n){const c=e(i);if(c)try{const s=await c(t,...o);s!==void 0&&(t=s)}catch{}}return t}function f(n,r,e){let o={};if(!n.length)return o;for(const t of n)if(t.children?.length)o={...o,...f(t.children,r)};else{const i=t.key;i&&(o[i]=t[r]??e)}return o}const w={rowDragEntireRow:!1,suppressMoveWhenRowDragging:!1};function y(n){return n?{...w,...n}:{}}exports.getRowDragConfig=y;exports.getShadowName=d;exports.getStringKey=p;exports.mergeProps=g;exports.pickColumnConfig=f;exports.pxToNumber=a;exports.runEffectHooks=h;exports.runPipelineHooks=m;
