n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.14 kB
JavaScript
(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`n8n@2.16.1`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`5144e785-ac0b-4afb-8ae4-9eeee96696fd`,e._sentryDebugIdIdentifier=`sentry-dbid-5144e785-ac0b-4afb-8ae4-9eeee96696fd`)})()}catch{}import{S as e}from"./vue.runtime.esm-bundler-C3C09Zii.js";import{t}from"./settings.store-CAFiYCMH.js";var n=()=>{let n=t();return{check:e(()=>e=>{let t=`N8N_ENV_FEAT_${e}`,r=n.settings.envFeatureFlags?.[t];if(r!==void 0)return r!==`false`&&!!r;let i={BASE_URL:`/%7B%7BBASE_PATH%7D%7D/`,DEV:!1,LEGACY:!1,MODE:`production`,PROD:!0,SSR:!1,VUE_APP_PUBLIC_PATH:`/{{BASE_PATH}}/`}[t];return i===void 0?!1:i!==`false`&&!!i})}},r=()=>{let r=t(),{check:i}=n();return{isEnabled:e(()=>r.isModuleActive(`dynamic-credentials`)&&i.value(`DYNAMIC_CREDENTIALS`))}};export{r as t};
//# sourceMappingURL=useDynamicCredentials-DWt_uw-C.js.map