n8n-editor-ui
Version:
Workflow Editor UI for n8n
1 lines • 54.3 kB
JavaScript
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.16.1"}}catch(e){}}(),System.register(["./chunk-legacy-Dz3fjYb5.js","./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./_MapCache-legacy-BrGWD-Li.js","./empty-legacy-CvitQtk3.js","./constants-legacy-2_ytuuS3.js"],(function(e,t){var n,o,r,s,i,a,c,l,u,d,f,p,h,m,b,y,E,g,w,R,O,T,S,v,A,_,C,N,U,P,L,x,j,k,D,F,B,M,I,W,$,q,H,z,V,K,J,X,Y,G,Q,Z,ee,te,ne,oe,re,se,ie,ae,ce,le,ue,de,fe,pe,he,me,be,ye,Ee,ge,we,Re,Oe,Te,Se,ve,Ae,_e,Ce,Ne,Ue,Pe,Le,xe,je,ke,De,Fe,Be,Me,Ie,We,$e,qe,He,ze,Ve,Ke,Je,Xe,Ye,Ge,Qe,Ze,et,tt,nt,ot,rt,st,it,at,ct,lt,ut,dt,ft,pt,ht,mt,bt,yt,Et,gt,wt,Rt,Ot,Tt,St,vt,At,_t,Ct,Nt,Ut,Pt,Lt,xt,jt,kt,Dt,Ft,Bt,Mt,It,Wt,$t,qt,Ht,zt,Vt,Kt,Jt,Xt,Yt,Gt,Qt,Zt,en,tn,nn,on,rn,sn,an,cn,ln,un,dn,fn,pn,hn,mn,bn,yn,En,gn,wn,Rn,On,Tn,Sn,vn,An,_n;function Cn(e){return e&&"object"==typeof e&&"[object Object]"===Object.prototype.toString.call(e)&&"function"!=typeof e.toJSON}function Nn(e,t,n){const o=new XMLHttpRequest;o.open("GET",e),o.responseType="blob",o.onload=function(){F(o.response,t,n)},o.onerror=function(){console.error("could not download file")},o.send()}function Un(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(n){}return t.status>=200&&t.status<=299}function Pn(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}function Ln(e,t="download",n){const o=document.createElement("a");o.download=t,o.rel="noopener","string"==typeof e?(o.href=e,o.origin!==location.origin?Un(o.href)?Nn(e,t,n):(o.target="_blank",Pn(o)):Pn(o)):(o.href=URL.createObjectURL(e),setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4),setTimeout((function(){Pn(o)}),0))}function xn(e,t="download",n){if("string"==typeof e)if(Un(e))Nn(e,t,n);else{const t=document.createElement("a");t.href=e,t.target="_blank",setTimeout((function(){Pn(t)}))}else navigator.msSaveOrOpenBlob(function(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,n),t)}function jn(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return Nn(e,t,n);const r="application/octet-stream"===e.type,s=/constructor/i.test(String(j.HTMLElement))||"safari"in j,i=/CriOS\/[\d]+/.test(navigator.userAgent);if((i||r&&s||D)&&"undefined"!=typeof FileReader){const t=new FileReader;t.onloadend=function(){let e=t.result;if("string"!=typeof e)throw o=null,new Error("Wrong reader.result type");e=i?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location.assign(e),o=null},t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);o?o.location.assign(t):location.href=t,o=null,setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}function kn(e,t,n,o=M){e.push(t);const r=()=>{const n=e.indexOf(t);n>-1&&(e.splice(n,1),o())};return!n&&i()&&l(r),r}function Dn(e,...t){e.slice().forEach((e=>{e(...t)}))}function Fn(e,t){e instanceof Map&&t instanceof Map?t.forEach(((t,n)=>e.set(n,t))):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];Cn(s)&&Cn(r)&&e.hasOwnProperty(n)&&!o(r)&&!g(r)?e[n]=Fn(s,r):e[n]=r}return e}function Bn(e,t,n={},r,s,i){let c;const l=H({actions:{}},n),d={deep:!0};let f,p,m,E=[],R=[];const O=r.state.value[e];let T;function S(t){let n;f=p=!1,"function"==typeof t?(t(r.state.value[e]),n={type:L.patchFunction,storeId:e,events:m}):(Fn(r.state.value[e],t),n={type:L.patchObject,payload:t,storeId:e,events:m});const o=T=Symbol();b().then((()=>{T===o&&(f=!0)})),p=!0,Dn(E,n,r.state.value[e])}i||O||(r.state.value[e]={}),a({});const v=i?function(){const{state:e}=n,t=e?e():{};this.$patch((e=>{H(e,t)}))}:M,A=(t,n="")=>{if(W in t)return t[$]=n,t;const o=function(){U(r);const n=Array.from(arguments),s=[],i=[];function a(e){s.push(e)}function c(e){i.push(e)}let l;Dn(R,{args:n,name:o[$],store:C,after:a,onError:c});try{l=t.apply(this&&this.$id===e?this:C,n)}catch(u){throw Dn(i,u),u}return l instanceof Promise?l.then((e=>(Dn(s,e),e))).catch((e=>(Dn(i,e),Promise.reject(e)))):(Dn(s,l),l)};return o[W]=!0,o[$]=n,o},_={_p:r,$id:e,$onAction:kn.bind(null,R),$patch:S,$reset:v,$subscribe(t,n={}){const o=kn(E,t,n.detached,(()=>s())),s=c.run((()=>y((()=>r.state.value[e]),(o=>{("sync"===n.flush?p:f)&&t({storeId:e,type:L.direct,events:m},o)}),H({},d,n))));return o},$dispose:function(){c.stop(),E=[],R=[],r._s.delete(e)}},C=u(_);r._s.set(e,C);const N=(r._a&&r._a.runWithContext||I)((()=>r._e.run((()=>(c=h()).run((()=>t({action:A})))))));for(const a in N){const t=N[a];if(o(t)&&(!o(x=t)||!x.effect)||g(t))i||(!O||Cn(P=t)&&P.hasOwnProperty(q)||(o(t)?t.value=O[a]:Fn(t,O[a])),r.state.value[e][a]=t);else if("function"==typeof t){const e=A(t,a);N[a]=e,l.actions[a]=t}}var P,x;return H(C,N),H(w(C),N),Object.defineProperty(C,"$state",{get:()=>r.state.value[e],set:e=>{S((t=>{H(t,e)}))}}),r._p.forEach((e=>{H(C,c.run((()=>e({store:C,app:r._a,pinia:r,options:l}))))})),O&&i&&n.hydrate&&n.hydrate(C.$state,O),f=!0,p=!0,C}function Mn(e,t,n){let o,r;const s="function"==typeof t;function i(e,n){const i=c();return(e=e||(i?d(P,null):null))&&U(e),(e=N)._s.has(o)||(s?Bn(o,t,r,e):function(e,t,n,o){const{state:r,actions:s,getters:i}=t,a=n.state.value[e];let c;c=Bn(e,(function(){return a||(n.state.value[e]=r?r():{}),H(m(n.state.value[e]),s,Object.keys(i||{}).reduce(((t,o)=>(t[o]=E(f((()=>{U(n);const t=n._s.get(e);return i[o].call(t,t)}))),t)),{}))}),t,n,0,!0)}(o,r,e)),e._s.get(o)}return"string"==typeof e?(o=e,r=s?n:t):(r=e,o=e.id),i.$id=o,i}function In(e,t){if(!e)throw new Error(t??"Assertion failed")}function Wn(e,t){return function(){return e.apply(t,arguments)}}function $n(e){return null!==e&&!te(e)&&null!==e.constructor&&!te(e.constructor)&&re(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}function qn(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&ne(e.buffer),t}function Hn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let o,r;if("object"!=typeof e&&(e=[e]),ee(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{if($n(e))return;const r=n?Object.getOwnPropertyNames(e):Object.keys(e),s=r.length;let i;for(o=0;o<s;o++)i=r[o],t.call(null,e[i],i,e)}}function zn(e,t){if($n(e))return null;t=t.toLowerCase();const n=Object.keys(e);let o,r=n.length;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}function Vn(){const{caseless:e,skipUndefined:t}=_e(this)&&this||{},n={},o=(o,r)=>{if("__proto__"===r||"constructor"===r||"prototype"===r)return;const s=e&&zn(n,r)||r;ce(n[s])&&ce(o)?n[s]=Vn(n[s],o):ce(o)?n[s]=Vn({},o):ee(o)?n[s]=o.slice():t&&te(o)||(n[s]=o)};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Hn(arguments[r],o);return n}function Kn(e){return!!(e&&re(e.append)&&"FormData"===e[Y]&&e[X])}function Jn(e){return Qe.isPlainObject(e)||Qe.isArray(e)}function Xn(e){return Qe.endsWith(e,"[]")?e.slice(0,-2):e}function Yn(e,t,n){return e?e.concat(t).map((function(e,t){return e=Xn(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function Gn(e,t,n){if(!Qe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const o=(n=Qe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Qe.isUndefined(t[e])}))).metaTokens,r=n.visitor||l,s=n.dots,i=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Qe.isSpecCompliantForm(t);if(!Qe.isFunction(r))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(Qe.isDate(e))return e.toISOString();if(Qe.isBoolean(e))return e.toString();if(!a&&Qe.isBlob(e))throw new Ze("Blob is not supported. Use a Buffer instead.");return Qe.isArrayBuffer(e)||Qe.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):S.from(e):e}function l(e,n,r){let a=e;if(Qe.isReactNative(t)&&Qe.isReactNativeBlob(e))return t.append(Yn(r,n,s),c(e)),!1;if(e&&!r&&"object"==typeof e)if(Qe.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else if(Qe.isArray(e)&&function(e){return Qe.isArray(e)&&!e.some(Jn)}(e)||(Qe.isFileList(e)||Qe.endsWith(n,"[]"))&&(a=Qe.toArray(e)))return n=Xn(n),a.forEach((function(e,o){!Qe.isUndefined(e)&&null!==e&&t.append(!0===i?Yn([n],o,s):null===i?n:n+"[]",c(e))})),!1;return!!Jn(e)||(t.append(Yn(r,n,s),c(e)),!1)}const u=[],d=Object.assign(et,{defaultVisitor:l,convertValue:c,isVisitable:Jn});if(!Qe.isObject(e))throw new TypeError("data must be an object");return function e(n,o){if(!Qe.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+o.join("."));u.push(n),Qe.forEach(n,(function(n,s){!0===(!(Qe.isUndefined(n)||null===n)&&r.call(t,n,Qe.isString(s)?s.trim():s,o,d))&&e(n,o?o.concat(s):[s])})),u.pop()}}(e),t}function Qn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function Zn(e,t){this._pairs=[],e&&Gn(e,this,t)}function eo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function to(e,t,n){if(!t)return e;const o=n&&n.encode||eo,r=Qe.isFunction(n)?{serialize:n}:n,s=r&&r.serialize;let i;if(i=s?s(t,r):Qe.isURLSearchParams(t)?t.toString():new Zn(t,r).toString(o),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}function no(e){function t(e,n,o,r){let s=e[r++];if("__proto__"===s)return!0;const i=Number.isFinite(+s),a=r>=e.length;return s=!s&&Qe.isArray(o)?o.length:s,a?(Qe.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!i):(o[s]&&Qe.isObject(o[s])||(o[s]=[]),t(e,n,o[s],r)&&Qe.isArray(o[s])&&(o[s]=function(e){const t={},n=Object.keys(e);let o;const r=n.length;let s;for(o=0;o<r;o++)s=n[o],t[s]=e[s];return t}(o[s])),!i)}if(Qe.isFormData(e)&&Qe.isFunction(e.entries)){const n={};return Qe.forEachEntry(e,((e,o)=>{t(function(e){return Qe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),o,n,0)})),n}return null}function oo(e,t){if(!1!==e&&null!=e)if(Qe.isArray(e))e.forEach((e=>oo(e,t)));else if(!gt(String(e)))throw new Error(`Invalid character in header content ["${t}"]`)}function ro(e){return e&&String(e).trim().toLowerCase()}function so(e){return!1===e||null==e?e:Qe.isArray(e)?e.map(so):function(e){let t=e.length;for(;t>0;){const n=e.charCodeAt(t-1);if(10!==n&&13!==n)break;t-=1}return t===e.length?e:e.slice(0,t)}(String(e))}function io(e,t,n,o,r){return Qe.isFunction(o)?o.call(this,t,n):(r&&(t=n),Qe.isString(t)?Qe.isString(o)?-1!==t.indexOf(o):Qe.isRegExp(o)?o.test(t):void 0:void 0)}function ao(e,t){const n=this||mt,o=t||n,r=Rt.from(o.headers);let s=o.data;return Qe.forEach(e,(function(e){s=e.call(n,s,r.normalize(),t?t.status:void 0)})),r.normalize(),s}function co(e){return!(!e||!e.__CANCEL__)}function lo(e,t,n){const o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(new Ze("Request failed with status code "+n.status,[Ze.ERR_BAD_REQUEST,Ze.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function uo(e,t,n){let o=!("string"==typeof(r=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r));var r;return e&&(o||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}function fo(e,t){t=t||{};const n={};function o(e,t,n,o){return Qe.isPlainObject(e)&&Qe.isPlainObject(t)?Qe.merge.call({caseless:o},e,t):Qe.isPlainObject(t)?Qe.merge({},t):Qe.isArray(t)?t.slice():t}function r(e,t,n,r){return Qe.isUndefined(t)?Qe.isUndefined(e)?void 0:o(void 0,e,0,r):o(e,t,0,r)}function s(e,t){if(!Qe.isUndefined(t))return o(void 0,t)}function i(e,t){return Qe.isUndefined(t)?Qe.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function a(n,r,s){return s in t?o(n,r):s in e?o(void 0,n):void 0}const c={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(e,t,n)=>r(Ct(e),Ct(t),0,!0)};return Qe.forEach(Object.keys({...e,...t}),(function(o){if("__proto__"===o||"constructor"===o||"prototype"===o)return;const s=Qe.hasOwnProp(c,o)?c[o]:r,i=s(e[o],t[o],o);Qe.isUndefined(i)&&s!==a||(n[o]=i)})),n}function po(e,t){e=Qe.isArray(e)?e:[e];const{length:n}=e;let o,r;const s={};for(let i=0;i<n;i++){let n;if(o=e[i],r=o,!Kt(o)&&(r=zt[(n=String(o)).toLowerCase()],void 0===r))throw new Ze(`Unknown adapter '${n}'`);if(r&&(Qe.isFunction(r)||(r=r.get(t))))break;s[n||"#"+i]=r}if(!r){const e=Object.entries(s).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new Ze("There is no suitable adapter to dispatch the request "+(n?e.length>1?"since :\n"+e.map(Vt).join("\n"):" "+Vt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r}function ho(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ot(null,e)}function mo(e){return ho(e),e.headers=Rt.from(e.headers),e.data=ao.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jt.getAdapter(e.adapter||mt.adapter,e)(e).then((function(t){return ho(e),t.data=ao.call(e,e.transformResponse,t),t.headers=Rt.from(t.headers),t}),(function(t){return co(t)||(ho(e),t&&t.response&&(t.response.data=ao.call(e,e.transformResponse,t.response),t.response.headers=Rt.from(t.response.headers))),Promise.reject(t)}))}function bo(e,t,n){if("object"!=typeof e)throw new Ze("options must be an object",Ze.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const s=o[r],i=t[s];if(i){const t=e[s],n=void 0===t||i(t,s,e);if(!0!==n)throw new Ze("option "+s+" must be "+n,Ze.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Ze("Unknown option "+s,Ze.ERR_BAD_OPTION)}}function yo(e){return function(t){return e.apply(null,t)}}function Eo(e){return Qe.isObject(e)&&!0===e.isAxiosError}function go(e){const t=new en(e),n=Wn(en.prototype.request,t);return Qe.extend(n,en.prototype,t,{allOwnKeys:!0}),Qe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return go(fo(e,t))},n}async function wo(e){const{method:t,baseURL:n,endpoint:o,headers:r,data:s}=e,i={method:t,url:o,baseURL:n,headers:r??{}};n.startsWith("/")&&(i.headers["browser-id"]=Rn()),n.includes("api.n8n.io")||n.includes("n8n.cloud")||(i.withCredentials=i.withCredentials??!0),["POST","PATCH","PUT"].includes(t)?i.data=s:s&&(i.params=s,i.paramsSerializer=vn);try{return(await on.request(i)).data}catch(a){if("Network Error"===a.message)throw new Sn("Can't connect to n8n.",{errorCode:999});const e=a.response?.data;if(!0===e?.mfaRequired)throw new Tn;if(void 0!==e?.message){if("NodeApiError"===e.name)throw e.httpStatusCode=a.response.status,e;throw new Sn(e.message,{errorCode:e.code,httpStatusCode:a.response.status,stack:e.stack,meta:e.meta,hint:e.hint})}throw a}}function Ro(e){return`n8n:config:${e}`}function Oo(e){const t=Ro(e);try{const e=document.querySelector(`meta[name="${t}"]`);if(!e)return null;const n=e.getAttribute("content");return n?atob(n):null}catch(n){return console.warn(`Failed to read n8n config for "${t}":`,n),null}}return e({D:function(e){{e=w(e);const t={};for(const n in e){const s=e[n];(o(s)||g(s))&&(t[n]=r(e,n))}return t}},T:Mn,c:async function(e,t,n,o){return(await wo({method:t,baseURL:e.baseUrl,endpoint:n,headers:{"push-ref":e.pushRef},data:o})).data},d:wo,f:async function(e,t,n,o,r,s,i=On,a){let c=e=>{c=void 0,s?.(e)};const l={headers:{"browser-id":Rn(),"Content-Type":"application/json"},method:"POST",credentials:"include",body:JSON.stringify(n),signal:a};try{const f=await fetch(`${e.baseUrl}${t}`,l);if(f.body){const p=f.body.getReader(),h=new TextDecoder("utf-8");let m="";async function u(){const{done:e,value:t}=await p.read();if(e)return void(f.ok?r?.():c?.(new Sn(f.statusText,{httpStatusCode:f.status})));const n=h.decode(t);m+=n;const s=m.split(i);m="";for(const r of s)if(r){let e;try{e=A(r,{errorMessage:"Invalid json"})}catch(a){m+=r;continue}try{if(f.ok)o?.(e);else{const t="message"in e?e.message:f.statusText;c?.(new Sn(String(t),{httpStatusCode:f.status}))}}catch(a){a instanceof Error&&c?.(a)}}await u()}await u()}else c&&c(new Error(f.statusText))}catch(d){In(d instanceof Error),c?.(d)}},h:In,l:async function(e,t,n,o){return await wo({method:"PATCH",baseURL:e,endpoint:t,headers:o,data:n})},n:function(e){const t=Oo(e);if(!t)return null;try{return JSON.parse(t)}catch(n){return console.warn(`Failed to parse n8n config for "${Ro(e)}":`,n),null}},o:async function(e,t,n,o){return await wo({method:"GET",baseURL:e,endpoint:t,headers:o,data:n})},s:async function(e,t,n,o){return await wo({method:t,baseURL:e.baseUrl,endpoint:n,headers:{"push-ref":e.pushRef},data:o})},u:async function(e,t,n,o){return await wo({method:"POST",baseURL:e,endpoint:t,headers:o,data:n})},w:function(){const e=h(!0),t=e.run((()=>a({})));let n=[],o=[];const r=E({install(e){U(r),r._a=e,e.provide(P,r),e.config.globalProperties.$pinia=r,o.forEach((e=>n.push(e))),o=[]},use(e){return this._a?n.push(e):o.push(e),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}}),{setters:[function(e){n=e.r},function(e){o=e.At,r=e.Bt,s=e.En,i=e.Et,a=e.Ft,c=e.L,l=e.Mt,u=e.Nt,d=e.R,f=e.S,p=e.Tn,h=e.Tt,m=e.Vt,b=e.W,y=e.gt,E=e.jt,g=e.kt,w=e.zt},function(e){e.h},function(e){R=e.C,O=e.S,T=e.i,S=e.r},function(e){v=e.Po,A=e.Ra,_=e.Va,C=e.qi}],execute:function(){try{t="undefined"!=typeof window?window:void 0!==p?p:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(o=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="4991f3d0-c426-4ca8-820e-a2f72e1ce7ca",t._sentryDebugIdIdentifier="sentry-dbid-4991f3d0-c426-4ca8-820e-a2f72e1ce7ca")}catch(t){}var t,o,r,i,l,u,h,m;s(),U=e=>N=e,e("E",(()=>c()&&d(P)||N)),P=Symbol(),function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"}(L||(L={})),x="undefined"!=typeof window,j="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof p&&p.global===p?p:"object"==typeof globalThis?globalThis:{HTMLElement:null},k="object"==typeof navigator?navigator:{userAgent:""},D=/Macintosh/.test(k.userAgent)&&/AppleWebKit/.test(k.userAgent)&&!/Safari/.test(k.userAgent),F=x?"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype&&!D?Ln:"msSaveOrOpenBlob"in k?xn:jn:()=>{},({assign:B}=Object),M=()=>{},I=e=>e(),W=Symbol(),$=Symbol(),q=Symbol(),({assign:H}=Object),e("C",(function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[P]=t,this.$pinia||(this.$pinia=t),t._a=this,x&&U(t)}else!this.$pinia&&e.parent&&e.parent.$pinia&&(this.$pinia=e.parent.$pinia)},destroyed(){delete this._pStores}})})),e("S",z="n8n-browserId"),e("x","https://api.npms.io/v2/"),e("y","n8n-instance-id"),e("b","n8n-version"),e("v","PartialExecutionToolExecutor"),(V={milliseconds:{toHours:1/36e5,toMinutes:1/6e4,toSeconds:.001},seconds:{toMilliseconds:1e3},minutes:{toMilliseconds:6e4},hours:{toMilliseconds:36e5,toSeconds:3600},days:{toSeconds:86400,toMilliseconds:864e5}}).seconds.toMilliseconds,V.minutes.toMilliseconds,e("_",1*V.minutes.toMilliseconds),e("g","0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"),s(),O(),({toString:K}=Object.prototype),({getPrototypeOf:J}=Object),({iterator:X,toStringTag:Y}=Symbol),r=Object.create(null),G=e=>{const t=K.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())},Q=e=>(e=e.toLowerCase(),t=>G(t)===e),Z=e=>t=>typeof t===e,({isArray:ee}=Array),te=Z("undefined"),ne=Q("ArrayBuffer"),oe=Z("string"),re=Z("function"),se=Z("number"),ie=e=>null!==e&&"object"==typeof e,ae=e=>!0===e||!1===e,ce=e=>{if("object"!==G(e))return!1;const t=J(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Y in e||X in e)},le=e=>{if(!ie(e)||$n(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},ue=Q("Date"),de=Q("File"),fe=e=>!(!e||void 0===e.uri),pe=e=>e&&void 0!==e.getParts,he=Q("Blob"),me=Q("FileList"),be=e=>ie(e)&&re(e.pipe),ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==p?p:{},Ee=void 0!==ye.FormData?ye.FormData:void 0,ge=e=>{let t;return e&&(Ee&&e instanceof Ee||re(e.append)&&("formdata"===(t=G(e))||"object"===t&&re(e.toString)&&"[object FormData]"===e.toString()))},we=Q("URLSearchParams"),[Re,Oe,Te,Se]=["ReadableStream","Request","Response","Headers"].map(Q),ve=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),Ae="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:p,_e=e=>!te(e)&&e!==Ae,Ce=(e,t,n,{allOwnKeys:o}={})=>(Hn(t,((t,o)=>{n&&re(t)?Object.defineProperty(e,o,{value:Wn(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,o,{value:t,writable:!0,enumerable:!0,configurable:!0})}),{allOwnKeys:o}),e),Ne=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Ue=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Pe=(e,t,n,o)=>{let r,s,i;const a={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)i=r[s],o&&!o(i,e,t)||a[i]||(t[i]=e[i],a[i]=!0);e=!1!==n&&J(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Le=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return-1!==o&&o===n},xe=e=>{if(!e)return null;if(ee(e))return e;let t=e.length;if(!se(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},i="undefined"!=typeof Uint8Array&&J(Uint8Array),je=e=>i&&e instanceof i,ke=(e,t)=>{const n=(e&&e[X]).call(e);let o;for(;(o=n.next())&&!o.done;){const n=o.value;t.call(e,n[0],n[1])}},De=(e,t)=>{let n;const o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},Fe=Q("HTMLFormElement"),Be=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),Me=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ie=Q("RegExp"),We=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Hn(n,((n,r)=>{let s;!1!==(s=t(n,r,e))&&(o[r]=s||n)})),Object.defineProperties(e,o)},$e=e=>{We(e,((t,n)=>{if(re(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const o=e[n];re(o)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},qe=(e,t)=>{const n={},o=e=>{e.forEach((e=>{n[e]=!0}))};return ee(e)?o(e):o(String(e).split(t)),n},He=()=>{},ze=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,Ve=e=>{const t=new Array(10),n=(e,o)=>{if(ie(e)){if(t.indexOf(e)>=0)return;if($n(e))return e;if(!("toJSON"in e)){t[o]=e;const r=ee(e)?[]:{};return Hn(e,((e,t)=>{const s=n(e,o+1);!te(s)&&(r[t]=s)})),t[o]=void 0,r}}return e};return n(e,0)},Ke=Q("AsyncFunction"),Je=e=>e&&(ie(e)||re(e))&&re(e.then)&&re(e.catch),l="function"==typeof setImmediate,u=re(Ae.postMessage),Xe=l?setImmediate:u?(h=`axios@${Math.random()}`,m=[],Ae.addEventListener("message",(({source:e,data:t})=>{e===Ae&&t===h&&m.length&&m.shift()()}),!1),e=>{m.push(e),Ae.postMessage(h,"*")}):e=>setTimeout(e),Ye="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Ae):void 0!==R&&R.nextTick||Xe,Ge=e=>null!=e&&re(e[X]),Qe={isArray:ee,isArrayBuffer:ne,isBuffer:$n,isFormData:ge,isArrayBufferView:qn,isString:oe,isNumber:se,isBoolean:ae,isObject:ie,isPlainObject:ce,isEmptyObject:le,isReadableStream:Re,isRequest:Oe,isResponse:Te,isHeaders:Se,isUndefined:te,isDate:ue,isFile:de,isReactNativeBlob:fe,isReactNative:pe,isBlob:he,isRegExp:Ie,isFunction:re,isStream:be,isURLSearchParams:we,isTypedArray:je,isFileList:me,forEach:Hn,merge:Vn,extend:Ce,trim:ve,stripBOM:Ne,inherits:Ue,toFlatObject:Pe,kindOf:G,kindOfTest:Q,endsWith:Le,toArray:xe,forEachEntry:ke,matchAll:De,isHTMLForm:Fe,hasOwnProperty:Me,hasOwnProp:Me,reduceDescriptors:We,freezeMethods:$e,toObjectSet:qe,toCamelCase:Be,noop:He,toFiniteNumber:ze,findKey:zn,global:Ae,isContextDefined:_e,isSpecCompliantForm:Kn,toJSONObject:Ve,isAsyncFn:Ke,isThenable:Je,setImmediate:Xe,asap:Ye,isIterable:Ge},Ze=class e extends Error{static from(t,n,o,r,s,i){const a=new e(t.message,n||t.code,o,r,s);return a.cause=t,a.name=t.name,null!=t.status&&null==a.status&&(a.status=t.status),i&&Object.assign(a,i),a}constructor(e,t,n,o,r){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),r&&(this.response=r,this.status=r.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Qe.toJSONObject(this.config),code:this.code,status:this.status}}},Ze.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Ze.ERR_BAD_OPTION="ERR_BAD_OPTION",Ze.ECONNABORTED="ECONNABORTED",Ze.ETIMEDOUT="ETIMEDOUT",Ze.ERR_NETWORK="ERR_NETWORK",Ze.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Ze.ERR_DEPRECATED="ERR_DEPRECATED",Ze.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Ze.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Ze.ERR_CANCELED="ERR_CANCELED",Ze.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Ze.ERR_INVALID_URL="ERR_INVALID_URL",T(),et=Qe.toFlatObject(Qe,{},null,(function(e){return/^is[A-Z]/.test(e)})),(tt=Zn.prototype).append=function(e,t){this._pairs.push([e,t])},tt.toString=function(e){const t=e?function(t){return e.call(this,t,Qn)}:Qn;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")},nt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Qe.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ot={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},rt="undefined"!=typeof URLSearchParams?URLSearchParams:Zn,st="undefined"!=typeof FormData?FormData:null,it="undefined"!=typeof Blob?Blob:null,at={isBrowser:!0,classes:{URLSearchParams:rt,FormData:st,Blob:it},protocols:["http","https","file","blob","url","data"]},ct=n({hasBrowserEnv:()=>lt,hasStandardBrowserEnv:()=>dt,hasStandardBrowserWebWorkerEnv:()=>ft,navigator:()=>ut,origin:()=>pt}),lt="undefined"!=typeof window&&"undefined"!=typeof document,ut="object"==typeof navigator&&navigator||void 0,dt=lt&&(!ut||["ReactNative","NativeScript","NS"].indexOf(ut.product)<0),ft="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,pt=lt&&window.location.href||"http://localhost",ht={...ct,...at},mt={transitional:ot,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,s=Qe.isObject(e);if(s&&Qe.isHTMLForm(e)&&(e=new FormData(e)),Qe.isFormData(e))return r?JSON.stringify(no(e)):e;if(Qe.isArrayBuffer(e)||Qe.isBuffer(e)||Qe.isStream(e)||Qe.isFile(e)||Qe.isBlob(e)||Qe.isReadableStream(e))return e;if(Qe.isArrayBufferView(e))return e.buffer;if(Qe.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Gn(e,new ht.classes.URLSearchParams,{visitor:function(e,t,n,o){return ht.isNode&&Qe.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((i=Qe.isFileList(e))||o.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Gn(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return s||r?(n.setContentType("application/json",!1),function(e,n,o){if(Qe.isString(e))try{return(n||JSON.parse)(e),Qe.trim(e)}catch(t){if("SyntaxError"!==t.name)throw t}return(o||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const n=this.transitional||mt.transitional,o=n&&n.forcedJSONParsing,r="json"===this.responseType;if(Qe.isResponse(e)||Qe.isReadableStream(e))return e;if(e&&Qe.isString(e)&&(o&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(t){if(o){if("SyntaxError"===t.name)throw Ze.from(t,Ze.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}},Qe.forEach(["delete","get","head","post","put","patch"],(e=>{mt.headers[e]={}})),bt=Qe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yt=e=>{const t={};let n,o,r;return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),o=e.substring(r+1).trim(),!n||t[n]&&bt[n]||("set-cookie"===n?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)})),t},Et=Symbol("internals"),gt=e=>!/[\r\n]/.test(e),wt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()),Rt=class{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=ro(t);if(!r)throw new Error("header name must be a non-empty string");const s=Qe.findKey(o,r);(!s||void 0===o[s]||!0===n||void 0===n&&!1!==o[s])&&(oo(e,t),o[s||t]=so(e))}const s=(e,t)=>Qe.forEach(e,((e,n)=>r(e,n,t)));if(Qe.isPlainObject(e)||e instanceof this.constructor)s(e,t);else if(Qe.isString(e)&&(e=e.trim())&&!wt(e))s(yt(e),t);else if(Qe.isObject(e)&&Qe.isIterable(e)){let n,o,r={};for(const t of e){if(!Qe.isArray(t))throw TypeError("Object iterator must return a key-value pair");r[o=t[0]]=(n=r[o])?Qe.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}s(r,t)}else null!=e&&r(t,e,n);return this}get(e,t){if(e=ro(e)){const n=Qe.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}(e);if(Qe.isFunction(t))return t.call(this,e,n);if(Qe.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ro(e)){const n=Qe.findKey(this,e);return!(!n||void 0===this[n]||t&&!io(0,this[n],n,t))}return!1}delete(e,t){const n=this;let o=!1;function r(e){if(e=ro(e)){const r=Qe.findKey(n,e);!r||t&&!io(0,n[r],r,t)||(delete n[r],o=!0)}}return Qe.isArray(e)?e.forEach(r):r(e),o}clear(e){const t=Object.keys(this);let n=t.length,o=!1;for(;n--;){const r=t[n];e&&!io(0,this[r],r,e,!0)||(delete this[r],o=!0)}return o}normalize(e){const t=this,n={};return Qe.forEach(this,((o,r)=>{const s=Qe.findKey(n,r);if(s)return t[s]=so(o),void delete t[r];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(r):String(r).trim();i!==r&&delete t[r],t[i]=so(o),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Qe.forEach(this,((n,o)=>{null!=n&&!1!==n&&(t[o]=e&&Qe.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Et]=this[Et]={accessors:{}}).accessors,n=this.prototype;function o(e){const o=ro(e);t[o]||(function(e,t){const n=Qe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:!0})}))}(n,e),t[o]=!0)}return Qe.isArray(e)?e.forEach(o):o(e),this}},Rt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Qe.reduceDescriptors(Rt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Qe.freezeMethods(Rt),Ot=class extends Ze{constructor(e,t,n){super(null==e?"canceled":e,Ze.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}},Tt=(e,t,n=3)=>{let o=0;const r=function(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r,s=0,i=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=o[i];r||(r=c),n[s]=a,o[s]=c;let u=i,d=0;for(;u!==s;)d+=n[u++],u%=e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),c-r<t)return;const f=l&&c-l;return f?Math.round(1e3*d/f):void 0}}(50,250);return function(e,t){let n,o,r=0,s=1e3/t;const i=(t,s=Date.now())=>{r=s,n=null,o&&(clearTimeout(o),o=null),e(...t)};return[(...e)=>{const t=Date.now(),a=t-r;a>=s?i(e,t):(n=e,o||(o=setTimeout((()=>{o=null,i(n)}),s-a)))},()=>n&&i(n)]}((n=>{const s=n.loaded,i=n.lengthComputable?n.total:void 0,a=s-o,c=r(a);o=s,e({loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:c||void 0,estimated:c&&i&&s<=i?(i-s)/c:void 0,event:n,lengthComputable:null!=i,[t?"download":"upload"]:!0})}),n)},St=(e,t)=>{const n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},vt=e=>(...t)=>Qe.asap((()=>e(...t))),At=ht.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ht.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):()=>!0,_t=ht.hasStandardBrowserEnv?{write(e,t,n,o,r,s,i){if("undefined"==typeof document)return;const a=[`${e}=${encodeURIComponent(t)}`];Qe.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),Qe.isString(o)&&a.push(`path=${o}`),Qe.isString(r)&&a.push(`domain=${r}`),!0===s&&a.push("secure"),Qe.isString(i)&&a.push(`SameSite=${i}`),document.cookie=a.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}},Ct=e=>e instanceof Rt?{...e}:e,Nt=e=>{const t=fo({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:s,headers:i,auth:a}=t;if(t.headers=i=Rt.from(i),t.url=to(uo(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),Qe.isFormData(n))if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(Qe.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{t.includes(e.toLowerCase())&&i.set(e,n)}))}if(ht.hasStandardBrowserEnv&&(o&&Qe.isFunction(o)&&(o=o(t)),o||!1!==o&&At(t.url))){const e=r&&s&&_t.read(s);e&&i.set(r,e)}return t},Ut="undefined"!=typeof XMLHttpRequest,Pt=Ut&&function(e){return new Promise((function(t,n){const o=Nt(e);let r=o.data;const s=Rt.from(o.headers).normalize();let i,a,c,l,u,{responseType:d,onUploadProgress:f,onDownloadProgress:p}=o;function h(){l&&l(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(i),o.signal&&o.signal.removeEventListener("abort",i)}let m=new XMLHttpRequest;function b(){if(!m)return;const o=Rt.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());lo((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:o,config:e,request:m}),m=null}m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout,"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(b)},m.onabort=function(){m&&(n(new Ze("Request aborted",Ze.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const o=new Ze(t&&t.message?t.message:"Network Error",Ze.ERR_NETWORK,e,m);o.event=t||null,n(o),m=null},m.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const r=o.transitional||ot;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new Ze(t,r.clarifyTimeoutError?Ze.ETIMEDOUT:Ze.ECONNABORTED,e,m)),m=null},void 0===r&&s.setContentType(null),"setRequestHeader"in m&&Qe.forEach(s.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),Qe.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),d&&"json"!==d&&(m.responseType=o.responseType),p&&([c,u]=Tt(p,!0),m.addEventListener("progress",c)),f&&m.upload&&([a,l]=Tt(f),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",l)),(o.cancelToken||o.signal)&&(i=t=>{m&&(n(!t||t.type?new Ot(null,e,m):t),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(i),o.signal&&(o.signal.aborted?i():o.signal.addEventListener("abort",i)));const y=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);y&&-1===ht.protocols.indexOf(y)?n(new Ze("Unsupported protocol "+y+":",Ze.ERR_BAD_REQUEST,e)):m.send(r||null)}))},Lt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,o=new AbortController;const r=function(e){if(!n){n=!0,i();const t=e instanceof Error?e:this.reason;o.abort(t instanceof Ze?t:new Ot(t instanceof Error?t.message:t))}};let s=t&&setTimeout((()=>{s=null,r(new Ze(`timeout of ${t}ms exceeded`,Ze.ETIMEDOUT))}),t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)})),e=null)};e.forEach((e=>e.addEventListener("abort",r)));const{signal:a}=o;return a.unsubscribe=()=>Qe.asap(i),a}},xt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let o,r=0;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},jt=async function*(e,t){for await(const n of kt(e))yield*xt(n,t)},kt=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},Dt=(e,t,n,o)=>{const r=jt(e,t);let s,i=0,a=e=>{s||(s=!0,o&&o(e))};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t)return a(),void e.close();let s=o.byteLength;n&&n(i+=s),e.enqueue(new Uint8Array(o))}catch(t){throw a(t),t}},cancel:e=>(a(e),r.return())},{highWaterMark:2})},({isFunction:Ft}=Qe),Bt=(({Request:e,Response:t})=>({Request:e,Response:t}))(Qe.global),({ReadableStream:Mt,TextEncoder:It}=Qe.global),Wt=(e,...n)=>{try{return!!e(...n)}catch(t){return!1}},$t=e=>{e=Qe.merge.call({skipUndefined:!0},Bt,e);const{fetch:t,Request:n,Response:o}=e,r=t?Ft(t):"function"==typeof fetch,s=Ft(n),i=Ft(o);if(!r)return!1;const a=r&&Ft(Mt),c=r&&("function"==typeof It?(l=new It,e=>l.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var l;const u=s&&a&&Wt((()=>{let e=!1;const t=new Mt,o=new n(ht.origin,{body:t,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return t.cancel(),e&&!o})),d=i&&a&&Wt((()=>Qe.isReadableStream(new o("").body))),f={stream:d&&(e=>e.body)};r&&["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let o=t&&t[e];if(o)return o.call(t);throw new Ze(`Response type '${e}' is not supported`,Ze.ERR_NOT_SUPPORT,n)})}));const p=async(e,t)=>{const o=Qe.toFiniteNumber(e.getContentLength());return null==o?(async e=>null==e?0:Qe.isBlob(e)?e.size:Qe.isSpecCompliantForm(e)?(await new n(ht.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:Qe.isArrayBufferView(e)||Qe.isArrayBuffer(e)?e.byteLength:(Qe.isURLSearchParams(e)&&(e+=""),Qe.isString(e)?(await c(e)).byteLength:void 0))(t):o};return async e=>{let{url:r,method:i,data:a,signal:c,cancelToken:l,timeout:h,onDownloadProgress:m,onUploadProgress:b,responseType:y,headers:E,withCredentials:g="same-origin",fetchOptions:w}=Nt(e),R=t||fetch;y=y?(y+"").toLowerCase():"text";let O=Lt([c,l&&l.toAbortSignal()],h),T=null;const S=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let v;try{if(b&&u&&"get"!==i&&"head"!==i&&0!==(v=await p(E,a))){let e,t=new n(r,{method:"POST",body:a,duplex:"half"});if(Qe.isFormData(a)&&(e=t.headers.get("content-type"))&&E.setContentType(e),t.body){const[e,n]=St(v,Tt(vt(b)));a=Dt(t.body,65536,e,n)}}Qe.isString(g)||(g=g?"include":"omit");const t=s&&"credentials"in n.prototype,c={...w,signal:O,method:i.toUpperCase(),headers:E.normalize().toJSON(),body:a,duplex:"half",credentials:t?g:void 0};T=s&&new n(r,c);let l=await(s?R(T,w):R(r,c));const h=d&&("stream"===y||"response"===y);if(d&&(m||h&&S)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=l[t]}));const t=Qe.toFiniteNumber(l.headers.get("content-length")),[n,r]=m&&St(t,Tt(vt(m),!0))||[];l=new o(Dt(l.body,65536,n,(()=>{r&&r(),S&&S()})),e)}y=y||"text";let A=await f[Qe.findKey(f,y)||"text"](l,e);return!h&&S&&S(),await new Promise(((t,n)=>{lo(t,n,{data:A,headers:Rt.from(l.headers),status:l.status,statusText:l.statusText,config:e,request:T})}))}catch(A){if(S&&S(),A&&"TypeError"===A.name&&/Load failed|fetch/i.test(A.message))throw Object.assign(new Ze("Network Error",Ze.ERR_NETWORK,e,T,A&&A.response),{cause:A.cause||A});throw Ze.from(A,A&&A.code,e,T,A&&A.response)}}},qt=new Map,(Ht=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t,s=[o,r,n];let i,a,c=s.length,l=qt;for(;c--;)i=s[c],a=l.get(i),void 0===a&&l.set(i,a=c?new Map:$t(t)),l=a;return a})(),zt={http:null,xhr:Pt,fetch:{get:Ht}},Qe.forEach(zt,((e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch(t){}Object.defineProperty(e,"adapterName",{value:n})}})),Vt=e=>`- ${e}`,Kt=e=>Qe.isFunction(e)||null===e||!1===e,Jt={getAdapter:po,adapters:zt},Xt="1.15.0",Yt={},["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Yt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}})),Gt={},Yt.transitional=function(e,t,n){function o(e,t){return"[Axios v"+Xt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,s)=>{if(!1===e)throw new Ze(o(r," has been removed"+(t?" in "+t:"")),Ze.ERR_DEPRECATED);return t&&!Gt[r]&&(Gt[r]=!0,console.warn(o(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},Yt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)},Zt=(Qt={assertOptions:bo,validators:Yt}).validators,en=class{constructor(e){this.defaults=e||{},this.interceptors={request:new nt,response:new nt}}async request(e,n){try{return await this._request(e,n)}catch(o){if(o instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const n=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(o.stack){if(n){const e=n.indexOf("\n"),t=-1===e?-1:n.indexOf("\n",e+1),r=-1===t?"":n.slice(t+1);String(o.stack).endsWith(r)||(o.stack+="\n"+n)}}else o.stack=n}catch(t){}}throw o}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=fo(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;void 0!==n&&Qt.assertOptions(n,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean),legacyInterceptorReqResOrdering:Zt.transitional(Zt.boolean)},!1),null!=o&&(Qe.isFunction(o)?t.paramsSerializer={serialize:o}:Qt.assertOptions(o,{encode:Zt.function,serialize:Zt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Qt.assertOptions(t,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=r&&Qe.merge(r.common,r[t.method]);r&&Qe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]})),t.headers=Rt.concat(s,r);const i=[];let a=!0;this.interceptors.request.forEach((function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;a=a&&e.synchronous;const n=t.transitional||ot;n&&n.legacyInterceptorReqResOrdering?i.unshift(e.fulfilled,e.rejected):i.push(e.fulfilled,e.rejected)}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,d=0;if(!a){const e=[mo.bind(this),void 0];for(e.unshift(...i),e.push(...c),u=e.length,l=Promise.resolve(t);d<u;)l=l.then(e[d++],e[d++]);return l}u=i.length;let f=t;for(;d<u;){const e=i[d++],t=i[d++];try{f=e(f)}catch(p){t.call(this,p);break}}try{l=mo.call(this,f)}catch(p){return Promise.reject(p)}for(d=0,u=c.length;d<u;)l=l.then(c[d++],c[d++]);return l}getUri(e){return to(uo((e=fo(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}},Qe.forEach(["delete","get","head","options"],(function(e){en.prototype[e]=function(t,n){return this.request(fo(n||{},{method:e,url:t,data:(n||{}).data}))}})),Qe.forEach(["post","put","patch"],(function(e){function t(t){return function(n,o,r){return this.request(fo(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}en.prototype[e]=t(),en.prototype[e+"Form"]=t(!0)})),tn=class e{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e),t=e})).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e((function(e,o,r){n.reason||(n.reason=new Ot(e,o,r),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e((function(e){t=e})),cancel:t}}},nn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526},Object.entries(nn).forEach((([e,t])=>{nn[t]=e})),e("m",on=go(mt)),on.Axios=en,on.CanceledError=Ot,on.CancelToken=tn,on.isCancel=co,on.VERSION=Xt,on.toFormData=Gn,on.AxiosError=Ze,on.Cancel=on.CanceledError,on.all=function(e){return Promise.all(e)},on.spread=yo,on.isAxiosError=Eo,on.mergeConfig=fo,on.AxiosHeaders=Rt,on.formToJSON=e=>no(Qe.isHTMLForm(e)?new FormData(e):e),on.getAdapter=Jt.getAdapter,on.HttpStatusCode=nn,on.default=on,({Axios:rn,AxiosError:sn,CanceledError:an,isCancel:cn,CancelToken:ln,VERSION:un,all:dn,Cancel:fn,isAxiosError:pn,spread:hn,toFormData:mn,AxiosHeaders:bn,HttpStatusCode:yn,formToJSON:En,getAdapter:gn,mergeConfig:wn}=on),e("p",sn),Rn=()=>{let e=localStorage.getItem(z);return e||(e=crypto.randomUUID(),localStorage.setItem(z,e)),e},On="⧉⇋⇋➽⌑⧉§§\n",e("i",Tn=class extends v{constructor(){super("MFA is required to access this resource. Please set up MFA in your user settings."),this.name="MfaRequiredError"}}),e("a",Sn=class extends v{httpStatusCode;errorCode;serverStackTrace;meta;hint;constructor(e,t={}){super(e),this.name="ResponseError";const{errorCode:n,httpStatusCode:o,stack:r,meta:s,hint:i}=t;n&&(this.errorCode=n),o&&(this.httpStatusCode=o),r&&(this.serverStackTrace=r),s&&(this.meta=s),i&&(this.hint=i)}}),vn=e=>Object.keys(e).filter((t=>void 0!==e[t])).map((t=>Array.isArray(e[t])?e[t].map((e=>`${t}[]=${encodeURIComponent(e)}`)).join("&"):("object"==typeof e[t]&&(e[t]=JSON.stringify(e[t])),`${t}=${encodeURIComponent(e[t])}`))).join("&"),e("r",An={COMMUNITY_NODES:"communityNodes",ROOT:"root",SETTINGS:"settings",UI:"ui",USERS:"users",WORKFLOWS:"workflows",WORKFLOWS_LIST:"workflowsList",WORKFLOWS_V2:"workflowsV2",WORKFLOWS_EE:"workflowsEE",WORKFLOW_DOCUMENTS:"workflowDocuments",EXECUTIONS:"executions",NDV:"ndv",TEMPLATES:"templates",NODE_TYPES:"nodeTypes",CREDENTIALS:"credentials",TAGS:"tags",ANNOTATION_TAGS:"annotationTags",VERSIONS:"versions",NODE_CREATOR:"nodeCreator",WEB