mirror of
https://github.com/MikroWizard/docker-compose-deployment.git
synced 2025-07-02 06:54:25 +02:00
1 line
8.5 KiB
JavaScript
1 line
8.5 KiB
JavaScript
|
"use strict";(self.webpackChunkmikrowizard=self.webpackChunkmikrowizard||[]).push([[130],{9130:(fe,y,h)=>{h.d(y,{qD:()=>ce});var S=h(967);function I(e,t,n){const r=function E(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,n.timeZone,n.locale);return"formatToParts"in r?function $(e,t){const n=e.formatToParts(t);for(let r=n.length-1;r>=0;--r)if("timeZoneName"===n[r].type)return n[r].value}(r,t):function P(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(r,t)}const X={year:0,month:1,day:2,hour:3,minute:4,second:5},D={};function M(e,t,n,r,i,o,s){const u=new Date(0);return u.setUTCFullYear(e,t,n),u.setUTCHours(r,i,o,s),u}const Y=36e5,v=6e4,T={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function d(e,t,n){if(!e)return 0;let i,o,r=T.timezoneZ.exec(e);if(r)return 0;if(r=T.timezoneHH.exec(e),r)return i=parseInt(r[1],10),O(i)?-i*Y:NaN;if(r=T.timezoneHHMM.exec(e),r){i=parseInt(r[2],10);const s=parseInt(r[3],10);return O(i,s)?(o=Math.abs(i)*Y+s*v,"+"===r[1]?-o:o):NaN}if(function G(e){if(z[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),z[e]=!0,!0}catch{return!1}}(e)){t=new Date(t||Date.now());const s=n?t:function j(e){return M(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),u=g(s,e);return-(n?u:function R(e,t,n){let i=e.getTime()-t;const o=g(new Date(i),n);if(t===o)return t;i-=o-t;const s=g(new Date(i),n);return o===s?o:Math.max(o,s)}(t,u,e))}return NaN}function g(e,t){const n=function L(e,t){const n=function W(e){if(!D[e]){const t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z"));D[e]="06/25/2014, 00:00:00"===t||"\u200e06\u200e/\u200e25\u200e/\u200e2014\u200e \u200e00\u200e:\u200e00\u200e:\u200e00"===t?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return D[e]}(t);return"formatToParts"in n?function k(e,t){try{const n=e.formatToParts(t),r=[];for(let i=0;i<n.length;i++){const o=X[n[i].type];void 0!==o&&(r[o]=parseInt(n[i].value,10))}return r}catch(n){if(n instanceof RangeError)return[NaN];throw n}}(n,e):function A(e,t){const n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}(n,e)}(e,t),r=M(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let i=e.getTime();const o=i%1e3;return i-=o>=0?o:1e3+o,r-i}function O(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const z={},B={X:function(e,t,n){const r=N(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return x(r);case"XXXX":case"XX":return l(r);default:return l(r,":")}},x:function(e,t,n){const r=N(n.timeZone,e);switch(t){case"x":return x(r);case"xxxx":case"xx":return l(r);default:return l(r,":")}},O:function(e,t,n){const r=N(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function J(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;return 0===o?n+String(i):n+String(i)+t+m(o,2)}(r,":");default:return"GMT"+l(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return I("short",e,n);default:return I("long",e,n)}}};function N(e,t){const n=e?d(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function m(e,t){const n=e<0?"-":"";let r=Math.abs(e).toString();for(;r.length<t;)r="0"+r;return n+r}function l(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+m(Math.floor(r/60),2)+t+m(Math.floor(r%60),2)}function x(e,t){return e%60==0?(e>0?"-":"+")+m(Math.abs(e)/60,2):l(e,t)}function C(e){const t=new Da
|