text: var dubium=function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){var r=["January","Febuary","March","April","May","June","July","August","September","October","November","December"],n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];e.exports={format:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;e=e||"DD/MM/YY hh:mm:ss",t=t?new Date(t):new Date;if(e.match(/hh/)){var a=t.getHours();10>a&&(a="0".concat(a)),e=e.replace("hh",a)}else if(e.match(/H/)){var u=t.getHours();12<u?u-=12:0==u&&(u=12),11<u&&(pA="pm"),e=e.replace("H",u)}if(e.match(/mm/)){var s=t.getMinutes();10>s&&(s="0".concat(s)),e=e.replace("mm",s)}if(e.match(/ss/)){var l=t.getSeconds();10>l&&(l="0".concat(l)),e=e.replace("ss",l)}if((e.match(/a/)||e.match(/A/))&&11<t.getHours()&&(e=e.match(/A/)?e.replace("A","PM"):e.replace("a","pm")),e.match(/DDDD/)){var c=t.getDay();e=e.replace("DDDD",n[c])}if(e.match(/DD/)){var o=t.getDate();10>o&&(o="0".concat(o)),e=e.replace("DD",o)}if(e.match(/MMMM/)){var i=t.getMonth();e=e.replace("MMMM",r[i])}else if(e.match(/MMM/)){var p=t.getMonth();e=e.replace("MMM",r[p].substr(0,3))}else if(e.match(/MM/)){var d=t.getMonth()+1;10>d&&(d="0".concat(d)),e=e.replace("MM",d)}return e.match(/YYYY/)?e=e.replace("YYYY",t.getFullYear()):e.match(/YY/)&&(e=e.replace("YY",(t.getFullYear()+"").substr(2,4))),e},unformat:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"DD/MM/YY hh:mm:ss",n=/MMM/.exec(t),a=null,u=null,s=null,l=null,c=null,o=null,i=null;if(n){a=/MMMM/.exec(t);for(var p=0;p<r.length;p++)if(r[p].substr(0,3).toLowerCase()==e.substr(n.index,3).toLowerCase()){e=a?e.replace(r[p],"XXXX"):e.replace(r[p].substr(0,3),"XXX"),i=r.indexOf(r[p]);break}}else(n=/MM/.exec(t))&&(i=parseInt(e.substr(n.index,2)));return(n=/hh/.exec(t))?s=parseInt(e.substr(n.index,2)):(n=/H/.exec(t),a=/[a]+$/i.exec(t),n&&(s=parseInt(e.substr(n.index,1)),"pm"==e.substr(a.index,2).toLowerCase()&&(s+=12),t=t.replace(t.substr(n.index,1),"XX"))),(n=/mm/.exec(t))&&(l=parseInt(e.substr(n.index,2))),(n=/ss/.exec(t))&&(c=parseInt(e.substr(n.index,2))),(n=/DD/.exec(t))&&(u=parseInt(e.substr(n.index,2))),(n=/YYYY/.exec(t))?o=parseInt(e.substr(n.index,4)):(n=/YY/.exec(t))&&(o=2e3+parseInt(e.substr(n.index,2))),new Date(Date.UTC(o,i,u,s,l,c)).getTime()},getWeekRange:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=!!(1<arguments.length&&void 0!==arguments[1])&&arguments[1],r=(e=e?new Date(e):new Date).getDate()-e.getDay()+1,n=new Date(e.setDate(r));n.setHours(0,0,0,0);var a=n.getTime(),u=new Date(e.setDate(r+6));return t?u.setHours(0,0,0,0):u.setHours(23,59,59,999),[a,u.getTime()]},daysInRange:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,r=!!(2<arguments.length&&void 0!==arguments[2])&&arguments[2];!t&&Array.isArray(e)&&1<e.length&&(t=(e=e[0])[1]);for(var n=[],a=new Date(e);a<=t;){var u=new Date(a).getTime();r&&(u+=""),n.push(u),a.setDate(a.getDate()+1)}return n}}}]);
  //# sourceMappingURL=dubium.min.js.map