function n(n){return Array.isArray(n)}function t(t){return"string"==typeof t||n(t)}function r(n,t,r,i,o){var u;return void 0===i&&(i={}),void 0===o&&(o={}),"string"==typeof t&&(t=null===(u=n.variants)||void 0===u?void 0:u[t]),"function"==typeof t?t(null!=r?r:n.custom,i,o):t}function i(n,t,i){var o=n.getProps();return r(o,t,null!=i?i:o.custom,function(n){var t={};return n.forEachValue((function(n,r){return t[r]=n.get()})),t}(n),function(n){var t={};return n.forEachValue((function(n,r){return t[r]=n.getVelocity()})),t}(n))}function o(n){var r;return"function"==typeof(null===(r=n.animate)||void 0===r?void 0:r.start)||t(n.initial)||t(n.animate)||t(n.whileHover)||t(n.whileDrag)||t(n.whileTap)||t(n.whileFocus)||t(n.exit)}function u(n){return Boolean(o(n)||n.variants)}export{o as checkIfControllingVariants,u as checkIfVariantNode,t as isVariantLabel,n as isVariantLabels,i as resolveVariant,r as resolveVariantFromProps};
//# sourceMappingURL=variants.js.map
