Module 447453

984 characters · in 53090a5025084b86.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,s,t){t.d(s,{S:()=>h});var i=t(477900),l=t(582128),n=t(503698),a=t.n(n),o=t(221877),r=t(866323),u=t(834730),c=t(475358),d=t(17928),m=t(775602),p=t(425763),f=t(375708),g=t(707615);function h(e){let{className:s}=e,t=[{keybinds:["Spacebar","Enter"],name:f.intl.string(f.t["cs/HVH"])},{keybinds:["up","down"],name:f.intl.string(f.t.dmMqay)},{keybinds:["ESC"],name:f.intl.string(f.t["1ioMJQ"])}],n=(0,d.bG)([m.Ay],()=>m.Ay.useReducedMotion),h=(0,p.VU)();return(0,r.p)(h,{enter:{from:{opacity:0,y:80*!n},to:{opacity:1,y:0}},leave:{opacity:0,y:80*!n},config:o.config.stiff},"animate-always")((e,n)=>n?(0,i.jsx)("div",{className:a()(g.lY,s),children:(0,i.jsx)(o.animated.div,{className:g.kL,style:e,children:t.map((e,s)=>{let{keybinds:n,name:a}=e;return(0,i.jsxs)(l.Fragment,{children:[(0,i.jsx)(u.E,{variant:"text-md/semibold",className:g.nx,children:a}),n.map(e=>(0,i.jsx)(c.e,{shortcut:e,className:g.LE},e)),s<t.length-1?(0,i.jsx)("span",{className:g.me}):null]},a)})})}):null)}}