"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("../../lib/skeleton/skeleton-constants.cjs"),o={computed:{skeletonOffset(){const t=this.$refs.skeleton;if(!t)return this.offset;const{top:e,height:n}=t.getBoundingClientRect();return e+n/2},skeletonStyle(){const t={};if(this.skeletonOffset===-1||!this.animate&&this.animationDuration===-1)return t;const e=this.skeletonOffset*i.SKELETON_RIPPLE_DURATION/1e3,n=this.animationDuration===-1?1e3:this.animationDuration;return t.animationDelay=`${e}ms`,t.animationDuration=`${n}ms`,t}}};exports.default=o;
//# sourceMappingURL=skeleton.cjs.map
