n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.74 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.13.4"}}catch(e){}}(),System.register(["./chunk-legacy-TXBRODOR.js","./_MapCache-legacy-DwgdC8YO.js","./dateformat-legacy-BxdD_OP7.js"],(function(e,n){var t,o,i,r,s;return{setters:[function(e){t=e.o},function(e){o=e.bt},function(e){i=e.t}],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]="e7c7bf41-8c1e-4096-a8a1-e073a772c739",n._sentryDebugIdIdentifier="sentry-dbid-e7c7bf41-8c1e-4096-a8a1-e073a772c739")}catch(n){}var n,d;r=t(i(),1),e("i",(e=>e.findLast((e=>"activated"===e.event)))),e("r",s=e=>`Version ${e.substring(0,8)}`),e("o",(({workflowHistory:e,currentVersionId:n})=>{const t=o();return e.name?e.name:e.versionId===n?t.baseText("workflowHistory.item.currentChanges"):s(e.versionId)})),e("n",(e=>{const n=(new Date).getFullYear().toString(),[t,o]=(0,r.default)(e,(e.startsWith(n)?"":"yyyy ")+'mmm d"#"HH:MM:ss').split("#");return{date:t,time:o}})),e("t",(e=>{const n=[];let t=[],o=0;const i=()=>{t.length>0&&(n.push({type:"group-header",groupId:"group-"+o++,count:t.length,versions:[...t]}),t=[])};for(let r=0;r<e.length;r++){const o=e[r];0===r||o.name?.trim()?(i(),n.push({type:"version",item:o,originalIndex:r,isGrouped:!1})):t.push({type:"version",item:o,originalIndex:r,isGrouped:!0})}return i(),n})),e("a",(e=>{if(e)return e.activeVersionId??e.activeVersion?.versionId??void 0}))}}}));
//# sourceMappingURL=utils-legacy-L_l-KqR-.js.map