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