n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.65 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(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./constants-legacy-2_ytuuS3.js"],(function(e,n){var t,o,a,s,i,c,f;return e("t",(function({onPaste:e=(()=>{})}={}){const n=o(f,t()),{copy:d,copied:l,isSupported:r,text:u}=c({legacy:!0}),p=["el-messsage-box","ignore-key-press-canvas"],y=t(!1),b=t(e||null),g=i((function(e){if(!b.value)return;const n=e.composedPath?.();for(const o of n)if(o.className&&p.some((e=>o.className.includes?.(e))))return;const t=e.clipboardData;if(null!==t){const n=t.getData("text/plain");b.value(n,e)}}),1e3);return a((()=>{y.value||(document.addEventListener("paste",g),y.value=!0)})),s((()=>{y.value&&document.removeEventListener("paste",g)})),{copy:async function(e){const t=n?.value?.navigator;if(t?.clipboard)try{return void(await t.clipboard.writeText(e))}catch{}await d(e)},copied:l,isSupported:r,text:u,onPaste:b}})),{setters:[function(e){t=e.Ft,o=e.R,a=e.X,s=e.q},function(e){i=e.Y,c=e.c},function(e){f=e.xc}],execute:function(){try{e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(n=(new e.Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f28f29f0-9886-4314-bbe7-30f3a443a8c8",e._sentryDebugIdIdentifier="sentry-dbid-f28f29f0-9886-4314-bbe7-30f3a443a8c8")}catch(e){}var e,n}}}));
//# sourceMappingURL=useClipboard-legacy-DnQV92ly.js.map