"use strict";const t=require("../common/utils.wxs.js");exports.animate=function(n){return n.duration?t.tools._style({"transition-duration":`${n.duration}s`,transform:`translate3d( ${-100*n.currentIndex}%,0, 0)`}):""},exports.trackStyle=function(n){return n.distance||n.lineWidth?t.tools._style({"-webkit-transform":`translateX(${n.distance}px)`,transform:`translateX(${n.distance}px)`,"transition-duration":n.isInit?"0":"0.3s",width:`${n.lineWidth}px`,opacity:1}):""};
