const n=new Map,t=new WeakMap;function o(n,t){return"rtl"===t.toLowerCase()?{keyframes:n.rtlKeyframes||n.keyframes,options:n.options}:n}function r(t,o){n.set(t,function(n){return n??{keyframes:[],options:{duration:0}}}(o))}function e(r,e,s){const a=t.get(r);if(a?.[e])return o(a[e],s.dir);const i=n.get(e);return i?o(i,s.dir):{keyframes:[],options:{duration:0}}}export{e as g,r as s};
