"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_util/cssinjs/Keyframes.js");require("../../_util/cssinjs/StyleContext.js");require("vue");require("../../_util/cssinjs/transformers/legacyLogicalProperties.js");const I=require("./motion.js"),e=new o.default("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),s=new o.default("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),a=new o.default("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),m=new o.default("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),i=new o.default("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),f=new o.default("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),c=new o.default("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),u=new o.default("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),l=new o.default("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),O=new o.default("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),g=new o.default("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),y=new o.default("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),K={zoom:{inKeyframes:e,outKeyframes:s},"zoom-big":{inKeyframes:a,outKeyframes:m},"zoom-big-fast":{inKeyframes:a,outKeyframes:m},"zoom-left":{inKeyframes:c,outKeyframes:u},"zoom-right":{inKeyframes:l,outKeyframes:O},"zoom-up":{inKeyframes:i,outKeyframes:f},"zoom-down":{inKeyframes:g,outKeyframes:y}},d=(t,r)=>{const{antCls:z}=t,n=`${z}-${r}`,{inKeyframes:p,outKeyframes:w}=K[r];return[I.initMotion(n,p,w,r==="zoom-big-fast"?t.motionDurationFast:t.motionDurationMid),{[`
        ${n}-enter,
        ${n}-appear
      `]:{transform:"scale(0)",opacity:0,animationTimingFunction:t.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:t.motionEaseInOutCirc}}]};exports.initZoomMotion=d;exports.zoomBigIn=a;exports.zoomBigOut=m;exports.zoomDownIn=g;exports.zoomDownOut=y;exports.zoomIn=e;exports.zoomLeftIn=c;exports.zoomLeftOut=u;exports.zoomOut=s;exports.zoomRightIn=l;exports.zoomRightOut=O;exports.zoomUpIn=i;exports.zoomUpOut=f;
