var e=window.bitapps_fm===void 0?{}:window.bitapps_fm,t=e?.options??{};function n(t,n){return!(t in e)||!e[t]?(console.error(`🚥🚥🚥 Missing server variable: `,t),n):e[t]}function r(e,n){return!(e in t)||t[e]===void 0||t[e]===null?(console.error(`🚥🚥🚥 Missing option: `,e),n):t[e]}function i(){let e=r(`themes`,{}),t=[];return Object.keys(e).map(e=>{let n=(e.charAt(0).toUpperCase()+e.slice(1)).split(`-`).join(` `);t.push({title:n,key:e})}),t.push({key:`default`,title:`Default`}),t}var a={IS_DEV:!0,PRODUCT_NAME:`Bit File Manager`,PLUGIN_SLUG:n(`pluginSlug`),AJAX_URL:n(`ajaxURL`,`://wp-admin/admin-ajax.php`),API_BASE:n(`apiBase`,`://wp-admin/admin-ajax.php`),ROOT_URL:n(`rootURL`,`://`),BASE_URL:n(`baseURL`,``),NONCE:n(`nonce`,``),ACTION:n(`action`,``),TELEMETRY:n(`telemetry`,{}),ROUTE_PREFIX:n(`routePrefix`,`bitapps_fm_`),BANNER:null,SYS_INFO:n(`sys_info`,null),THEMES:i(),THEME:r(`theme`,`default`),LANG:r(`lang`,`en`),ViewType:r(`defaultView`,`icons`)};export{r as n,n as r,a as t};