From 4094855feb6282e648e577d21b5e2e81a9f9d19d Mon Sep 17 00:00:00 2001 From: Alireza Alibeiki Date: Thu, 15 Jul 2021 14:03:56 +0430 Subject: [PATCH] update dependencies and build --- dist/PersianDate.js | 17 +- dist/PersianDate.min.js | 2 +- dist/PersianDate.umd.js | 17 +- dist/PersianDate.umd.min.js | 2 +- package.json | 4 +- yarn.lock | 1810 +++++++++++++++++++---------------- 6 files changed, 1007 insertions(+), 845 deletions(-) diff --git a/dist/PersianDate.js b/dist/PersianDate.js index 3c3a599..567ca22 100644 --- a/dist/PersianDate.js +++ b/dist/PersianDate.js @@ -297,18 +297,21 @@ function _arrayWithHoles(arr) { } function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); + + if (_i == null) return; var _arr = []; var _n = true; var _d = false; - var _e = undefined; + + var _s, _e; try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; @@ -353,9 +356,9 @@ function _nonIterableRest() { } function _createForOfIteratorHelper(o, allowArrayLike) { - var it; + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -388,7 +391,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { err; return { s: function () { - it = o[Symbol.iterator](); + it = it.call(o); }, n: function () { var step = it.next(); diff --git a/dist/PersianDate.min.js b/dist/PersianDate.min.js index d789885..e8c3d34 100644 --- a/dist/PersianDate.min.js +++ b/dist/PersianDate.min.js @@ -1 +1 @@ -"use strict";var CALENDAR={jalali:{months:{1:"فروردین",2:"اردیبهشت",3:"خرداد",4:"تیر",5:"مرداد",6:"شهریور",7:"مهر",8:"آبان",9:"آذر",10:"دی",11:"بهمن",12:"اسفند"},days:{label:{6:"شنبه",0:"یکشنبه",1:"دوشنبه",2:"سه‌شنبه",3:"چهارشنبه",4:"پنجشنبه",5:"جمعه"},weekNumber:{6:0,0:1,1:2,2:3,3:4,4:5,5:6}},ordinalNumbers:function(t,r){var e={1:"یک",2:"دو",3:"سو",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی‌",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سیصد"},i="";if(1==t)i="اول";else if(e[t])i=e[t]+(30==t?"ام":"م");else{var a=t%100;(e[a]||(a=t%10))&&(i=e[a]+"م"),(a=(t-a)%100)&&(i=e[a]+(i?" و "+i:30==a?"ام ":"م")),(a=100*Math.floor(t/100))&&(i=e[a]+(i?" و "+i:"م"))}return 2==r&&(i+="ین"),i}},gregorian:{months:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},days:{label:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},weekNumber:{0:0,1:1,2:2,3:3,4:4,5:5,6:6}},ordinalNumbers:function(t){return 1==t||t%10==1&&11!=t?t+"st":2==t||t%10==2&&12!=t?t+"nd":3==t||t%10==3&&13!=t?t+"rd":t+"th"}}},REGEX={format:/j*(YYYY|YY|y|Qo|QO|Q|MMMM|MMM|MM|Mo|MO|M|DDDD|DDDo|DDDO|DDD|DD|Do|DO|D|dddd|ddd|dd|do|dO|de|d|ww|WW|wo|Wo|wO|WO|w|W|HH|hh|H|h|kk|k|mm|m|ss|s|CCCC|CCC|c|t|aa|a|A)/g,isNumeric:/^\d+$/,separators:"\\/| |-|\\.|,|:",betweenBacktick:/`(.*?)`/g},TIMETYPE=function(t,r){return t>=0&&t<12?"a"==r?"am":"aa"==r?"A.M.":"A"==r?"AM":"ja"==r?"ق ظ":"jaa"==r?"ق.ظ":"jA"==r?"قبل از ظهر":"ق.ظ":t>=12&&t<24?"a"==r?"pm":"aa"==r?"P.M.":"A"==r?"PM":"ja"==r?"ب ظ":"jaa"==r?"ب.ظ":"jA"==r?"بعد از ظهر":"ب.ظ":void 0},isDate=function(t){return t instanceof Date},jalali$4=function(t){return(t>1342?[1,5,9,13,17,22,26,30]:[1,5,9,13,17,21,26,30]).includes(t%33)},gregorian$4=function(t){return t%4==0&&t%100!=0||t%400==0},isLeapYear=function(t,r){switch(t[0]){case"j":return jalali$4(r);default:return gregorian$4(r)}},isPersianDate=function(t){return t instanceof PersianDate},isValid=function(t,r,e,i,a,n,s,o){return isValidDate(t,r,e,i)&&isValidTime(a,n,s,o)},jalali$3=function(t,r,e){return!(r>=7&&r<=11&&31==e)&&((12!=r||31!=e)&&!(12==r&&30==e&&!isLeapYear("j",t)))},gregorian$3=function(t,r,e){return(![2,4,6,9,11].includes(r)||31!=e)&&!(2==r&&(30==e||29==e&&!isLeapYear("g",t)))},isValidDate=function(t,r,e,i){if([r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)})))return!1;if(r<0||e>12||e<1||i>31||i<1)return!1;switch(t[0]){case"j":return jalali$3(r,e,i);default:return gregorian$3(r,e,i)}},isValidTime=function(t,r,e,i){return![t,r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)}))&&(!(t<0||t>23)&&(!(r<0||r>59)&&(!(e<0||e>59)&&!(i<0||i>999))))};function isSame(){var t=typesToArray.apply(void 0,[this.c].concat(Array.prototype.slice.call(arguments)));return t=this.toArray().map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),compare.call(this,t,"==")}function _setPrototypeOf(t,r){return(_setPrototypeOf=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,r,e){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,r,e){var i=[null];i.push.apply(i,r);var a=new(Function.bind.apply(t,i));return e&&_setPrototypeOf(a,e.prototype),a}).apply(null,arguments)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _iterableToArrayLimit(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],i=!0,a=!1,n=void 0;try{for(var s,o=t[Symbol.iterator]();!(i=(s=o.next()).done)&&(e.push(s.value),!r||e.length!==r);i=!0);}catch(t){a=!0,n=t}finally{try{i||null==o.return||o.return()}finally{if(a)throw n}}return e}}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,o=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,n=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw n}}}}function isBetween(t,r,e){var i=this.toArray();return(t=typesToArray(this.c,t))[2]||(i[2]=1),t=i.map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),r=typesToArray(this.c,r),r=i.map((function(t,e){return REGEX.isNumeric.test(r[e])?r[e]:t})),!(!this.isValid.apply(this,_toConsumableArray(t))||!this.isValid.apply(this,_toConsumableArray(r)))&&(compare.call(this,t,"["===e[0]?">=":">")&&compare.call(this,r,"]"===e[1]?"<=":"<"))}function isInArray(t){var r=this;return t.some((function(t){return isSame.call(r,t)}))}var gtj=function(t,r,e,i,a,n,s){var o,h;e=(o=t?isDate(t)?t:new Date(REGEX.isNumeric.test(t)?t:0,REGEX.isNumeric.test(r)?r:0,REGEX.isNumeric.test(e)?e:1,REGEX.isNumeric.test(i)?i:0,REGEX.isNumeric.test(a)?a:0,REGEX.isNumeric.test(n)?n:0,REGEX.isNumeric.test(s)?s:0):new Date).getDate(),r=o.getMonth()+1,t=o.getFullYear(),i=o.getHours(),a=o.getMinutes(),n=o.getSeconds(),s=o.getMilliseconds();t>1600?(h=979,t-=1600):(h=0,t-=621);var u=r>2?t+1:t,l=365*t+parseInt((u+3)/4)-parseInt((u+99)/100)+parseInt((u+399)/400)-80+e+[0,31,59,90,120,151,181,212,243,273,304,334][r-1];return h+=33*parseInt(l/12053),l%=12053,h+=4*parseInt(l/1461),(l%=1461)>365&&(h+=parseInt((l-1)/365),l=(l-1)%365),[h,l<186?1+parseInt(l/31):7+parseInt((l-186)/30),1+(l<186?l%31:(l-186)%30),i,a,n,s]},jtg=function(t,r,e,i,a,n,s){var o,h,u;t=REGEX.isNumeric.test(t)?+t:1,r=REGEX.isNumeric.test(r)?+r:1,e=REGEX.isNumeric.test(e)?+e:1,i=REGEX.isNumeric.test(i)?+i:0,a=REGEX.isNumeric.test(a)?+a:0,n=REGEX.isNumeric.test(n)?+n:0,s=REGEX.isNumeric.test(s)?+s:0,t>979?(o=1600,t-=979):o=621;var l=365*t+8*parseInt(t/33)+parseInt((t%33+3)/4)+78+e+(r<7?31*(r-1):30*(r-7)+186);o+=400*parseInt(l/146097),(l%=146097)>36524&&(o+=100*parseInt(--l/36524),(l%=36524)>=365&&l++),o+=4*parseInt(l/1461),(l%=1461)>365&&(o+=parseInt((l-1)/365),l=(l-1)%365),u=l+1;var d=[0,31,isLeapYear("gregorian",o)?29:28,31,30,31,30,31,31,30,31,30,31];for(h=0;h<13;h++){var c=d[h];if(u<=c)break;u-=c}return new Date(o,h-1,u,i,a,n,s)},warn=function(t){console.warn(t)},error=function(t){console.error(t)},invalid=function(t){return delete this.d,this.error=t,this},typesToArray=function(t,r,e,i,a,n,s,o){return r||(r=new Date),"string"==typeof r&&-1!=r.search(REGEX.separators)?r.split(/[/ -.,:\\]/):Array.isArray(r)?r:PersianDate.isPersianDate(r)?r.clone().calendar(t).toArray():PersianDate.isDate(r)?new PersianDate(r).calendar(t).toArray():"[object Object]"===Object.prototype.toString.call(r)?[r.y||r.year||r.years,r.M||r.month||r.months||1,r.d||r.day||r.days||r.date||1,r.h||r.hour||r.hours||0,r.m||r.minute||r.minutes||0,r.s||r.second||r.seconds||0,r.ms||r.millisecond||r.milliseconds||0]:[r,e,i,a,n,s,o]},ordinalNumber=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return CALENDAR[r].ordinalNumbers(t,e)},addPrefix=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return e.repeat(r-String(t).length)+t},setJalaliDate=function(t){var r=_slicedToArray(gtj(t),7);this.d.year=r[0],this.d.month=r[1],this.d.date=r[2],this.d.hour=r[3],this.d.minute=r[4],this.d.second=r[5],this.d.millisecond=r[6]},setGregorianDate=function(t){this.d={year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},getDayLabel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali";return isDate(t)?CALENDAR[r].days.label[t.getDay()]:error("the first param must be instance of Date.")},getDayOfWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";return isDate(t)?CALENDAR[r].days.weekNumber[t.getDay()]+("standard"!=e?0:1):error("the first param must be instance of Date.")},getDefaultFormat$4=function(t){switch(t[0]){case"j":return"jy";default:return"y"}};function year(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return this.d.year=+t,this.isValidDate()?this:this.subDay(1,!1);t||(t=getDefaultFormat$4(this.c));var r="jalali"==this.c?this.d.year:gtj(this.toDate())[0];if("jy"==t||"jYYYY"==t)return r;if("jYY"==t)return String(r).slice(-2);var e="gregorian"==this.c?this.d.year:this.toDate().getFullYear();return"y"==t||"YYYY"==t?e:"YY"==t?String(e).slice(-2):r}var getDefaultFormat$3=function(t){switch(t[0]){case"j":return"jQ";default:return"Q"}};function quarter(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subQuarter(t-1,!1)):t>4?(this.d.month=12,this.addQuarter(t-4,!1)):this.d.month=3*+t-2;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$3(this.c));var r=Math.ceil(("jalali"==this.c?this.d.month:gtj(this.toDate())[1])/3);if("jQ"==t)return r;if("jQo"==t)return ordinalNumber(r);if("jQO"==t)return ordinalNumber(r,"jalali",2);var e=Math.ceil(("gregorian"==this.c?this.d.month:this.toDate().getMonth()+1)/3);return"Q"==t?e:"Qo"==t||"QO"==t?ordinalNumber(e,"gregorian"):r}var getDefaultFormat$2=function(t){switch(t[0]){case"j":return"jM";default:return"M"}};function month(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subMonth(t-1,!1)):t>12?(this.d.month=12,this.addMonth(t-12,!1)):this.d.month=+t;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$2(this.c));var r="jalali"==this.c?this.d.month:gtj(this.toDate())[1];if("jMM"==t)return addPrefix(r,2);if("jM"==t)return r;if("jMMMM"==t||"jMMM"==t)return CALENDAR.jalali.months[r];if("jMo"==t)return ordinalNumber(r);if("jMO"==t)return ordinalNumber(r,"jalali",2);var e="gregorian"==this.c?this.d.month:this.toDate().getMonth()+1;return"M"==t?e:"MM"==t?addPrefix(e,2):"MMMM"==t?CALENDAR.gregorian.months[e]:"Mo"==t||"MO"==t?ordinalNumber(e,"gregorian"):"MMM"==t?CALENDAR.gregorian.months[e].slice(0,3):r}var getDefaultFormat$1=function(t){switch(t[0]){case"j":return"jw";default:return"w"}};function week(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getWeeksInYear();if(t<1)this.week(1),this.subWeek(t-1,!1);else if(t>r)this.week(r),this.addWeek(t-r,!1);else{var e=getWeekOfYear.call(this,this.d.year,this.d.month,this.d.date,this.c);this.addWeek(+t-e)}for(;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$1(this.c));var i=getWeekOfYear.call(this,this.year("jy"),this.month("jM"),this.date("jD"),this.c);if("jw"==t||"jW"==t)return i;if("jww"==t||"jWW"==t)return addPrefix(i,2);if("jwo"==t||"jWo"==t)return ordinalNumber(i);if("jwO"==t||"jWO"==t)return ordinalNumber(i,"jalali",2);var a=getWeekOfYear.call(this,this.year("y"),this.month("M"),this.date("D"),"gregorian");return"w"==t||"W"==t?a:"ww"==t||"WW"==t?addPrefix(a,2):"wo"==t||"Wo"==t||"wO"==t||"WO"==t?ordinalNumber(a,"gregorian"):i}var getDefaultFormat=function(t){switch(t[0]){case"j":return"jD";default:return"D"}};function date(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getDaysInMonth();return t<1?(this.d.date=1,this.subDay(t-1)):t>r?(this.d.date=r,this.addDay(t-r)):this.d.date=+t,this}t||(t=getDefaultFormat(this.c));var e="jalali"==this.c?this.d.date:gtj(this.toDate())[2];if("jDD"==t)return addPrefix(e,2);if("jD"==t)return e;if("jDo"==t)return ordinalNumber(e);if("jDO"==t)return ordinalNumber(e,"jalali",2);var i=this.toDate();if("jdddd"==t||"jddd"==t)return getDayLabel(i);if("jdd"==t)return getDayLabel(i).slice(0,1);var a=getDayOfWeek(i);if("jdo"==t)return ordinalNumber(a);if("jdO"==t)return ordinalNumber(a,"jalali",2);if("jd"==t)return getDayOfWeek(i,"jalali","array");if("jde"==t)return a;var n=getDayOfYear(this.year("jy"),this.month("jM"),e,"j");return"jDDDD"==t?addPrefix(n,3):"jDDD"==t?n:"jDDDo"==t?ordinalNumber(n):"jDDDO"==t?ordinalNumber(n,"jalali",2):"DD"==t?addPrefix(i.getDate(),2):"D"==t?i.getDate():"Do"==t||"DO"==t?ordinalNumber(i.getDate(),"gregorian"):"dddd"==t?getDayLabel(i,"gregorian"):"ddd"==t?getDayLabel(i,"gregorian").slice(0,3):"dd"==t?getDayLabel(i,"gregorian").slice(0,2):(a=getDayOfWeek(i,"gregorian"),"do"==t||"dO"==t?ordinalNumber(a,"gregorian"):"d"==t?a-1:"de"==t?a:(n=getDayOfYear(i.getFullYear(),i.getMonth()+1,i.getDate(),"g"),"DDDD"==t?addPrefix(n,3):"DDD"==t?n:"DDDo"==t||"DDDO"==t?ordinalNumber(n,"gregorian"):e))}function hour(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return t<0?(this.d.hour=0,this.subHour(t)):t>23?(this.d.hour=23,this.addHour(t-23)):this.d.hour=+t,this;var r=this.d.hour;return"H"==t?r:"HH"==t?addPrefix(r,2):"k"==t?r||24:"kk"==t?addPrefix(r||24,2):(r=r>12?r-12:r,"h"==t?r:"hh"==t?addPrefix(r,2):r)}function minute(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.minute=0,this.subMinute(t)):t>23?(this.d.minute=23,this.addMinute(t-23)):this.d.minute=+t,this):"m"==t?this.d.minute:"mm"==t?addPrefix(this.d.minute,2):this.d.minute}function second(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.second=0,this.subSecond(t)):t>23?(this.d.second=23,this.addSecond(t-23)):this.d.second=+t,this):"s"==t?this.d.second:"ss"==t?addPrefix(this.d.second,2):this.d.second}function millisecond(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.millisecond=0,this.subMillisecond(t)):t>23?(this.d.millisecond=23,this.addMillisecond(t-23)):this.d.millisecond=+t,this):"CCC"==t||"c"==t?this.d.millisecond:"CCCC"==t?addPrefix(this.d.millisecond,3):this.d.millisecond}function timestamp(t){return t?this.fromGregorian(+String(t).trim()):this.toDate().getTime()}var jalali$2=function(t,r,e){return e>=1&&e<=6?31:e>6&&e<=11||isLeapYear(t,r)?30:29},gregorian$2=function(t,r,e){return[1,3,5,7,8,10,12].includes(e)?31:2!=e?30:isLeapYear(t,r)?29:28},getDaysInMonth=function(t,r,e){switch(t[0]){case"j":return jalali$2(t,r,e);default:return gregorian$2(t,r,e)}},getDayOfYearFormat=function(t){switch(t[0]){case"j":return"jd";default:return"d"}};function getWeeksInYear(t){var r=getDayOfYearFormat(this.c),e=this.clone().parse(t),i=e.date(r),a=e.clone().endOf("year").startOf("day"),n=a.date(r);return i>3?e.addDay(7-i):e.subDay(i),n>3?a.addDay(7-n):a.subDay(n),Math.ceil(a.diff(e,"date")/7)}function startOf(t){return this.d.millisecond=0,"s"==t[0]?this:(this.d.second=0,"m"==t||"minute"==t?this:(this.d.minute=0,"h"==t[0]?this:(this.d.hour=0,"d"==t[0]?this:"w"==t[0]?this.subDay(getDayOfWeek(this.toDate(),this.c,"array")):(this.d.date=1,"q"==t[0]?this.quarter(this.quarter()):"M"==t||"month"==t?this:(this.d.month=1,"y"==t[0]?this:void 0)))))}function endOf(t){return this.d.millisecond=999,"s"==t[0]?this:(this.d.second=59,"m"==t||"minute"==t?this:(this.d.minute=59,"h"==t[0]?this:(this.d.hour=23,"d"==t[0]?this:"w"==t[0]?this.addDay(7-getDayOfWeek(this.toDate(),this.c)):"q"==t[0]?(this.quarter(this.quarter()).addMonth(2),this.d.date=this.getDaysInMonth(),this):(this.d.date=this.getDaysInMonth(),"M"==t||"month"==t?this:(this.d.month=12,this.d.date=this.getDaysInMonth(),"y"==t[0]?this:void 0)))))}function time(){for(var t=arguments.length,r=new Array(t),e=0;e3&&a.addDay(7-n);var o=Math.ceil(s.diff(a,"date",!0)/7),h=s.clone().getWeeksInYear();return o>h?h:o},compare=function compare(date,operator){return date=typesToArray.apply(void 0,[this.c].concat(_toConsumableArray(date))),!!this.isValid.apply(this,_toConsumableArray(date))&&eval("this.timestamp()"+operator+"this.clone().parse(...date).timestamp()")},mathOperation=function(t,r){var e=this;if(!t.length)return!1;var i=_toConsumableArray(t),a=i.map((function(t){var r;return t=typesToArray(e.c,t),!!e.isValid.apply(e,_toConsumableArray(t))&&(r=e.clone()).parse.apply(r,_toConsumableArray(t)).timestamp()}));return!a.includes(!1)&&i[a.indexOf(Math[r].apply(Math,_toConsumableArray(a)))]},isTimestamp=function(t){return!isNaN(t)&&Math.floor(t/1e4)>0};function now(){var t=new Date;return"jalali"==this.c?setJalaliDate.call(this,t):setGregorianDate.call(this,t),this}function parse(){return"jalali"==this.c?this.fromJalali.apply(this,arguments):this.fromGregorian.apply(this,arguments)}function clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),JSON.parse(JSON.stringify(this)))}function fromJalali(){for(var t=arguments.length,r=new Array(t),e=0;e1){if(!isValid.apply(void 0,["gregorian"].concat(_toConsumableArray(r))))return invalid.call(this,"تاریخ نامعتبر");--r[1]}return"Invalid Date"==(r=_construct(Date,_toConsumableArray(r)))?invalid.call(this,"تاریخ نامعتبر"):("jalali"==this.c?setJalaliDate.call(this,r):setGregorianDate.call(this,r),this)}function calendar(t){return t?("j"==t[0]&&"j"!=this.c[0]?(this.error||setJalaliDate.call(this,this.toDate()),this.c="jalali"):"g"==t[0]&&"g"!=this.c[0]&&(this.error||setGregorianDate.call(this,this.toDate()),this.c="gregorian"),this):this.c}function addYear(t,r){if(t<0)return this.subYear(Math.abs(t));for(this.d.year+=+t;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addQuarter(t,r){return t<0?this.subQuarter(Math.abs(t)):this.addMonth(3*+t,r)}function addMonth(t,r){if(t<0)return this.subMonth(Math.abs(t));t=+t;var e=12-this.d.month+1;if(e>t)this.d.month+=t;else{for(this.addYear(1,!1),this.d.month=1,t-=e;t>=12;)t-=12,this.addYear(1,!1);0!=t&&(this.d.month+=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addWeek(t,r){return t<0?this.subWeek(Math.abs(t)):this.addDay(7*+t,r)}function addDay(t){if(t<0)return this.subDay(Math.abs(t));t=+t;var r=this.getDaysInMonth()-this.d.date+1;if(r>t)this.d.date+=t;else{this.addMonth(1,!1),this.d.date=1,t-=r;for(var e=this.getDaysInMonth();t>=e;)t-=e,this.addMonth(1,!1),e=this.getDaysInMonth();0!=t&&(this.d.date+=t)}return this}function addHour(t){if(t<0)return this.subHour(Math.abs(t));for(t=+t;t>=24;)t-=24,this.addDay(1,!1);var r=24-this.d.hour;return t>=r?(this.addDay(1,!1),t-=r,this.d.hour=t):this.d.hour+=t,this}function addMinute(t){if(t<0)return this.subMinute(Math.abs(t));for(t=+t;t>=60;)this.addHour(1,!1),t-=60;var r=60-this.d.minute;return t>=r?(this.addHour(1,!1),t-=r,this.d.minute=t):this.d.minute+=t,this}function addSecond(t){if(t<0)return this.subSecond(Math.abs(t));for(t=+t;t>=60;)this.addMinute(1,!1),t-=60;var r=60-this.d.second;return t>=r?(this.addMinute(1,!1),t-=r,this.d.second=t):this.d.second+=t,this}function addMillisecond(t){if(t<0)return this.subMillisecond(Math.abs(t));for(t=+t;t>=1e3;)this.addSecond(1,!1),t-=1e3;var r=1e3-this.d.millisecond;return t>=r?(this.addSecond(1,!1),t-=r,this.d.millisecond=t):this.d.millisecond+=t,this}function subYear(t,r){for(this.d.year-=Math.abs(t);r&&!this.isValidDate();)this.subDay(1,!1);return this}function subQuarter(t,r){return t=Math.abs(t),this.subMonth(3*t,r)}function subMonth(t,r){t=Math.abs(t);var e=this.d.month;if(e>t)this.d.month-=t;else{for(this.subYear(1,!1),this.d.month=12,t-=e;t>=12;)this.subYear(1,!1),t-=12;0!=t&&(this.d.month-=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function subWeek(t,r){return t=Math.abs(t),this.subDay(7*t,r)}function subDay(t){t=Math.abs(t);var r=this.d.date;if(r>t)this.d.date-=t;else{this.subMonth(1,!1);var e=this.getDaysInMonth();for(this.d.date=e,t-=r;t>=e;)t-=e,this.subMonth(1,!1),e=this.getDaysInMonth();this.d.date=e-t}return this}function subHour(t){for(t=Math.abs(t);t>=24;)t-=24,this.subDay(1,!1);var r=this.d.hour;return t>r?(this.subDay(1,!1),t-=r,this.d.hour=24-t):this.d.hour-=t,this}function subMinute(t){for(t=Math.abs(t);t>=60;)t-=60,this.subHour(1,!1);var r=this.d.minute;return t>r?(this.subHour(1,!1),t-=r,this.d.minute=60-t):this.d.minute-=t,this}function subSecond(t){for(t=Math.abs(t);t>=60;)t-=60,this.subMinute(1,!1);var r=this.d.second;return t>r?(this.subMinute(1,!1),t-=r,this.d.second=60-t):this.d.second-=t,this}function subMillisecond(t){for(t=Math.abs(t);t>=1e3;)t-=1e3,this.subSecond(1,!1);var r=this.d.millisecond;return t>r?(this.subSecond(1,!1),t-=r,this.d.millisecond=1e3-t):this.d.millisecond-=t,this}var jalali$1=function(t){return t.replace(/\?/g,"j").replace(/datetime/gi,"jYYYY/jMM/jDD HH:mm").replace(/date/gi,"jYYYY/jMM/jDD").replace(/time/gi,"HH:mm")},gregorian$1=function(t){return t.replace(/\?/g,"").replace(/datetime/gi,"YYYY-MM-DD HH:mm").replace(/date/gi,"YYYY-MM-DD").replace(/time/gi,"HH:mm")};function toString(t){var r=[];switch(t=t.replace(REGEX.betweenBacktick,(function(t,e){return r.push(e),"###"})),this.c[0]){case"j":t=jalali$1(t);break;default:t=gregorian$1(t)}var e,i="",a=_createForOfIteratorHelper(t.match(REGEX.format));try{for(a.s();!(e=a.n()).done;){var n=e.value;i+=t.substring(0,t.indexOf(n)),-1!=n.search(/Y|y/)?i+=this.year(n):-1!=n.search(/M/)?i+=this.month(n):-1!=n.search(/Q/)?i+=this.quarter(n):-1!=n.search(/D|d/)?i+=this.date(n):-1!=n.search(/W|w/)?i+=this.week(n):-1!=n.search(/H|h|k/)?i+=this.hour(n):-1!=n.search(/m/)?i+=this.minute(n):-1!=n.search(/s/)?i+=this.second(n):-1!=n.search(/c|C/)?i+=this.millisecond(n):-1!=n.search(/t/)?i+=this.timestamp():-1!=n.search(/a|A/)&&(i+=TIMETYPE(this.d.hour,n)),t=t.substr(t.indexOf(n)+n.length)}}catch(t){a.e(t)}finally{a.f()}i+=t;for(var s=0;s=0?1:-1):a}function diffForHumans(t,r){var e=this.diff(t,"s");if("string"==typeof e)return"تاریخ نامعتبر";var i=r&&(e>0?"آینده":"پیش");return 0==(e=Math.abs(e))?"هم اکنون":(e=e<45?"لحظات":(e/=60)<45?Math.round(e)+" دقیقه":(e/=60)<23.5?Math.round(e)+" ساعت":(e/=24)<26?Math.round(e)+" روز":e<320?Math.round(e/30)+" ماه":Math.round(e/365)+" سال")+(r?" "+i:"")}var PersianDate=function t(r,e){this.d={},this.c="jalali",t.prototype.now=function(){return this.error&&(delete this.error,this.d={}),now.call(this)},t.prototype.setDate=function(){return warn('"setDate" function is deprecated! use "fromGregorian" function instead.\nhttps://alireza-ab.ir/persian-date/create-and-parse#from-gregorian-date'),this.fromGregorian.apply(this,arguments)},t.prototype.parse=function(){return parse.call.apply(parse,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.clone=function(){return clone.call(this)},t.prototype.fromJalali=function(){return this.error&&(delete this.error,this.d={}),fromJalali.call.apply(fromJalali,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.fromGregorian=function(){return this.error&&(delete this.error,this.d={}),fromGregorian.call.apply(fromGregorian,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.calendar=function(t){return calendar.call(this,t)},t.prototype.year=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:year.call(this,t)},t.prototype.month=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:month.call(this,t)},t.prototype.date=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:date.call(this,t)},t.prototype.quarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:quarter.call(this,t)},t.prototype.week=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:week.call(this,t)},t.prototype.hour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"H";return this.error?this.error:hour.call(this,t)},t.prototype.minute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"m";return this.error?this.error:minute.call(this,t)},t.prototype.second=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"s";return this.error?this.error:second.call(this,t)},t.prototype.millisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"c";return this.error?this.error:millisecond.call(this,t)},t.prototype.timestamp=function(t){return this.error?this.error:timestamp.call(this,t)},t.prototype.valueOf=function(){return this.timestamp()},t.prototype.getDaysInMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month;return this.error?this.error:getDaysInMonth(this.c,t,r)},t.prototype.getWeeksInYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return this.error?this.error:getWeeksInYear.call(this,t)},t.prototype.startOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return startOf.call(this,t)},t.prototype.endOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return endOf.call(this,t)},t.prototype.time=function(){return this.error?this.error:time.call.apply(time,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.addYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addYear.call(this,t,r):this},t.prototype.addMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMonth.call(this,t,r):this},t.prototype.addDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addDay.call(this,t,r):this},t.prototype.addQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addQuarter.call(this,t,r):this},t.prototype.addWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addWeek.call(this,t,r):this},t.prototype.addHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addHour.call(this,t,r):this},t.prototype.addMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMinute.call(this,t,r):this},t.prototype.addSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addSecond.call(this,t,r):this},t.prototype.addMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMillisecond.call(this,t,r):this},t.prototype.subYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subYear.call(this,t,r):this},t.prototype.subMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMonth.call(this,t,r):this},t.prototype.subDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subDay.call(this,t,r):this},t.prototype.subQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subQuarter.call(this,t,r):this},t.prototype.subWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subWeek.call(this,t,r):this},t.prototype.subHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subHour.call(this,t,r):this},t.prototype.subMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMinute.call(this,t,r):this},t.prototype.subSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subSecond.call(this,t,r):this},t.prototype.subMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMillisecond.call(this,t,r):this},t.prototype.toString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"date";return this.error?this.error:toString.call(this,t)},t.prototype.toArray=function(){return this.error?this.error:toArray.call.apply(toArray,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toObject=function(){return this.error?this.error:toObject.call.apply(toObject,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toDate=function(){return this.error?this.error:toDate.call(this)},t.prototype.diff=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.error?this.error:diff.call(this,t,r,e)},t.prototype.diffForHumans=function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:diffForHumans.call(this,t,r)},t.prototype.min=function(){return mathOperation.call(this,arguments,"min")},t.prototype.max=function(){return mathOperation.call(this,arguments,"max")},t.prototype.isLeapYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return!this.error&&isLeapYear(this.c,t)},t.prototype.isValid=function(t,r,e,i,a,n,s){return!this.error&&(this.isValidDate(t,r,e)&&this.isValidTime(i,a,n,s))},t.prototype.isValidDate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.date;return!this.error&&isValidDate(this.c,t,r,e)},t.prototype.isValidTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.hour,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.minute,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.second,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.d.millisecond;return!this.error&&isValidTime(t,r,e,i)},t.prototype.isSame=function(){return!this.error&&isSame.call.apply(isSame,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.isBefore=function(){return!this.error&&compare.call(this,arguments,"<")},t.prototype.isAfter=function(){return!this.error&&compare.call(this,arguments,">")},t.prototype.isSameOrBefore=function(){return!this.error&&compare.call(this,arguments,"<=")},t.prototype.isSameOrAfter=function(){return!this.error&&compare.call(this,arguments,">=")},t.prototype.isBetween=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"()";return!this.error&&isBetween.call(this,t,r,e)},t.prototype.isInArray=function(t){return!this.error&&isInArray.call(this,t)},t.prototype.isDate=isDate,t.prototype.isPersianDate=isPersianDate,e&&this.calendar(e),r?e&&"j"==e[0]?this.fromJalali(r):this.fromGregorian(r):this.now()};PersianDate.isLeapYear=isLeapYear,PersianDate.isDate=isDate,PersianDate.isPersianDate=isPersianDate,PersianDate.isValid=isValid,PersianDate.isValidDate=isValidDate,PersianDate.isValidTime=isValidTime,PersianDate.getDaysInMonth=getDaysInMonth,module.exports=PersianDate; +"use strict";var CALENDAR={jalali:{months:{1:"فروردین",2:"اردیبهشت",3:"خرداد",4:"تیر",5:"مرداد",6:"شهریور",7:"مهر",8:"آبان",9:"آذر",10:"دی",11:"بهمن",12:"اسفند"},days:{label:{6:"شنبه",0:"یکشنبه",1:"دوشنبه",2:"سه‌شنبه",3:"چهارشنبه",4:"پنجشنبه",5:"جمعه"},weekNumber:{6:0,0:1,1:2,2:3,3:4,4:5,5:6}},ordinalNumbers:function(t,r){var e={1:"یک",2:"دو",3:"سو",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی‌",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سیصد"},i="";if(1==t)i="اول";else if(e[t])i=e[t]+(30==t?"ام":"م");else{var a=t%100;(e[a]||(a=t%10))&&(i=e[a]+"م"),(a=(t-a)%100)&&(i=e[a]+(i?" و "+i:30==a?"ام ":"م")),(a=100*Math.floor(t/100))&&(i=e[a]+(i?" و "+i:"م"))}return 2==r&&(i+="ین"),i}},gregorian:{months:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},days:{label:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},weekNumber:{0:0,1:1,2:2,3:3,4:4,5:5,6:6}},ordinalNumbers:function(t){return 1==t||t%10==1&&11!=t?t+"st":2==t||t%10==2&&12!=t?t+"nd":3==t||t%10==3&&13!=t?t+"rd":t+"th"}}},REGEX={format:/j*(YYYY|YY|y|Qo|QO|Q|MMMM|MMM|MM|Mo|MO|M|DDDD|DDDo|DDDO|DDD|DD|Do|DO|D|dddd|ddd|dd|do|dO|de|d|ww|WW|wo|Wo|wO|WO|w|W|HH|hh|H|h|kk|k|mm|m|ss|s|CCCC|CCC|c|t|aa|a|A)/g,isNumeric:/^\d+$/,separators:"\\/| |-|\\.|,|:",betweenBacktick:/`(.*?)`/g},TIMETYPE=function(t,r){return t>=0&&t<12?"a"==r?"am":"aa"==r?"A.M.":"A"==r?"AM":"ja"==r?"ق ظ":"jaa"==r?"ق.ظ":"jA"==r?"قبل از ظهر":"ق.ظ":t>=12&&t<24?"a"==r?"pm":"aa"==r?"P.M.":"A"==r?"PM":"ja"==r?"ب ظ":"jaa"==r?"ب.ظ":"jA"==r?"بعد از ظهر":"ب.ظ":void 0},isDate=function(t){return t instanceof Date},jalali$4=function(t){return(t>1342?[1,5,9,13,17,22,26,30]:[1,5,9,13,17,21,26,30]).includes(t%33)},gregorian$4=function(t){return t%4==0&&t%100!=0||t%400==0},isLeapYear=function(t,r){switch(t[0]){case"j":return jalali$4(r);default:return gregorian$4(r)}},isPersianDate=function(t){return t instanceof PersianDate},isValid=function(t,r,e,i,a,n,s,o){return isValidDate(t,r,e,i)&&isValidTime(a,n,s,o)},jalali$3=function(t,r,e){return!(r>=7&&r<=11&&31==e)&&((12!=r||31!=e)&&!(12==r&&30==e&&!isLeapYear("j",t)))},gregorian$3=function(t,r,e){return(![2,4,6,9,11].includes(r)||31!=e)&&!(2==r&&(30==e||29==e&&!isLeapYear("g",t)))},isValidDate=function(t,r,e,i){if([r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)})))return!1;if(r<0||e>12||e<1||i>31||i<1)return!1;switch(t[0]){case"j":return jalali$3(r,e,i);default:return gregorian$3(r,e,i)}},isValidTime=function(t,r,e,i){return![t,r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)}))&&(!(t<0||t>23)&&(!(r<0||r>59)&&(!(e<0||e>59)&&!(i<0||i>999))))};function isSame(){var t=typesToArray.apply(void 0,[this.c].concat(Array.prototype.slice.call(arguments)));return t=this.toArray().map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),compare.call(this,t,"==")}function _setPrototypeOf(t,r){return(_setPrototypeOf=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,r,e){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,r,e){var i=[null];i.push.apply(i,r);var a=new(Function.bind.apply(t,i));return e&&_setPrototypeOf(a,e.prototype),a}).apply(null,arguments)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _iterableToArrayLimit(t,r){var e=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=e){var i,a,n=[],s=!0,o=!1;try{for(e=e.call(t);!(s=(i=e.next()).done)&&(n.push(i.value),!r||n.length!==r);s=!0);}catch(t){o=!0,a=t}finally{try{s||null==e.return||e.return()}finally{if(o)throw a}}return n}}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,o=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,n=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw n}}}}function isBetween(t,r,e){var i=this.toArray();return(t=typesToArray(this.c,t))[2]||(i[2]=1),t=i.map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),r=typesToArray(this.c,r),r=i.map((function(t,e){return REGEX.isNumeric.test(r[e])?r[e]:t})),!(!this.isValid.apply(this,_toConsumableArray(t))||!this.isValid.apply(this,_toConsumableArray(r)))&&(compare.call(this,t,"["===e[0]?">=":">")&&compare.call(this,r,"]"===e[1]?"<=":"<"))}function isInArray(t){var r=this;return t.some((function(t){return isSame.call(r,t)}))}var gtj=function(t,r,e,i,a,n,s){var o,h;e=(o=t?isDate(t)?t:new Date(REGEX.isNumeric.test(t)?t:0,REGEX.isNumeric.test(r)?r:0,REGEX.isNumeric.test(e)?e:1,REGEX.isNumeric.test(i)?i:0,REGEX.isNumeric.test(a)?a:0,REGEX.isNumeric.test(n)?n:0,REGEX.isNumeric.test(s)?s:0):new Date).getDate(),r=o.getMonth()+1,t=o.getFullYear(),i=o.getHours(),a=o.getMinutes(),n=o.getSeconds(),s=o.getMilliseconds();t>1600?(h=979,t-=1600):(h=0,t-=621);var u=r>2?t+1:t,l=365*t+parseInt((u+3)/4)-parseInt((u+99)/100)+parseInt((u+399)/400)-80+e+[0,31,59,90,120,151,181,212,243,273,304,334][r-1];return h+=33*parseInt(l/12053),l%=12053,h+=4*parseInt(l/1461),(l%=1461)>365&&(h+=parseInt((l-1)/365),l=(l-1)%365),[h,l<186?1+parseInt(l/31):7+parseInt((l-186)/30),1+(l<186?l%31:(l-186)%30),i,a,n,s]},jtg=function(t,r,e,i,a,n,s){var o,h,u;t=REGEX.isNumeric.test(t)?+t:1,r=REGEX.isNumeric.test(r)?+r:1,e=REGEX.isNumeric.test(e)?+e:1,i=REGEX.isNumeric.test(i)?+i:0,a=REGEX.isNumeric.test(a)?+a:0,n=REGEX.isNumeric.test(n)?+n:0,s=REGEX.isNumeric.test(s)?+s:0,t>979?(o=1600,t-=979):o=621;var l=365*t+8*parseInt(t/33)+parseInt((t%33+3)/4)+78+e+(r<7?31*(r-1):30*(r-7)+186);o+=400*parseInt(l/146097),(l%=146097)>36524&&(o+=100*parseInt(--l/36524),(l%=36524)>=365&&l++),o+=4*parseInt(l/1461),(l%=1461)>365&&(o+=parseInt((l-1)/365),l=(l-1)%365),u=l+1;var d=[0,31,isLeapYear("gregorian",o)?29:28,31,30,31,30,31,31,30,31,30,31];for(h=0;h<13;h++){var c=d[h];if(u<=c)break;u-=c}return new Date(o,h-1,u,i,a,n,s)},warn=function(t){console.warn(t)},error=function(t){console.error(t)},invalid=function(t){return delete this.d,this.error=t,this},typesToArray=function(t,r,e,i,a,n,s,o){return r||(r=new Date),"string"==typeof r&&-1!=r.search(REGEX.separators)?r.split(/[/ -.,:\\]/):Array.isArray(r)?r:PersianDate.isPersianDate(r)?r.clone().calendar(t).toArray():PersianDate.isDate(r)?new PersianDate(r).calendar(t).toArray():"[object Object]"===Object.prototype.toString.call(r)?[r.y||r.year||r.years,r.M||r.month||r.months||1,r.d||r.day||r.days||r.date||1,r.h||r.hour||r.hours||0,r.m||r.minute||r.minutes||0,r.s||r.second||r.seconds||0,r.ms||r.millisecond||r.milliseconds||0]:[r,e,i,a,n,s,o]},ordinalNumber=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return CALENDAR[r].ordinalNumbers(t,e)},addPrefix=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return e.repeat(r-String(t).length)+t},setJalaliDate=function(t){var r=_slicedToArray(gtj(t),7);this.d.year=r[0],this.d.month=r[1],this.d.date=r[2],this.d.hour=r[3],this.d.minute=r[4],this.d.second=r[5],this.d.millisecond=r[6]},setGregorianDate=function(t){this.d={year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},getDayLabel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali";return isDate(t)?CALENDAR[r].days.label[t.getDay()]:error("the first param must be instance of Date.")},getDayOfWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";return isDate(t)?CALENDAR[r].days.weekNumber[t.getDay()]+("standard"!=e?0:1):error("the first param must be instance of Date.")},getDefaultFormat$4=function(t){switch(t[0]){case"j":return"jy";default:return"y"}};function year(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return this.d.year=+t,this.isValidDate()?this:this.subDay(1,!1);t||(t=getDefaultFormat$4(this.c));var r="jalali"==this.c?this.d.year:gtj(this.toDate())[0];if("jy"==t||"jYYYY"==t)return r;if("jYY"==t)return String(r).slice(-2);var e="gregorian"==this.c?this.d.year:this.toDate().getFullYear();return"y"==t||"YYYY"==t?e:"YY"==t?String(e).slice(-2):r}var getDefaultFormat$3=function(t){switch(t[0]){case"j":return"jQ";default:return"Q"}};function quarter(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subQuarter(t-1,!1)):t>4?(this.d.month=12,this.addQuarter(t-4,!1)):this.d.month=3*+t-2;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$3(this.c));var r=Math.ceil(("jalali"==this.c?this.d.month:gtj(this.toDate())[1])/3);if("jQ"==t)return r;if("jQo"==t)return ordinalNumber(r);if("jQO"==t)return ordinalNumber(r,"jalali",2);var e=Math.ceil(("gregorian"==this.c?this.d.month:this.toDate().getMonth()+1)/3);return"Q"==t?e:"Qo"==t||"QO"==t?ordinalNumber(e,"gregorian"):r}var getDefaultFormat$2=function(t){switch(t[0]){case"j":return"jM";default:return"M"}};function month(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subMonth(t-1,!1)):t>12?(this.d.month=12,this.addMonth(t-12,!1)):this.d.month=+t;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$2(this.c));var r="jalali"==this.c?this.d.month:gtj(this.toDate())[1];if("jMM"==t)return addPrefix(r,2);if("jM"==t)return r;if("jMMMM"==t||"jMMM"==t)return CALENDAR.jalali.months[r];if("jMo"==t)return ordinalNumber(r);if("jMO"==t)return ordinalNumber(r,"jalali",2);var e="gregorian"==this.c?this.d.month:this.toDate().getMonth()+1;return"M"==t?e:"MM"==t?addPrefix(e,2):"MMMM"==t?CALENDAR.gregorian.months[e]:"Mo"==t||"MO"==t?ordinalNumber(e,"gregorian"):"MMM"==t?CALENDAR.gregorian.months[e].slice(0,3):r}var getDefaultFormat$1=function(t){switch(t[0]){case"j":return"jw";default:return"w"}};function week(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getWeeksInYear();if(t<1)this.week(1),this.subWeek(t-1,!1);else if(t>r)this.week(r),this.addWeek(t-r,!1);else{var e=getWeekOfYear.call(this,this.d.year,this.d.month,this.d.date,this.c);this.addWeek(+t-e)}for(;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$1(this.c));var i=getWeekOfYear.call(this,this.year("jy"),this.month("jM"),this.date("jD"),this.c);if("jw"==t||"jW"==t)return i;if("jww"==t||"jWW"==t)return addPrefix(i,2);if("jwo"==t||"jWo"==t)return ordinalNumber(i);if("jwO"==t||"jWO"==t)return ordinalNumber(i,"jalali",2);var a=getWeekOfYear.call(this,this.year("y"),this.month("M"),this.date("D"),"gregorian");return"w"==t||"W"==t?a:"ww"==t||"WW"==t?addPrefix(a,2):"wo"==t||"Wo"==t||"wO"==t||"WO"==t?ordinalNumber(a,"gregorian"):i}var getDefaultFormat=function(t){switch(t[0]){case"j":return"jD";default:return"D"}};function date(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getDaysInMonth();return t<1?(this.d.date=1,this.subDay(t-1)):t>r?(this.d.date=r,this.addDay(t-r)):this.d.date=+t,this}t||(t=getDefaultFormat(this.c));var e="jalali"==this.c?this.d.date:gtj(this.toDate())[2];if("jDD"==t)return addPrefix(e,2);if("jD"==t)return e;if("jDo"==t)return ordinalNumber(e);if("jDO"==t)return ordinalNumber(e,"jalali",2);var i=this.toDate();if("jdddd"==t||"jddd"==t)return getDayLabel(i);if("jdd"==t)return getDayLabel(i).slice(0,1);var a=getDayOfWeek(i);if("jdo"==t)return ordinalNumber(a);if("jdO"==t)return ordinalNumber(a,"jalali",2);if("jd"==t)return getDayOfWeek(i,"jalali","array");if("jde"==t)return a;var n=getDayOfYear(this.year("jy"),this.month("jM"),e,"j");return"jDDDD"==t?addPrefix(n,3):"jDDD"==t?n:"jDDDo"==t?ordinalNumber(n):"jDDDO"==t?ordinalNumber(n,"jalali",2):"DD"==t?addPrefix(i.getDate(),2):"D"==t?i.getDate():"Do"==t||"DO"==t?ordinalNumber(i.getDate(),"gregorian"):"dddd"==t?getDayLabel(i,"gregorian"):"ddd"==t?getDayLabel(i,"gregorian").slice(0,3):"dd"==t?getDayLabel(i,"gregorian").slice(0,2):(a=getDayOfWeek(i,"gregorian"),"do"==t||"dO"==t?ordinalNumber(a,"gregorian"):"d"==t?a-1:"de"==t?a:(n=getDayOfYear(i.getFullYear(),i.getMonth()+1,i.getDate(),"g"),"DDDD"==t?addPrefix(n,3):"DDD"==t?n:"DDDo"==t||"DDDO"==t?ordinalNumber(n,"gregorian"):e))}function hour(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return t<0?(this.d.hour=0,this.subHour(t)):t>23?(this.d.hour=23,this.addHour(t-23)):this.d.hour=+t,this;var r=this.d.hour;return"H"==t?r:"HH"==t?addPrefix(r,2):"k"==t?r||24:"kk"==t?addPrefix(r||24,2):(r=r>12?r-12:r,"h"==t?r:"hh"==t?addPrefix(r,2):r)}function minute(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.minute=0,this.subMinute(t)):t>23?(this.d.minute=23,this.addMinute(t-23)):this.d.minute=+t,this):"m"==t?this.d.minute:"mm"==t?addPrefix(this.d.minute,2):this.d.minute}function second(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.second=0,this.subSecond(t)):t>23?(this.d.second=23,this.addSecond(t-23)):this.d.second=+t,this):"s"==t?this.d.second:"ss"==t?addPrefix(this.d.second,2):this.d.second}function millisecond(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.millisecond=0,this.subMillisecond(t)):t>23?(this.d.millisecond=23,this.addMillisecond(t-23)):this.d.millisecond=+t,this):"CCC"==t||"c"==t?this.d.millisecond:"CCCC"==t?addPrefix(this.d.millisecond,3):this.d.millisecond}function timestamp(t){return t?this.fromGregorian(+String(t).trim()):this.toDate().getTime()}var jalali$2=function(t,r,e){return e>=1&&e<=6?31:e>6&&e<=11||isLeapYear(t,r)?30:29},gregorian$2=function(t,r,e){return[1,3,5,7,8,10,12].includes(e)?31:2!=e?30:isLeapYear(t,r)?29:28},getDaysInMonth=function(t,r,e){switch(t[0]){case"j":return jalali$2(t,r,e);default:return gregorian$2(t,r,e)}},getDayOfYearFormat=function(t){switch(t[0]){case"j":return"jd";default:return"d"}};function getWeeksInYear(t){var r=getDayOfYearFormat(this.c),e=this.clone().parse(t),i=e.date(r),a=e.clone().endOf("year").startOf("day"),n=a.date(r);return i>3?e.addDay(7-i):e.subDay(i),n>3?a.addDay(7-n):a.subDay(n),Math.ceil(a.diff(e,"date")/7)}function startOf(t){return this.d.millisecond=0,"s"==t[0]?this:(this.d.second=0,"m"==t||"minute"==t?this:(this.d.minute=0,"h"==t[0]?this:(this.d.hour=0,"d"==t[0]?this:"w"==t[0]?this.subDay(getDayOfWeek(this.toDate(),this.c,"array")):(this.d.date=1,"q"==t[0]?this.quarter(this.quarter()):"M"==t||"month"==t?this:(this.d.month=1,"y"==t[0]?this:void 0)))))}function endOf(t){return this.d.millisecond=999,"s"==t[0]?this:(this.d.second=59,"m"==t||"minute"==t?this:(this.d.minute=59,"h"==t[0]?this:(this.d.hour=23,"d"==t[0]?this:"w"==t[0]?this.addDay(7-getDayOfWeek(this.toDate(),this.c)):"q"==t[0]?(this.quarter(this.quarter()).addMonth(2),this.d.date=this.getDaysInMonth(),this):(this.d.date=this.getDaysInMonth(),"M"==t||"month"==t?this:(this.d.month=12,this.d.date=this.getDaysInMonth(),"y"==t[0]?this:void 0)))))}function time(){for(var t=arguments.length,r=new Array(t),e=0;e3&&a.addDay(7-n);var o=Math.ceil(s.diff(a,"date",!0)/7),h=s.clone().getWeeksInYear();return o>h?h:o},compare=function compare(date,operator){return date=typesToArray.apply(void 0,[this.c].concat(_toConsumableArray(date))),!!this.isValid.apply(this,_toConsumableArray(date))&&eval("this.timestamp()"+operator+"this.clone().parse(...date).timestamp()")},mathOperation=function(t,r){var e=this;if(!t.length)return!1;var i=_toConsumableArray(t),a=i.map((function(t){var r;return t=typesToArray(e.c,t),!!e.isValid.apply(e,_toConsumableArray(t))&&(r=e.clone()).parse.apply(r,_toConsumableArray(t)).timestamp()}));return!a.includes(!1)&&i[a.indexOf(Math[r].apply(Math,_toConsumableArray(a)))]},isTimestamp=function(t){return!isNaN(t)&&Math.floor(t/1e4)>0};function now(){var t=new Date;return"jalali"==this.c?setJalaliDate.call(this,t):setGregorianDate.call(this,t),this}function parse(){return"jalali"==this.c?this.fromJalali.apply(this,arguments):this.fromGregorian.apply(this,arguments)}function clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),JSON.parse(JSON.stringify(this)))}function fromJalali(){for(var t=arguments.length,r=new Array(t),e=0;e1){if(!isValid.apply(void 0,["gregorian"].concat(_toConsumableArray(r))))return invalid.call(this,"تاریخ نامعتبر");--r[1]}return"Invalid Date"==(r=_construct(Date,_toConsumableArray(r)))?invalid.call(this,"تاریخ نامعتبر"):("jalali"==this.c?setJalaliDate.call(this,r):setGregorianDate.call(this,r),this)}function calendar(t){return t?("j"==t[0]&&"j"!=this.c[0]?(this.error||setJalaliDate.call(this,this.toDate()),this.c="jalali"):"g"==t[0]&&"g"!=this.c[0]&&(this.error||setGregorianDate.call(this,this.toDate()),this.c="gregorian"),this):this.c}function addYear(t,r){if(t<0)return this.subYear(Math.abs(t));for(this.d.year+=+t;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addQuarter(t,r){return t<0?this.subQuarter(Math.abs(t)):this.addMonth(3*+t,r)}function addMonth(t,r){if(t<0)return this.subMonth(Math.abs(t));t=+t;var e=12-this.d.month+1;if(e>t)this.d.month+=t;else{for(this.addYear(1,!1),this.d.month=1,t-=e;t>=12;)t-=12,this.addYear(1,!1);0!=t&&(this.d.month+=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addWeek(t,r){return t<0?this.subWeek(Math.abs(t)):this.addDay(7*+t,r)}function addDay(t){if(t<0)return this.subDay(Math.abs(t));t=+t;var r=this.getDaysInMonth()-this.d.date+1;if(r>t)this.d.date+=t;else{this.addMonth(1,!1),this.d.date=1,t-=r;for(var e=this.getDaysInMonth();t>=e;)t-=e,this.addMonth(1,!1),e=this.getDaysInMonth();0!=t&&(this.d.date+=t)}return this}function addHour(t){if(t<0)return this.subHour(Math.abs(t));for(t=+t;t>=24;)t-=24,this.addDay(1,!1);var r=24-this.d.hour;return t>=r?(this.addDay(1,!1),t-=r,this.d.hour=t):this.d.hour+=t,this}function addMinute(t){if(t<0)return this.subMinute(Math.abs(t));for(t=+t;t>=60;)this.addHour(1,!1),t-=60;var r=60-this.d.minute;return t>=r?(this.addHour(1,!1),t-=r,this.d.minute=t):this.d.minute+=t,this}function addSecond(t){if(t<0)return this.subSecond(Math.abs(t));for(t=+t;t>=60;)this.addMinute(1,!1),t-=60;var r=60-this.d.second;return t>=r?(this.addMinute(1,!1),t-=r,this.d.second=t):this.d.second+=t,this}function addMillisecond(t){if(t<0)return this.subMillisecond(Math.abs(t));for(t=+t;t>=1e3;)this.addSecond(1,!1),t-=1e3;var r=1e3-this.d.millisecond;return t>=r?(this.addSecond(1,!1),t-=r,this.d.millisecond=t):this.d.millisecond+=t,this}function subYear(t,r){for(this.d.year-=Math.abs(t);r&&!this.isValidDate();)this.subDay(1,!1);return this}function subQuarter(t,r){return t=Math.abs(t),this.subMonth(3*t,r)}function subMonth(t,r){t=Math.abs(t);var e=this.d.month;if(e>t)this.d.month-=t;else{for(this.subYear(1,!1),this.d.month=12,t-=e;t>=12;)this.subYear(1,!1),t-=12;0!=t&&(this.d.month-=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function subWeek(t,r){return t=Math.abs(t),this.subDay(7*t,r)}function subDay(t){t=Math.abs(t);var r=this.d.date;if(r>t)this.d.date-=t;else{this.subMonth(1,!1);var e=this.getDaysInMonth();for(this.d.date=e,t-=r;t>=e;)t-=e,this.subMonth(1,!1),e=this.getDaysInMonth();this.d.date=e-t}return this}function subHour(t){for(t=Math.abs(t);t>=24;)t-=24,this.subDay(1,!1);var r=this.d.hour;return t>r?(this.subDay(1,!1),t-=r,this.d.hour=24-t):this.d.hour-=t,this}function subMinute(t){for(t=Math.abs(t);t>=60;)t-=60,this.subHour(1,!1);var r=this.d.minute;return t>r?(this.subHour(1,!1),t-=r,this.d.minute=60-t):this.d.minute-=t,this}function subSecond(t){for(t=Math.abs(t);t>=60;)t-=60,this.subMinute(1,!1);var r=this.d.second;return t>r?(this.subMinute(1,!1),t-=r,this.d.second=60-t):this.d.second-=t,this}function subMillisecond(t){for(t=Math.abs(t);t>=1e3;)t-=1e3,this.subSecond(1,!1);var r=this.d.millisecond;return t>r?(this.subSecond(1,!1),t-=r,this.d.millisecond=1e3-t):this.d.millisecond-=t,this}var jalali$1=function(t){return t.replace(/\?/g,"j").replace(/datetime/gi,"jYYYY/jMM/jDD HH:mm").replace(/date/gi,"jYYYY/jMM/jDD").replace(/time/gi,"HH:mm")},gregorian$1=function(t){return t.replace(/\?/g,"").replace(/datetime/gi,"YYYY-MM-DD HH:mm").replace(/date/gi,"YYYY-MM-DD").replace(/time/gi,"HH:mm")};function toString(t){var r=[];switch(t=t.replace(REGEX.betweenBacktick,(function(t,e){return r.push(e),"###"})),this.c[0]){case"j":t=jalali$1(t);break;default:t=gregorian$1(t)}var e,i="",a=_createForOfIteratorHelper(t.match(REGEX.format));try{for(a.s();!(e=a.n()).done;){var n=e.value;i+=t.substring(0,t.indexOf(n)),-1!=n.search(/Y|y/)?i+=this.year(n):-1!=n.search(/M/)?i+=this.month(n):-1!=n.search(/Q/)?i+=this.quarter(n):-1!=n.search(/D|d/)?i+=this.date(n):-1!=n.search(/W|w/)?i+=this.week(n):-1!=n.search(/H|h|k/)?i+=this.hour(n):-1!=n.search(/m/)?i+=this.minute(n):-1!=n.search(/s/)?i+=this.second(n):-1!=n.search(/c|C/)?i+=this.millisecond(n):-1!=n.search(/t/)?i+=this.timestamp():-1!=n.search(/a|A/)&&(i+=TIMETYPE(this.d.hour,n)),t=t.substr(t.indexOf(n)+n.length)}}catch(t){a.e(t)}finally{a.f()}i+=t;for(var s=0;s=0?1:-1):a}function diffForHumans(t,r){var e=this.diff(t,"s");if("string"==typeof e)return"تاریخ نامعتبر";var i=r&&(e>0?"آینده":"پیش");return 0==(e=Math.abs(e))?"هم اکنون":(e=e<45?"لحظات":(e/=60)<45?Math.round(e)+" دقیقه":(e/=60)<23.5?Math.round(e)+" ساعت":(e/=24)<26?Math.round(e)+" روز":e<320?Math.round(e/30)+" ماه":Math.round(e/365)+" سال")+(r?" "+i:"")}var PersianDate=function t(r,e){this.d={},this.c="jalali",t.prototype.now=function(){return this.error&&(delete this.error,this.d={}),now.call(this)},t.prototype.setDate=function(){return warn('"setDate" function is deprecated! use "fromGregorian" function instead.\nhttps://alireza-ab.ir/persian-date/create-and-parse#from-gregorian-date'),this.fromGregorian.apply(this,arguments)},t.prototype.parse=function(){return parse.call.apply(parse,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.clone=function(){return clone.call(this)},t.prototype.fromJalali=function(){return this.error&&(delete this.error,this.d={}),fromJalali.call.apply(fromJalali,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.fromGregorian=function(){return this.error&&(delete this.error,this.d={}),fromGregorian.call.apply(fromGregorian,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.calendar=function(t){return calendar.call(this,t)},t.prototype.year=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:year.call(this,t)},t.prototype.month=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:month.call(this,t)},t.prototype.date=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:date.call(this,t)},t.prototype.quarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:quarter.call(this,t)},t.prototype.week=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:week.call(this,t)},t.prototype.hour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"H";return this.error?this.error:hour.call(this,t)},t.prototype.minute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"m";return this.error?this.error:minute.call(this,t)},t.prototype.second=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"s";return this.error?this.error:second.call(this,t)},t.prototype.millisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"c";return this.error?this.error:millisecond.call(this,t)},t.prototype.timestamp=function(t){return this.error?this.error:timestamp.call(this,t)},t.prototype.valueOf=function(){return this.timestamp()},t.prototype.getDaysInMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month;return this.error?this.error:getDaysInMonth(this.c,t,r)},t.prototype.getWeeksInYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return this.error?this.error:getWeeksInYear.call(this,t)},t.prototype.startOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return startOf.call(this,t)},t.prototype.endOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return endOf.call(this,t)},t.prototype.time=function(){return this.error?this.error:time.call.apply(time,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.addYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addYear.call(this,t,r):this},t.prototype.addMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMonth.call(this,t,r):this},t.prototype.addDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addDay.call(this,t,r):this},t.prototype.addQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addQuarter.call(this,t,r):this},t.prototype.addWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addWeek.call(this,t,r):this},t.prototype.addHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addHour.call(this,t,r):this},t.prototype.addMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMinute.call(this,t,r):this},t.prototype.addSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addSecond.call(this,t,r):this},t.prototype.addMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMillisecond.call(this,t,r):this},t.prototype.subYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subYear.call(this,t,r):this},t.prototype.subMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMonth.call(this,t,r):this},t.prototype.subDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subDay.call(this,t,r):this},t.prototype.subQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subQuarter.call(this,t,r):this},t.prototype.subWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subWeek.call(this,t,r):this},t.prototype.subHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subHour.call(this,t,r):this},t.prototype.subMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMinute.call(this,t,r):this},t.prototype.subSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subSecond.call(this,t,r):this},t.prototype.subMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMillisecond.call(this,t,r):this},t.prototype.toString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"date";return this.error?this.error:toString.call(this,t)},t.prototype.toArray=function(){return this.error?this.error:toArray.call.apply(toArray,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toObject=function(){return this.error?this.error:toObject.call.apply(toObject,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toDate=function(){return this.error?this.error:toDate.call(this)},t.prototype.diff=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.error?this.error:diff.call(this,t,r,e)},t.prototype.diffForHumans=function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:diffForHumans.call(this,t,r)},t.prototype.min=function(){return mathOperation.call(this,arguments,"min")},t.prototype.max=function(){return mathOperation.call(this,arguments,"max")},t.prototype.isLeapYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return!this.error&&isLeapYear(this.c,t)},t.prototype.isValid=function(t,r,e,i,a,n,s){return!this.error&&(this.isValidDate(t,r,e)&&this.isValidTime(i,a,n,s))},t.prototype.isValidDate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.date;return!this.error&&isValidDate(this.c,t,r,e)},t.prototype.isValidTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.hour,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.minute,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.second,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.d.millisecond;return!this.error&&isValidTime(t,r,e,i)},t.prototype.isSame=function(){return!this.error&&isSame.call.apply(isSame,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.isBefore=function(){return!this.error&&compare.call(this,arguments,"<")},t.prototype.isAfter=function(){return!this.error&&compare.call(this,arguments,">")},t.prototype.isSameOrBefore=function(){return!this.error&&compare.call(this,arguments,"<=")},t.prototype.isSameOrAfter=function(){return!this.error&&compare.call(this,arguments,">=")},t.prototype.isBetween=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"()";return!this.error&&isBetween.call(this,t,r,e)},t.prototype.isInArray=function(t){return!this.error&&isInArray.call(this,t)},t.prototype.isDate=isDate,t.prototype.isPersianDate=isPersianDate,e&&this.calendar(e),r?e&&"j"==e[0]?this.fromJalali(r):this.fromGregorian(r):this.now()};PersianDate.isLeapYear=isLeapYear,PersianDate.isDate=isDate,PersianDate.isPersianDate=isPersianDate,PersianDate.isValid=isValid,PersianDate.isValidDate=isValidDate,PersianDate.isValidTime=isValidTime,PersianDate.getDaysInMonth=getDaysInMonth,module.exports=PersianDate; diff --git a/dist/PersianDate.umd.js b/dist/PersianDate.umd.js index d95d9d3..6076862 100644 --- a/dist/PersianDate.umd.js +++ b/dist/PersianDate.umd.js @@ -301,18 +301,21 @@ } function _iterableToArray(iter) { - if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); } function _iterableToArrayLimit(arr, i) { - if (typeof Symbol === "undefined" || !(Symbol.iterator in Object(arr))) return; + var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]); + + if (_i == null) return; var _arr = []; var _n = true; var _d = false; - var _e = undefined; + + var _s, _e; try { - for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { + for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; @@ -357,9 +360,9 @@ } function _createForOfIteratorHelper(o, allowArrayLike) { - var it; + var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; - if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; @@ -392,7 +395,7 @@ err; return { s: function () { - it = o[Symbol.iterator](); + it = it.call(o); }, n: function () { var step = it.next(); diff --git a/dist/PersianDate.umd.min.js b/dist/PersianDate.umd.min.js index 565c6e6..7760b01 100644 --- a/dist/PersianDate.umd.min.js +++ b/dist/PersianDate.umd.min.js @@ -1 +1 @@ -!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(t="undefined"!=typeof globalThis?globalThis:t||self).PersianDate=r()}(this,(function(){"use strict";var CALENDAR={jalali:{months:{1:"فروردین",2:"اردیبهشت",3:"خرداد",4:"تیر",5:"مرداد",6:"شهریور",7:"مهر",8:"آبان",9:"آذر",10:"دی",11:"بهمن",12:"اسفند"},days:{label:{6:"شنبه",0:"یکشنبه",1:"دوشنبه",2:"سه‌شنبه",3:"چهارشنبه",4:"پنجشنبه",5:"جمعه"},weekNumber:{6:0,0:1,1:2,2:3,3:4,4:5,5:6}},ordinalNumbers:function(t,r){var e={1:"یک",2:"دو",3:"سو",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی‌",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سیصد"},i="";if(1==t)i="اول";else if(e[t])i=e[t]+(30==t?"ام":"م");else{var a=t%100;(e[a]||(a=t%10))&&(i=e[a]+"م"),(a=(t-a)%100)&&(i=e[a]+(i?" و "+i:30==a?"ام ":"م")),(a=100*Math.floor(t/100))&&(i=e[a]+(i?" و "+i:"م"))}return 2==r&&(i+="ین"),i}},gregorian:{months:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},days:{label:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},weekNumber:{0:0,1:1,2:2,3:3,4:4,5:5,6:6}},ordinalNumbers:function(t){return 1==t||t%10==1&&11!=t?t+"st":2==t||t%10==2&&12!=t?t+"nd":3==t||t%10==3&&13!=t?t+"rd":t+"th"}}},REGEX={format:/j*(YYYY|YY|y|Qo|QO|Q|MMMM|MMM|MM|Mo|MO|M|DDDD|DDDo|DDDO|DDD|DD|Do|DO|D|dddd|ddd|dd|do|dO|de|d|ww|WW|wo|Wo|wO|WO|w|W|HH|hh|H|h|kk|k|mm|m|ss|s|CCCC|CCC|c|t|aa|a|A)/g,isNumeric:/^\d+$/,separators:"\\/| |-|\\.|,|:",betweenBacktick:/`(.*?)`/g},TIMETYPE=function(t,r){return t>=0&&t<12?"a"==r?"am":"aa"==r?"A.M.":"A"==r?"AM":"ja"==r?"ق ظ":"jaa"==r?"ق.ظ":"jA"==r?"قبل از ظهر":"ق.ظ":t>=12&&t<24?"a"==r?"pm":"aa"==r?"P.M.":"A"==r?"PM":"ja"==r?"ب ظ":"jaa"==r?"ب.ظ":"jA"==r?"بعد از ظهر":"ب.ظ":void 0},isDate=function(t){return t instanceof Date},jalali$4=function(t){return(t>1342?[1,5,9,13,17,22,26,30]:[1,5,9,13,17,21,26,30]).includes(t%33)},gregorian$4=function(t){return t%4==0&&t%100!=0||t%400==0},isLeapYear=function(t,r){switch(t[0]){case"j":return jalali$4(r);default:return gregorian$4(r)}},isPersianDate=function(t){return t instanceof PersianDate},isValid=function(t,r,e,i,a,n,s,o){return isValidDate(t,r,e,i)&&isValidTime(a,n,s,o)},jalali$3=function(t,r,e){return!(r>=7&&r<=11&&31==e)&&((12!=r||31!=e)&&!(12==r&&30==e&&!isLeapYear("j",t)))},gregorian$3=function(t,r,e){return(![2,4,6,9,11].includes(r)||31!=e)&&!(2==r&&(30==e||29==e&&!isLeapYear("g",t)))},isValidDate=function(t,r,e,i){if([r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)})))return!1;if(r<0||e>12||e<1||i>31||i<1)return!1;switch(t[0]){case"j":return jalali$3(r,e,i);default:return gregorian$3(r,e,i)}},isValidTime=function(t,r,e,i){return![t,r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)}))&&(!(t<0||t>23)&&(!(r<0||r>59)&&(!(e<0||e>59)&&!(i<0||i>999))))};function isSame(){var t=typesToArray.apply(void 0,[this.c].concat(Array.prototype.slice.call(arguments)));return t=this.toArray().map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),compare.call(this,t,"==")}function _setPrototypeOf(t,r){return(_setPrototypeOf=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,r,e){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,r,e){var i=[null];i.push.apply(i,r);var a=new(Function.bind.apply(t,i));return e&&_setPrototypeOf(a,e.prototype),a}).apply(null,arguments)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _iterableToArrayLimit(t,r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],i=!0,a=!1,n=void 0;try{for(var s,o=t[Symbol.iterator]();!(i=(s=o.next()).done)&&(e.push(s.value),!r||e.length!==r);i=!0);}catch(t){a=!0,n=t}finally{try{i||null==o.return||o.return()}finally{if(a)throw n}}return e}}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,o=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,n=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw n}}}}function isBetween(t,r,e){var i=this.toArray();return(t=typesToArray(this.c,t))[2]||(i[2]=1),t=i.map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),r=typesToArray(this.c,r),r=i.map((function(t,e){return REGEX.isNumeric.test(r[e])?r[e]:t})),!(!this.isValid.apply(this,_toConsumableArray(t))||!this.isValid.apply(this,_toConsumableArray(r)))&&(compare.call(this,t,"["===e[0]?">=":">")&&compare.call(this,r,"]"===e[1]?"<=":"<"))}function isInArray(t){var r=this;return t.some((function(t){return isSame.call(r,t)}))}var gtj=function(t,r,e,i,a,n,s){var o,h;e=(o=t?isDate(t)?t:new Date(REGEX.isNumeric.test(t)?t:0,REGEX.isNumeric.test(r)?r:0,REGEX.isNumeric.test(e)?e:1,REGEX.isNumeric.test(i)?i:0,REGEX.isNumeric.test(a)?a:0,REGEX.isNumeric.test(n)?n:0,REGEX.isNumeric.test(s)?s:0):new Date).getDate(),r=o.getMonth()+1,t=o.getFullYear(),i=o.getHours(),a=o.getMinutes(),n=o.getSeconds(),s=o.getMilliseconds();t>1600?(h=979,t-=1600):(h=0,t-=621);var u=r>2?t+1:t,l=365*t+parseInt((u+3)/4)-parseInt((u+99)/100)+parseInt((u+399)/400)-80+e+[0,31,59,90,120,151,181,212,243,273,304,334][r-1];return h+=33*parseInt(l/12053),l%=12053,h+=4*parseInt(l/1461),(l%=1461)>365&&(h+=parseInt((l-1)/365),l=(l-1)%365),[h,l<186?1+parseInt(l/31):7+parseInt((l-186)/30),1+(l<186?l%31:(l-186)%30),i,a,n,s]},jtg=function(t,r,e,i,a,n,s){var o,h,u;t=REGEX.isNumeric.test(t)?+t:1,r=REGEX.isNumeric.test(r)?+r:1,e=REGEX.isNumeric.test(e)?+e:1,i=REGEX.isNumeric.test(i)?+i:0,a=REGEX.isNumeric.test(a)?+a:0,n=REGEX.isNumeric.test(n)?+n:0,s=REGEX.isNumeric.test(s)?+s:0,t>979?(o=1600,t-=979):o=621;var l=365*t+8*parseInt(t/33)+parseInt((t%33+3)/4)+78+e+(r<7?31*(r-1):30*(r-7)+186);o+=400*parseInt(l/146097),(l%=146097)>36524&&(o+=100*parseInt(--l/36524),(l%=36524)>=365&&l++),o+=4*parseInt(l/1461),(l%=1461)>365&&(o+=parseInt((l-1)/365),l=(l-1)%365),u=l+1;var d=[0,31,isLeapYear("gregorian",o)?29:28,31,30,31,30,31,31,30,31,30,31];for(h=0;h<13;h++){var c=d[h];if(u<=c)break;u-=c}return new Date(o,h-1,u,i,a,n,s)},warn=function(t){console.warn(t)},error=function(t){console.error(t)},invalid=function(t){return delete this.d,this.error=t,this},typesToArray=function(t,r,e,i,a,n,s,o){return r||(r=new Date),"string"==typeof r&&-1!=r.search(REGEX.separators)?r.split(/[/ -.,:\\]/):Array.isArray(r)?r:PersianDate.isPersianDate(r)?r.clone().calendar(t).toArray():PersianDate.isDate(r)?new PersianDate(r).calendar(t).toArray():"[object Object]"===Object.prototype.toString.call(r)?[r.y||r.year||r.years,r.M||r.month||r.months||1,r.d||r.day||r.days||r.date||1,r.h||r.hour||r.hours||0,r.m||r.minute||r.minutes||0,r.s||r.second||r.seconds||0,r.ms||r.millisecond||r.milliseconds||0]:[r,e,i,a,n,s,o]},ordinalNumber=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return CALENDAR[r].ordinalNumbers(t,e)},addPrefix=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return e.repeat(r-String(t).length)+t},setJalaliDate=function(t){var r=_slicedToArray(gtj(t),7);this.d.year=r[0],this.d.month=r[1],this.d.date=r[2],this.d.hour=r[3],this.d.minute=r[4],this.d.second=r[5],this.d.millisecond=r[6]},setGregorianDate=function(t){this.d={year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},getDayLabel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali";return isDate(t)?CALENDAR[r].days.label[t.getDay()]:error("the first param must be instance of Date.")},getDayOfWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";return isDate(t)?CALENDAR[r].days.weekNumber[t.getDay()]+("standard"!=e?0:1):error("the first param must be instance of Date.")},getDefaultFormat$4=function(t){switch(t[0]){case"j":return"jy";default:return"y"}};function year(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return this.d.year=+t,this.isValidDate()?this:this.subDay(1,!1);t||(t=getDefaultFormat$4(this.c));var r="jalali"==this.c?this.d.year:gtj(this.toDate())[0];if("jy"==t||"jYYYY"==t)return r;if("jYY"==t)return String(r).slice(-2);var e="gregorian"==this.c?this.d.year:this.toDate().getFullYear();return"y"==t||"YYYY"==t?e:"YY"==t?String(e).slice(-2):r}var getDefaultFormat$3=function(t){switch(t[0]){case"j":return"jQ";default:return"Q"}};function quarter(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subQuarter(t-1,!1)):t>4?(this.d.month=12,this.addQuarter(t-4,!1)):this.d.month=3*+t-2;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$3(this.c));var r=Math.ceil(("jalali"==this.c?this.d.month:gtj(this.toDate())[1])/3);if("jQ"==t)return r;if("jQo"==t)return ordinalNumber(r);if("jQO"==t)return ordinalNumber(r,"jalali",2);var e=Math.ceil(("gregorian"==this.c?this.d.month:this.toDate().getMonth()+1)/3);return"Q"==t?e:"Qo"==t||"QO"==t?ordinalNumber(e,"gregorian"):r}var getDefaultFormat$2=function(t){switch(t[0]){case"j":return"jM";default:return"M"}};function month(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subMonth(t-1,!1)):t>12?(this.d.month=12,this.addMonth(t-12,!1)):this.d.month=+t;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$2(this.c));var r="jalali"==this.c?this.d.month:gtj(this.toDate())[1];if("jMM"==t)return addPrefix(r,2);if("jM"==t)return r;if("jMMMM"==t||"jMMM"==t)return CALENDAR.jalali.months[r];if("jMo"==t)return ordinalNumber(r);if("jMO"==t)return ordinalNumber(r,"jalali",2);var e="gregorian"==this.c?this.d.month:this.toDate().getMonth()+1;return"M"==t?e:"MM"==t?addPrefix(e,2):"MMMM"==t?CALENDAR.gregorian.months[e]:"Mo"==t||"MO"==t?ordinalNumber(e,"gregorian"):"MMM"==t?CALENDAR.gregorian.months[e].slice(0,3):r}var getDefaultFormat$1=function(t){switch(t[0]){case"j":return"jw";default:return"w"}};function week(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getWeeksInYear();if(t<1)this.week(1),this.subWeek(t-1,!1);else if(t>r)this.week(r),this.addWeek(t-r,!1);else{var e=getWeekOfYear.call(this,this.d.year,this.d.month,this.d.date,this.c);this.addWeek(+t-e)}for(;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$1(this.c));var i=getWeekOfYear.call(this,this.year("jy"),this.month("jM"),this.date("jD"),this.c);if("jw"==t||"jW"==t)return i;if("jww"==t||"jWW"==t)return addPrefix(i,2);if("jwo"==t||"jWo"==t)return ordinalNumber(i);if("jwO"==t||"jWO"==t)return ordinalNumber(i,"jalali",2);var a=getWeekOfYear.call(this,this.year("y"),this.month("M"),this.date("D"),"gregorian");return"w"==t||"W"==t?a:"ww"==t||"WW"==t?addPrefix(a,2):"wo"==t||"Wo"==t||"wO"==t||"WO"==t?ordinalNumber(a,"gregorian"):i}var getDefaultFormat=function(t){switch(t[0]){case"j":return"jD";default:return"D"}};function date(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getDaysInMonth();return t<1?(this.d.date=1,this.subDay(t-1)):t>r?(this.d.date=r,this.addDay(t-r)):this.d.date=+t,this}t||(t=getDefaultFormat(this.c));var e="jalali"==this.c?this.d.date:gtj(this.toDate())[2];if("jDD"==t)return addPrefix(e,2);if("jD"==t)return e;if("jDo"==t)return ordinalNumber(e);if("jDO"==t)return ordinalNumber(e,"jalali",2);var i=this.toDate();if("jdddd"==t||"jddd"==t)return getDayLabel(i);if("jdd"==t)return getDayLabel(i).slice(0,1);var a=getDayOfWeek(i);if("jdo"==t)return ordinalNumber(a);if("jdO"==t)return ordinalNumber(a,"jalali",2);if("jd"==t)return getDayOfWeek(i,"jalali","array");if("jde"==t)return a;var n=getDayOfYear(this.year("jy"),this.month("jM"),e,"j");return"jDDDD"==t?addPrefix(n,3):"jDDD"==t?n:"jDDDo"==t?ordinalNumber(n):"jDDDO"==t?ordinalNumber(n,"jalali",2):"DD"==t?addPrefix(i.getDate(),2):"D"==t?i.getDate():"Do"==t||"DO"==t?ordinalNumber(i.getDate(),"gregorian"):"dddd"==t?getDayLabel(i,"gregorian"):"ddd"==t?getDayLabel(i,"gregorian").slice(0,3):"dd"==t?getDayLabel(i,"gregorian").slice(0,2):(a=getDayOfWeek(i,"gregorian"),"do"==t||"dO"==t?ordinalNumber(a,"gregorian"):"d"==t?a-1:"de"==t?a:(n=getDayOfYear(i.getFullYear(),i.getMonth()+1,i.getDate(),"g"),"DDDD"==t?addPrefix(n,3):"DDD"==t?n:"DDDo"==t||"DDDO"==t?ordinalNumber(n,"gregorian"):e))}function hour(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return t<0?(this.d.hour=0,this.subHour(t)):t>23?(this.d.hour=23,this.addHour(t-23)):this.d.hour=+t,this;var r=this.d.hour;return"H"==t?r:"HH"==t?addPrefix(r,2):"k"==t?r||24:"kk"==t?addPrefix(r||24,2):(r=r>12?r-12:r,"h"==t?r:"hh"==t?addPrefix(r,2):r)}function minute(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.minute=0,this.subMinute(t)):t>23?(this.d.minute=23,this.addMinute(t-23)):this.d.minute=+t,this):"m"==t?this.d.minute:"mm"==t?addPrefix(this.d.minute,2):this.d.minute}function second(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.second=0,this.subSecond(t)):t>23?(this.d.second=23,this.addSecond(t-23)):this.d.second=+t,this):"s"==t?this.d.second:"ss"==t?addPrefix(this.d.second,2):this.d.second}function millisecond(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.millisecond=0,this.subMillisecond(t)):t>23?(this.d.millisecond=23,this.addMillisecond(t-23)):this.d.millisecond=+t,this):"CCC"==t||"c"==t?this.d.millisecond:"CCCC"==t?addPrefix(this.d.millisecond,3):this.d.millisecond}function timestamp(t){return t?this.fromGregorian(+String(t).trim()):this.toDate().getTime()}var jalali$2=function(t,r,e){return e>=1&&e<=6?31:e>6&&e<=11||isLeapYear(t,r)?30:29},gregorian$2=function(t,r,e){return[1,3,5,7,8,10,12].includes(e)?31:2!=e?30:isLeapYear(t,r)?29:28},getDaysInMonth=function(t,r,e){switch(t[0]){case"j":return jalali$2(t,r,e);default:return gregorian$2(t,r,e)}},getDayOfYearFormat=function(t){switch(t[0]){case"j":return"jd";default:return"d"}};function getWeeksInYear(t){var r=getDayOfYearFormat(this.c),e=this.clone().parse(t),i=e.date(r),a=e.clone().endOf("year").startOf("day"),n=a.date(r);return i>3?e.addDay(7-i):e.subDay(i),n>3?a.addDay(7-n):a.subDay(n),Math.ceil(a.diff(e,"date")/7)}function startOf(t){return this.d.millisecond=0,"s"==t[0]?this:(this.d.second=0,"m"==t||"minute"==t?this:(this.d.minute=0,"h"==t[0]?this:(this.d.hour=0,"d"==t[0]?this:"w"==t[0]?this.subDay(getDayOfWeek(this.toDate(),this.c,"array")):(this.d.date=1,"q"==t[0]?this.quarter(this.quarter()):"M"==t||"month"==t?this:(this.d.month=1,"y"==t[0]?this:void 0)))))}function endOf(t){return this.d.millisecond=999,"s"==t[0]?this:(this.d.second=59,"m"==t||"minute"==t?this:(this.d.minute=59,"h"==t[0]?this:(this.d.hour=23,"d"==t[0]?this:"w"==t[0]?this.addDay(7-getDayOfWeek(this.toDate(),this.c)):"q"==t[0]?(this.quarter(this.quarter()).addMonth(2),this.d.date=this.getDaysInMonth(),this):(this.d.date=this.getDaysInMonth(),"M"==t||"month"==t?this:(this.d.month=12,this.d.date=this.getDaysInMonth(),"y"==t[0]?this:void 0)))))}function time(){for(var t=arguments.length,r=new Array(t),e=0;e3&&a.addDay(7-n);var o=Math.ceil(s.diff(a,"date",!0)/7),h=s.clone().getWeeksInYear();return o>h?h:o},compare=function compare(date,operator){return date=typesToArray.apply(void 0,[this.c].concat(_toConsumableArray(date))),!!this.isValid.apply(this,_toConsumableArray(date))&&eval("this.timestamp()"+operator+"this.clone().parse(...date).timestamp()")},mathOperation=function(t,r){var e=this;if(!t.length)return!1;var i=_toConsumableArray(t),a=i.map((function(t){var r;return t=typesToArray(e.c,t),!!e.isValid.apply(e,_toConsumableArray(t))&&(r=e.clone()).parse.apply(r,_toConsumableArray(t)).timestamp()}));return!a.includes(!1)&&i[a.indexOf(Math[r].apply(Math,_toConsumableArray(a)))]},isTimestamp=function(t){return!isNaN(t)&&Math.floor(t/1e4)>0};function now(){var t=new Date;return"jalali"==this.c?setJalaliDate.call(this,t):setGregorianDate.call(this,t),this}function parse(){return"jalali"==this.c?this.fromJalali.apply(this,arguments):this.fromGregorian.apply(this,arguments)}function clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),JSON.parse(JSON.stringify(this)))}function fromJalali(){for(var t=arguments.length,r=new Array(t),e=0;e1){if(!isValid.apply(void 0,["gregorian"].concat(_toConsumableArray(r))))return invalid.call(this,"تاریخ نامعتبر");--r[1]}return"Invalid Date"==(r=_construct(Date,_toConsumableArray(r)))?invalid.call(this,"تاریخ نامعتبر"):("jalali"==this.c?setJalaliDate.call(this,r):setGregorianDate.call(this,r),this)}function calendar(t){return t?("j"==t[0]&&"j"!=this.c[0]?(this.error||setJalaliDate.call(this,this.toDate()),this.c="jalali"):"g"==t[0]&&"g"!=this.c[0]&&(this.error||setGregorianDate.call(this,this.toDate()),this.c="gregorian"),this):this.c}function addYear(t,r){if(t<0)return this.subYear(Math.abs(t));for(this.d.year+=+t;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addQuarter(t,r){return t<0?this.subQuarter(Math.abs(t)):this.addMonth(3*+t,r)}function addMonth(t,r){if(t<0)return this.subMonth(Math.abs(t));t=+t;var e=12-this.d.month+1;if(e>t)this.d.month+=t;else{for(this.addYear(1,!1),this.d.month=1,t-=e;t>=12;)t-=12,this.addYear(1,!1);0!=t&&(this.d.month+=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addWeek(t,r){return t<0?this.subWeek(Math.abs(t)):this.addDay(7*+t,r)}function addDay(t){if(t<0)return this.subDay(Math.abs(t));t=+t;var r=this.getDaysInMonth()-this.d.date+1;if(r>t)this.d.date+=t;else{this.addMonth(1,!1),this.d.date=1,t-=r;for(var e=this.getDaysInMonth();t>=e;)t-=e,this.addMonth(1,!1),e=this.getDaysInMonth();0!=t&&(this.d.date+=t)}return this}function addHour(t){if(t<0)return this.subHour(Math.abs(t));for(t=+t;t>=24;)t-=24,this.addDay(1,!1);var r=24-this.d.hour;return t>=r?(this.addDay(1,!1),t-=r,this.d.hour=t):this.d.hour+=t,this}function addMinute(t){if(t<0)return this.subMinute(Math.abs(t));for(t=+t;t>=60;)this.addHour(1,!1),t-=60;var r=60-this.d.minute;return t>=r?(this.addHour(1,!1),t-=r,this.d.minute=t):this.d.minute+=t,this}function addSecond(t){if(t<0)return this.subSecond(Math.abs(t));for(t=+t;t>=60;)this.addMinute(1,!1),t-=60;var r=60-this.d.second;return t>=r?(this.addMinute(1,!1),t-=r,this.d.second=t):this.d.second+=t,this}function addMillisecond(t){if(t<0)return this.subMillisecond(Math.abs(t));for(t=+t;t>=1e3;)this.addSecond(1,!1),t-=1e3;var r=1e3-this.d.millisecond;return t>=r?(this.addSecond(1,!1),t-=r,this.d.millisecond=t):this.d.millisecond+=t,this}function subYear(t,r){for(this.d.year-=Math.abs(t);r&&!this.isValidDate();)this.subDay(1,!1);return this}function subQuarter(t,r){return t=Math.abs(t),this.subMonth(3*t,r)}function subMonth(t,r){t=Math.abs(t);var e=this.d.month;if(e>t)this.d.month-=t;else{for(this.subYear(1,!1),this.d.month=12,t-=e;t>=12;)this.subYear(1,!1),t-=12;0!=t&&(this.d.month-=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function subWeek(t,r){return t=Math.abs(t),this.subDay(7*t,r)}function subDay(t){t=Math.abs(t);var r=this.d.date;if(r>t)this.d.date-=t;else{this.subMonth(1,!1);var e=this.getDaysInMonth();for(this.d.date=e,t-=r;t>=e;)t-=e,this.subMonth(1,!1),e=this.getDaysInMonth();this.d.date=e-t}return this}function subHour(t){for(t=Math.abs(t);t>=24;)t-=24,this.subDay(1,!1);var r=this.d.hour;return t>r?(this.subDay(1,!1),t-=r,this.d.hour=24-t):this.d.hour-=t,this}function subMinute(t){for(t=Math.abs(t);t>=60;)t-=60,this.subHour(1,!1);var r=this.d.minute;return t>r?(this.subHour(1,!1),t-=r,this.d.minute=60-t):this.d.minute-=t,this}function subSecond(t){for(t=Math.abs(t);t>=60;)t-=60,this.subMinute(1,!1);var r=this.d.second;return t>r?(this.subMinute(1,!1),t-=r,this.d.second=60-t):this.d.second-=t,this}function subMillisecond(t){for(t=Math.abs(t);t>=1e3;)t-=1e3,this.subSecond(1,!1);var r=this.d.millisecond;return t>r?(this.subSecond(1,!1),t-=r,this.d.millisecond=1e3-t):this.d.millisecond-=t,this}var jalali$1=function(t){return t.replace(/\?/g,"j").replace(/datetime/gi,"jYYYY/jMM/jDD HH:mm").replace(/date/gi,"jYYYY/jMM/jDD").replace(/time/gi,"HH:mm")},gregorian$1=function(t){return t.replace(/\?/g,"").replace(/datetime/gi,"YYYY-MM-DD HH:mm").replace(/date/gi,"YYYY-MM-DD").replace(/time/gi,"HH:mm")};function toString(t){var r=[];switch(t=t.replace(REGEX.betweenBacktick,(function(t,e){return r.push(e),"###"})),this.c[0]){case"j":t=jalali$1(t);break;default:t=gregorian$1(t)}var e,i="",a=_createForOfIteratorHelper(t.match(REGEX.format));try{for(a.s();!(e=a.n()).done;){var n=e.value;i+=t.substring(0,t.indexOf(n)),-1!=n.search(/Y|y/)?i+=this.year(n):-1!=n.search(/M/)?i+=this.month(n):-1!=n.search(/Q/)?i+=this.quarter(n):-1!=n.search(/D|d/)?i+=this.date(n):-1!=n.search(/W|w/)?i+=this.week(n):-1!=n.search(/H|h|k/)?i+=this.hour(n):-1!=n.search(/m/)?i+=this.minute(n):-1!=n.search(/s/)?i+=this.second(n):-1!=n.search(/c|C/)?i+=this.millisecond(n):-1!=n.search(/t/)?i+=this.timestamp():-1!=n.search(/a|A/)&&(i+=TIMETYPE(this.d.hour,n)),t=t.substr(t.indexOf(n)+n.length)}}catch(t){a.e(t)}finally{a.f()}i+=t;for(var s=0;s=0?1:-1):a}function diffForHumans(t,r){var e=this.diff(t,"s");if("string"==typeof e)return"تاریخ نامعتبر";var i=r&&(e>0?"آینده":"پیش");return 0==(e=Math.abs(e))?"هم اکنون":(e=e<45?"لحظات":(e/=60)<45?Math.round(e)+" دقیقه":(e/=60)<23.5?Math.round(e)+" ساعت":(e/=24)<26?Math.round(e)+" روز":e<320?Math.round(e/30)+" ماه":Math.round(e/365)+" سال")+(r?" "+i:"")}var PersianDate=function t(r,e){this.d={},this.c="jalali",t.prototype.now=function(){return this.error&&(delete this.error,this.d={}),now.call(this)},t.prototype.setDate=function(){return warn('"setDate" function is deprecated! use "fromGregorian" function instead.\nhttps://alireza-ab.ir/persian-date/create-and-parse#from-gregorian-date'),this.fromGregorian.apply(this,arguments)},t.prototype.parse=function(){return parse.call.apply(parse,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.clone=function(){return clone.call(this)},t.prototype.fromJalali=function(){return this.error&&(delete this.error,this.d={}),fromJalali.call.apply(fromJalali,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.fromGregorian=function(){return this.error&&(delete this.error,this.d={}),fromGregorian.call.apply(fromGregorian,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.calendar=function(t){return calendar.call(this,t)},t.prototype.year=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:year.call(this,t)},t.prototype.month=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:month.call(this,t)},t.prototype.date=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:date.call(this,t)},t.prototype.quarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:quarter.call(this,t)},t.prototype.week=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:week.call(this,t)},t.prototype.hour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"H";return this.error?this.error:hour.call(this,t)},t.prototype.minute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"m";return this.error?this.error:minute.call(this,t)},t.prototype.second=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"s";return this.error?this.error:second.call(this,t)},t.prototype.millisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"c";return this.error?this.error:millisecond.call(this,t)},t.prototype.timestamp=function(t){return this.error?this.error:timestamp.call(this,t)},t.prototype.valueOf=function(){return this.timestamp()},t.prototype.getDaysInMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month;return this.error?this.error:getDaysInMonth(this.c,t,r)},t.prototype.getWeeksInYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return this.error?this.error:getWeeksInYear.call(this,t)},t.prototype.startOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return startOf.call(this,t)},t.prototype.endOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return endOf.call(this,t)},t.prototype.time=function(){return this.error?this.error:time.call.apply(time,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.addYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addYear.call(this,t,r):this},t.prototype.addMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMonth.call(this,t,r):this},t.prototype.addDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addDay.call(this,t,r):this},t.prototype.addQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addQuarter.call(this,t,r):this},t.prototype.addWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addWeek.call(this,t,r):this},t.prototype.addHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addHour.call(this,t,r):this},t.prototype.addMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMinute.call(this,t,r):this},t.prototype.addSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addSecond.call(this,t,r):this},t.prototype.addMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMillisecond.call(this,t,r):this},t.prototype.subYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subYear.call(this,t,r):this},t.prototype.subMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMonth.call(this,t,r):this},t.prototype.subDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subDay.call(this,t,r):this},t.prototype.subQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subQuarter.call(this,t,r):this},t.prototype.subWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subWeek.call(this,t,r):this},t.prototype.subHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subHour.call(this,t,r):this},t.prototype.subMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMinute.call(this,t,r):this},t.prototype.subSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subSecond.call(this,t,r):this},t.prototype.subMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMillisecond.call(this,t,r):this},t.prototype.toString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"date";return this.error?this.error:toString.call(this,t)},t.prototype.toArray=function(){return this.error?this.error:toArray.call.apply(toArray,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toObject=function(){return this.error?this.error:toObject.call.apply(toObject,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toDate=function(){return this.error?this.error:toDate.call(this)},t.prototype.diff=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.error?this.error:diff.call(this,t,r,e)},t.prototype.diffForHumans=function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:diffForHumans.call(this,t,r)},t.prototype.min=function(){return mathOperation.call(this,arguments,"min")},t.prototype.max=function(){return mathOperation.call(this,arguments,"max")},t.prototype.isLeapYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return!this.error&&isLeapYear(this.c,t)},t.prototype.isValid=function(t,r,e,i,a,n,s){return!this.error&&(this.isValidDate(t,r,e)&&this.isValidTime(i,a,n,s))},t.prototype.isValidDate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.date;return!this.error&&isValidDate(this.c,t,r,e)},t.prototype.isValidTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.hour,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.minute,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.second,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.d.millisecond;return!this.error&&isValidTime(t,r,e,i)},t.prototype.isSame=function(){return!this.error&&isSame.call.apply(isSame,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.isBefore=function(){return!this.error&&compare.call(this,arguments,"<")},t.prototype.isAfter=function(){return!this.error&&compare.call(this,arguments,">")},t.prototype.isSameOrBefore=function(){return!this.error&&compare.call(this,arguments,"<=")},t.prototype.isSameOrAfter=function(){return!this.error&&compare.call(this,arguments,">=")},t.prototype.isBetween=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"()";return!this.error&&isBetween.call(this,t,r,e)},t.prototype.isInArray=function(t){return!this.error&&isInArray.call(this,t)},t.prototype.isDate=isDate,t.prototype.isPersianDate=isPersianDate,e&&this.calendar(e),r?e&&"j"==e[0]?this.fromJalali(r):this.fromGregorian(r):this.now()};return PersianDate.isLeapYear=isLeapYear,PersianDate.isDate=isDate,PersianDate.isPersianDate=isPersianDate,PersianDate.isValid=isValid,PersianDate.isValidDate=isValidDate,PersianDate.isValidTime=isValidTime,PersianDate.getDaysInMonth=getDaysInMonth,PersianDate})); +!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(t="undefined"!=typeof globalThis?globalThis:t||self).PersianDate=r()}(this,(function(){"use strict";var CALENDAR={jalali:{months:{1:"فروردین",2:"اردیبهشت",3:"خرداد",4:"تیر",5:"مرداد",6:"شهریور",7:"مهر",8:"آبان",9:"آذر",10:"دی",11:"بهمن",12:"اسفند"},days:{label:{6:"شنبه",0:"یکشنبه",1:"دوشنبه",2:"سه‌شنبه",3:"چهارشنبه",4:"پنجشنبه",5:"جمعه"},weekNumber:{6:0,0:1,1:2,2:3,3:4,4:5,5:6}},ordinalNumbers:function(t,r){var e={1:"یک",2:"دو",3:"سو",4:"چهار",5:"پنج",6:"شش",7:"هفت",8:"هشت",9:"نه",10:"ده",11:"یازده",12:"دوازده",13:"سیزده",14:"چهارده",15:"پانزده",16:"شانزده",17:"هفده",18:"هجده",19:"نوزده",20:"بیست",30:"سی‌",40:"چهل",50:"پنجاه",60:"شصت",70:"هفتاد",80:"هشتاد",90:"نود",100:"صد",200:"دویست",300:"سیصد"},i="";if(1==t)i="اول";else if(e[t])i=e[t]+(30==t?"ام":"م");else{var a=t%100;(e[a]||(a=t%10))&&(i=e[a]+"م"),(a=(t-a)%100)&&(i=e[a]+(i?" و "+i:30==a?"ام ":"م")),(a=100*Math.floor(t/100))&&(i=e[a]+(i?" و "+i:"م"))}return 2==r&&(i+="ین"),i}},gregorian:{months:{1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"},days:{label:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},weekNumber:{0:0,1:1,2:2,3:3,4:4,5:5,6:6}},ordinalNumbers:function(t){return 1==t||t%10==1&&11!=t?t+"st":2==t||t%10==2&&12!=t?t+"nd":3==t||t%10==3&&13!=t?t+"rd":t+"th"}}},REGEX={format:/j*(YYYY|YY|y|Qo|QO|Q|MMMM|MMM|MM|Mo|MO|M|DDDD|DDDo|DDDO|DDD|DD|Do|DO|D|dddd|ddd|dd|do|dO|de|d|ww|WW|wo|Wo|wO|WO|w|W|HH|hh|H|h|kk|k|mm|m|ss|s|CCCC|CCC|c|t|aa|a|A)/g,isNumeric:/^\d+$/,separators:"\\/| |-|\\.|,|:",betweenBacktick:/`(.*?)`/g},TIMETYPE=function(t,r){return t>=0&&t<12?"a"==r?"am":"aa"==r?"A.M.":"A"==r?"AM":"ja"==r?"ق ظ":"jaa"==r?"ق.ظ":"jA"==r?"قبل از ظهر":"ق.ظ":t>=12&&t<24?"a"==r?"pm":"aa"==r?"P.M.":"A"==r?"PM":"ja"==r?"ب ظ":"jaa"==r?"ب.ظ":"jA"==r?"بعد از ظهر":"ب.ظ":void 0},isDate=function(t){return t instanceof Date},jalali$4=function(t){return(t>1342?[1,5,9,13,17,22,26,30]:[1,5,9,13,17,21,26,30]).includes(t%33)},gregorian$4=function(t){return t%4==0&&t%100!=0||t%400==0},isLeapYear=function(t,r){switch(t[0]){case"j":return jalali$4(r);default:return gregorian$4(r)}},isPersianDate=function(t){return t instanceof PersianDate},isValid=function(t,r,e,i,a,n,s,o){return isValidDate(t,r,e,i)&&isValidTime(a,n,s,o)},jalali$3=function(t,r,e){return!(r>=7&&r<=11&&31==e)&&((12!=r||31!=e)&&!(12==r&&30==e&&!isLeapYear("j",t)))},gregorian$3=function(t,r,e){return(![2,4,6,9,11].includes(r)||31!=e)&&!(2==r&&(30==e||29==e&&!isLeapYear("g",t)))},isValidDate=function(t,r,e,i){if([r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)})))return!1;if(r<0||e>12||e<1||i>31||i<1)return!1;switch(t[0]){case"j":return jalali$3(r,e,i);default:return gregorian$3(r,e,i)}},isValidTime=function(t,r,e,i){return![t,r,e,i].some((function(t){return-1!=String(t).search(/null|NaN/)}))&&(!(t<0||t>23)&&(!(r<0||r>59)&&(!(e<0||e>59)&&!(i<0||i>999))))};function isSame(){var t=typesToArray.apply(void 0,[this.c].concat(Array.prototype.slice.call(arguments)));return t=this.toArray().map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),compare.call(this,t,"==")}function _setPrototypeOf(t,r){return(_setPrototypeOf=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t})(t,r)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,r,e){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,r,e){var i=[null];i.push.apply(i,r);var a=new(Function.bind.apply(t,i));return e&&_setPrototypeOf(a,e.prototype),a}).apply(null,arguments)}function _slicedToArray(t,r){return _arrayWithHoles(t)||_iterableToArrayLimit(t,r)||_unsupportedIterableToArray(t,r)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _iterableToArrayLimit(t,r){var e=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=e){var i,a,n=[],s=!0,o=!1;try{for(e=e.call(t);!(s=(i=e.next()).done)&&(n.push(i.value),!r||n.length!==r);s=!0);}catch(t){o=!0,a=t}finally{try{s||null==e.return||e.return()}finally{if(o)throw a}}return n}}function _unsupportedIterableToArray(t,r){if(t){if("string"==typeof t)return _arrayLikeToArray(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_arrayLikeToArray(t,r):void 0}}function _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,i=new Array(r);e=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,o=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return s=t.done,t},e:function(t){o=!0,n=t},f:function(){try{s||null==e.return||e.return()}finally{if(o)throw n}}}}function isBetween(t,r,e){var i=this.toArray();return(t=typesToArray(this.c,t))[2]||(i[2]=1),t=i.map((function(r,e){return REGEX.isNumeric.test(t[e])?t[e]:r})),r=typesToArray(this.c,r),r=i.map((function(t,e){return REGEX.isNumeric.test(r[e])?r[e]:t})),!(!this.isValid.apply(this,_toConsumableArray(t))||!this.isValid.apply(this,_toConsumableArray(r)))&&(compare.call(this,t,"["===e[0]?">=":">")&&compare.call(this,r,"]"===e[1]?"<=":"<"))}function isInArray(t){var r=this;return t.some((function(t){return isSame.call(r,t)}))}var gtj=function(t,r,e,i,a,n,s){var o,h;e=(o=t?isDate(t)?t:new Date(REGEX.isNumeric.test(t)?t:0,REGEX.isNumeric.test(r)?r:0,REGEX.isNumeric.test(e)?e:1,REGEX.isNumeric.test(i)?i:0,REGEX.isNumeric.test(a)?a:0,REGEX.isNumeric.test(n)?n:0,REGEX.isNumeric.test(s)?s:0):new Date).getDate(),r=o.getMonth()+1,t=o.getFullYear(),i=o.getHours(),a=o.getMinutes(),n=o.getSeconds(),s=o.getMilliseconds();t>1600?(h=979,t-=1600):(h=0,t-=621);var u=r>2?t+1:t,l=365*t+parseInt((u+3)/4)-parseInt((u+99)/100)+parseInt((u+399)/400)-80+e+[0,31,59,90,120,151,181,212,243,273,304,334][r-1];return h+=33*parseInt(l/12053),l%=12053,h+=4*parseInt(l/1461),(l%=1461)>365&&(h+=parseInt((l-1)/365),l=(l-1)%365),[h,l<186?1+parseInt(l/31):7+parseInt((l-186)/30),1+(l<186?l%31:(l-186)%30),i,a,n,s]},jtg=function(t,r,e,i,a,n,s){var o,h,u;t=REGEX.isNumeric.test(t)?+t:1,r=REGEX.isNumeric.test(r)?+r:1,e=REGEX.isNumeric.test(e)?+e:1,i=REGEX.isNumeric.test(i)?+i:0,a=REGEX.isNumeric.test(a)?+a:0,n=REGEX.isNumeric.test(n)?+n:0,s=REGEX.isNumeric.test(s)?+s:0,t>979?(o=1600,t-=979):o=621;var l=365*t+8*parseInt(t/33)+parseInt((t%33+3)/4)+78+e+(r<7?31*(r-1):30*(r-7)+186);o+=400*parseInt(l/146097),(l%=146097)>36524&&(o+=100*parseInt(--l/36524),(l%=36524)>=365&&l++),o+=4*parseInt(l/1461),(l%=1461)>365&&(o+=parseInt((l-1)/365),l=(l-1)%365),u=l+1;var d=[0,31,isLeapYear("gregorian",o)?29:28,31,30,31,30,31,31,30,31,30,31];for(h=0;h<13;h++){var c=d[h];if(u<=c)break;u-=c}return new Date(o,h-1,u,i,a,n,s)},warn=function(t){console.warn(t)},error=function(t){console.error(t)},invalid=function(t){return delete this.d,this.error=t,this},typesToArray=function(t,r,e,i,a,n,s,o){return r||(r=new Date),"string"==typeof r&&-1!=r.search(REGEX.separators)?r.split(/[/ -.,:\\]/):Array.isArray(r)?r:PersianDate.isPersianDate(r)?r.clone().calendar(t).toArray():PersianDate.isDate(r)?new PersianDate(r).calendar(t).toArray():"[object Object]"===Object.prototype.toString.call(r)?[r.y||r.year||r.years,r.M||r.month||r.months||1,r.d||r.day||r.days||r.date||1,r.h||r.hour||r.hours||0,r.m||r.minute||r.minutes||0,r.s||r.second||r.seconds||0,r.ms||r.millisecond||r.milliseconds||0]:[r,e,i,a,n,s,o]},ordinalNumber=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return CALENDAR[r].ordinalNumbers(t,e)},addPrefix=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"0";return e.repeat(r-String(t).length)+t},setJalaliDate=function(t){var r=_slicedToArray(gtj(t),7);this.d.year=r[0],this.d.month=r[1],this.d.date=r[2],this.d.hour=r[3],this.d.minute=r[4],this.d.second=r[5],this.d.millisecond=r[6]},setGregorianDate=function(t){this.d={year:t.getFullYear(),month:t.getMonth()+1,date:t.getDate(),hour:t.getHours(),minute:t.getMinutes(),second:t.getSeconds(),millisecond:t.getMilliseconds()}},getDayLabel=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali";return isDate(t)?CALENDAR[r].days.label[t.getDay()]:error("the first param must be instance of Date.")},getDayOfWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"jalali",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"standard";return isDate(t)?CALENDAR[r].days.weekNumber[t.getDay()]+("standard"!=e?0:1):error("the first param must be instance of Date.")},getDefaultFormat$4=function(t){switch(t[0]){case"j":return"jy";default:return"y"}};function year(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return this.d.year=+t,this.isValidDate()?this:this.subDay(1,!1);t||(t=getDefaultFormat$4(this.c));var r="jalali"==this.c?this.d.year:gtj(this.toDate())[0];if("jy"==t||"jYYYY"==t)return r;if("jYY"==t)return String(r).slice(-2);var e="gregorian"==this.c?this.d.year:this.toDate().getFullYear();return"y"==t||"YYYY"==t?e:"YY"==t?String(e).slice(-2):r}var getDefaultFormat$3=function(t){switch(t[0]){case"j":return"jQ";default:return"Q"}};function quarter(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subQuarter(t-1,!1)):t>4?(this.d.month=12,this.addQuarter(t-4,!1)):this.d.month=3*+t-2;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$3(this.c));var r=Math.ceil(("jalali"==this.c?this.d.month:gtj(this.toDate())[1])/3);if("jQ"==t)return r;if("jQo"==t)return ordinalNumber(r);if("jQO"==t)return ordinalNumber(r,"jalali",2);var e=Math.ceil(("gregorian"==this.c?this.d.month:this.toDate().getMonth()+1)/3);return"Q"==t?e:"Qo"==t||"QO"==t?ordinalNumber(e,"gregorian"):r}var getDefaultFormat$2=function(t){switch(t[0]){case"j":return"jM";default:return"M"}};function month(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){for(t<1?(this.d.month=1,this.subMonth(t-1,!1)):t>12?(this.d.month=12,this.addMonth(t-12,!1)):this.d.month=+t;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$2(this.c));var r="jalali"==this.c?this.d.month:gtj(this.toDate())[1];if("jMM"==t)return addPrefix(r,2);if("jM"==t)return r;if("jMMMM"==t||"jMMM"==t)return CALENDAR.jalali.months[r];if("jMo"==t)return ordinalNumber(r);if("jMO"==t)return ordinalNumber(r,"jalali",2);var e="gregorian"==this.c?this.d.month:this.toDate().getMonth()+1;return"M"==t?e:"MM"==t?addPrefix(e,2):"MMMM"==t?CALENDAR.gregorian.months[e]:"Mo"==t||"MO"==t?ordinalNumber(e,"gregorian"):"MMM"==t?CALENDAR.gregorian.months[e].slice(0,3):r}var getDefaultFormat$1=function(t){switch(t[0]){case"j":return"jw";default:return"w"}};function week(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getWeeksInYear();if(t<1)this.week(1),this.subWeek(t-1,!1);else if(t>r)this.week(r),this.addWeek(t-r,!1);else{var e=getWeekOfYear.call(this,this.d.year,this.d.month,this.d.date,this.c);this.addWeek(+t-e)}for(;!this.isValidDate();)this.subDay(1,!1);return this}t||(t=getDefaultFormat$1(this.c));var i=getWeekOfYear.call(this,this.year("jy"),this.month("jM"),this.date("jD"),this.c);if("jw"==t||"jW"==t)return i;if("jww"==t||"jWW"==t)return addPrefix(i,2);if("jwo"==t||"jWo"==t)return ordinalNumber(i);if("jwO"==t||"jWO"==t)return ordinalNumber(i,"jalali",2);var a=getWeekOfYear.call(this,this.year("y"),this.month("M"),this.date("D"),"gregorian");return"w"==t||"W"==t?a:"ww"==t||"WW"==t?addPrefix(a,2):"wo"==t||"Wo"==t||"wO"==t||"WO"==t?ordinalNumber(a,"gregorian"):i}var getDefaultFormat=function(t){switch(t[0]){case"j":return"jD";default:return"D"}};function date(t){if(t=String(t).trim(),REGEX.isNumeric.test(t)){var r=this.getDaysInMonth();return t<1?(this.d.date=1,this.subDay(t-1)):t>r?(this.d.date=r,this.addDay(t-r)):this.d.date=+t,this}t||(t=getDefaultFormat(this.c));var e="jalali"==this.c?this.d.date:gtj(this.toDate())[2];if("jDD"==t)return addPrefix(e,2);if("jD"==t)return e;if("jDo"==t)return ordinalNumber(e);if("jDO"==t)return ordinalNumber(e,"jalali",2);var i=this.toDate();if("jdddd"==t||"jddd"==t)return getDayLabel(i);if("jdd"==t)return getDayLabel(i).slice(0,1);var a=getDayOfWeek(i);if("jdo"==t)return ordinalNumber(a);if("jdO"==t)return ordinalNumber(a,"jalali",2);if("jd"==t)return getDayOfWeek(i,"jalali","array");if("jde"==t)return a;var n=getDayOfYear(this.year("jy"),this.month("jM"),e,"j");return"jDDDD"==t?addPrefix(n,3):"jDDD"==t?n:"jDDDo"==t?ordinalNumber(n):"jDDDO"==t?ordinalNumber(n,"jalali",2):"DD"==t?addPrefix(i.getDate(),2):"D"==t?i.getDate():"Do"==t||"DO"==t?ordinalNumber(i.getDate(),"gregorian"):"dddd"==t?getDayLabel(i,"gregorian"):"ddd"==t?getDayLabel(i,"gregorian").slice(0,3):"dd"==t?getDayLabel(i,"gregorian").slice(0,2):(a=getDayOfWeek(i,"gregorian"),"do"==t||"dO"==t?ordinalNumber(a,"gregorian"):"d"==t?a-1:"de"==t?a:(n=getDayOfYear(i.getFullYear(),i.getMonth()+1,i.getDate(),"g"),"DDDD"==t?addPrefix(n,3):"DDD"==t?n:"DDDo"==t||"DDDO"==t?ordinalNumber(n,"gregorian"):e))}function hour(t){if(t=String(t).trim(),REGEX.isNumeric.test(t))return t<0?(this.d.hour=0,this.subHour(t)):t>23?(this.d.hour=23,this.addHour(t-23)):this.d.hour=+t,this;var r=this.d.hour;return"H"==t?r:"HH"==t?addPrefix(r,2):"k"==t?r||24:"kk"==t?addPrefix(r||24,2):(r=r>12?r-12:r,"h"==t?r:"hh"==t?addPrefix(r,2):r)}function minute(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.minute=0,this.subMinute(t)):t>23?(this.d.minute=23,this.addMinute(t-23)):this.d.minute=+t,this):"m"==t?this.d.minute:"mm"==t?addPrefix(this.d.minute,2):this.d.minute}function second(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.second=0,this.subSecond(t)):t>23?(this.d.second=23,this.addSecond(t-23)):this.d.second=+t,this):"s"==t?this.d.second:"ss"==t?addPrefix(this.d.second,2):this.d.second}function millisecond(t){return t=String(t).trim(),REGEX.isNumeric.test(t)?(t<0?(this.d.millisecond=0,this.subMillisecond(t)):t>23?(this.d.millisecond=23,this.addMillisecond(t-23)):this.d.millisecond=+t,this):"CCC"==t||"c"==t?this.d.millisecond:"CCCC"==t?addPrefix(this.d.millisecond,3):this.d.millisecond}function timestamp(t){return t?this.fromGregorian(+String(t).trim()):this.toDate().getTime()}var jalali$2=function(t,r,e){return e>=1&&e<=6?31:e>6&&e<=11||isLeapYear(t,r)?30:29},gregorian$2=function(t,r,e){return[1,3,5,7,8,10,12].includes(e)?31:2!=e?30:isLeapYear(t,r)?29:28},getDaysInMonth=function(t,r,e){switch(t[0]){case"j":return jalali$2(t,r,e);default:return gregorian$2(t,r,e)}},getDayOfYearFormat=function(t){switch(t[0]){case"j":return"jd";default:return"d"}};function getWeeksInYear(t){var r=getDayOfYearFormat(this.c),e=this.clone().parse(t),i=e.date(r),a=e.clone().endOf("year").startOf("day"),n=a.date(r);return i>3?e.addDay(7-i):e.subDay(i),n>3?a.addDay(7-n):a.subDay(n),Math.ceil(a.diff(e,"date")/7)}function startOf(t){return this.d.millisecond=0,"s"==t[0]?this:(this.d.second=0,"m"==t||"minute"==t?this:(this.d.minute=0,"h"==t[0]?this:(this.d.hour=0,"d"==t[0]?this:"w"==t[0]?this.subDay(getDayOfWeek(this.toDate(),this.c,"array")):(this.d.date=1,"q"==t[0]?this.quarter(this.quarter()):"M"==t||"month"==t?this:(this.d.month=1,"y"==t[0]?this:void 0)))))}function endOf(t){return this.d.millisecond=999,"s"==t[0]?this:(this.d.second=59,"m"==t||"minute"==t?this:(this.d.minute=59,"h"==t[0]?this:(this.d.hour=23,"d"==t[0]?this:"w"==t[0]?this.addDay(7-getDayOfWeek(this.toDate(),this.c)):"q"==t[0]?(this.quarter(this.quarter()).addMonth(2),this.d.date=this.getDaysInMonth(),this):(this.d.date=this.getDaysInMonth(),"M"==t||"month"==t?this:(this.d.month=12,this.d.date=this.getDaysInMonth(),"y"==t[0]?this:void 0)))))}function time(){for(var t=arguments.length,r=new Array(t),e=0;e3&&a.addDay(7-n);var o=Math.ceil(s.diff(a,"date",!0)/7),h=s.clone().getWeeksInYear();return o>h?h:o},compare=function compare(date,operator){return date=typesToArray.apply(void 0,[this.c].concat(_toConsumableArray(date))),!!this.isValid.apply(this,_toConsumableArray(date))&&eval("this.timestamp()"+operator+"this.clone().parse(...date).timestamp()")},mathOperation=function(t,r){var e=this;if(!t.length)return!1;var i=_toConsumableArray(t),a=i.map((function(t){var r;return t=typesToArray(e.c,t),!!e.isValid.apply(e,_toConsumableArray(t))&&(r=e.clone()).parse.apply(r,_toConsumableArray(t)).timestamp()}));return!a.includes(!1)&&i[a.indexOf(Math[r].apply(Math,_toConsumableArray(a)))]},isTimestamp=function(t){return!isNaN(t)&&Math.floor(t/1e4)>0};function now(){var t=new Date;return"jalali"==this.c?setJalaliDate.call(this,t):setGregorianDate.call(this,t),this}function parse(){return"jalali"==this.c?this.fromJalali.apply(this,arguments):this.fromGregorian.apply(this,arguments)}function clone(){return Object.assign(Object.create(Object.getPrototypeOf(this)),JSON.parse(JSON.stringify(this)))}function fromJalali(){for(var t=arguments.length,r=new Array(t),e=0;e1){if(!isValid.apply(void 0,["gregorian"].concat(_toConsumableArray(r))))return invalid.call(this,"تاریخ نامعتبر");--r[1]}return"Invalid Date"==(r=_construct(Date,_toConsumableArray(r)))?invalid.call(this,"تاریخ نامعتبر"):("jalali"==this.c?setJalaliDate.call(this,r):setGregorianDate.call(this,r),this)}function calendar(t){return t?("j"==t[0]&&"j"!=this.c[0]?(this.error||setJalaliDate.call(this,this.toDate()),this.c="jalali"):"g"==t[0]&&"g"!=this.c[0]&&(this.error||setGregorianDate.call(this,this.toDate()),this.c="gregorian"),this):this.c}function addYear(t,r){if(t<0)return this.subYear(Math.abs(t));for(this.d.year+=+t;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addQuarter(t,r){return t<0?this.subQuarter(Math.abs(t)):this.addMonth(3*+t,r)}function addMonth(t,r){if(t<0)return this.subMonth(Math.abs(t));t=+t;var e=12-this.d.month+1;if(e>t)this.d.month+=t;else{for(this.addYear(1,!1),this.d.month=1,t-=e;t>=12;)t-=12,this.addYear(1,!1);0!=t&&(this.d.month+=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function addWeek(t,r){return t<0?this.subWeek(Math.abs(t)):this.addDay(7*+t,r)}function addDay(t){if(t<0)return this.subDay(Math.abs(t));t=+t;var r=this.getDaysInMonth()-this.d.date+1;if(r>t)this.d.date+=t;else{this.addMonth(1,!1),this.d.date=1,t-=r;for(var e=this.getDaysInMonth();t>=e;)t-=e,this.addMonth(1,!1),e=this.getDaysInMonth();0!=t&&(this.d.date+=t)}return this}function addHour(t){if(t<0)return this.subHour(Math.abs(t));for(t=+t;t>=24;)t-=24,this.addDay(1,!1);var r=24-this.d.hour;return t>=r?(this.addDay(1,!1),t-=r,this.d.hour=t):this.d.hour+=t,this}function addMinute(t){if(t<0)return this.subMinute(Math.abs(t));for(t=+t;t>=60;)this.addHour(1,!1),t-=60;var r=60-this.d.minute;return t>=r?(this.addHour(1,!1),t-=r,this.d.minute=t):this.d.minute+=t,this}function addSecond(t){if(t<0)return this.subSecond(Math.abs(t));for(t=+t;t>=60;)this.addMinute(1,!1),t-=60;var r=60-this.d.second;return t>=r?(this.addMinute(1,!1),t-=r,this.d.second=t):this.d.second+=t,this}function addMillisecond(t){if(t<0)return this.subMillisecond(Math.abs(t));for(t=+t;t>=1e3;)this.addSecond(1,!1),t-=1e3;var r=1e3-this.d.millisecond;return t>=r?(this.addSecond(1,!1),t-=r,this.d.millisecond=t):this.d.millisecond+=t,this}function subYear(t,r){for(this.d.year-=Math.abs(t);r&&!this.isValidDate();)this.subDay(1,!1);return this}function subQuarter(t,r){return t=Math.abs(t),this.subMonth(3*t,r)}function subMonth(t,r){t=Math.abs(t);var e=this.d.month;if(e>t)this.d.month-=t;else{for(this.subYear(1,!1),this.d.month=12,t-=e;t>=12;)this.subYear(1,!1),t-=12;0!=t&&(this.d.month-=t)}for(;r&&!this.isValidDate();)this.subDay(1,!1);return this}function subWeek(t,r){return t=Math.abs(t),this.subDay(7*t,r)}function subDay(t){t=Math.abs(t);var r=this.d.date;if(r>t)this.d.date-=t;else{this.subMonth(1,!1);var e=this.getDaysInMonth();for(this.d.date=e,t-=r;t>=e;)t-=e,this.subMonth(1,!1),e=this.getDaysInMonth();this.d.date=e-t}return this}function subHour(t){for(t=Math.abs(t);t>=24;)t-=24,this.subDay(1,!1);var r=this.d.hour;return t>r?(this.subDay(1,!1),t-=r,this.d.hour=24-t):this.d.hour-=t,this}function subMinute(t){for(t=Math.abs(t);t>=60;)t-=60,this.subHour(1,!1);var r=this.d.minute;return t>r?(this.subHour(1,!1),t-=r,this.d.minute=60-t):this.d.minute-=t,this}function subSecond(t){for(t=Math.abs(t);t>=60;)t-=60,this.subMinute(1,!1);var r=this.d.second;return t>r?(this.subMinute(1,!1),t-=r,this.d.second=60-t):this.d.second-=t,this}function subMillisecond(t){for(t=Math.abs(t);t>=1e3;)t-=1e3,this.subSecond(1,!1);var r=this.d.millisecond;return t>r?(this.subSecond(1,!1),t-=r,this.d.millisecond=1e3-t):this.d.millisecond-=t,this}var jalali$1=function(t){return t.replace(/\?/g,"j").replace(/datetime/gi,"jYYYY/jMM/jDD HH:mm").replace(/date/gi,"jYYYY/jMM/jDD").replace(/time/gi,"HH:mm")},gregorian$1=function(t){return t.replace(/\?/g,"").replace(/datetime/gi,"YYYY-MM-DD HH:mm").replace(/date/gi,"YYYY-MM-DD").replace(/time/gi,"HH:mm")};function toString(t){var r=[];switch(t=t.replace(REGEX.betweenBacktick,(function(t,e){return r.push(e),"###"})),this.c[0]){case"j":t=jalali$1(t);break;default:t=gregorian$1(t)}var e,i="",a=_createForOfIteratorHelper(t.match(REGEX.format));try{for(a.s();!(e=a.n()).done;){var n=e.value;i+=t.substring(0,t.indexOf(n)),-1!=n.search(/Y|y/)?i+=this.year(n):-1!=n.search(/M/)?i+=this.month(n):-1!=n.search(/Q/)?i+=this.quarter(n):-1!=n.search(/D|d/)?i+=this.date(n):-1!=n.search(/W|w/)?i+=this.week(n):-1!=n.search(/H|h|k/)?i+=this.hour(n):-1!=n.search(/m/)?i+=this.minute(n):-1!=n.search(/s/)?i+=this.second(n):-1!=n.search(/c|C/)?i+=this.millisecond(n):-1!=n.search(/t/)?i+=this.timestamp():-1!=n.search(/a|A/)&&(i+=TIMETYPE(this.d.hour,n)),t=t.substr(t.indexOf(n)+n.length)}}catch(t){a.e(t)}finally{a.f()}i+=t;for(var s=0;s=0?1:-1):a}function diffForHumans(t,r){var e=this.diff(t,"s");if("string"==typeof e)return"تاریخ نامعتبر";var i=r&&(e>0?"آینده":"پیش");return 0==(e=Math.abs(e))?"هم اکنون":(e=e<45?"لحظات":(e/=60)<45?Math.round(e)+" دقیقه":(e/=60)<23.5?Math.round(e)+" ساعت":(e/=24)<26?Math.round(e)+" روز":e<320?Math.round(e/30)+" ماه":Math.round(e/365)+" سال")+(r?" "+i:"")}var PersianDate=function t(r,e){this.d={},this.c="jalali",t.prototype.now=function(){return this.error&&(delete this.error,this.d={}),now.call(this)},t.prototype.setDate=function(){return warn('"setDate" function is deprecated! use "fromGregorian" function instead.\nhttps://alireza-ab.ir/persian-date/create-and-parse#from-gregorian-date'),this.fromGregorian.apply(this,arguments)},t.prototype.parse=function(){return parse.call.apply(parse,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.clone=function(){return clone.call(this)},t.prototype.fromJalali=function(){return this.error&&(delete this.error,this.d={}),fromJalali.call.apply(fromJalali,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.fromGregorian=function(){return this.error&&(delete this.error,this.d={}),fromGregorian.call.apply(fromGregorian,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.calendar=function(t){return calendar.call(this,t)},t.prototype.year=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:year.call(this,t)},t.prototype.month=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:month.call(this,t)},t.prototype.date=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:date.call(this,t)},t.prototype.quarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:quarter.call(this,t)},t.prototype.week=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.error?this.error:week.call(this,t)},t.prototype.hour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"H";return this.error?this.error:hour.call(this,t)},t.prototype.minute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"m";return this.error?this.error:minute.call(this,t)},t.prototype.second=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"s";return this.error?this.error:second.call(this,t)},t.prototype.millisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"c";return this.error?this.error:millisecond.call(this,t)},t.prototype.timestamp=function(t){return this.error?this.error:timestamp.call(this,t)},t.prototype.valueOf=function(){return this.timestamp()},t.prototype.getDaysInMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month;return this.error?this.error:getDaysInMonth(this.c,t,r)},t.prototype.getWeeksInYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return this.error?this.error:getWeeksInYear.call(this,t)},t.prototype.startOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return startOf.call(this,t)},t.prototype.endOf=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"year";return endOf.call(this,t)},t.prototype.time=function(){return this.error?this.error:time.call.apply(time,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.addYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addYear.call(this,t,r):this},t.prototype.addMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMonth.call(this,t,r):this},t.prototype.addDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addDay.call(this,t,r):this},t.prototype.addQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addQuarter.call(this,t,r):this},t.prototype.addWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addWeek.call(this,t,r):this},t.prototype.addHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addHour.call(this,t,r):this},t.prototype.addMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMinute.call(this,t,r):this},t.prototype.addSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addSecond.call(this,t,r):this},t.prototype.addMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?addMillisecond.call(this,t,r):this},t.prototype.subYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subYear.call(this,t,r):this},t.prototype.subMonth=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMonth.call(this,t,r):this},t.prototype.subDay=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subDay.call(this,t,r):this},t.prototype.subQuarter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subQuarter.call(this,t,r):this},t.prototype.subWeek=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subWeek.call(this,t,r):this},t.prototype.subHour=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subHour.call(this,t,r):this},t.prototype.subMinute=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMinute.call(this,t,r):this},t.prototype.subSecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subSecond.call(this,t,r):this},t.prototype.subMillisecond=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:t?subMillisecond.call(this,t,r):this},t.prototype.toString=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"date";return this.error?this.error:toString.call(this,t)},t.prototype.toArray=function(){return this.error?this.error:toArray.call.apply(toArray,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toObject=function(){return this.error?this.error:toObject.call.apply(toObject,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.toDate=function(){return this.error?this.error:toDate.call(this)},t.prototype.diff=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.error?this.error:diff.call(this,t,r,e)},t.prototype.diffForHumans=function(t){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.error?this.error:diffForHumans.call(this,t,r)},t.prototype.min=function(){return mathOperation.call(this,arguments,"min")},t.prototype.max=function(){return mathOperation.call(this,arguments,"max")},t.prototype.isLeapYear=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year;return!this.error&&isLeapYear(this.c,t)},t.prototype.isValid=function(t,r,e,i,a,n,s){return!this.error&&(this.isValidDate(t,r,e)&&this.isValidTime(i,a,n,s))},t.prototype.isValidDate=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.year,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.month,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.date;return!this.error&&isValidDate(this.c,t,r,e)},t.prototype.isValidTime=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.d.hour,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.d.minute,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.d.second,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.d.millisecond;return!this.error&&isValidTime(t,r,e,i)},t.prototype.isSame=function(){return!this.error&&isSame.call.apply(isSame,[this].concat(Array.prototype.slice.call(arguments)))},t.prototype.isBefore=function(){return!this.error&&compare.call(this,arguments,"<")},t.prototype.isAfter=function(){return!this.error&&compare.call(this,arguments,">")},t.prototype.isSameOrBefore=function(){return!this.error&&compare.call(this,arguments,"<=")},t.prototype.isSameOrAfter=function(){return!this.error&&compare.call(this,arguments,">=")},t.prototype.isBetween=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"()";return!this.error&&isBetween.call(this,t,r,e)},t.prototype.isInArray=function(t){return!this.error&&isInArray.call(this,t)},t.prototype.isDate=isDate,t.prototype.isPersianDate=isPersianDate,e&&this.calendar(e),r?e&&"j"==e[0]?this.fromJalali(r):this.fromGregorian(r):this.now()};return PersianDate.isLeapYear=isLeapYear,PersianDate.isDate=isDate,PersianDate.isPersianDate=isPersianDate,PersianDate.isValid=isValid,PersianDate.isValidDate=isValidDate,PersianDate.isValidTime=isValidTime,PersianDate.getDaysInMonth=getDaysInMonth,PersianDate})); diff --git a/package.json b/package.json index 0225feb..ebd4c2d 100644 --- a/package.json +++ b/package.json @@ -27,10 +27,10 @@ "license": "MIT", "devDependencies": { "@alireza-ab/performance-check": "^1.0.0", - "@babel/preset-env": "^7.14.2", + "@babel/preset-env": "^7.14.7", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-node-resolve": "^13.0.0", - "jest": "^27.0.1", + "jest": "^27.0.6", "rollup": "^2.53.2", "rollup-plugin-terser": "^7.0.2" } diff --git a/yarn.lock b/yarn.lock index ff0e810..d00c576 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,7 +7,7 @@ resolved "https://registry.yarnpkg.com/@alireza-ab/performance-check/-/performance-check-1.0.0.tgz#5744b11046b65adf075e10c94fd65ace0ca731ea" integrity sha512-o+KMkA9+gtsSm+Z1nVxnZ4SkDaZqKzW1v9Rhury3ecpaV/XOuyCaRmxbfrw1CaCFvz+eQFqshXAxP7svZQNu6A== -"@babel/code-frame@^7.10.4": +"@babel/code-frame@^7.10.4", "@babel/code-frame@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== @@ -26,10 +26,10 @@ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.15.tgz#7e8eea42d0b64fda2b375b22d06c605222e848f4" integrity sha512-ltnibHKR1VnrU4ymHyQ/CXtNXI6yZC0oJThyW78Hft8XndANwi+9H+UIklBDraIjFEJzw8wmcM427oDd9KS5wA== -"@babel/compat-data@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.0.tgz#a901128bce2ad02565df95e6ecbf195cf9465919" - integrity sha512-vu9V3uMM/1o5Hl5OekMUowo3FqXLJSw+s+66nt0fSWVWTtmosdzn45JHOB3cPtZoe6CTBDzvSw0RdOY85Q37+Q== +"@babel/compat-data@^7.14.5", "@babel/compat-data@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.7.tgz#7b047d7a3a89a67d2258dc61f604f098f1bc7e08" + integrity sha512-nS6dZaISCXJ3+518CWiBfEr//gHyMO02uDxBkXTKZDN5POruCnOZ1N4YBRZDCabwF8nZMWBpRxIicmXtBs+fvw== "@babel/core@^7.1.0", "@babel/core@^7.7.5": version "7.13.15" @@ -91,6 +91,15 @@ jsesc "^2.5.1" source-map "^0.5.0" +"@babel/generator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.5.tgz#848d7b9f031caca9d0cd0af01b063f226f52d785" + integrity sha512-y3rlP+/G25OIX3mYKKIOlQRcqj7YgrvHxOLbVmyLJ9bPmi5ttvUmpydVjcFjZphOktWuA7ovbx91ECloWTfjIA== + dependencies: + "@babel/types" "^7.14.5" + jsesc "^2.5.1" + source-map "^0.5.0" + "@babel/helper-annotate-as-pure@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz#0f58e86dfc4bb3b1fcd7db806570e177d439b6ab" @@ -98,13 +107,20 @@ dependencies: "@babel/types" "^7.12.13" -"@babel/helper-builder-binary-assignment-operator-visitor@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.12.13.tgz#6bc20361c88b0a74d05137a65cac8d3cbf6f61fc" - integrity sha512-CZOv9tGphhDRlVjVkAgm8Nhklm9RzSmWpX2my+t7Ua/KT616pEzXsQCjinzvkRvHWJ9itO4f296efroX23XCMA== +"@babel/helper-annotate-as-pure@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.14.5.tgz#7bf478ec3b71726d56a8ca5775b046fc29879e61" + integrity sha512-EivH9EgBIb+G8ij1B2jAwSH36WnGvkQSEC6CkX/6v6ZFlw5fVOHvsgGF4uiEHO2GzMvunZb6tDLQEQSdrdocrA== dependencies: - "@babel/helper-explode-assignable-expression" "^7.12.13" - "@babel/types" "^7.12.13" + "@babel/types" "^7.14.5" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.14.5.tgz#b939b43f8c37765443a19ae74ad8b15978e0a191" + integrity sha512-YTA/Twn0vBXDVGJuAX6PwW7x5zQei1luDDo2Pl6q1qZ7hVNl0RZrhHCQG/ArGpR29Vl7ETiB8eJyrvpuRp300w== + dependencies: + "@babel/helper-explode-assignable-expression" "^7.14.5" + "@babel/types" "^7.14.5" "@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.13": version "7.13.13" @@ -126,28 +142,27 @@ browserslist "^4.14.5" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.13.0": - version "7.13.11" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.11.tgz#30d30a005bca2c953f5653fc25091a492177f4f6" - integrity sha512-ays0I7XYq9xbjCSvT+EvysLgfc3tOkwCULHjrnscGT3A9qD4sk3wXnJ3of0MAWsWGjdinFvajHU2smYuqXKMrw== +"@babel/helper-compilation-targets@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.14.5.tgz#7a99c5d0967911e972fe2c3411f7d5b498498ecf" + integrity sha512-v+QtZqXEiOnpO6EYvlImB6zCD2Lel06RzOPzmkz/D/XgQiUu3C/Jb1LOqSt/AIA34TYi/Q+KlT8vTQrgdxkbLw== dependencies: - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-member-expression-to-functions" "^7.13.0" - "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.0" - "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/compat-data" "^7.14.5" + "@babel/helper-validator-option" "^7.14.5" + browserslist "^4.16.6" + semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.3": - version "7.14.3" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.3.tgz#832111bcf4f57ca57a4c5b1a000fc125abc6554a" - integrity sha512-BnEfi5+6J2Lte9LeiL6TxLWdIlEv9Woacc1qXzXBgbikcOzMRM2Oya5XGg/f/ngotv1ej2A/b+3iJH8wbS1+lQ== +"@babel/helper-create-class-features-plugin@^7.14.5": + version "7.14.6" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.6.tgz#f114469b6c06f8b5c59c6c4e74621f5085362542" + integrity sha512-Z6gsfGofTxH/+LQXqYEK45kxmcensbzmk/oi8DmaQytlQCgqNZt9XQF8iqlI/SeXWVjaMNxvYvzaYw+kh42mDg== dependencies: - "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-function-name" "^7.14.2" - "@babel/helper-member-expression-to-functions" "^7.13.12" - "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.14.3" - "@babel/helper-split-export-declaration" "^7.12.13" + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-member-expression-to-functions" "^7.14.5" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/helper-replace-supers" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" "@babel/helper-create-regexp-features-plugin@^7.12.13": version "7.12.17" @@ -157,10 +172,18 @@ "@babel/helper-annotate-as-pure" "^7.12.13" regexpu-core "^4.7.1" -"@babel/helper-define-polyfill-provider@^0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.0.tgz#a640051772045fedaaecc6f0c6c69f02bdd34bf1" - integrity sha512-JT8tHuFjKBo8NnaUbblz7mIu1nnvUDiHVjXXkulZULyidvo/7P6TY7+YqpV37IfF+KUFxmlK04elKtGKXaiVgw== +"@babel/helper-create-regexp-features-plugin@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.14.5.tgz#c7d5ac5e9cf621c26057722fb7a8a4c5889358c4" + integrity sha512-TLawwqpOErY2HhWbGJ2nZT5wSkR192QpN+nBg1THfBfftrlvOh+WbhrxXCH4q4xJ9Gl16BGPR/48JA+Ryiho/A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.14.5" + regexpu-core "^4.7.1" + +"@babel/helper-define-polyfill-provider@^0.2.2": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz#0525edec5094653a282688d34d846e4c75e9c0b6" + integrity sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew== dependencies: "@babel/helper-compilation-targets" "^7.13.0" "@babel/helper-module-imports" "^7.12.13" @@ -171,12 +194,12 @@ resolve "^1.14.2" semver "^6.1.2" -"@babel/helper-explode-assignable-expression@^7.12.13": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.13.0.tgz#17b5c59ff473d9f956f40ef570cf3a76ca12657f" - integrity sha512-qS0peLTDP8kOisG1blKbaoBg/o9OSa1qoumMjTK5pM+KDTtpxpsiubnCGP34vK8BXGcb2M9eigwgvoJryrzwWA== +"@babel/helper-explode-assignable-expression@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.14.5.tgz#8aa72e708205c7bb643e45c73b4386cdf2a1f645" + integrity sha512-Htb24gnGJdIGT4vnRKMdoXiOIlqOLmdiUYpAQ0mYfgVT/GDm8GOYhgi4GL+hMKrkiPRohO4ts34ELFsGAPQLDQ== dependencies: - "@babel/types" "^7.13.0" + "@babel/types" "^7.14.5" "@babel/helper-function-name@^7.12.13": version "7.12.13" @@ -196,6 +219,15 @@ "@babel/template" "^7.12.13" "@babel/types" "^7.14.2" +"@babel/helper-function-name@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz#89e2c474972f15d8e233b52ee8c480e2cfcd50c4" + integrity sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ== + dependencies: + "@babel/helper-get-function-arity" "^7.14.5" + "@babel/template" "^7.14.5" + "@babel/types" "^7.14.5" + "@babel/helper-get-function-arity@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz#bc63451d403a3b3082b97e1d8b3fe5bd4091e583" @@ -203,22 +235,35 @@ dependencies: "@babel/types" "^7.12.13" -"@babel/helper-hoist-variables@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.0.tgz#5d5882e855b5c5eda91e0cadc26c6e7a2c8593d8" - integrity sha512-0kBzvXiIKfsCA0y6cFEIJf4OdzfpRuNk4+YTeHZpGGc666SATFKTz6sRncwFnQk7/ugJ4dSrCj6iJuvW4Qwr2g== +"@babel/helper-get-function-arity@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" + integrity sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg== dependencies: - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/types" "^7.14.5" + +"@babel/helper-hoist-variables@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" + integrity sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ== + dependencies: + "@babel/types" "^7.14.5" -"@babel/helper-member-expression-to-functions@^7.13.0", "@babel/helper-member-expression-to-functions@^7.13.12": +"@babel/helper-member-expression-to-functions@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72" integrity sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw== dependencies: "@babel/types" "^7.13.12" -"@babel/helper-module-imports@^7.10.4": +"@babel/helper-member-expression-to-functions@^7.14.5": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.14.7.tgz#97e56244beb94211fe277bd818e3a329c66f7970" + integrity sha512-TMUt4xKxJn6ccjcOW7c4hlwyJArizskAhoSTOCkA0uZ+KghIaci0Qg9R043kUMWI9mtQfgny+NQ5QATnZ+paaA== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz#6d1a44df6a38c957aa7c312da076429f11b422f3" integrity sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ== @@ -232,7 +277,7 @@ dependencies: "@babel/types" "^7.13.12" -"@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.13.14": +"@babel/helper-module-transforms@^7.13.14": version "7.13.14" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.13.14.tgz#e600652ba48ccb1641775413cb32cfa4e8b495ef" integrity sha512-QuU/OJ0iAOSIatyVZmfqB0lbkVP0kDRiKj34xy+QNsnVZi/PA6BoSoreeqnxxa9EHFAIL0R9XOaAR/G9WlIy5g== @@ -246,7 +291,7 @@ "@babel/traverse" "^7.13.13" "@babel/types" "^7.13.14" -"@babel/helper-module-transforms@^7.14.0", "@babel/helper-module-transforms@^7.14.2": +"@babel/helper-module-transforms@^7.14.2": version "7.14.2" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz#ac1cc30ee47b945e3e0c4db12fa0c5389509dfe5" integrity sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA== @@ -260,6 +305,20 @@ "@babel/traverse" "^7.14.2" "@babel/types" "^7.14.2" +"@babel/helper-module-transforms@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.5.tgz#7de42f10d789b423eb902ebd24031ca77cb1e10e" + integrity sha512-iXpX4KW8LVODuAieD7MzhNjmM6dzYY5tfRqT+R9HDXWl0jPn/djKmA+G9s/2C2T9zggw5tK1QNqZ70USfedOwA== + dependencies: + "@babel/helper-module-imports" "^7.14.5" + "@babel/helper-replace-supers" "^7.14.5" + "@babel/helper-simple-access" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/helper-validator-identifier" "^7.14.5" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.14.5" + "@babel/types" "^7.14.5" + "@babel/helper-optimise-call-expression@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz#5c02d171b4c8615b1e7163f888c1c81c30a2aaea" @@ -267,21 +326,33 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-optimise-call-expression@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz#f27395a8619e0665b3f0364cddb41c25d71b499c" + integrity sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.13.0", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz#806526ce125aed03373bc416a828321e3a6a33af" integrity sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ== -"@babel/helper-remap-async-to-generator@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.13.0.tgz#376a760d9f7b4b2077a9dd05aa9c3927cadb2209" - integrity sha512-pUQpFBE9JvC9lrQbpX0TmeNIy5s7GnZjna2lhhcHC7DzgBs6fWn722Y5cfwgrtrqc7NAJwMvOa0mKhq6XaE4jg== +"@babel/helper-plugin-utils@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9" + integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ== + +"@babel/helper-remap-async-to-generator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.14.5.tgz#51439c913612958f54a987a4ffc9ee587a2045d6" + integrity sha512-rLQKdQU+HYlxBwQIj8dk4/0ENOUEhA/Z0l4hN8BexpvmSMN9oA9EagjnhnDpNsRdWCfjwa4mn/HyBXO9yhQP6A== dependencies: - "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-wrap-function" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-wrap-function" "^7.14.5" + "@babel/types" "^7.14.5" -"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.0", "@babel/helper-replace-supers@^7.13.12": +"@babel/helper-replace-supers@^7.13.12": version "7.13.12" resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.12.tgz#6442f4c1ad912502481a564a7386de0c77ff3804" integrity sha512-Gz1eiX+4yDO8mT+heB94aLVNCL+rbuT2xy4YfyNqu8F+OI6vMvJK891qGBTqL9Uc8wxEvRW92Id6G7sDen3fFw== @@ -291,15 +362,15 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.12" -"@babel/helper-replace-supers@^7.14.3": - version "7.14.3" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.3.tgz#ca17b318b859d107f0e9b722d58cf12d94436600" - integrity sha512-Rlh8qEWZSTfdz+tgNV/N4gz1a0TMNwCUcENhMjHTHKp3LseYH5Jha0NSlyTQWMnjbYcwFt+bqAMqSLHVXkQ6UA== +"@babel/helper-replace-supers@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.5.tgz#0ecc0b03c41cd567b4024ea016134c28414abb94" + integrity sha512-3i1Qe9/8x/hCHINujn+iuHy+mMRLoc77b2nI9TB0zjH1hvn9qGlXjWlggdwUcju36PkPCy/lpM7LLUdcTyH4Ow== dependencies: - "@babel/helper-member-expression-to-functions" "^7.13.12" - "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/traverse" "^7.14.2" - "@babel/types" "^7.14.2" + "@babel/helper-member-expression-to-functions" "^7.14.5" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/traverse" "^7.14.5" + "@babel/types" "^7.14.5" "@babel/helper-simple-access@^7.13.12": version "7.13.12" @@ -308,12 +379,19 @@ dependencies: "@babel/types" "^7.13.12" -"@babel/helper-skip-transparent-expression-wrappers@^7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz#462dc63a7e435ade8468385c63d2b84cce4b3cbf" - integrity sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA== +"@babel/helper-simple-access@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.5.tgz#66ea85cf53ba0b4e588ba77fc813f53abcaa41c4" + integrity sha512-nfBN9xvmCt6nrMZjfhkl7i0oTV3yxR4/FztsbOASyTvVcoYd0TRHh7eMLdlEcCqobydC0LAF3LtC92Iwxo0wyw== dependencies: - "@babel/types" "^7.12.1" + "@babel/types" "^7.14.5" + +"@babel/helper-skip-transparent-expression-wrappers@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.14.5.tgz#96f486ac050ca9f44b009fbe5b7d394cab3a0ee4" + integrity sha512-dmqZB7mrb94PZSAOYtr+ZN5qt5owZIAgqtoTuqiFbHFtxgEcmQlRJVI+bO++fciBunXtB6MK7HrzrfcAzIz2NQ== + dependencies: + "@babel/types" "^7.14.5" "@babel/helper-split-export-declaration@^7.12.13": version "7.12.13" @@ -322,6 +400,13 @@ dependencies: "@babel/types" "^7.12.13" +"@babel/helper-split-export-declaration@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz#22b23a54ef51c2b7605d851930c1976dd0bc693a" + integrity sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA== + dependencies: + "@babel/types" "^7.14.5" + "@babel/helper-validator-identifier@^7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed" @@ -342,15 +427,20 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz#d1fbf012e1a79b7eebbfdc6d270baaf8d9eb9831" integrity sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw== -"@babel/helper-wrap-function@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.13.0.tgz#bdb5c66fda8526ec235ab894ad53a1235c79fcc4" - integrity sha512-1UX9F7K3BS42fI6qd2A4BjKzgGjToscyZTdp1DjknHLCIvpgne6918io+aL5LXFcER/8QWiwpoY902pVEqgTXA== +"@babel/helper-validator-option@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" + integrity sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow== + +"@babel/helper-wrap-function@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.14.5.tgz#5919d115bf0fe328b8a5d63bcb610f51601f2bff" + integrity sha512-YEdjTCq+LNuNS1WfxsDCNpgXkJaIyqco6DAelTUjT4f2KIWC1nBcaCaSdHTBqQVLnTBexBcVcFhLSU1KnYuePQ== dependencies: - "@babel/helper-function-name" "^7.12.13" - "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/helper-function-name" "^7.14.5" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.14.5" + "@babel/types" "^7.14.5" "@babel/helpers@^7.13.10": version "7.13.10" @@ -398,145 +488,149 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.3.tgz#9b530eecb071fd0c93519df25c5ff9f14759f298" integrity sha512-7MpZDIfI7sUC5zWo2+foJ50CSI5lcqDehZ0lVgIhSi4bFEk94fLAKlF3Q0nzSQQ+ca0lm+O6G9ztKVBeu8PMRQ== -"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": - version "7.13.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a" - integrity sha512-d0u3zWKcoZf379fOeJdr1a5WPDny4aOFZ6hlfKivgK0LY7ZxNfoaHL2fWwdGtHyVvra38FC+HVYkO+byfSA8AQ== +"@babel/parser@^7.14.5", "@babel/parser@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.7.tgz#6099720c8839ca865a2637e6c85852ead0bdb595" + integrity sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA== + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.14.5.tgz#4b467302e1548ed3b1be43beae2cc9cf45e0bb7e" + integrity sha512-ZoJS2XCKPBfTmL122iP6NM9dOg+d4lc9fFk3zxc8iDjvt8Pk4+TlsHSKhIPf6X+L5ORCdBzqMZDjL/WHj7WknQ== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" - "@babel/plugin-proposal-optional-chaining" "^7.13.12" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.14.5" + "@babel/plugin-proposal-optional-chaining" "^7.14.5" -"@babel/plugin-proposal-async-generator-functions@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.2.tgz#3a2085abbf5d5f962d480dbc81347385ed62eb1e" - integrity sha512-b1AM4F6fwck4N8ItZ/AtC4FP/cqZqmKRQ4FaTDutwSYyjuhtvsGEMLK4N/ztV/ImP40BjIDyMgBQAeAMsQYVFQ== +"@babel/plugin-proposal-async-generator-functions@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.7.tgz#784a48c3d8ed073f65adcf30b57bcbf6c8119ace" + integrity sha512-RK8Wj7lXLY3bqei69/cc25gwS5puEc3dknoFPFbqfy3XxYQBQFvu4ioWpafMBAB+L9NyptQK4nMOa5Xz16og8Q== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-remap-async-to-generator" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-remap-async-to-generator" "^7.14.5" "@babel/plugin-syntax-async-generators" "^7.8.4" -"@babel/plugin-proposal-class-properties@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz#146376000b94efd001e57a40a88a525afaab9f37" - integrity sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg== +"@babel/plugin-proposal-class-properties@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.14.5.tgz#40d1ee140c5b1e31a350f4f5eed945096559b42e" + integrity sha512-q/PLpv5Ko4dVc1LYMpCY7RVAAO4uk55qPwrIuJ5QJ8c6cVuAmhu7I/49JOppXL6gXf7ZHzpRVEUZdYoPLM04Gg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.13.0" - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-proposal-class-static-block@^7.13.11": - version "7.14.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.3.tgz#5a527e2cae4a4753119c3a3e7f64ecae8ccf1360" - integrity sha512-HEjzp5q+lWSjAgJtSluFDrGGosmwTgKwCXdDQZvhKsRlwv3YdkUEqxNrrjesJd+B9E9zvr1PVPVBvhYZ9msjvQ== +"@babel/plugin-proposal-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.5.tgz#158e9e10d449c3849ef3ecde94a03d9f1841b681" + integrity sha512-KBAH5ksEnYHCegqseI5N9skTdxgJdmDoAOc0uXa+4QMYKeZD0w5IARh4FMlTNtaHhbB8v+KzMdTgxMMzsIy6Yg== dependencies: - "@babel/helper-create-class-features-plugin" "^7.14.3" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/plugin-syntax-class-static-block" "^7.12.13" + "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-proposal-dynamic-import@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.2.tgz#01ebabd7c381cff231fa43e302939a9de5be9d9f" - integrity sha512-oxVQZIWFh91vuNEMKltqNsKLFWkOIyJc95k2Gv9lWVyDfPUQGSSlbDEgWuJUU1afGE9WwlzpucMZ3yDRHIItkA== +"@babel/plugin-proposal-dynamic-import@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.5.tgz#0c6617df461c0c1f8fff3b47cd59772360101d2c" + integrity sha512-ExjiNYc3HDN5PXJx+bwC50GIx/KKanX2HiggnIUAYedbARdImiCU4RhhHfdf0Kd7JNXGpsBBBCOm+bBVy3Gb0g== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" -"@babel/plugin-proposal-export-namespace-from@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.2.tgz#62542f94aa9ce8f6dba79eec698af22112253791" - integrity sha512-sRxW3z3Zp3pFfLAgVEvzTFutTXax837oOatUIvSG9o5gRj9mKwm3br1Se5f4QalTQs9x4AzlA/HrCWbQIHASUQ== +"@babel/plugin-proposal-export-namespace-from@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.5.tgz#dbad244310ce6ccd083072167d8cea83a52faf76" + integrity sha512-g5POA32bXPMmSBu5Dx/iZGLGnKmKPc5AiY7qfZgurzrCYgIztDlHFbznSNCoQuv57YQLnQfaDi7dxCtLDIdXdA== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" -"@babel/plugin-proposal-json-strings@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.2.tgz#830b4e2426a782e8b2878fbfe2cba85b70cbf98c" - integrity sha512-w2DtsfXBBJddJacXMBhElGEYqCZQqN99Se1qeYn8DVLB33owlrlLftIbMzn5nz1OITfDVknXF433tBrLEAOEjA== +"@babel/plugin-proposal-json-strings@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.5.tgz#38de60db362e83a3d8c944ac858ddf9f0c2239eb" + integrity sha512-NSq2fczJYKVRIsUJyNxrVUMhB27zb7N7pOFGQOhBKJrChbGcgEAqyZrmZswkPk18VMurEeJAaICbfm57vUeTbQ== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-logical-assignment-operators@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.2.tgz#222348c080a1678e0e74ea63fe76f275882d1fd7" - integrity sha512-1JAZtUrqYyGsS7IDmFeaem+/LJqujfLZ2weLR9ugB0ufUPjzf8cguyVT1g5im7f7RXxuLq1xUxEzvm68uYRtGg== +"@babel/plugin-proposal-logical-assignment-operators@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.5.tgz#6e6229c2a99b02ab2915f82571e0cc646a40c738" + integrity sha512-YGn2AvZAo9TwyhlLvCCWxD90Xq8xJ4aSgaX3G5D/8DW94L8aaT+dS5cSP+Z06+rCJERGSr9GxMBZ601xoc2taw== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.2.tgz#425b11dc62fc26939a2ab42cbba680bdf5734546" - integrity sha512-ebR0zU9OvI2N4qiAC38KIAK75KItpIPTpAtd2r4OZmMFeKbKJpUFLYP2EuDut82+BmYi8sz42B+TfTptJ9iG5Q== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.5.tgz#ee38589ce00e2cc59b299ec3ea406fcd3a0fdaf6" + integrity sha512-gun/SOnMqjSb98Nkaq2rTKMwervfdAoz6NphdY0vTfuzMfryj+tDGb2n6UkDKwez+Y8PZDhE3D143v6Gepp4Hg== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.2.tgz#82b4cc06571143faf50626104b335dd71baa4f9e" - integrity sha512-DcTQY9syxu9BpU3Uo94fjCB3LN9/hgPS8oUL7KrSW3bA2ePrKZZPJcc5y0hoJAM9dft3pGfErtEUvxXQcfLxUg== +"@babel/plugin-proposal-numeric-separator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.5.tgz#83631bf33d9a51df184c2102a069ac0c58c05f18" + integrity sha512-yiclALKe0vyZRZE0pS6RXgjUOt87GWv6FYa5zqj15PvhOGFO69R5DusPlgK/1K5dVnCtegTiWu9UaBSrLLJJBg== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-numeric-separator" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.2.tgz#e17d418f81cc103fedd4ce037e181c8056225abc" - integrity sha512-hBIQFxwZi8GIp934+nj5uV31mqclC1aYDhctDu5khTi9PCCUOczyy0b34W0oE9U/eJXiqQaKyVsmjeagOaSlbw== +"@babel/plugin-proposal-object-rest-spread@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.7.tgz#5920a2b3df7f7901df0205974c0641b13fd9d363" + integrity sha512-082hsZz+sVabfmDWo1Oct1u1AgbKbUAyVgmX4otIc7bdsRgHBXwTwb3DpDmD4Eyyx6DNiuz5UAATT655k+kL5g== dependencies: - "@babel/compat-data" "^7.14.0" - "@babel/helper-compilation-targets" "^7.13.16" - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/compat-data" "^7.14.7" + "@babel/helper-compilation-targets" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" - "@babel/plugin-transform-parameters" "^7.14.2" + "@babel/plugin-transform-parameters" "^7.14.5" -"@babel/plugin-proposal-optional-catch-binding@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.2.tgz#150d4e58e525b16a9a1431bd5326c4eed870d717" - integrity sha512-XtkJsmJtBaUbOxZsNk0Fvrv8eiqgneug0A6aqLFZ4TSkar2L5dSXWcnUKHgmjJt49pyB/6ZHvkr3dPgl9MOWRQ== +"@babel/plugin-proposal-optional-catch-binding@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.5.tgz#939dd6eddeff3a67fdf7b3f044b5347262598c3c" + integrity sha512-3Oyiixm0ur7bzO5ybNcZFlmVsygSIQgdOa7cTfOYCMY+wEPAYhZAJxi3mixKFCTCKUhQXuCTtQ1MzrpL3WT8ZQ== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.13.12": - version "7.13.12" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.12.tgz#ba9feb601d422e0adea6760c2bd6bbb7bfec4866" - integrity sha512-fcEdKOkIB7Tf4IxrgEVeFC4zeJSTr78no9wTdBuZZbqF64kzllU0ybo2zrzm7gUQfxGhBgq4E39oRs8Zx/RMYQ== +"@babel/plugin-proposal-optional-chaining@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.5.tgz#fa83651e60a360e3f13797eef00b8d519695b603" + integrity sha512-ycz+VOzo2UbWNI1rQXxIuMOzrDdHGrI23fRiz/Si2R4kv2XZQ1BK8ccdHwehMKBlcH/joGW/tzrUmo67gbJHlQ== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.14.5" "@babel/plugin-syntax-optional-chaining" "^7.8.3" -"@babel/plugin-proposal-optional-chaining@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.2.tgz#df8171a8b9c43ebf4c1dabe6311b432d83e1b34e" - integrity sha512-qQByMRPwMZJainfig10BoaDldx/+VDtNcrA7qdNaEOAj6VXud+gfrkA8j4CRAU5HjnWREXqIpSpH30qZX1xivA== +"@babel/plugin-proposal-private-methods@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.14.5.tgz#37446495996b2945f30f5be5b60d5e2aa4f5792d" + integrity sha512-838DkdUA1u+QTCplatfq4B7+1lnDa/+QMI89x5WZHBcnNv+47N8QEj2k9I2MUU9xIv8XJ4XvPCviM/Dj7Uwt9g== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" - "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-proposal-private-methods@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.13.0.tgz#04bd4c6d40f6e6bbfa2f57e2d8094bad900ef787" - integrity sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q== +"@babel/plugin-proposal-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.5.tgz#9f65a4d0493a940b4c01f8aa9d3f1894a587f636" + integrity sha512-62EyfyA3WA0mZiF2e2IV9mc9Ghwxcg8YTu8BS4Wss4Y3PY725OmS9M0qLORbJwLqFtGh+jiE4wAmocK2CTUK2Q== dependencies: - "@babel/helper-create-class-features-plugin" "^7.13.0" - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-create-class-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" -"@babel/plugin-proposal-private-property-in-object@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.0.tgz#b1a1f2030586b9d3489cc26179d2eb5883277636" - integrity sha512-59ANdmEwwRUkLjB7CRtwJxxwtjESw+X2IePItA+RGQh+oy5RmpCh/EvVVvh5XQc3yxsm5gtv0+i9oBZhaDNVTg== +"@babel/plugin-proposal-unicode-property-regex@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.14.5.tgz#0f95ee0e757a5d647f378daa0eca7e93faa8bbe8" + integrity sha512-6axIeOU5LnY471KenAB9vI8I5j7NQ2d652hIYwVyRfgaZT5UpiqFKCuVXCDMSrU+3VFafnu2c5m3lrWIlr6A5Q== dependencies: - "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-create-class-features-plugin" "^7.14.0" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/plugin-syntax-private-property-in-object" "^7.14.0" + "@babel/helper-create-regexp-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-proposal-unicode-property-regex@^7.12.13", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": +"@babel/plugin-proposal-unicode-property-regex@^7.4.4": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.13.tgz#bebde51339be829c17aaaaced18641deb62b39ba" integrity sha512-XyJmZidNfofEkqFV5VC/bLabGmO5QzenPO/YOfGuEbgU+2sSwMmio3YLb4WtBgcmmdwZHyVyv8on77IUjQ5Gvg== @@ -565,12 +659,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-class-static-block@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.12.13.tgz#8e3d674b0613e67975ceac2776c97b60cafc5c9c" - integrity sha512-ZmKQ0ZXR0nYpHZIIuj9zE7oIqCx2hw9TKi+lIo73NNrMPAZGHfS92/VRV0ZmPj6H2ffBgyFHXvJ5NYsNeEaP2A== +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" @@ -642,14 +736,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-private-property-in-object@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.0.tgz#762a4babec61176fec6c88480dec40372b140c0b" - integrity sha512-bda3xF8wGl5/5btF794utNOL0Jw+9jE5C1sLZcoK7c4uonE/y3iQiyG+KbkF3WBV/paX58VCpjhxLPkdj5Fe4w== +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-syntax-top-level-await@^7.12.13", "@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-top-level-await@^7.8.3": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz#c5f0fa6e249f5b739727f923540cf7a806130178" integrity sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ== @@ -663,64 +764,72 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-arrow-functions@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.13.0.tgz#10a59bebad52d637a027afa692e8d5ceff5e3dae" - integrity sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg== +"@babel/plugin-transform-arrow-functions@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.14.5.tgz#f7187d9588a768dd080bf4c9ffe117ea62f7862a" + integrity sha512-KOnO0l4+tD5IfOdi4x8C1XmEIRWUjNRV8wc6K2vz/3e8yAOoZZvsRXRRIF/yo/MAOFb4QjtAw9xSxMXbSMRy8A== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-async-to-generator@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.13.0.tgz#8e112bf6771b82bf1e974e5e26806c5c99aa516f" - integrity sha512-3j6E004Dx0K3eGmhxVJxwwI89CTJrce7lg3UrtFuDAVQ/2+SJ/h/aSFOeE6/n0WB1GsOffsJp6MnPQNQ8nmwhg== +"@babel/plugin-transform-async-to-generator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.14.5.tgz#72c789084d8f2094acb945633943ef8443d39e67" + integrity sha512-szkbzQ0mNk0rpu76fzDdqSyPu0MuvpXgC+6rz5rpMb5OIRxdmHfQxrktL8CYolL2d8luMCZTR0DpIMIdL27IjA== dependencies: - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-remap-async-to-generator" "^7.13.0" + "@babel/helper-module-imports" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-remap-async-to-generator" "^7.14.5" -"@babel/plugin-transform-block-scoped-functions@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz#a9bf1836f2a39b4eb6cf09967739de29ea4bf4c4" - integrity sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg== +"@babel/plugin-transform-block-scoped-functions@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.14.5.tgz#e48641d999d4bc157a67ef336aeb54bc44fd3ad4" + integrity sha512-dtqWqdWZ5NqBX3KzsVCWfQI3A53Ft5pWFCT2eCVUftWZgjc5DpDponbIF1+c+7cSGk2wN0YK7HGL/ezfRbpKBQ== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-block-scoping@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.2.tgz#761cb12ab5a88d640ad4af4aa81f820e6b5fdf5c" - integrity sha512-neZZcP19NugZZqNwMTH+KoBjx5WyvESPSIOQb4JHpfd+zPfqcH65RMu5xJju5+6q/Y2VzYrleQTr+b6METyyxg== +"@babel/plugin-transform-block-scoping@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.5.tgz#8cc63e61e50f42e078e6f09be775a75f23ef9939" + integrity sha512-LBYm4ZocNgoCqyxMLoOnwpsmQ18HWTQvql64t3GvMUzLQrNoV1BDG0lNftC8QKYERkZgCCT/7J5xWGObGAyHDw== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-classes@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.2.tgz#3f1196c5709f064c252ad056207d87b7aeb2d03d" - integrity sha512-7oafAVcucHquA/VZCsXv/gmuiHeYd64UJyyTYU+MPfNu0KeNlxw06IeENBO8bJjXVbolu+j1MM5aKQtH1OMCNg== - dependencies: - "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-function-name" "^7.14.2" - "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-replace-supers" "^7.13.12" - "@babel/helper-split-export-declaration" "^7.12.13" +"@babel/plugin-transform-classes@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.5.tgz#0e98e82097b38550b03b483f9b51a78de0acb2cf" + integrity sha512-J4VxKAMykM06K/64z9rwiL6xnBHgB1+FVspqvlgCdwD1KUbQNfszeKVVOMh59w3sztHYIZDgnhOC4WbdEfHFDA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.14.5" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-replace-supers" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" globals "^11.1.0" -"@babel/plugin-transform-computed-properties@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.13.0.tgz#845c6e8b9bb55376b1fa0b92ef0bdc8ea06644ed" - integrity sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg== +"@babel/plugin-transform-computed-properties@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.14.5.tgz#1b9d78987420d11223d41195461cc43b974b204f" + integrity sha512-pWM+E4283UxaVzLb8UBXv4EIxMovU4zxT1OPnpHJcmnvyY9QbPPTKZfEj31EUvG3/EQRbYAGaYEUZ4yWOBC2xg== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-destructuring@^7.13.17": - version "7.13.17" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.17.tgz#678d96576638c19d5b36b332504d3fd6e06dea27" - integrity sha512-UAUqiLv+uRLO+xuBKKMEpC+t7YRNVRqBsWWq1yKXbBZBje/t3IXCiSinZhjn/DC3qzBfICeYd2EFGEbHsh5RLA== +"@babel/plugin-transform-destructuring@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.7.tgz#0ad58ed37e23e22084d109f185260835e5557576" + integrity sha512-0mDE99nK+kVh3xlc5vKwB6wnP9ecuSj+zQCa/n0voENtP/zymdT4HH6QEb65wjjcbqr1Jb/7z9Qp7TF5FtwYGw== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-dotall-regex@^7.12.13", "@babel/plugin-transform-dotall-regex@^7.4.4": +"@babel/plugin-transform-dotall-regex@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.14.5.tgz#2f6bf76e46bdf8043b4e7e16cf24532629ba0c7a" + integrity sha512-loGlnBdj02MDsFaHhAIJzh7euK89lBrGIdM9EAtHFo6xKygCUGuuWe07o1oZVk287amtW1n0808sQM99aZt3gw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-transform-dotall-regex@^7.4.4": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.13.tgz#3f1601cc29905bfcb67f53910f197aeafebb25ad" integrity sha512-foDrozE65ZFdUC2OfgeOCrEPTxdB3yjqxpXh8CH+ipd9CHd4s/iq81kcUpyH8ACGNEPdFqbtzfgzbT/ZGlbDeQ== @@ -728,217 +837,217 @@ "@babel/helper-create-regexp-features-plugin" "^7.12.13" "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-duplicate-keys@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.13.tgz#6f06b87a8b803fd928e54b81c258f0a0033904de" - integrity sha512-NfADJiiHdhLBW3pulJlJI2NB0t4cci4WTZ8FtdIuNc2+8pslXdPtRRAEWqUY+m9kNOk2eRYbTAOipAxlrOcwwQ== +"@babel/plugin-transform-duplicate-keys@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.14.5.tgz#365a4844881bdf1501e3a9f0270e7f0f91177954" + integrity sha512-iJjbI53huKbPDAsJ8EmVmvCKeeq21bAze4fu9GBQtSLqfvzj2oRuHVx4ZkDwEhg1htQ+5OBZh/Ab0XDf5iBZ7A== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-exponentiation-operator@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.13.tgz#4d52390b9a273e651e4aba6aee49ef40e80cd0a1" - integrity sha512-fbUelkM1apvqez/yYx1/oICVnGo2KM5s63mhGylrmXUxK/IAXSIf87QIxVfZldWf4QsOafY6vV3bX8aMHSvNrA== +"@babel/plugin-transform-exponentiation-operator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.14.5.tgz#5154b8dd6a3dfe6d90923d61724bd3deeb90b493" + integrity sha512-jFazJhMBc9D27o9jDnIE5ZErI0R0m7PbKXVq77FFvqFbzvTMuv8jaAwLZ5PviOLSFttqKIW0/wxNSDbjLk0tYA== dependencies: - "@babel/helper-builder-binary-assignment-operator-visitor" "^7.12.13" - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-for-of@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.13.0.tgz#c799f881a8091ac26b54867a845c3e97d2696062" - integrity sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg== +"@babel/plugin-transform-for-of@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.14.5.tgz#dae384613de8f77c196a8869cbf602a44f7fc0eb" + integrity sha512-CfmqxSUZzBl0rSjpoQSFoR9UEj3HzbGuGNL21/iFTmjb5gFggJp3ph0xR1YBhexmLoKRHzgxuFvty2xdSt6gTA== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-function-name@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz#bb024452f9aaed861d374c8e7a24252ce3a50051" - integrity sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ== +"@babel/plugin-transform-function-name@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.14.5.tgz#e81c65ecb900746d7f31802f6bed1f52d915d6f2" + integrity sha512-vbO6kv0fIzZ1GpmGQuvbwwm+O4Cbm2NrPzwlup9+/3fdkuzo1YqOZcXw26+YUJB84Ja7j9yURWposEHLYwxUfQ== dependencies: - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-literals@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz#2ca45bafe4a820197cf315794a4d26560fe4bdb9" - integrity sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ== +"@babel/plugin-transform-literals@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.14.5.tgz#41d06c7ff5d4d09e3cf4587bd3ecf3930c730f78" + integrity sha512-ql33+epql2F49bi8aHXxvLURHkxJbSmMKl9J5yHqg4PLtdE6Uc48CH1GS6TQvZ86eoB/ApZXwm7jlA+B3kra7A== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-member-expression-literals@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz#5ffa66cd59b9e191314c9f1f803b938e8c081e40" - integrity sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg== +"@babel/plugin-transform-member-expression-literals@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.14.5.tgz#b39cd5212a2bf235a617d320ec2b48bcc091b8a7" + integrity sha512-WkNXxH1VXVTKarWFqmso83xl+2V3Eo28YY5utIkbsmXoItO8Q3aZxN4BTS2k0hz9dGUloHK26mJMyQEYfkn/+Q== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-modules-amd@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.2.tgz#6622806fe1a7c07a1388444222ef9535f2ca17b0" - integrity sha512-hPC6XBswt8P3G2D1tSV2HzdKvkqOpmbyoy+g73JG0qlF/qx2y3KaMmXb1fLrpmWGLZYA0ojCvaHdzFWjlmV+Pw== +"@babel/plugin-transform-modules-amd@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.5.tgz#4fd9ce7e3411cb8b83848480b7041d83004858f7" + integrity sha512-3lpOU8Vxmp3roC4vzFpSdEpGUWSMsHFreTWOMMLzel2gNGfHE5UWIh/LN6ghHs2xurUp4jRFYMUIZhuFbody1g== dependencies: - "@babel/helper-module-transforms" "^7.14.2" - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-module-transforms" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.14.0.tgz#52bc199cb581e0992edba0f0f80356467587f161" - integrity sha512-EX4QePlsTaRZQmw9BsoPeyh5OCtRGIhwfLquhxGp5e32w+dyL8htOcDwamlitmNFK6xBZYlygjdye9dbd9rUlQ== +"@babel/plugin-transform-modules-commonjs@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.14.5.tgz#7aaee0ea98283de94da98b28f8c35701429dad97" + integrity sha512-en8GfBtgnydoao2PS+87mKyw62k02k7kJ9ltbKe0fXTHrQmG6QZZflYuGI1VVG7sVpx4E1n7KBpNlPb8m78J+A== dependencies: - "@babel/helper-module-transforms" "^7.14.0" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-simple-access" "^7.13.12" + "@babel/helper-module-transforms" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-simple-access" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.13.8.tgz#6d066ee2bff3c7b3d60bf28dec169ad993831ae3" - integrity sha512-hwqctPYjhM6cWvVIlOIe27jCIBgHCsdH2xCJVAYQm7V5yTMoilbVMi9f6wKg0rpQAOn6ZG4AOyvCqFF/hUh6+A== +"@babel/plugin-transform-modules-systemjs@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.14.5.tgz#c75342ef8b30dcde4295d3401aae24e65638ed29" + integrity sha512-mNMQdvBEE5DcMQaL5LbzXFMANrQjd2W7FPzg34Y4yEz7dBgdaC+9B84dSO+/1Wba98zoDbInctCDo4JGxz1VYA== dependencies: - "@babel/helper-hoist-variables" "^7.13.0" - "@babel/helper-module-transforms" "^7.13.0" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-validator-identifier" "^7.12.11" + "@babel/helper-hoist-variables" "^7.14.5" + "@babel/helper-module-transforms" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-validator-identifier" "^7.14.5" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.0.tgz#2f8179d1bbc9263665ce4a65f305526b2ea8ac34" - integrity sha512-nPZdnWtXXeY7I87UZr9VlsWme3Y0cfFFE41Wbxz4bbaexAjNMInXPFUpRRUJ8NoMm0Cw+zxbqjdPmLhcjfazMw== +"@babel/plugin-transform-modules-umd@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.5.tgz#fb662dfee697cce274a7cda525190a79096aa6e0" + integrity sha512-RfPGoagSngC06LsGUYyM9QWSXZ8MysEjDJTAea1lqRjNECE3y0qIJF/qbvJxc4oA4s99HumIMdXOrd+TdKaAAA== dependencies: - "@babel/helper-module-transforms" "^7.14.0" - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-module-transforms" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-named-capturing-groups-regex@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.13.tgz#2213725a5f5bbbe364b50c3ba5998c9599c5c9d9" - integrity sha512-Xsm8P2hr5hAxyYblrfACXpQKdQbx4m2df9/ZZSQ8MAhsadw06+jW7s9zsSw6he+mJZXRlVMyEnVktJo4zjk1WA== +"@babel/plugin-transform-named-capturing-groups-regex@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.14.7.tgz#60c06892acf9df231e256c24464bfecb0908fd4e" + integrity sha512-DTNOTaS7TkW97xsDMrp7nycUVh6sn/eq22VaxWfEdzuEbRsiaOU0pqU7DlyUGHVsbQbSghvjKRpEl+nUCKGQSg== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.12.13" + "@babel/helper-create-regexp-features-plugin" "^7.14.5" -"@babel/plugin-transform-new-target@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.13.tgz#e22d8c3af24b150dd528cbd6e685e799bf1c351c" - integrity sha512-/KY2hbLxrG5GTQ9zzZSc3xWiOy379pIETEhbtzwZcw9rvuaVV4Fqy7BYGYOWZnaoXIQYbbJ0ziXLa/sKcGCYEQ== +"@babel/plugin-transform-new-target@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.14.5.tgz#31bdae8b925dc84076ebfcd2a9940143aed7dbf8" + integrity sha512-Nx054zovz6IIRWEB49RDRuXGI4Gy0GMgqG0cII9L3MxqgXz/+rgII+RU58qpo4g7tNEx1jG7rRVH4ihZoP4esQ== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-object-super@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz#b4416a2d63b8f7be314f3d349bd55a9c1b5171f7" - integrity sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ== +"@babel/plugin-transform-object-super@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.14.5.tgz#d0b5faeac9e98597a161a9cf78c527ed934cdc45" + integrity sha512-MKfOBWzK0pZIrav9z/hkRqIk/2bTv9qvxHzPQc12RcVkMOzpIKnFCNYJip00ssKWYkd8Sf5g0Wr7pqJ+cmtuFg== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - "@babel/helper-replace-supers" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-replace-supers" "^7.14.5" -"@babel/plugin-transform-parameters@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.14.2.tgz#e4290f72e0e9e831000d066427c4667098decc31" - integrity sha512-NxoVmA3APNCC1JdMXkdYXuQS+EMdqy0vIwyDHeKHiJKRxmp1qGSdb0JLEIoPRhkx6H/8Qi3RJ3uqOCYw8giy9A== +"@babel/plugin-transform-parameters@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.14.5.tgz#49662e86a1f3ddccac6363a7dfb1ff0a158afeb3" + integrity sha512-Tl7LWdr6HUxTmzQtzuU14SqbgrSKmaR77M0OKyq4njZLQTPfOvzblNKyNkGwOfEFCEx7KeYHQHDI0P3F02IVkA== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-property-literals@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz#4e6a9e37864d8f1b3bc0e2dce7bf8857db8b1a81" - integrity sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A== +"@babel/plugin-transform-property-literals@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.14.5.tgz#0ddbaa1f83db3606f1cdf4846fa1dfb473458b34" + integrity sha512-r1uilDthkgXW8Z1vJz2dKYLV1tuw2xsbrp3MrZmD99Wh9vsfKoob+JTgri5VUb/JqyKRXotlOtwgu4stIYCmnw== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-regenerator@^7.13.15": - version "7.13.15" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.13.15.tgz#e5eb28945bf8b6563e7f818945f966a8d2997f39" - integrity sha512-Bk9cOLSz8DiurcMETZ8E2YtIVJbFCPGW28DJWUakmyVWtQSm6Wsf0p4B4BfEr/eL2Nkhe/CICiUiMOCi1TPhuQ== +"@babel/plugin-transform-regenerator@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.14.5.tgz#9676fd5707ed28f522727c5b3c0aa8544440b04f" + integrity sha512-NVIY1W3ITDP5xQl50NgTKlZ0GrotKtLna08/uGY6ErQt6VEQZXla86x/CTddm5gZdcr+5GSsvMeTmWA5Ii6pkg== dependencies: regenerator-transform "^0.14.2" -"@babel/plugin-transform-reserved-words@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.13.tgz#7d9988d4f06e0fe697ea1d9803188aa18b472695" - integrity sha512-xhUPzDXxZN1QfiOy/I5tyye+TRz6lA7z6xaT4CLOjPRMVg1ldRf0LHw0TDBpYL4vG78556WuHdyO9oi5UmzZBg== - dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - -"@babel/plugin-transform-shorthand-properties@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz#db755732b70c539d504c6390d9ce90fe64aff7ad" - integrity sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw== +"@babel/plugin-transform-reserved-words@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.14.5.tgz#c44589b661cfdbef8d4300dcc7469dffa92f8304" + integrity sha512-cv4F2rv1nD4qdexOGsRQXJrOcyb5CrgjUH9PKrrtyhSDBNWGxd0UIitjyJiWagS+EbUGjG++22mGH1Pub8D6Vg== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-spread@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz#84887710e273c1815ace7ae459f6f42a5d31d5fd" - integrity sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg== +"@babel/plugin-transform-shorthand-properties@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.14.5.tgz#97f13855f1409338d8cadcbaca670ad79e091a58" + integrity sha512-xLucks6T1VmGsTB+GWK5Pl9Jl5+nRXD1uoFdA5TSO6xtiNjtXTjKkmPdFXVLGlK5A2/or/wQMKfmQ2Y0XJfn5g== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-sticky-regex@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.13.tgz#760ffd936face73f860ae646fb86ee82f3d06d1f" - integrity sha512-Jc3JSaaWT8+fr7GRvQP02fKDsYk4K/lYwWq38r/UGfaxo89ajud321NH28KRQ7xy1Ybc0VUE5Pz8psjNNDUglg== +"@babel/plugin-transform-spread@^7.14.6": + version "7.14.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.14.6.tgz#6bd40e57fe7de94aa904851963b5616652f73144" + integrity sha512-Zr0x0YroFJku7n7+/HH3A2eIrGMjbmAIbJSVv0IZ+t3U2WUQUA64S/oeied2e+MaGSjmt4alzBCsK9E8gh+fag== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.14.5" -"@babel/plugin-transform-template-literals@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.13.0.tgz#a36049127977ad94438dee7443598d1cefdf409d" - integrity sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw== +"@babel/plugin-transform-sticky-regex@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.14.5.tgz#5b617542675e8b7761294381f3c28c633f40aeb9" + integrity sha512-Z7F7GyvEMzIIbwnziAZmnSNpdijdr4dWt+FJNBnBLz5mwDFkqIXU9wmBcWWad3QeJF5hMTkRe4dAq2sUZiG+8A== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-typeof-symbol@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.13.tgz#785dd67a1f2ea579d9c2be722de8c84cb85f5a7f" - integrity sha512-eKv/LmUJpMnu4npgfvs3LiHhJua5fo/CysENxa45YCQXZwKnGCQKAg87bvoqSW1fFT+HA32l03Qxsm8ouTY3ZQ== +"@babel/plugin-transform-template-literals@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.14.5.tgz#a5f2bc233937d8453885dc736bdd8d9ffabf3d93" + integrity sha512-22btZeURqiepOfuy/VkFr+zStqlujWaarpMErvay7goJS6BWwdd6BY9zQyDLDa4x2S3VugxFb162IZ4m/S/+Gg== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-unicode-escapes@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.13.tgz#840ced3b816d3b5127dd1d12dcedc5dead1a5e74" - integrity sha512-0bHEkdwJ/sN/ikBHfSmOXPypN/beiGqjo+o4/5K+vxEFNPRPdImhviPakMKG4x96l85emoa0Z6cDflsdBusZbw== +"@babel/plugin-transform-typeof-symbol@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.14.5.tgz#39af2739e989a2bd291bf6b53f16981423d457d4" + integrity sha512-lXzLD30ffCWseTbMQzrvDWqljvZlHkXU+CnseMhkMNqU1sASnCsz3tSzAaH3vCUXb9PHeUb90ZT1BdFTm1xxJw== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/plugin-transform-unicode-regex@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.13.tgz#b52521685804e155b1202e83fc188d34bb70f5ac" - integrity sha512-mDRzSNY7/zopwisPZ5kM9XKCfhchqIYwAKRERtEnhYscZB79VRekuRSoYbN0+KVe3y8+q1h6A4svXtP7N+UoCA== +"@babel/plugin-transform-unicode-escapes@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.14.5.tgz#9d4bd2a681e3c5d7acf4f57fa9e51175d91d0c6b" + integrity sha512-crTo4jATEOjxj7bt9lbYXcBAM3LZaUrbP2uUdxb6WIorLmjNKSpHfIybgY4B8SRpbf8tEVIWH3Vtm7ayCrKocA== dependencies: - "@babel/helper-create-regexp-features-plugin" "^7.12.13" - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.14.5" -"@babel/preset-env@^7.14.2": - version "7.14.2" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.14.2.tgz#e80612965da73579c84ad2f963c2359c71524ed5" - integrity sha512-7dD7lVT8GMrE73v4lvDEb85cgcQhdES91BSD7jS/xjC6QY8PnRhux35ac+GCpbiRhp8crexBvZZqnaL6VrY8TQ== - dependencies: - "@babel/compat-data" "^7.14.0" - "@babel/helper-compilation-targets" "^7.13.16" - "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-validator-option" "^7.12.17" - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12" - "@babel/plugin-proposal-async-generator-functions" "^7.14.2" - "@babel/plugin-proposal-class-properties" "^7.13.0" - "@babel/plugin-proposal-class-static-block" "^7.13.11" - "@babel/plugin-proposal-dynamic-import" "^7.14.2" - "@babel/plugin-proposal-export-namespace-from" "^7.14.2" - "@babel/plugin-proposal-json-strings" "^7.14.2" - "@babel/plugin-proposal-logical-assignment-operators" "^7.14.2" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.2" - "@babel/plugin-proposal-numeric-separator" "^7.14.2" - "@babel/plugin-proposal-object-rest-spread" "^7.14.2" - "@babel/plugin-proposal-optional-catch-binding" "^7.14.2" - "@babel/plugin-proposal-optional-chaining" "^7.14.2" - "@babel/plugin-proposal-private-methods" "^7.13.0" - "@babel/plugin-proposal-private-property-in-object" "^7.14.0" - "@babel/plugin-proposal-unicode-property-regex" "^7.12.13" +"@babel/plugin-transform-unicode-regex@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.14.5.tgz#4cd09b6c8425dd81255c7ceb3fb1836e7414382e" + integrity sha512-UygduJpC5kHeCiRw/xDVzC+wj8VaYSoKl5JNVmbP7MadpNinAm3SvZCxZ42H37KZBKztz46YC73i9yV34d0Tzw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/preset-env@^7.14.7": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.14.7.tgz#5c70b22d4c2d893b03d8c886a5c17422502b932a" + integrity sha512-itOGqCKLsSUl0Y+1nSfhbuuOlTs0MJk2Iv7iSH+XT/mR8U1zRLO7NjWlYXB47yhK4J/7j+HYty/EhFZDYKa/VA== + dependencies: + "@babel/compat-data" "^7.14.7" + "@babel/helper-compilation-targets" "^7.14.5" + "@babel/helper-plugin-utils" "^7.14.5" + "@babel/helper-validator-option" "^7.14.5" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.14.5" + "@babel/plugin-proposal-async-generator-functions" "^7.14.7" + "@babel/plugin-proposal-class-properties" "^7.14.5" + "@babel/plugin-proposal-class-static-block" "^7.14.5" + "@babel/plugin-proposal-dynamic-import" "^7.14.5" + "@babel/plugin-proposal-export-namespace-from" "^7.14.5" + "@babel/plugin-proposal-json-strings" "^7.14.5" + "@babel/plugin-proposal-logical-assignment-operators" "^7.14.5" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.5" + "@babel/plugin-proposal-numeric-separator" "^7.14.5" + "@babel/plugin-proposal-object-rest-spread" "^7.14.7" + "@babel/plugin-proposal-optional-catch-binding" "^7.14.5" + "@babel/plugin-proposal-optional-chaining" "^7.14.5" + "@babel/plugin-proposal-private-methods" "^7.14.5" + "@babel/plugin-proposal-private-property-in-object" "^7.14.5" + "@babel/plugin-proposal-unicode-property-regex" "^7.14.5" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-class-static-block" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" "@babel/plugin-syntax-json-strings" "^7.8.3" @@ -948,46 +1057,46 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-private-property-in-object" "^7.14.0" - "@babel/plugin-syntax-top-level-await" "^7.12.13" - "@babel/plugin-transform-arrow-functions" "^7.13.0" - "@babel/plugin-transform-async-to-generator" "^7.13.0" - "@babel/plugin-transform-block-scoped-functions" "^7.12.13" - "@babel/plugin-transform-block-scoping" "^7.14.2" - "@babel/plugin-transform-classes" "^7.14.2" - "@babel/plugin-transform-computed-properties" "^7.13.0" - "@babel/plugin-transform-destructuring" "^7.13.17" - "@babel/plugin-transform-dotall-regex" "^7.12.13" - "@babel/plugin-transform-duplicate-keys" "^7.12.13" - "@babel/plugin-transform-exponentiation-operator" "^7.12.13" - "@babel/plugin-transform-for-of" "^7.13.0" - "@babel/plugin-transform-function-name" "^7.12.13" - "@babel/plugin-transform-literals" "^7.12.13" - "@babel/plugin-transform-member-expression-literals" "^7.12.13" - "@babel/plugin-transform-modules-amd" "^7.14.2" - "@babel/plugin-transform-modules-commonjs" "^7.14.0" - "@babel/plugin-transform-modules-systemjs" "^7.13.8" - "@babel/plugin-transform-modules-umd" "^7.14.0" - "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.13" - "@babel/plugin-transform-new-target" "^7.12.13" - "@babel/plugin-transform-object-super" "^7.12.13" - "@babel/plugin-transform-parameters" "^7.14.2" - "@babel/plugin-transform-property-literals" "^7.12.13" - "@babel/plugin-transform-regenerator" "^7.13.15" - "@babel/plugin-transform-reserved-words" "^7.12.13" - "@babel/plugin-transform-shorthand-properties" "^7.12.13" - "@babel/plugin-transform-spread" "^7.13.0" - "@babel/plugin-transform-sticky-regex" "^7.12.13" - "@babel/plugin-transform-template-literals" "^7.13.0" - "@babel/plugin-transform-typeof-symbol" "^7.12.13" - "@babel/plugin-transform-unicode-escapes" "^7.12.13" - "@babel/plugin-transform-unicode-regex" "^7.12.13" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.14.5" + "@babel/plugin-transform-async-to-generator" "^7.14.5" + "@babel/plugin-transform-block-scoped-functions" "^7.14.5" + "@babel/plugin-transform-block-scoping" "^7.14.5" + "@babel/plugin-transform-classes" "^7.14.5" + "@babel/plugin-transform-computed-properties" "^7.14.5" + "@babel/plugin-transform-destructuring" "^7.14.7" + "@babel/plugin-transform-dotall-regex" "^7.14.5" + "@babel/plugin-transform-duplicate-keys" "^7.14.5" + "@babel/plugin-transform-exponentiation-operator" "^7.14.5" + "@babel/plugin-transform-for-of" "^7.14.5" + "@babel/plugin-transform-function-name" "^7.14.5" + "@babel/plugin-transform-literals" "^7.14.5" + "@babel/plugin-transform-member-expression-literals" "^7.14.5" + "@babel/plugin-transform-modules-amd" "^7.14.5" + "@babel/plugin-transform-modules-commonjs" "^7.14.5" + "@babel/plugin-transform-modules-systemjs" "^7.14.5" + "@babel/plugin-transform-modules-umd" "^7.14.5" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.14.7" + "@babel/plugin-transform-new-target" "^7.14.5" + "@babel/plugin-transform-object-super" "^7.14.5" + "@babel/plugin-transform-parameters" "^7.14.5" + "@babel/plugin-transform-property-literals" "^7.14.5" + "@babel/plugin-transform-regenerator" "^7.14.5" + "@babel/plugin-transform-reserved-words" "^7.14.5" + "@babel/plugin-transform-shorthand-properties" "^7.14.5" + "@babel/plugin-transform-spread" "^7.14.6" + "@babel/plugin-transform-sticky-regex" "^7.14.5" + "@babel/plugin-transform-template-literals" "^7.14.5" + "@babel/plugin-transform-typeof-symbol" "^7.14.5" + "@babel/plugin-transform-unicode-escapes" "^7.14.5" + "@babel/plugin-transform-unicode-regex" "^7.14.5" "@babel/preset-modules" "^0.1.4" - "@babel/types" "^7.14.2" - babel-plugin-polyfill-corejs2 "^0.2.0" - babel-plugin-polyfill-corejs3 "^0.2.0" - babel-plugin-polyfill-regenerator "^0.2.0" - core-js-compat "^3.9.0" + "@babel/types" "^7.14.5" + babel-plugin-polyfill-corejs2 "^0.2.2" + babel-plugin-polyfill-corejs3 "^0.2.2" + babel-plugin-polyfill-regenerator "^0.2.2" + core-js-compat "^3.15.0" semver "^6.3.0" "@babel/preset-modules@^0.1.4": @@ -1017,6 +1126,15 @@ "@babel/parser" "^7.12.13" "@babel/types" "^7.12.13" +"@babel/template@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" + integrity sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.14.5" + "@babel/types" "^7.14.5" + "@babel/traverse@^7.1.0", "@babel/traverse@^7.13.0", "@babel/traverse@^7.13.13", "@babel/traverse@^7.13.15": version "7.13.15" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.13.15.tgz#c38bf7679334ddd4028e8e1f7b3aa5019f0dada7" @@ -1045,7 +1163,22 @@ debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": +"@babel/traverse@^7.14.5": + version "7.14.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.7.tgz#64007c9774cfdc3abd23b0780bc18a3ce3631753" + integrity sha512-9vDr5NzHu27wgwejuKL7kIOm4bwEtaPQ4Z6cpCmjSuaRqpH/7xc4qcGEscwMqlkwgcXl6MvqoAjZkQ24uSdIZQ== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.14.5" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-hoist-variables" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/parser" "^7.14.7" + "@babel/types" "^7.14.5" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.12.13", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.14", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": version "7.13.14" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.14.tgz#c35a4abb15c7cd45a2746d78ab328e362cbace0d" integrity sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ== @@ -1091,94 +1224,94 @@ resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== -"@jest/console@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.1.tgz#c6acfec201f9b6823596eb6c4fcd77c89a8b27e9" - integrity sha512-50E6nN2F5cAXn1lDljn0gE9F0WFXHYz/u0EeR7sOt4nbRPNli34ckbl6CUDaDABJbHt62DYnyQAIB3KgdzwKDw== +"@jest/console@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.6.tgz#3eb72ea80897495c3d73dd97aab7f26770e2260f" + integrity sha512-fMlIBocSHPZ3JxgWiDNW/KPj6s+YRd0hicb33IrmelCcjXo/pXPwvuiKFmZz+XuqI/1u7nbUK10zSsWL/1aegg== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@types/node" "*" chalk "^4.0.0" - jest-message-util "^27.0.1" - jest-util "^27.0.1" + jest-message-util "^27.0.6" + jest-util "^27.0.6" slash "^3.0.0" -"@jest/core@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.1.tgz#88d0ff55f465fe1fc3a940718e8cf0fea242be4b" - integrity sha512-PiCbKSMf6t8PEfY3MAd0Ldn3aJAt5T+UcaFkAfMZ1VZgas35+fXk5uHIjAQHQLNIHZWX19TLv0wWNT03yvrw6w== +"@jest/core@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.6.tgz#c5f642727a0b3bf0f37c4b46c675372d0978d4a1" + integrity sha512-SsYBm3yhqOn5ZLJCtccaBcvD/ccTLCeuDv8U41WJH/V1MW5eKUkeMHT9U+Pw/v1m1AIWlnIW/eM2XzQr0rEmow== dependencies: - "@jest/console" "^27.0.1" - "@jest/reporters" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/console" "^27.0.6" + "@jest/reporters" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-changed-files "^27.0.1" - jest-config "^27.0.1" - jest-haste-map "^27.0.1" - jest-message-util "^27.0.1" - jest-regex-util "^27.0.1" - jest-resolve "^27.0.1" - jest-resolve-dependencies "^27.0.1" - jest-runner "^27.0.1" - jest-runtime "^27.0.1" - jest-snapshot "^27.0.1" - jest-util "^27.0.1" - jest-validate "^27.0.1" - jest-watcher "^27.0.1" + jest-changed-files "^27.0.6" + jest-config "^27.0.6" + jest-haste-map "^27.0.6" + jest-message-util "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-resolve-dependencies "^27.0.6" + jest-runner "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" + jest-watcher "^27.0.6" micromatch "^4.0.4" p-each-series "^2.1.0" rimraf "^3.0.0" slash "^3.0.0" strip-ansi "^6.0.0" -"@jest/environment@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.1.tgz#27ed89bf8179c0a030690f063d922d6da7a519ac" - integrity sha512-nG+r3uSs2pOTsdhgt6lUm4ZGJLRcTc6HZIkrFsVpPcdSqEpJehEny9r9y2Bmhkn8fKXWdGCYJKF3i4nKO0HSmA== +"@jest/environment@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.6.tgz#ee293fe996db01d7d663b8108fa0e1ff436219d2" + integrity sha512-4XywtdhwZwCpPJ/qfAkqExRsERW+UaoSRStSHCCiQTUpoYdLukj+YJbQSFrZjhlUDRZeNiU9SFH0u7iNimdiIg== dependencies: - "@jest/fake-timers" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" - jest-mock "^27.0.1" + jest-mock "^27.0.6" -"@jest/fake-timers@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.1.tgz#6987a596b0bcf8c07653086076c17058b4c77b5c" - integrity sha512-3CyLJQnHzKI4TCJSCo+I9TzIHjSK4RrNEk93jFM6Q9+9WlSJ3mpMq/p2YuKMe0SiHKbmZOd5G/Ll5ofF9Xkw9g== +"@jest/fake-timers@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.6.tgz#cbad52f3fe6abe30e7acb8cd5fa3466b9588e3df" + integrity sha512-sqd+xTWtZ94l3yWDKnRTdvTeZ+A/V7SSKrxsrOKSqdyddb9CeNRF8fbhAU0D7ZJBpTTW2nbp6MftmKJDZfW2LQ== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@sinonjs/fake-timers" "^7.0.2" "@types/node" "*" - jest-message-util "^27.0.1" - jest-mock "^27.0.1" - jest-util "^27.0.1" + jest-message-util "^27.0.6" + jest-mock "^27.0.6" + jest-util "^27.0.6" -"@jest/globals@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.1.tgz#14c776942f7047a04f2aea09b148065e2aa9d7e9" - integrity sha512-80ZCzgopysKdpp5EOglgjApKxiNDR96PG4PwngB4fTwZ4qqqSKo0EwGwQIhl16szQ1M2xCVYmr9J6KelvnABNQ== +"@jest/globals@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.6.tgz#48e3903f99a4650673d8657334d13c9caf0e8f82" + integrity sha512-DdTGCP606rh9bjkdQ7VvChV18iS7q0IMJVP1piwTWyWskol4iqcVwthZmoJEf7obE1nc34OpIyoVGPeqLC+ryw== dependencies: - "@jest/environment" "^27.0.1" - "@jest/types" "^27.0.1" - expect "^27.0.1" + "@jest/environment" "^27.0.6" + "@jest/types" "^27.0.6" + expect "^27.0.6" -"@jest/reporters@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.1.tgz#5b491f64e37c9b97b13e564f18f36b6697d28045" - integrity sha512-lZbJWuS1h/ytKERfu1D6tEQ4PuQ7+15S4+HrSzHR0i7AGVT1WRo49h4fZqxASOp7AQCupUVtPJNZDkaG9ZXy0g== +"@jest/reporters@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.6.tgz#91e7f2d98c002ad5df94d5b5167c1eb0b9fd5b00" + integrity sha512-TIkBt09Cb2gptji3yJXb3EE+eVltW6BjO7frO7NEfjI9vSIYoISi5R3aI3KpEDXlB1xwB+97NXIqz84qYeYsfA== dependencies: "@bcoe/v8-coverage" "^0.2.3" - "@jest/console" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/console" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" chalk "^4.0.0" collect-v8-coverage "^1.0.0" exit "^0.1.2" @@ -1189,71 +1322,70 @@ istanbul-lib-report "^3.0.0" istanbul-lib-source-maps "^4.0.0" istanbul-reports "^3.0.2" - jest-haste-map "^27.0.1" - jest-resolve "^27.0.1" - jest-util "^27.0.1" - jest-worker "^27.0.1" + jest-haste-map "^27.0.6" + jest-resolve "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" slash "^3.0.0" source-map "^0.6.0" string-length "^4.0.1" terminal-link "^2.0.0" - v8-to-istanbul "^7.0.0" + v8-to-istanbul "^8.0.0" -"@jest/source-map@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.0.1.tgz#2afbf73ddbaddcb920a8e62d0238a0a9e0a8d3e4" - integrity sha512-yMgkF0f+6WJtDMdDYNavmqvbHtiSpwRN2U/W+6uztgfqgkq/PXdKPqjBTUF1RD/feth4rH5N3NW0T5+wIuln1A== +"@jest/source-map@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.0.6.tgz#be9e9b93565d49b0548b86e232092491fb60551f" + integrity sha512-Fek4mi5KQrqmlY07T23JRi0e7Z9bXTOOD86V/uS0EIW4PClvPDqZOyFlLpNJheS6QI0FNX1CgmPjtJ4EA/2M+g== dependencies: callsites "^3.0.0" graceful-fs "^4.2.4" source-map "^0.6.0" -"@jest/test-result@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.1.tgz#8fb97214268ea21cf8cfb83edc0f17e558b3466d" - integrity sha512-5aa+ibX2dsGSDLKaQMZb453MqjJU/CRVumebXfaJmuzuGE4qf87yQ2QZ6PEpEtBwVUEgrJCzi3jLCRaUbksSuw== +"@jest/test-result@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.6.tgz#3fa42015a14e4fdede6acd042ce98c7f36627051" + integrity sha512-ja/pBOMTufjX4JLEauLxE3LQBPaI2YjGFtXexRAjt1I/MbfNlMx0sytSX3tn5hSLzQsR3Qy2rd0hc1BWojtj9w== dependencies: - "@jest/console" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/console" "^27.0.6" + "@jest/types" "^27.0.6" "@types/istanbul-lib-coverage" "^2.0.0" collect-v8-coverage "^1.0.0" -"@jest/test-sequencer@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.1.tgz#2a3b85130978fc545d8ee6c34d65ff4231dbad86" - integrity sha512-yK2c2iruJ35WgH4KH8whS72uH+FASJUrzwxzNKTzLAEWmNpWKNEPOsSEKsHynvz78bLHafrTg4adN7RrYNbEOA== +"@jest/test-sequencer@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.6.tgz#80a913ed7a1130545b1cd777ff2735dd3af5d34b" + integrity sha512-bISzNIApazYOlTHDum9PwW22NOyDa6VI31n6JucpjTVM0jD6JDgqEZ9+yn575nDdPF0+4csYDxNNW13NvFQGZA== dependencies: - "@jest/test-result" "^27.0.1" + "@jest/test-result" "^27.0.6" graceful-fs "^4.2.4" - jest-haste-map "^27.0.1" - jest-runner "^27.0.1" - jest-runtime "^27.0.1" + jest-haste-map "^27.0.6" + jest-runtime "^27.0.6" -"@jest/transform@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.1.tgz#a9ece291f82273d5e58132550996c16edd5a902a" - integrity sha512-LC95VpT6wMnQ96dRJDlUiAnW/90zyh4+jS30szI/5AsfS0qwSlr/O4TPcGoD2WVaVMfo6KvR+brvOtGyMHaNhA== +"@jest/transform@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.6.tgz#189ad7107413208f7600f4719f81dd2f7278cc95" + integrity sha512-rj5Dw+mtIcntAUnMlW/Vju5mr73u8yg+irnHwzgtgoeI6cCPOvUwQ0D1uQtc/APmWgvRweEb1g05pkUpxH3iCA== dependencies: "@babel/core" "^7.1.0" - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" babel-plugin-istanbul "^6.0.0" chalk "^4.0.0" convert-source-map "^1.4.0" fast-json-stable-stringify "^2.0.0" graceful-fs "^4.2.4" - jest-haste-map "^27.0.1" - jest-regex-util "^27.0.1" - jest-util "^27.0.1" + jest-haste-map "^27.0.6" + jest-regex-util "^27.0.6" + jest-util "^27.0.6" micromatch "^4.0.4" pirates "^4.0.1" slash "^3.0.0" source-map "^0.6.1" write-file-atomic "^3.0.0" -"@jest/types@^27.0.1": - version "27.0.1" - resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.0.1.tgz#631738c942e70045ebbf42a3f9b433036d3845e4" - integrity sha512-8A25RRV4twZutsx2D+7WphnDsp7If9Yu6ko0Gxwrwv8BiWESFzka34+Aa2kC8w9xewt7SDuCUSZ6IiAFVj3PRg== +"@jest/types@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.0.6.tgz#9a992bc517e0c49f035938b8549719c2de40706b" + integrity sha512-aSquT1qa9Pik26JK5/3rvnYb4bGtm1VFNesHKmNTwmPIgOrixvhL2ghIvFRNEpzy3gU+rUgjIF/KodbkFAl++g== dependencies: "@types/istanbul-lib-coverage" "^2.0.0" "@types/istanbul-reports" "^3.0.0" @@ -1493,16 +1625,16 @@ asynckit@^0.4.0: resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= -babel-jest@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.1.tgz#9f1c4571ac17a39e599d1325dcaf53a274261df4" - integrity sha512-aWFD7OGQjk3Y8MdZKf1XePlQvHnjMVJQjIq9WKrlAjz9by703kJ45Jxhp26JwnovoW71YYz5etuqRl8wMcIv0w== +babel-jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.6.tgz#e99c6e0577da2655118e3608b68761a5a69bd0d8" + integrity sha512-iTJyYLNc4wRofASmofpOc5NK9QunwMk+TLFgGXsTFS8uEqmd8wdI7sga0FPe2oVH3b5Agt/EAK1QjPEuKL8VfA== dependencies: - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" "@types/babel__core" "^7.1.14" babel-plugin-istanbul "^6.0.0" - babel-preset-jest "^27.0.1" + babel-preset-jest "^27.0.6" chalk "^4.0.0" graceful-fs "^4.2.4" slash "^3.0.0" @@ -1525,39 +1657,39 @@ babel-plugin-istanbul@^6.0.0: istanbul-lib-instrument "^4.0.0" test-exclude "^6.0.0" -babel-plugin-jest-hoist@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.0.1.tgz#a6d10e484c93abff0f4e95f437dad26e5736ea11" - integrity sha512-sqBF0owAcCDBVEDtxqfYr2F36eSHdx7lAVGyYuOBRnKdD6gzcy0I0XrAYCZgOA3CRrLhmR+Uae9nogPzmAtOfQ== +babel-plugin-jest-hoist@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.0.6.tgz#f7c6b3d764af21cb4a2a1ab6870117dbde15b456" + integrity sha512-CewFeM9Vv2gM7Yr9n5eyyLVPRSiBnk6lKZRjgwYnGKSl9M14TMn2vkN02wTF04OGuSDLEzlWiMzvjXuW9mB6Gw== dependencies: "@babel/template" "^7.3.3" "@babel/types" "^7.3.3" "@types/babel__core" "^7.0.0" "@types/babel__traverse" "^7.0.6" -babel-plugin-polyfill-corejs2@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.0.tgz#686775bf9a5aa757e10520903675e3889caeedc4" - integrity sha512-9bNwiR0dS881c5SHnzCmmGlMkJLl0OUZvxrxHo9w/iNoRuqaPjqlvBf4HrovXtQs/au5yKkpcdgfT1cC5PAZwg== +babel-plugin-polyfill-corejs2@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz#e9124785e6fd94f94b618a7954e5693053bf5327" + integrity sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ== dependencies: "@babel/compat-data" "^7.13.11" - "@babel/helper-define-polyfill-provider" "^0.2.0" + "@babel/helper-define-polyfill-provider" "^0.2.2" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.0.tgz#f4b4bb7b19329827df36ff56f6e6d367026cb7a2" - integrity sha512-zZyi7p3BCUyzNxLx8KV61zTINkkV65zVkDAFNZmrTCRVhjo1jAS+YLvDJ9Jgd/w2tsAviCwFHReYfxO3Iql8Yg== +babel-plugin-polyfill-corejs3@^0.2.2: + version "0.2.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.3.tgz#72add68cf08a8bf139ba6e6dfc0b1d504098e57b" + integrity sha512-rCOFzEIJpJEAU14XCcV/erIf/wZQMmMT5l5vXOpL5uoznyOGfDIjPj6FVytMvtzaKSTSVKouOCTPJ5OMUZH30g== dependencies: - "@babel/helper-define-polyfill-provider" "^0.2.0" - core-js-compat "^3.9.1" + "@babel/helper-define-polyfill-provider" "^0.2.2" + core-js-compat "^3.14.0" -babel-plugin-polyfill-regenerator@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.0.tgz#853f5f5716f4691d98c84f8069c7636ea8da7ab8" - integrity sha512-J7vKbCuD2Xi/eEHxquHN14bXAW9CXtecwuLrOIDJtcZzTaPzV1VdEfoUf9AzcRBMolKUQKM9/GVojeh0hFiqMg== +babel-plugin-polyfill-regenerator@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz#b310c8d642acada348c1fa3b3e6ce0e851bee077" + integrity sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.2.0" + "@babel/helper-define-polyfill-provider" "^0.2.2" babel-preset-current-node-syntax@^1.0.0: version "1.0.1" @@ -1577,12 +1709,12 @@ babel-preset-current-node-syntax@^1.0.0: "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-syntax-top-level-await" "^7.8.3" -babel-preset-jest@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.0.1.tgz#7a50c75d16647c23a2cf5158d5bb9eb206b10e20" - integrity sha512-nIBIqCEpuiyhvjQs2mVNwTxQQa2xk70p9Dd/0obQGBf8FBzbnI8QhQKzLsWMN2i6q+5B0OcWDtrboBX5gmOLyA== +babel-preset-jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.0.6.tgz#909ef08e9f24a4679768be2f60a3df0856843f9d" + integrity sha512-WObA0/Biw2LrVVwZkF/2GqbOdzhKD6Fkdwhoy9ASIrOWr/zodcSpQh72JOkEn6NWyjmnPDjNSqaGN4KnpKzhXw== dependencies: - babel-plugin-jest-hoist "^27.0.1" + babel-plugin-jest-hoist "^27.0.6" babel-preset-current-node-syntax "^1.0.0" balanced-match@^1.0.0: @@ -1610,7 +1742,7 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserslist@^4.14.5, browserslist@^4.16.3: +browserslist@^4.14.5: version "4.16.4" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.4.tgz#7ebf913487f40caf4637b892b268069951c35d58" integrity sha512-d7rCxYV8I9kj41RH8UKYnvDYCRENUlHRgyXy/Rhr/1BaeLGfiCptEdFE8MIrvGfWbBFNjVYx76SQWvNX1j+/cQ== @@ -1621,6 +1753,17 @@ browserslist@^4.14.5, browserslist@^4.16.3: escalade "^3.1.1" node-releases "^1.1.71" +browserslist@^4.16.6: + version "4.16.6" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2" + integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ== + dependencies: + caniuse-lite "^1.0.30001219" + colorette "^1.2.2" + electron-to-chromium "^1.3.723" + escalade "^3.1.1" + node-releases "^1.1.71" + bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -1666,6 +1809,11 @@ caniuse-lite@^1.0.30001208: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001209.tgz#1bb4be0bd118e98e21cfb7ef617b1ef2164622f4" integrity sha512-2Ktt4OeRM7EM/JaOZjuLzPYAIqmbwQMNnYbgooT+icoRGrKOyAxA1xhlnotBD1KArRSPsuJp3TdYcZYrL7qNxA== +caniuse-lite@^1.0.30001219: + version "1.0.30001245" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001245.tgz#45b941bbd833cb0fa53861ff2bae746b3c6ca5d4" + integrity sha512-768fM9j1PKXpOCKws6eTo3RHmvTUsG9UrpT4WoREFeZgJBTi4/X9g565azS/rVUGtqb8nt7FjLeF5u4kukERnA== + chalk@^2.0.0: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -1770,12 +1918,12 @@ convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: dependencies: safe-buffer "~5.1.1" -core-js-compat@^3.9.0, core-js-compat@^3.9.1: - version "3.10.1" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.10.1.tgz#62183a3a77ceeffcc420d907a3e6fc67d9b27f1c" - integrity sha512-ZHQTdTPkqvw2CeHiZC970NNJcnwzT6YIueDMASKt+p3WbZsLXOcoD392SkcWhkC0wBBHhlfhqGKKsNCQUozYtg== +core-js-compat@^3.14.0, core-js-compat@^3.15.0: + version "3.15.2" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.15.2.tgz#47272fbb479880de14b4e6081f71f3492f5bd3cb" + integrity sha512-Wp+BJVvwopjI+A1EFqm2dwUmWYXrvucmtIB2LgXn/Rb+gWPKYxtmb4GKHGKG/KGF1eK9jfjzT38DITbTOCX/SQ== dependencies: - browserslist "^4.16.3" + browserslist "^4.16.6" semver "7.0.0" cross-spawn@^7.0.3: @@ -1857,10 +2005,10 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -diff-sequences@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.1.tgz#9c9801d52ed5f576ff0a20e3022a13ee6e297e7c" - integrity sha512-XPLijkfJUh/PIBnfkcSHgvD6tlYixmcMAn3osTk6jt+H0v/mgURto1XUiD9DKuGX5NDoVS6dSlA23gd9FUaCFg== +diff-sequences@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.6.tgz#3305cb2e55a033924054695cc66019fd7f8e5723" + integrity sha512-ag6wfpBFyNXZ0p8pcuIDS//D8H062ZQJ3fzYxjpmeKjnz8W4pekL3AI8VohmyZmsWW2PWaHgjsmqR6L13101VQ== domexception@^2.0.1: version "2.0.1" @@ -1874,6 +2022,11 @@ electron-to-chromium@^1.3.712: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.717.tgz#78d4c857070755fb58ab64bcc173db1d51cbc25f" integrity sha512-OfzVPIqD1MkJ7fX+yTl2nKyOE4FReeVfMCzzxQS+Kp43hZYwHwThlGP+EGIZRXJsxCM7dqo8Y65NOX/HP12iXQ== +electron-to-chromium@^1.3.723: + version "1.3.776" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.776.tgz#33f6e2423b61f1bdaa8d2a103aae78a09764a75f" + integrity sha512-V0w7eFSBoFPpdw4xexjVPZ770UDZIevSwkkj4W97XbE3IsCsTRFpa7/yXGZ88EOQAUEA09JMMsWK0xsw0kRAYw== + emittery@^0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" @@ -1951,17 +2104,17 @@ exit@^0.1.2: resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= -expect@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.1.tgz#1290c74fef8d62f15f4c5dd1d7233001909abbfb" - integrity sha512-hjKwLeAvKUiq0Plha1dmzOH1FGEwJC9njbT993cq4PK9r58/+3NM+WDqFVGcPuRH7XTjmbIeHQBzp2faDrPhjQ== +expect@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.6.tgz#a4d74fbe27222c718fff68ef49d78e26a8fd4c05" + integrity sha512-psNLt8j2kwg42jGBDSfAlU49CEZxejN1f1PlANWDZqIhBOVU/c2Pm888FcjWJzFewhIsNWfZJeLjUjtKGiPuSw== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" ansi-styles "^5.0.0" - jest-get-type "^27.0.1" - jest-matcher-utils "^27.0.1" - jest-message-util "^27.0.1" - jest-regex-util "^27.0.1" + jest-get-type "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-regex-util "^27.0.6" fast-json-stable-stringify@^2.0.0: version "2.1.0" @@ -2254,225 +2407,226 @@ istanbul-reports@^3.0.2: html-escaper "^2.0.0" istanbul-lib-report "^3.0.0" -jest-changed-files@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.1.tgz#b8356b3708cac9d05ebf6f9e0b32227b514945c8" - integrity sha512-Y/4AnqYNcUX/vVgfkmvSA3t7rcg+t8m3CsSGlU+ra8kjlVW5ZqXcBZY/NUew2Mo8M+dn0ApKl+FmGGT1JV5dVA== +jest-changed-files@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.6.tgz#bed6183fcdea8a285482e3b50a9a7712d49a7a8b" + integrity sha512-BuL/ZDauaq5dumYh5y20sn4IISnf1P9A0TDswTxUi84ORGtVa86ApuBHqICL0vepqAnZiY6a7xeSPWv2/yy4eA== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" execa "^5.0.0" throat "^6.0.1" -jest-circus@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.1.tgz#3a7ec9e9fd60ef4c827197dffe2288aa19f86678" - integrity sha512-Tz3ytmrsgxWlTwSyPYb8StF9J2IMjLlbBMKAjhL2UU9/0ZpYb2JiEGjXaAhnGauQRbbpyFbSH3yj5HIbdurmwQ== +jest-circus@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.6.tgz#dd4df17c4697db6a2c232aaad4e9cec666926668" + integrity sha512-OJlsz6BBeX9qR+7O9lXefWoc2m9ZqcZ5Ohlzz0pTEAG4xMiZUJoacY8f4YDHxgk0oKYxj277AfOk9w6hZYvi1Q== dependencies: - "@jest/environment" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/environment" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" dedent "^0.7.0" - expect "^27.0.1" + expect "^27.0.6" is-generator-fn "^2.0.0" - jest-each "^27.0.1" - jest-matcher-utils "^27.0.1" - jest-message-util "^27.0.1" - jest-runner "^27.0.1" - jest-runtime "^27.0.1" - jest-snapshot "^27.0.1" - jest-util "^27.0.1" - pretty-format "^27.0.1" + jest-each "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" + slash "^3.0.0" stack-utils "^2.0.3" throat "^6.0.1" -jest-cli@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.1.tgz#9accc8a505438571ee423438eac526a7ee4654b5" - integrity sha512-plDsQQwpkKK1SZ5L5xqMa7v/sTwB5LTIeSJqb+cV+4EMlThdUQfg8jwMfHX8jHuUc9TPGLcdoZeBuZcGGn3Rlg== +jest-cli@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.6.tgz#d021e5f4d86d6a212450d4c7b86cb219f1e6864f" + integrity sha512-qUUVlGb9fdKir3RDE+B10ULI+LQrz+MCflEH2UJyoUjoHHCbxDrMxSzjQAPUMsic4SncI62ofYCcAvW6+6rhhg== dependencies: - "@jest/core" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/core" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" chalk "^4.0.0" exit "^0.1.2" graceful-fs "^4.2.4" import-local "^3.0.2" - jest-config "^27.0.1" - jest-util "^27.0.1" - jest-validate "^27.0.1" + jest-config "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" prompts "^2.0.1" yargs "^16.0.3" -jest-config@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.1.tgz#db4f202efcbb92011f62d8f25b52c3d1bd5672d4" - integrity sha512-V8O6+CZjGF0OMq4kxVR29ztV/LQqlAAcJLw7a94RndfRXkha4U84n50yZCXiPWtAHHTmb3g1y52US6rGPxA+3w== +jest-config@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.6.tgz#119fb10f149ba63d9c50621baa4f1f179500277f" + integrity sha512-JZRR3I1Plr2YxPBhgqRspDE2S5zprbga3swYNrvY3HfQGu7p/GjyLOqwrYad97tX3U3mzT53TPHVmozacfP/3w== dependencies: "@babel/core" "^7.1.0" - "@jest/test-sequencer" "^27.0.1" - "@jest/types" "^27.0.1" - babel-jest "^27.0.1" + "@jest/test-sequencer" "^27.0.6" + "@jest/types" "^27.0.6" + babel-jest "^27.0.6" chalk "^4.0.0" deepmerge "^4.2.2" glob "^7.1.1" graceful-fs "^4.2.4" is-ci "^3.0.0" - jest-circus "^27.0.1" - jest-environment-jsdom "^27.0.1" - jest-environment-node "^27.0.1" - jest-get-type "^27.0.1" - jest-jasmine2 "^27.0.1" - jest-regex-util "^27.0.1" - jest-resolve "^27.0.1" - jest-util "^27.0.1" - jest-validate "^27.0.1" + jest-circus "^27.0.6" + jest-environment-jsdom "^27.0.6" + jest-environment-node "^27.0.6" + jest-get-type "^27.0.6" + jest-jasmine2 "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-runner "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" micromatch "^4.0.4" - pretty-format "^27.0.1" + pretty-format "^27.0.6" -jest-diff@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.1.tgz#021beb29fe9f07e83c809a4f7a1ce807b229c4ab" - integrity sha512-DQ3OgfJgoGWVTYo4qnYW/Jg5mpYFS2QW9BLxA8bs12ZRN1K8QPZtWeYvUPohQFs3CHX3JLTndGg3jyxdL5THFQ== +jest-diff@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.6.tgz#4a7a19ee6f04ad70e0e3388f35829394a44c7b5e" + integrity sha512-Z1mqgkTCSYaFgwTlP/NUiRzdqgxmmhzHY1Tq17zL94morOHfHu3K4bgSgl+CR4GLhpV8VxkuOYuIWnQ9LnFqmg== dependencies: chalk "^4.0.0" - diff-sequences "^27.0.1" - jest-get-type "^27.0.1" - pretty-format "^27.0.1" + diff-sequences "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.0.6" -jest-docblock@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.1.tgz#bd9752819b49fa4fab1a50b73eb58c653b962e8b" - integrity sha512-TA4+21s3oebURc7VgFV4r7ltdIJ5rtBH1E3Tbovcg7AV+oLfD5DcJ2V2vJ5zFA9sL5CFd/d2D6IpsAeSheEdrA== +jest-docblock@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.6.tgz#cc78266acf7fe693ca462cbbda0ea4e639e4e5f3" + integrity sha512-Fid6dPcjwepTFraz0YxIMCi7dejjJ/KL9FBjPYhBp4Sv1Y9PdhImlKZqYU555BlN4TQKaTc+F2Av1z+anVyGkA== dependencies: detect-newline "^3.0.0" -jest-each@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.1.tgz#37fa20b7d809b29d4349d8eb7d01f17c2feeab10" - integrity sha512-uJTK/aZ05HsdKkfXucAT5+/1DIURnTRv34OSxn1HWHrD+xu9eDX5Xgds09QSvg/mU01VS5upuHTDKG3W+r0rQA== +jest-each@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.6.tgz#cee117071b04060158dc8d9a66dc50ad40ef453b" + integrity sha512-m6yKcV3bkSWrUIjxkE9OC0mhBZZdhovIW5ergBYirqnkLXkyEn3oUUF/QZgyecA1cF1QFyTE8bRRl8Tfg1pfLA== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" chalk "^4.0.0" - jest-get-type "^27.0.1" - jest-util "^27.0.1" - pretty-format "^27.0.1" - -jest-environment-jsdom@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.1.tgz#12b0ed587fb53e0a581a5101bb209aef09da2310" - integrity sha512-lesU8T9zkjgLaLpUFmFDgchu6/2OCoXm52nN6UumR063Hb+1TJdI7ihgM86+G01Ay86Lyr+K/FAR6yIIOviH3Q== - dependencies: - "@jest/environment" "^27.0.1" - "@jest/fake-timers" "^27.0.1" - "@jest/types" "^27.0.1" + jest-get-type "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" + +jest-environment-jsdom@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.6.tgz#f66426c4c9950807d0a9f209c590ce544f73291f" + integrity sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw== + dependencies: + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" - jest-mock "^27.0.1" - jest-util "^27.0.1" + jest-mock "^27.0.6" + jest-util "^27.0.6" jsdom "^16.6.0" -jest-environment-node@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.1.tgz#7d7df7ae191477a823ffb4fcc0772b4c23ec5c87" - integrity sha512-/p94lo0hx+hbKUw1opnRFUPPsjncRBEUU+2Dh7BuxX8Nr4rRiTivLYgXzo79FhaeMYV0uiV5WAbHBq6xC11JJg== +jest-environment-node@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.6.tgz#a6699b7ceb52e8d68138b9808b0c404e505f3e07" + integrity sha512-+Vi6yLrPg/qC81jfXx3IBlVnDTI6kmRr08iVa2hFCWmJt4zha0XW7ucQltCAPhSR0FEKEoJ3i+W4E6T0s9is0w== dependencies: - "@jest/environment" "^27.0.1" - "@jest/fake-timers" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" - jest-mock "^27.0.1" - jest-util "^27.0.1" + jest-mock "^27.0.6" + jest-util "^27.0.6" -jest-get-type@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.1.tgz#34951e2b08c8801eb28559d7eb732b04bbcf7815" - integrity sha512-9Tggo9zZbu0sHKebiAijyt1NM77Z0uO4tuWOxUCujAiSeXv30Vb5D4xVF4UR4YWNapcftj+PbByU54lKD7/xMg== +jest-get-type@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.6.tgz#0eb5c7f755854279ce9b68a9f1a4122f69047cfe" + integrity sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg== -jest-haste-map@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.1.tgz#653c4ba59309a86499ad7bf663176e7f97478191" - integrity sha512-ioCuobr4z90H1Pz8+apz2vfz63387apzAoawm/9IIOndarDfRkjLURdLOe//AI5jUQmjVRg+WiL92339kqlCmA== +jest-haste-map@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.6.tgz#4683a4e68f6ecaa74231679dca237279562c8dc7" + integrity sha512-4ldjPXX9h8doB2JlRzg9oAZ2p6/GpQUNAeiYXqcpmrKbP0Qev0wdZlxSMOmz8mPOEnt4h6qIzXFLDi8RScX/1w== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@types/graceful-fs" "^4.1.2" "@types/node" "*" anymatch "^3.0.3" fb-watchman "^2.0.0" graceful-fs "^4.2.4" - jest-regex-util "^27.0.1" - jest-serializer "^27.0.1" - jest-util "^27.0.1" - jest-worker "^27.0.1" + jest-regex-util "^27.0.6" + jest-serializer "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" micromatch "^4.0.4" walker "^1.0.7" optionalDependencies: fsevents "^2.3.2" -jest-jasmine2@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.1.tgz#d975bfe072f3ac3596c0be5fc0a1215fd2e91e77" - integrity sha512-o8Ist0o970QDDm/R2o9UDbvNxq8A0++FTFQ0z9OnieJwS1nDH6H7WBDYAGPTdmnla7kbW41oLFPvhmjJE4mekg== +jest-jasmine2@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.6.tgz#fd509a9ed3d92bd6edb68a779f4738b100655b37" + integrity sha512-cjpH2sBy+t6dvCeKBsHpW41mjHzXgsavaFMp+VWRf0eR4EW8xASk1acqmljFtK2DgyIECMv2yCdY41r2l1+4iA== dependencies: "@babel/traverse" "^7.1.0" - "@jest/environment" "^27.0.1" - "@jest/source-map" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/environment" "^27.0.6" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" chalk "^4.0.0" co "^4.6.0" - expect "^27.0.1" + expect "^27.0.6" is-generator-fn "^2.0.0" - jest-each "^27.0.1" - jest-matcher-utils "^27.0.1" - jest-message-util "^27.0.1" - jest-runtime "^27.0.1" - jest-snapshot "^27.0.1" - jest-util "^27.0.1" - pretty-format "^27.0.1" + jest-each "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" throat "^6.0.1" -jest-leak-detector@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.1.tgz#eedeaee7c0ab553db4d8908f74967329624342b9" - integrity sha512-SQ/lRhfmnV3UuiaKIjwNXCaW2yh1rTMAL4n4Cl4I4gU0X2LoIc6Ogxe4UKM/J6Ld2uzc4gDGVYc5lSdpf6WjYw== +jest-leak-detector@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.6.tgz#545854275f85450d4ef4b8fe305ca2a26450450f" + integrity sha512-2/d6n2wlH5zEcdctX4zdbgX8oM61tb67PQt4Xh8JFAIy6LRKUnX528HulkaG6nD5qDl5vRV1NXejCe1XRCH5gQ== dependencies: - jest-get-type "^27.0.1" - pretty-format "^27.0.1" + jest-get-type "^27.0.6" + pretty-format "^27.0.6" -jest-matcher-utils@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.1.tgz#7a01330786e370f152b0b0159f827293b6322909" - integrity sha512-NauNU+olKhPzLlsRnTOYFGk/MK5QFYl9ZzkrtfsY4eCq4SB3Bcl03UL44VdnlN5S/uFn4H2jwvRY1y6nSDTX3g== +jest-matcher-utils@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.6.tgz#2a8da1e86c620b39459f4352eaa255f0d43e39a9" + integrity sha512-OFgF2VCQx9vdPSYTHWJ9MzFCehs20TsyFi6bIHbk5V1u52zJOnvF0Y/65z3GLZHKRuTgVPY4Z6LVePNahaQ+tA== dependencies: chalk "^4.0.0" - jest-diff "^27.0.1" - jest-get-type "^27.0.1" - pretty-format "^27.0.1" + jest-diff "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.0.6" -jest-message-util@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.1.tgz#382b7c55d8e0b1aba9eeb41d3cfdd34e451210ed" - integrity sha512-w8BfON2GwWORkos8BsxcwwQrLkV2s1ENxSRXK43+6yuquDE2hVxES/jrFqOArpP1ETVqqMmktU6iGkG8ncVzeA== +jest-message-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.6.tgz#158bcdf4785706492d164a39abca6a14da5ab8b5" + integrity sha512-rBxIs2XK7rGy+zGxgi+UJKP6WqQ+KrBbD1YMj517HYN3v2BG66t3Xan3FWqYHKZwjdB700KiAJ+iES9a0M+ixw== dependencies: "@babel/code-frame" "^7.12.13" - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@types/stack-utils" "^2.0.0" chalk "^4.0.0" graceful-fs "^4.2.4" micromatch "^4.0.4" - pretty-format "^27.0.1" + pretty-format "^27.0.6" slash "^3.0.0" stack-utils "^2.0.3" -jest-mock@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.1.tgz#8394e297bc3dfed980961622cb51fd042b4acf5a" - integrity sha512-fXCSZQDT5hUcAUy8OBnB018x7JFOMQnz4XfpSKEbfpWzL6o5qaLRhgf2Qg2NPuVKmC/fgOf33Edj8wjF4I24CQ== +jest-mock@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.6.tgz#0efdd40851398307ba16778728f6d34d583e3467" + integrity sha512-lzBETUoK8cSxts2NYXSBWT+EJNzmUVtVVwS1sU9GwE1DLCfGsngg+ZVSIe0yd0ZSm+y791esiuo+WSwpXJQ5Bw== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@types/node" "*" jest-pnp-resolver@^1.2.2: @@ -2480,74 +2634,76 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== -jest-regex-util@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.1.tgz#69d4b1bf5b690faa3490113c47486ed85dd45b68" - integrity sha512-6nY6QVcpTgEKQy1L41P4pr3aOddneK17kn3HJw6SdwGiKfgCGTvH02hVXL0GU8GEKtPH83eD2DIDgxHXOxVohQ== +jest-regex-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5" + integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ== -jest-resolve-dependencies@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.1.tgz#3dcaeb277e0253747706467e8f05e1e78a1d534d" - integrity sha512-ly1x5mEf21f3IVWbUNwIz/ePLtv4QdhYuQIVSVDqxx7yzAwhhdu0DJo7UNiEYKQY7Im48wfbNdOUpo7euFUXBQ== +jest-resolve-dependencies@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.6.tgz#3e619e0ef391c3ecfcf6ef4056207a3d2be3269f" + integrity sha512-mg9x9DS3BPAREWKCAoyg3QucCr0n6S8HEEsqRCKSPjPcu9HzRILzhdzY3imsLoZWeosEbJZz6TKasveczzpJZA== dependencies: - "@jest/types" "^27.0.1" - jest-regex-util "^27.0.1" - jest-snapshot "^27.0.1" + "@jest/types" "^27.0.6" + jest-regex-util "^27.0.6" + jest-snapshot "^27.0.6" -jest-resolve@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.1.tgz#4e1b76f61c7e2213d2fbd37342800864309de538" - integrity sha512-Q7QQ0OZ7z6D5Dul0MrsexlKalU8ZwexBfHLSu1qYPgphvUm6WO1b/xUnipU3e+uW1riDzMcJeJVYbdQ37hBHeg== +jest-resolve@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.6.tgz#e90f436dd4f8fbf53f58a91c42344864f8e55bff" + integrity sha512-yKmIgw2LgTh7uAJtzv8UFHGF7Dm7XfvOe/LQ3Txv101fLM8cx2h1QVwtSJ51Q/SCxpIiKfVn6G2jYYMDNHZteA== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" chalk "^4.0.0" escalade "^3.1.1" graceful-fs "^4.2.4" jest-pnp-resolver "^1.2.2" - jest-util "^27.0.1" + jest-util "^27.0.6" + jest-validate "^27.0.6" resolve "^1.20.0" slash "^3.0.0" -jest-runner@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.1.tgz#52137173fbf318b7b1f034b81200c2846758f681" - integrity sha512-DUNizlD2D7J80G3VOrwfbtb7KYxiftMng82HNcKwTW0W3AwwNuBeq+1exoCnLO7Mxh7NP+k/1XQBlzLpjr/CnA== +jest-runner@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.6.tgz#1325f45055539222bbc7256a6976e993ad2f9520" + integrity sha512-W3Bz5qAgaSChuivLn+nKOgjqNxM7O/9JOJoKDCqThPIg2sH/d4A/lzyiaFgnb9V1/w29Le11NpzTJSzga1vyYQ== dependencies: - "@jest/console" "^27.0.1" - "@jest/environment" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/console" "^27.0.6" + "@jest/environment" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" chalk "^4.0.0" emittery "^0.8.1" exit "^0.1.2" graceful-fs "^4.2.4" - jest-config "^27.0.1" - jest-docblock "^27.0.1" - jest-haste-map "^27.0.1" - jest-leak-detector "^27.0.1" - jest-message-util "^27.0.1" - jest-resolve "^27.0.1" - jest-runtime "^27.0.1" - jest-util "^27.0.1" - jest-worker "^27.0.1" + jest-docblock "^27.0.6" + jest-environment-jsdom "^27.0.6" + jest-environment-node "^27.0.6" + jest-haste-map "^27.0.6" + jest-leak-detector "^27.0.6" + jest-message-util "^27.0.6" + jest-resolve "^27.0.6" + jest-runtime "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" source-map-support "^0.5.6" throat "^6.0.1" -jest-runtime@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.1.tgz#b71bb8ea189c50525aebb4aba6c524633ca27659" - integrity sha512-ImcrbQtpCUp8X9Rm4ky3j1GG9cqIKZJvXGZyB5cHEapGPTmg7wvvNooLmKragEe61/p/bhw1qO68Y0/9BSsBBg== - dependencies: - "@jest/console" "^27.0.1" - "@jest/environment" "^27.0.1" - "@jest/fake-timers" "^27.0.1" - "@jest/globals" "^27.0.1" - "@jest/source-map" "^27.0.1" - "@jest/test-result" "^27.0.1" - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" +jest-runtime@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.6.tgz#45877cfcd386afdd4f317def551fc369794c27c9" + integrity sha512-BhvHLRVfKibYyqqEFkybsznKwhrsu7AWx2F3y9G9L95VSIN3/ZZ9vBpm/XCS2bS+BWz3sSeNGLzI3TVQ0uL85Q== + dependencies: + "@jest/console" "^27.0.6" + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/globals" "^27.0.6" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" "@types/yargs" "^16.0.0" chalk "^4.0.0" cjs-module-lexer "^1.0.0" @@ -2555,30 +2711,30 @@ jest-runtime@^27.0.1: exit "^0.1.2" glob "^7.1.3" graceful-fs "^4.2.4" - jest-haste-map "^27.0.1" - jest-message-util "^27.0.1" - jest-mock "^27.0.1" - jest-regex-util "^27.0.1" - jest-resolve "^27.0.1" - jest-snapshot "^27.0.1" - jest-util "^27.0.1" - jest-validate "^27.0.1" + jest-haste-map "^27.0.6" + jest-message-util "^27.0.6" + jest-mock "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" slash "^3.0.0" strip-bom "^4.0.0" yargs "^16.0.3" -jest-serializer@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.0.1.tgz#2464d04dcc33fb71dc80b7c82e3c5e8a08cb1020" - integrity sha512-svy//5IH6bfQvAbkAEg1s7xhhgHTtXu0li0I2fdKHDsLP2P2MOiscPQIENQep8oU2g2B3jqLyxKKzotZOz4CwQ== +jest-serializer@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.0.6.tgz#93a6c74e0132b81a2d54623251c46c498bb5bec1" + integrity sha512-PtGdVK9EGC7dsaziskfqaAPib6wTViY3G8E5wz9tLVPhHyiDNTZn/xjZ4khAw+09QkoOVpn7vF5nPSN6dtBexA== dependencies: "@types/node" "*" graceful-fs "^4.2.4" -jest-snapshot@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.1.tgz#01a82d901f260604908373795c9255b032d2a07a" - integrity sha512-HgKmSebDB3rswugREeh+nKrxJEVZE12K7lZ2MuwfFZT6YmiH0TlofsL2YmiLsCsG5KH5ZcLYYpF5bDrvtVx/Xg== +jest-snapshot@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.6.tgz#f4e6b208bd2e92e888344d78f0f650bcff05a4bf" + integrity sha512-NTHaz8He+ATUagUgE7C/UtFcRoHqR2Gc+KDfhQIyx+VFgwbeEMjeP+ILpUTLosZn/ZtbNdCF5LkVnN/l+V751A== dependencies: "@babel/core" "^7.7.2" "@babel/generator" "^7.7.2" @@ -2586,60 +2742,60 @@ jest-snapshot@^27.0.1: "@babel/plugin-syntax-typescript" "^7.7.2" "@babel/traverse" "^7.7.2" "@babel/types" "^7.0.0" - "@jest/transform" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" "@types/babel__traverse" "^7.0.4" "@types/prettier" "^2.1.5" babel-preset-current-node-syntax "^1.0.0" chalk "^4.0.0" - expect "^27.0.1" + expect "^27.0.6" graceful-fs "^4.2.4" - jest-diff "^27.0.1" - jest-get-type "^27.0.1" - jest-haste-map "^27.0.1" - jest-matcher-utils "^27.0.1" - jest-message-util "^27.0.1" - jest-resolve "^27.0.1" - jest-util "^27.0.1" + jest-diff "^27.0.6" + jest-get-type "^27.0.6" + jest-haste-map "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-resolve "^27.0.6" + jest-util "^27.0.6" natural-compare "^1.4.0" - pretty-format "^27.0.1" + pretty-format "^27.0.6" semver "^7.3.2" -jest-util@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.1.tgz#324ed9879d129c1e64f9169a739d6d50d7928769" - integrity sha512-lEw3waSmEOO4ZkwkUlFSvg4es1+8+LIkSGxp/kF60K0+vMR3Dv3O2HMZhcln9NHqSQzpVbsDT6OeMzUPW7DfRg== +jest-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.6.tgz#e8e04eec159de2f4d5f57f795df9cdc091e50297" + integrity sha512-1JjlaIh+C65H/F7D11GNkGDDZtDfMEM8EBXsvd+l/cxtgQ6QhxuloOaiayt89DxUvDarbVhqI98HhgrM1yliFQ== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" "@types/node" "*" chalk "^4.0.0" graceful-fs "^4.2.4" is-ci "^3.0.0" picomatch "^2.2.3" -jest-validate@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.1.tgz#8e43428674b6097f8ee3abe42c4248a4826cd008" - integrity sha512-zvmPRcfTkqTZuHveIKAI2nbkUc3SDXjWVJULknPLGF5bdxOGSeGZg7f/Uw0MUVOkCOaspcHnsPCgZG0pqmg71g== +jest-validate@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.6.tgz#930a527c7a951927df269f43b2dc23262457e2a6" + integrity sha512-yhZZOaMH3Zg6DC83n60pLmdU1DQE46DW+KLozPiPbSbPhlXXaiUTDlhHQhHFpaqIFRrInko1FHXjTRpjWRuWfA== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" camelcase "^6.2.0" chalk "^4.0.0" - jest-get-type "^27.0.1" + jest-get-type "^27.0.6" leven "^3.1.0" - pretty-format "^27.0.1" + pretty-format "^27.0.6" -jest-watcher@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.1.tgz#61b9403d7b498161f6aa6124602363525ac3efc2" - integrity sha512-Chp9c02BN0IgEbtGreyAhGqIsOrn9a0XnzbuXOxdW1+cW0Tjh12hMzHDIdLFHpYP/TqaMTmPHaJ5KWvpCCrNFw== +jest-watcher@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.6.tgz#89526f7f9edf1eac4e4be989bcb6dec6b8878d9c" + integrity sha512-/jIoKBhAP00/iMGnTwUBLgvxkn7vsOweDrOTSPzc7X9uOyUtJIDthQBTI1EXz90bdkrxorUZVhJwiB69gcHtYQ== dependencies: - "@jest/test-result" "^27.0.1" - "@jest/types" "^27.0.1" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" "@types/node" "*" ansi-escapes "^4.2.1" chalk "^4.0.0" - jest-util "^27.0.1" + jest-util "^27.0.6" string-length "^4.0.1" jest-worker@^26.2.1: @@ -2651,23 +2807,23 @@ jest-worker@^26.2.1: merge-stream "^2.0.0" supports-color "^7.0.0" -jest-worker@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.1.tgz#b255fcbb40fb467295010c628474b1185cab4f9e" - integrity sha512-NhHqClI3owOjmS8dBhQMKHZ2rrT0sBTpqGitp9nMX5AAjVXd+15o4v96uBEMhoywaLKN+5opcKBlXwAoADZolA== +jest-worker@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.6.tgz#a5fdb1e14ad34eb228cfe162d9f729cdbfa28aed" + integrity sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA== dependencies: "@types/node" "*" merge-stream "^2.0.0" supports-color "^8.0.0" -jest@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.1.tgz#d3822f0904f3bbe884bea393cede2be2aa290d0e" - integrity sha512-lFEoUdXjbGAIxk/gZhcv98xOaH1hjqG5R/PQHs5GBfIK5iL3tnXCjHQf4HQLVZZ2rcXML3oeVg9+XrRZbooBdQ== +jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.6.tgz#10517b2a628f0409087fbf473db44777d7a04505" + integrity sha512-EjV8aETrsD0wHl7CKMibKwQNQc3gIRBXlTikBmmHUeVMKaPFxdcUIBfoDqTSXDoGJIivAYGqCWVlzCSaVjPQsA== dependencies: - "@jest/core" "^27.0.1" + "@jest/core" "^27.0.6" import-local "^3.0.2" - jest-cli "^27.0.1" + jest-cli "^27.0.6" js-tokens@^4.0.0: version "4.0.0" @@ -2991,12 +3147,12 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= -pretty-format@^27.0.1: - version "27.0.1" - resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.0.1.tgz#c4094621dfbd3e8ab751964d1cf01edc6f88474d" - integrity sha512-qE+0J6c/gd+R6XTcQgPJMc5hMJNsxzSF5p8iZSbMZ7GQzYGlSLNkh2P80Wa2dbF4gEVUsJEgcrBY+1L2/j265w== +pretty-format@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.0.6.tgz#ab770c47b2c6f893a21aefc57b75da63ef49a11f" + integrity sha512-8tGD7gBIENgzqA+UBzObyWqQ5B778VIFZA/S66cclyd5YkFLYs2Js7gxDKf0MXtTc9zcS7t1xhdfcElJ3YIvkQ== dependencies: - "@jest/types" "^27.0.1" + "@jest/types" "^27.0.6" ansi-regex "^5.0.0" ansi-styles "^5.0.0" react-is "^17.0.1" @@ -3420,10 +3576,10 @@ universalify@^0.1.2: resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== -v8-to-istanbul@^7.0.0: - version "7.1.1" - resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-7.1.1.tgz#04bfd1026ba4577de5472df4f5e89af49de5edda" - integrity sha512-p0BB09E5FRjx0ELN6RgusIPsSPhtgexSRcKETybEs6IGOTXJSZqfwxp7r//55nnu0f1AxltY5VvdVqy2vZf9AA== +v8-to-istanbul@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.0.0.tgz#4229f2a99e367f3f018fa1d5c2b8ec684667c69c" + integrity sha512-LkmXi8UUNxnCC+JlH7/fsfsKr5AU110l+SYGJimWNkWhxbN5EyeOtm1MJ0hhvqMMOhGwBj1Fp70Yv9i+hX0QAg== dependencies: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0"