const e=()=>{let e=null;const o="undefined"!=typeof window&&window.location&&window.location.pathname;return o&&(e=o.split("/").find((e=>"ec"===e||"eu"===e)),e&&["ec","eu"].includes(e))||"undefined"!=typeof process&&process.env.STORYBOOK_SYSTEM&&(e=process.env.STORYBOOK_SYSTEM.toLowerCase(),e&&["ec","eu"].includes(e))||"undefined"!=typeof process&&process.env.ECL_SYSTEM&&(e=process.env.ECL_SYSTEM.toLowerCase(),e&&["ec","eu"].includes(e))?e:null};export{e as g}