import{ao as e,aq as n,c7 as a,b8 as h}from"./app-k0jcl5PQ.js";const d="share.embedSize";function m(o){const{autoplay:i,setAutoplay:c,videoSize:t,setVideoSize:r,videoSizes:l}=o;return e.jsxs("div",{className:"d-flex align-items-center",children:[!!l.length&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"me-1",children:e.jsx(n,{namespace:d,phrase:"videoSize"})}),e.jsx("div",{className:"pe-3",children:e.jsxs(a,{children:[e.jsx(a.Toggle,{id:"embed-resolution",variant:"outline-dark",children:t.label}),e.jsx(a.Menu,{children:l.map(s=>e.jsx(a.Item,{onClick:()=>r(s),children:s.label},`${s.width}x${s.height}`))})]})})]}),e.jsx("div",{className:"me-2",children:e.jsx(n,{namespace:d,phrase:"autoplay"})}),e.jsx(h,{id:"autoplay-checkbox",checked:i,onChange:()=>c(!i)})]})}export{m as E};
//# sourceMappingURL=C_a8z4Jn.chunk.js.map
