n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 2.92 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","./get-legacy-CLCnFf3e.js","./_MapCache-legacy-BrGWD-Li.js","./constants-legacy-2_ytuuS3.js"],(function(e,n){var t,i,r,o,u,f,a,c,d,s,l,v,g;return e("t",(function(){const e=r(new WeakMap),n=(n,t)=>{const{trailing:i,debounceTime:r}=t,o=a(r);let u=e.value.get(n);return void 0===u&&(u=(0,g.default)((async(...e)=>n(...e)),o,i?{trailing:i}:{leading:!0}),e.value.set(n,u)),u};return{debounce:n,callDebounced:(e,t,...i)=>n(e,t)(...i)}})),{setters:[function(e){t=e.o,i=e.t},function(e){r=e.Ft},function(e){o=e.l},function(e){u=e.c,f=e.f},function(e){a=e.cl}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(r=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="06703563-fdd5-4f7d-83e2-de5f5c6b2244",n._sentryDebugIdIdentifier="sentry-dbid-06703563-fdd5-4f7d-83e2-de5f5c6b2244")}catch(n){}var n,r;c=i(((e,n)=>{var t=/\s/;n.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}})),d=i(((e,n)=>{var t=c(),i=/^\s+/;n.exports=function(e){return e?e.slice(0,t(e)+1).replace(i,""):e}})),e("r",s=i(((e,n)=>{var t=d(),i=u(),r=o(),f=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,s=parseInt;n.exports=function(e){if("number"==typeof e)return e;if(r(e))return NaN;if(i(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=i(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=t(e);var o=a.test(e);return o||c.test(e)?s(e.slice(2),o?2:8):f.test(e)?NaN:+e}}))),l=i(((e,n)=>{var t=f();n.exports=function(){return t.Date.now()}})),e("n",v=i(((e,n)=>{var t=u(),i=l(),r=s(),o=Math.max,f=Math.min;n.exports=function(e,n,u){var a,c,d,s,l,v,g=0,y=!1,p=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(n){var t=a,i=c;return a=c=void 0,g=n,s=e.apply(i,t)}function m(e){return g=e,l=setTimeout(T,n),y?h(e):s}function w(e){var t=e-v;return void 0===v||t>=n||t<0||p&&e-g>=d}function T(){var e=i();if(w(e))return x(e);l=setTimeout(T,function(e){var t=n-(e-v);return p?f(t,d-(e-g)):t}(e))}function x(e){return l=void 0,b&&a?h(e):(a=c=void 0,s)}function E(){var e=i(),t=w(e);if(a=arguments,c=this,v=e,t){if(void 0===l)return m(v);if(p)return clearTimeout(l),l=setTimeout(T,n),h(v)}return void 0===l&&(l=setTimeout(T,n)),s}return n=r(n)||0,t(u)&&(y=!!u.leading,d=(p="maxWait"in u)?o(r(u.maxWait)||0,n):d,b="trailing"in u?!!u.trailing:b),E.cancel=function(){void 0!==l&&clearTimeout(l),g=0,a=v=c=l=void 0},E.flush=function(){return void 0===l?s:x(i())},E}}))),g=t(v(),1)}}}));
//# sourceMappingURL=useDebounce-legacy-CRJGWVMg.js.map