n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 3.73 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"],(function(e,t){var n;return{setters:[function(e){n=e.t}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(a=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="113c087a-1876-4cfa-bcfb-906f8d619ab7",t._sentryDebugIdIdentifier="sentry-dbid-113c087a-1876-4cfa-bcfb-906f8d619ab7")}catch(t){}var t,a;e("t",n(((e,t)=>{!function(n){var a,i,d,s=(a=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,i=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,d=/[^-+\dA-Z]/g,function(e,t,n,u){if(1!==arguments.length||"string"!==o(e)||/\d/.test(e)||(t=e,e=void 0),(e=e||new Date)instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");var f=(t=String(s.masks[t]||t||s.masks.default)).slice(0,4);"UTC:"!==f&&"GMT:"!==f||(t=t.slice(4),n=!0,"GMT:"===f&&(u=!0));var l=n?"getUTC":"get",c=e[l+"Date"](),g=e[l+"Day"](),M=e[l+"Month"](),T=e[l+"FullYear"](),h=e[l+"Hours"](),b=e[l+"Minutes"](),D=e[l+"Seconds"](),p=e[l+"Milliseconds"](),N=n?0:e.getTimezoneOffset(),S=m(e),H=y(e),v={d:c,dd:r(c),ddd:s.i18n.dayNames[g],dddd:s.i18n.dayNames[g+7],m:M+1,mm:r(M+1),mmm:s.i18n.monthNames[M],mmmm:s.i18n.monthNames[M+12],yy:String(T).slice(2),yyyy:T,h:h%12||12,hh:r(h%12||12),H:h,HH:r(h),M:b,MM:r(b),s:D,ss:r(D),l:r(p,3),L:r(Math.round(p/10)),t:h<12?s.i18n.timeNames[0]:s.i18n.timeNames[1],tt:h<12?s.i18n.timeNames[2]:s.i18n.timeNames[3],T:h<12?s.i18n.timeNames[4]:s.i18n.timeNames[5],TT:h<12?s.i18n.timeNames[6]:s.i18n.timeNames[7],Z:u?"GMT":n?"UTC":(String(e).match(i)||[""]).pop().replace(d,""),o:(N>0?"-":"+")+r(100*Math.floor(Math.abs(N)/60)+Math.abs(N)%60,4),S:["th","st","nd","rd"][c%10>3?0:(c%100-c%10!=10)*c%10],W:S,N:H};return t.replace(a,(function(e){return e in v?v[e]:e.slice(1,e.length-1)}))});function r(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}function m(e){var t=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.setDate(t.getDate()-(t.getDay()+6)%7+3);var n=new Date(t.getFullYear(),0,4);n.setDate(n.getDate()-(n.getDay()+6)%7+3);var a=t.getTimezoneOffset()-n.getTimezoneOffset();t.setHours(t.getHours()-a);var i=(t-n)/6048e5;return 1+Math.floor(i)}function y(e){var t=e.getDay();return 0===t&&(t=7),t}function o(e){return null===e?"null":void 0===e?"undefined":"object"!=typeof e?typeof e:Array.isArray(e)?"array":{}.toString.call(e).slice(8,-1).toLowerCase()}s.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},s.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]},"function"==typeof define&&define.amd?define((function(){return s})):"object"==typeof e?t.exports=s:n.dateFormat=s}(e)})))}}}));
//# sourceMappingURL=dateformat-legacy-BxdD_OP7.js.map