n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.98 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(["./useRootStore-legacy-CC08el-l.js"],(function(e,n){var t,r,i,l,o,s,u,f,c;return e("n",(function(e,n,t=5,r=1){const i=[],l=new Intl.Segmenter(void 0,{granularity:"grapheme"});for(const{segment:u}of l.segment(e))i.push(u);if(i.length<=n)return e;const o=i.findLastIndex((e=>e.match(/^\s+$/)))+1,s=i.slice(o);if(s.length>=r&&s.length<15){const e=o,t=e-(i.length-n+1);if(t>0)return i.slice(0,t).join("")+"…"+i.slice(e).join("")}return t<1?i.slice(0,n).join("")+"…":i.slice(0,n-t-1).join("")+"…"+i.slice(-t).join("")})),{setters:[function(e){t=e.g}],execute:function(){try{n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(d=(new n.Error).stack)&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[d]="4d12c31c-e29c-4a71-876a-2882b4985645",n._sentryDebugIdIdentifier="sentry-dbid-4d12c31c-e29c-4a71-876a-2882b4985645")}catch(n){}var n,d;r=e=>crypto.getRandomValues(new Uint8Array(e)),i=(e,n,t)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*n/e.length);return(l=n)=>{let o="";for(;;){let n=t(i),s=0|i;for(;s--;)if(o+=e[n[s]&r]||"",o.length===l)return o}}},e("r",((e,n=21)=>i(e,n,r))(t,16)),l=/[<>:"/\\|?*\u0000-\u001F\u007F-\u009F]/g,o=/[\u200B-\u200D\u2060\uFEFF]/g,s=/[\u00A0\u2000-\u200A]/g,u=/^[\s.]+|[\s.]+$/g,f=new Set(["CON","PRN","AUX","NUL","COM1","COM2","COM3","COM4","COM5","COM6","COM7","COM8","COM9","LPT1","LPT2","LPT3","LPT4","LPT5","LPT6","LPT7","LPT8","LPT9"]),c="untitled",e("t",((e,n=200)=>{if(!e)return c;let t=e.trim().replace(l,"_").replace(o,"").replace(s," ").replace(u,"");return t||(t=c),f.has(t.toUpperCase())&&(t=`_${t}`),t.length>n&&(t=t.slice(0,n)),t}))}}}));
//# sourceMappingURL=dist-legacy-DjUlvlIe.js.map