n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.15 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.13.4`}}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]=`35a1bb8f-b74f-4855-a39b-e137944e2de5`,e._sentryDebugIdIdentifier=`sentry-dbid-35a1bb8f-b74f-4855-a39b-e137944e2de5`)})()}catch{}import{S as e}from"./vue.runtime.esm-bundler-D9KLAxvJ.js";import{As as t}from"./users.store-BHWXXawf.js";const 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{n,r as t};
//# sourceMappingURL=useDynamicCredentials-C74iW7Qx.js.map