import{i as c}from"./i18n-Dnhn5Rxr.js";import{a as n,f as m,R as f,a6 as u,S as v,T as h}from"./index-DWyDLubb.js";import{I as a}from"./ScrollFade.svelte_svelte_type_style_lang-DPHOQHBm.js";import{M as g}from"./Maximize-QH9NIRWs.js";var k=m('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-minimize" width="100%" height="100%"><path d="M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"></path></svg>');function d(r){var e=k();n(r,e)}function I(r,e){f(e,!0);var t=u(),i=v(t);{var l=o=>{a(o,{get Icon(){return d},label:"Exit fullscreen mode",onclick:()=>e.onclick(!1)})},s=o=>{a(o,{get Icon(){return g},label:"Fullscreen",onclick:()=>e.onclick(!0)})};c(i,o=>{e.fullscreen?o(l):o(s,!1)})}n(r,t),h()}export{I as F};
