"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../_util/cssinjs/Keyframes.js");require("../../_util/cssinjs/StyleContext.js");require("vue");require("../../_util/cssinjs/transformers/legacyLogicalProperties.js");const u=require("./motion.js"),o=new a.default("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),r=new a.default("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),d=(n,i=!1)=>{const{antCls:c}=n,t=`${c}-fade`,e=i?"&":"";return[u.initMotion(t,o,r,n.motionDurationMid,i),{[`
        ${e}${t}-enter,
        ${e}${t}-appear
      `]:{opacity:0,animationTimingFunction:"linear"},[`${e}${t}-leave`]:{animationTimingFunction:"linear"}}]};exports.fadeIn=o;exports.fadeOut=r;exports.initFadeMotion=d;
