Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-date-object

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-date-object - npm Package Compare versions

Comparing version 1.2.6 to 1.3.0

2

dist/index.js

@@ -1,1 +0,1 @@

"use strict";function e(a){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function a(t){return(a="function"==typeof Symbol&&"symbol"==e(Symbol.iterator)?function(a){return e(a)}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":e(a)})(t)}function t(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function s(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function n(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?s(Object(n),!0).forEach((function(a){t(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function l(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],s=!0,n=!1,l=void 0;try{for(var o,r=e[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!a||t.length!==a);s=!0);}catch(e){n=!0,l=e}finally{try{s||null==r.return||r.return()}finally{if(n)throw l}}return t}}(e,a)||o(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,a){if(e){if("string"==typeof e)return r(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,a):void 0}}function r(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,s=new Array(a);t<a;t++)s[t]=e[t];return s}function h(e,a){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=o(e))||a&&e&&"number"==typeof e.length){t&&(e=t);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}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 l,r=!0,h=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return r=e.done,e},e:function(e){h=!0,l=e},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw l}}}}function i(e,a){var t=a.get(e);if(!t)throw new TypeError("attempted to get private field on non-instance");return t.get?t.get.call(e):t.value}function c(e,a,t){var s=a.get(e);if(!s)throw new TypeError("attempted to set private field on non-instance");if(s.set)s.set.call(e,t);else{if(!s.writable)throw new TypeError("attempted to set read only private field");s.value=t}return t}Object.defineProperty(exports,"__esModule",{value:!0});var m=new WeakMap,u=new WeakMap,N=new WeakMap,f=new WeakMap,d=new WeakMap,y=new WeakMap,A=new WeakMap,g=new WeakMap,v=new WeakMap,I=new WeakMap,b=new WeakMap,p=new WeakMap,k=new WeakMap,w=new WeakMap,R=new WeakMap,E=new WeakMap,D=new WeakMap,F=new WeakMap,M=new WeakMap,H=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,W=new WeakMap,Y=new WeakMap,L=new WeakMap,C=function(){function e(a){var s,l,o,r,h,C,j,P,G,B,T,J,U,V,z,K,_,$,Q,Z,q,X,ee,ae,te,se,ne,le,oe,re,he,ie,ce,me,ue,Ne,fe,de,ye,Ae,ge,ve,Ie,be,pe,ke,we,Re,Ee,De,Fe,Me,He,Se,Oe,xe,We,Ye,Le,Ce,je,Pe,Ge,Be,Te,Je,Ue,Ve,ze,Ke,_e,$e,Qe,Ze,qe,Xe,ea,aa,ta,sa,na,la,oa=this;!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),m.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:e.locales.EN}),I.set(this,{writable:!0,value:e.calendars.GREGORIAN}),b.set(this,{writable:!0,value:!1}),p.set(this,{writable:!0,value:[]}),k.set(this,{writable:!0,value:{}}),w.set(this,{writable:!0,value:/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$/}),R.set(this,{writable:!0,value:[]}),E.set(this,{writable:!0,value:{YYYY:function(e){return c(oa,m,i(oa,L).call(oa,e))},YY:function(a){switch(i(oa,I)){case e.calendars.PERSIAN:a="13"+a;break;case e.calendars.ARABIC:a="14"+a;break;default:a="20"+a}c(oa,m,i(oa,L).call(oa,a))},MMMM:function(e){return c(oa,u,oa.months.findIndex((function(a){return e.toLowerCase()===a.name.toLowerCase()})))},MMM:function(e){return c(oa,u,oa.months.findIndex((function(a){return e.toLowerCase()===a.shortName.toLowerCase()})))},MM:function(e){return c(oa,u,i(oa,L).call(oa,e)-1)},M:function(e){return c(oa,u,i(oa,L).call(oa,e)-1)},DD:function(e){return c(oa,N,i(oa,L).call(oa,e))},D:function(e){return c(oa,N,i(oa,L).call(oa,e))},HH:function(e){return c(oa,f,i(oa,L).call(oa,e))},H:function(e){return c(oa,f,i(oa,L).call(oa,e))},hh:function(e){var a=i(oa,L).call(oa,e);c(oa,f,a>12?a-12:a)},h:function(e){var a=i(oa,L).call(oa,e);c(oa,f,a>12?a-12:a)},mm:function(e){return c(oa,d,i(oa,L).call(oa,e))},m:function(e){return c(oa,d,i(oa,L).call(oa,e))},ss:function(e){return c(oa,y,i(oa,L).call(oa,e))},s:function(e){return c(oa,y,i(oa,L).call(oa,e))},SSS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},SS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},S:function(e){return oa.millisecond=i(oa,L).call(oa,e)}}}),D.set(this,{writable:!0,value:(Ee={},t(Ee,e.calendars.GREGORIAN,[{length:31,locales:(s={},t(s,e.locales.EN,{name:"January",shortName:"Jan"}),t(s,e.locales.FA,{name:"ژانویه",shortName:"ژان"}),t(s,e.locales.AR,{name:"يناير",shortName:"ينا"}),t(s,e.locales.HI,{name:"जनवरी",shortName:"जन"}),s)},{length:void 0,locales:(l={},t(l,e.locales.EN,{name:"February",shortName:"Feb"}),t(l,e.locales.FA,{name:"فوریه",shortName:"فور"}),t(l,e.locales.AR,{name:"فبراير",shortName:"فبر"}),t(l,e.locales.HI,{name:"फ़रवरी",shortName:"फ़र"}),l)},{length:31,locales:(o={},t(o,e.locales.EN,{name:"March",shortName:"Mar"}),t(o,e.locales.FA,{name:"مارس",shortName:"ما"}),t(o,e.locales.AR,{name:"مارس",shortName:"ما"}),t(o,e.locales.HI,{name:"मार्च",shortName:"मार्च"}),o)},{length:30,locales:(r={},t(r,e.locales.EN,{name:"April",shortName:"Apr"}),t(r,e.locales.FA,{name:"آوریل",shortName:"آور"}),t(r,e.locales.AR,{name:"إبريل",shortName:"إبر"}),t(r,e.locales.HI,{name:"अप्रैल",shortName:"अप्रैल"}),r)},{length:31,locales:(h={},t(h,e.locales.EN,{name:"May",shortName:"May"}),t(h,e.locales.FA,{name:"مه",shortName:"مه"}),t(h,e.locales.AR,{name:"مايو",shortName:"ما"}),t(h,e.locales.HI,{name:"मई",shortName:"मई"}),h)},{length:30,locales:(C={},t(C,e.locales.EN,{name:"June",shortName:"Jun"}),t(C,e.locales.FA,{name:"ژوئن",shortName:"ژو"}),t(C,e.locales.AR,{name:"يونيو",shortName:"يو"}),t(C,e.locales.HI,{name:"जून",shortName:"जून"}),C)},{length:31,locales:(j={},t(j,e.locales.EN,{name:"July",shortName:"Jul"}),t(j,e.locales.FA,{name:"ژوئیه",shortName:"ژوئیه"}),t(j,e.locales.AR,{name:"يوليو",shortName:"يوليو"}),t(j,e.locales.HI,{name:"जुलाई",shortName:"जुल"}),j)},{length:31,locales:(P={},t(P,e.locales.EN,{name:"August",shortName:"Aug"}),t(P,e.locales.FA,{name:"اوت",shortName:"اوت"}),t(P,e.locales.AR,{name:"أغسطس",shortName:"أغس"}),t(P,e.locales.HI,{name:"अगस्त",shortName:"अग"}),P)},{length:30,locales:(G={},t(G,e.locales.EN,{name:"September",shortName:"Sep"}),t(G,e.locales.FA,{name:"سپتامبر",shortName:"سپ"}),t(G,e.locales.AR,{name:"سبتمبر",shortName:"سب"}),t(G,e.locales.HI,{name:"सितंबर",shortName:"सित"}),G)},{length:31,locales:(B={},t(B,e.locales.EN,{name:"October",shortName:"Oct"}),t(B,e.locales.FA,{name:"اکتبر",shortName:"اک"}),t(B,e.locales.AR,{name:"أكتوبر",shortName:"اک"}),t(B,e.locales.HI,{name:"अक्तूबर",shortName:"अक्तू"}),B)},{length:30,locales:(T={},t(T,e.locales.EN,{name:"November",shortName:"Nov"}),t(T,e.locales.FA,{name:"نوامبر",shortName:"نو"}),t(T,e.locales.AR,{name:"نوفمبر",shortName:"نو"}),t(T,e.locales.HI,{name:"नवंबर",shortName:"नव"}),T)},{length:31,locales:(J={},t(J,e.locales.EN,{name:"December",shortName:"Dec"}),t(J,e.locales.FA,{name:"دسامبر",shortName:"دس"}),t(J,e.locales.AR,{name:"ديسمبر",shortName:"دس"}),t(J,e.locales.HI,{name:"दिसंबर",shortName:"दिस"}),J)}]),t(Ee,e.calendars.PERSIAN,[{length:31,locales:(U={},t(U,e.locales.EN,{name:"Farvardin",shortName:"Far"}),t(U,e.locales.FA,{name:"فروردین",shortName:"فر"}),t(U,e.locales.AR,{name:"فروردین",shortName:"فر"}),t(U,e.locales.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),U)},{length:31,locales:(V={},t(V,e.locales.EN,{name:"Ordibehesht",shortName:"Ord"}),t(V,e.locales.FA,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.AR,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),V)},{length:31,locales:(z={},t(z,e.locales.EN,{name:"Khordad",shortName:"Kho"}),t(z,e.locales.FA,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.AR,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),z)},{length:31,locales:(K={},t(K,e.locales.EN,{name:"Tir",shortName:"Tir"}),t(K,e.locales.FA,{name:"تیر",shortName:"تیر"}),t(K,e.locales.AR,{name:"تیر",shortName:"تیر"}),t(K,e.locales.HI,{name:"टिर",shortName:"टिर"}),K)},{length:31,locales:(_={},t(_,e.locales.EN,{name:"Mordad",shortName:"Mor"}),t(_,e.locales.FA,{name:"مرداد",shortName:"مر"}),t(_,e.locales.AR,{name:"مرداد",shortName:"مر"}),t(_,e.locales.HI,{name:"मोरदाद",shortName:"मोरदाद"}),_)},{length:31,locales:($={},t($,e.locales.EN,{name:"Shahrivar",shortName:"Sha"}),t($,e.locales.FA,{name:"شهریور",shortName:"شه"}),t($,e.locales.AR,{name:"شهریور",shortName:"شه"}),t($,e.locales.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),$)},{length:30,locales:(Q={},t(Q,e.locales.EN,{name:"Mehr",shortName:"Meh"}),t(Q,e.locales.FA,{name:"مهر",shortName:"مه"}),t(Q,e.locales.AR,{name:"مهر",shortName:"مه"}),t(Q,e.locales.HI,{name:"मेहर",shortName:"मेहर"}),Q)},{length:30,locales:(Z={},t(Z,e.locales.EN,{name:"Aban",shortName:"Aba"}),t(Z,e.locales.FA,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.AR,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.HI,{name:"अवन",shortName:"अवन"}),Z)},{length:30,locales:(q={},t(q,e.locales.EN,{name:"Azar",shortName:"Aza"}),t(q,e.locales.FA,{name:"آذر",shortName:"آذ"}),t(q,e.locales.AR,{name:"آذر",shortName:"آذ"}),t(q,e.locales.HI,{name:"अज़र",shortName:"अज़र"}),q)},{length:30,locales:(X={},t(X,e.locales.EN,{name:"Dey",shortName:"Dey"}),t(X,e.locales.FA,{name:"دی",shortName:"دی"}),t(X,e.locales.AR,{name:"دی",shortName:"دی"}),t(X,e.locales.HI,{name:"डे",shortName:"डे"}),X)},{length:30,locales:(ee={},t(ee,e.locales.EN,{name:"Bahman",shortName:"Bah"}),t(ee,e.locales.FA,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.AR,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.HI,{name:"बहमन",shortName:"बहमन"}),ee)},{length:void 0,locales:(ae={},t(ae,e.locales.EN,{name:"Esfand",shortName:"Esf"}),t(ae,e.locales.FA,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.AR,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),ae)}]),t(Ee,e.calendars.ARABIC,[{length:30,locales:(te={},t(te,e.locales.AR,{name:"محرم",shortName:"محرم"}),t(te,e.locales.EN,{name:"Muharram",shortName:"Mu"}),t(te,e.locales.FA,{name:"محرم",shortName:"محرم"}),t(te,e.locales.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),te)},{length:29,locales:(se={},t(se,e.locales.AR,{name:"صفر",shortName:"صفر"}),t(se,e.locales.EN,{name:"Safar",shortName:"Sa"}),t(se,e.locales.FA,{name:"صفر",shortName:"صفر"}),t(se,e.locales.HI,{name:"सफर",shortName:"सफर"}),se)},{length:30,locales:(ne={},t(ne,e.locales.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),t(ne,e.locales.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ne)},{length:29,locales:(le={},t(le,e.locales.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),t(le,e.locales.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),le)},{length:30,locales:(oe={},t(oe,e.locales.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.EN,{name:"Jumada l-Ula",shortName:"JI"}),t(oe,e.locales.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),oe)},{length:29,locales:(re={},t(re,e.locales.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.EN,{name:"Jumada t-Tania",shortName:"JII"}),t(re,e.locales.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),re)},{length:30,locales:(he={},t(he,e.locales.AR,{name:"رجب",shortName:"رجب"}),t(he,e.locales.EN,{name:"Rajab",shortName:"Ra"}),t(he,e.locales.FA,{name:"رجب",shortName:"رجب"}),t(he,e.locales.HI,{name:"रजब",shortName:"रजब"}),he)},{length:29,locales:(ie={},t(ie,e.locales.AR,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.EN,{name:"Sha`ban",shortName:"Sh"}),t(ie,e.locales.FA,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.HI,{name:"शावन",shortName:"शावन"}),ie)},{length:30,locales:(ce={},t(ce,e.locales.AR,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.EN,{name:"Ramadan",shortName:"Ra"}),t(ce,e.locales.FA,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.HI,{name:"रमजान",shortName:"रमजान"}),ce)},{length:29,locales:(me={},t(me,e.locales.AR,{name:"شوال",shortName:"شوال"}),t(me,e.locales.EN,{name:"Shawwal",shortName:"Sh"}),t(me,e.locales.FA,{name:"شوال",shortName:"شوال"}),t(me,e.locales.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),me)},{length:30,locales:(ue={},t(ue,e.locales.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),t(ue,e.locales.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),t(ue,e.locales.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ue)},{length:void 0,locales:(Ne={},t(Ne,e.locales.AR,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),t(Ne,e.locales.FA,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),Ne)}]),t(Ee,e.calendars.INDIAN,[{length:void 0,locales:(fe={},t(fe,e.locales.EN,{name:"Chaitra",shortName:"Cha"}),t(fe,e.locales.FA,{name:"چیتره",shortName:"چیت"}),t(fe,e.locales.AR,{name:"شيترا",shortName:"شیت"}),t(fe,e.locales.HI,{name:"चैत्र",shortName:"चैत्र"}),fe)},{length:31,locales:(de={},t(de,e.locales.EN,{name:"Vaishakh",shortName:"Vai"}),t(de,e.locales.FA,{name:"ویشاکهه",shortName:"ویش"}),t(de,e.locales.AR,{name:"فيشاخ",shortName:"فیش"}),t(de,e.locales.HI,{name:"वैशाख",shortName:"वैशाख"}),de)},{length:31,locales:(ye={},t(ye,e.locales.EN,{name:"Jyaishtha",shortName:"Jya"}),t(ye,e.locales.FA,{name:"جییشته",shortName:"جیش"}),t(ye,e.locales.AR,{name:"جیشتا",shortName:"جیش"}),t(ye,e.locales.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),ye)},{length:31,locales:(Ae={},t(Ae,e.locales.EN,{name:"Ashadha",shortName:"Ash"}),t(Ae,e.locales.FA,{name:"آشادهه",shortName:"آشا"}),t(Ae,e.locales.AR,{name:"أشاد",shortName:"أشا"}),t(Ae,e.locales.HI,{name:"आषाढ़",shortName:"आषाढ़"}),Ae)},{length:31,locales:(ge={},t(ge,e.locales.EN,{name:"Shravana",shortName:"Shr"}),t(ge,e.locales.FA,{name:"شراونه",shortName:"شرا"}),t(ge,e.locales.AR,{name:"شرافان",shortName:"شرا"}),t(ge,e.locales.HI,{name:"श्रावण",shortName:"श्रावण"}),ge)},{length:31,locales:(ve={},t(ve,e.locales.EN,{name:"Bhadrapad",shortName:"Bha"}),t(ve,e.locales.FA,{name:"بهادره",shortName:"بها"}),t(ve,e.locales.AR,{name:"بهادرابادا",shortName:"بها"}),t(ve,e.locales.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),ve)},{length:30,locales:(Ie={},t(Ie,e.locales.EN,{name:"Ashwin",shortName:"Ash"}),t(Ie,e.locales.FA,{name:"آشوین",shortName:"آشو"}),t(Ie,e.locales.AR,{name:"اشوين",shortName:"اشو"}),t(Ie,e.locales.HI,{name:"आश्विन",shortName:"आश्विन"}),Ie)},{length:30,locales:(be={},t(be,e.locales.EN,{name:"Kartik",shortName:"Kar"}),t(be,e.locales.FA,{name:"کارتیکه",shortName:"کار"}),t(be,e.locales.AR,{name:"كارتيك",shortName:"کار"}),t(be,e.locales.HI,{name:"कार्तिक",shortName:"कार्तिक"}),be)},{length:30,locales:(pe={},t(pe,e.locales.EN,{name:"Agrahayana",shortName:"Agr"}),t(pe,e.locales.FA,{name:"اگرهینه",shortName:"اگر"}),t(pe,e.locales.AR,{name:"أجراهيان",shortName:"اجر"}),t(pe,e.locales.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),pe)},{length:30,locales:(ke={},t(ke,e.locales.EN,{name:"Paush",shortName:"Pau"}),t(ke,e.locales.FA,{name:"پاوشه",shortName:"پاو"}),t(ke,e.locales.AR,{name:"بوش",shortName:"بوش"}),t(ke,e.locales.HI,{name:"पौष",shortName:"पौष"}),ke)},{length:30,locales:(we={},t(we,e.locales.EN,{name:"Magh",shortName:"Mag"}),t(we,e.locales.FA,{name:"ماگهه",shortName:"ماگ"}),t(we,e.locales.AR,{name:"ماک",shortName:"ماک"}),t(we,e.locales.HI,{name:"माघ",shortName:"माघ"}),we)},{length:30,locales:(Re={},t(Re,e.locales.EN,{name:"Phalgun",shortName:"Pha"}),t(Re,e.locales.FA,{name:"پهالگونه",shortName:"پها"}),t(Re,e.locales.AR,{name:"فالغون",shortName:"فال"}),t(Re,e.locales.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),Re)}]),Ee)}),F.set(this,{writable:!0,value:(aa={},t(aa,e.calendars.GREGORIAN,[{index:0,locales:(De={},t(De,e.locales.EN,{name:"Sunday",shortName:"Sun"}),t(De,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(De,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(De,e.locales.HI,{name:"रविवार",shortName:"रवि"}),De)},{index:1,locales:(Fe={},t(Fe,e.locales.EN,{name:"Monday",shortName:"Mon"}),t(Fe,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Fe,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Fe,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Fe)},{index:2,locales:(Me={},t(Me,e.locales.EN,{name:"Tuesday",shortName:"Tue"}),t(Me,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Me,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(Me,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Me)},{index:3,locales:(He={},t(He,e.locales.EN,{name:"Wednesday",shortName:"Wed"}),t(He,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(He,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(He,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),He)},{index:4,locales:(Se={},t(Se,e.locales.EN,{name:"Thursday",shortName:"Thu"}),t(Se,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(Se,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Se,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Se)},{index:5,locales:(Oe={},t(Oe,e.locales.EN,{name:"Friday",shortName:"Fri"}),t(Oe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Oe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Oe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Oe)},{index:6,locales:(xe={},t(xe,e.locales.EN,{name:"Saturday",shortName:"Sat"}),t(xe,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(xe,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(xe,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),xe)}]),t(aa,e.calendars.PERSIAN,[{index:1,locales:(We={},t(We,e.locales.EN,{name:"YekShanbeh",shortName:"Yek"}),t(We,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(We,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(We,e.locales.HI,{name:"रविवार",shortName:"रवि"}),We)},{index:2,locales:(Ye={},t(Ye,e.locales.EN,{name:"Doshanbeh",shortName:"Do"}),t(Ye,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Ye,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Ye,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Ye)},{index:3,locales:(Le={},t(Le,e.locales.EN,{name:"Seshanbeh",shortName:"Se"}),t(Le,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Le,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(Le,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Le)},{index:4,locales:(Ce={},t(Ce,e.locales.EN,{name:"Chaharshanbeh",shortName:"Cha"}),t(Ce,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Ce,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Ce,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ce)},{index:5,locales:(je={},t(je,e.locales.EN,{name:"Panjshanbeh",shortName:"Pan"}),t(je,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(je,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(je,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),je)},{index:6,locales:(Pe={},t(Pe,e.locales.EN,{name:"Jom'eh",shortName:"Jom"}),t(Pe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Pe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Pe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Pe)},{index:0,locales:(Ge={},t(Ge,e.locales.EN,{name:"Shanbeh",shortName:"Sha"}),t(Ge,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ge,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(Ge,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ge)}]),t(aa,e.calendars.ARABIC,[{index:1,locales:(Be={},t(Be,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(Be,e.locales.EN,{name:"al-'ahad",shortName:"Aha"}),t(Be,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(Be,e.locales.HI,{name:"रविवार",shortName:"रवि"}),Be)},{index:2,locales:(Te={},t(Te,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Te,e.locales.EN,{name:"al-'ithnayn",shortName:"Ith"}),t(Te,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Te,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Te)},{index:3,locales:(Je={},t(Je,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Je,e.locales.EN,{name:"ath-thalatha",shortName:"Tha"}),t(Je,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Je,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Je)},{index:4,locales:(Ue={},t(Ue,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ue,e.locales.EN,{name:"al-'arb`a'",shortName:"Arb"}),t(Ue,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ue,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ue)},{index:5,locales:(Ve={},t(Ve,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Ve,e.locales.EN,{name:"al-khamis",shortName:"Kha"}),t(Ve,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(Ve,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Ve)},{index:6,locales:(ze={},t(ze,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(ze,e.locales.EN,{name:"al-jum`a",shortName:"Jum"}),t(ze,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(ze,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),ze)},{index:0,locales:(Ke={},t(Ke,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(Ke,e.locales.EN,{name:"as-sabt",shortName:"Sab"}),t(Ke,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ke,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ke)}]),t(aa,e.calendars.INDIAN,[{index:0,locales:(_e={},t(_e,e.locales.EN,{name:"Ravivara",shortName:"Rav"}),t(_e,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(_e,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(_e,e.locales.HI,{name:"रविवार",shortName:"रवि"}),_e)},{index:1,locales:($e={},t($e,e.locales.EN,{name:"Somavara",shortName:"Som"}),t($e,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t($e,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t($e,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),$e)},{index:2,locales:(Qe={},t(Qe,e.locales.EN,{name:"Mangalavara",shortName:"Man"}),t(Qe,e.locales.FA,{name:"سه شنبه\t",shortName:"سه"}),t(Qe,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Qe,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Qe)},{index:3,locales:(Ze={},t(Ze,e.locales.EN,{name:"Budhavara",shortName:"Bud"}),t(Ze,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ze,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ze,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ze)},{index:4,locales:(qe={},t(qe,e.locales.EN,{name:"Brihaspatvara",shortName:"Bri"}),t(qe,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(qe,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(qe,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),qe)},{index:5,locales:(Xe={},t(Xe,e.locales.EN,{name:"Sukravara",shortName:"Suk"}),t(Xe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Xe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Xe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Xe)},{index:6,locales:(ea={},t(ea,e.locales.EN,{name:"Sanivara",shortName:"San"}),t(ea,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(ea,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(ea,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),ea)}]),aa)}),M.set(this,{writable:!0,value:(ta={},t(ta,e.locales.EN,["0","1","2","3","4","5","6","7","8","9"]),t(ta,e.locales.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),t(ta,e.locales.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),t(ta,e.locales.HI,["०","१","२","३","४","५","६","७","८","९"]),ta)}),H.set(this,{writable:!0,value:(sa={},t(sa,e.locales.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),t(sa,e.locales.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),t(sa,e.locales.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),t(sa,e.locales.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),sa)}),S.set(this,{writable:!0,value:(na={},t(na,e.calendars.GREGORIAN,1721424),t(na,e.calendars.PERSIAN,1948319),t(na,e.calendars.ARABIC,1948438),t(na,e.calendars.INDIAN,1749628),t(na,"unix",2440587),na)}),O.set(this,{writable:!0,value:(la={},t(la,e.calendars.GREGORIAN,365),t(la,e.calendars.PERSIAN,365),t(la,e.calendars.ARABIC,354),t(la,e.calendars.INDIAN,365),la)}),x.set(this,{writable:!0,value:function(){var a=function(){for(var a=!1;i(oa,u)<0;)c(oa,u,i(oa,u)+12),c(oa,m,i(oa,m)-1),0===i(oa,m)&&oa.calendar!==e.calendars.INDIAN&&c(oa,m,-1),a=!0;for(;i(oa,u)>11;)c(oa,u,i(oa,u)-12),c(oa,m,i(oa,m)+1),0===i(oa,m)&&oa.calendar!==e.calendars.INDIAN&&c(oa,m,1),a=!0;a&&i(oa,W).call(oa)};if(oa.isValid){for(;i(oa,A)>=1e3;)c(oa,A,i(oa,A)-1e3),c(oa,y,i(oa,y)+1);for(;i(oa,A)<0;)c(oa,A,i(oa,A)+1e3),c(oa,y,i(oa,y)-1);for(;i(oa,y)>=60;)c(oa,y,i(oa,y)-60),c(oa,d,i(oa,d)+1);for(;i(oa,y)<0;)c(oa,y,i(oa,y)+60),c(oa,d,i(oa,d)-1);for(;i(oa,d)>=60;)c(oa,d,i(oa,d)-60),c(oa,f,i(oa,f)+1);for(;i(oa,d)<0;)c(oa,d,i(oa,d)+60),c(oa,f,i(oa,f)-1);for(;i(oa,f)>=24;)c(oa,f,i(oa,f)-24),c(oa,N,i(oa,N)+1);for(;i(oa,f)<0;)c(oa,f,i(oa,f)+24),c(oa,N,i(oa,N)-1);for(;;){for((i(oa,u)<0||i(oa,u)>11)&&a();i(oa,N)<1;)c(oa,u,i(oa,u)-1),a(),c(oa,N,oa.month.length+i(oa,N));if(i(oa,N)<=oa.month.length||isNaN(i(oa,N)))break;c(oa,N,i(oa,N)-oa.month.length),c(oa,u,+i(oa,u)+1)}i(oa,f)||c(oa,f,0),i(oa,d)||c(oa,d,0),i(oa,y)||c(oa,y,0),i(oa,A)||c(oa,A,0)}}}),W.set(this,{writable:!0,value:function(){if(0!==i(oa,m)||i(oa,I)===e.calendars.INDIAN){var a=void 0;a=i(oa,I)!==e.calendars.INDIAN?i(oa,m)>0?1:-1:0;var t=function(){return i(oa,m)>0?a<=i(oa,m):i(oa,m)<=a},s=function(){return i(oa,m)>0?a++:a--},n=function(e){return e%4==0&&e%100!=0||e%400==0};switch(c(oa,p,[]),i(oa,I)){case e.calendars.PERSIAN:for(var l=.242362,o=i(oa,m)>0?.2684:.7316,r={5:4,38:37,199:198,232:231,265:264,298:297,557:558,590:591,623:624,982:983,1015:1016,1048:1049,1081:1082,1114:1115,1242:1243,1374:1375,1407:1408,1440:1441,1506:1507,1539:1540,1572:1573,1605:1606,1931:1932,1964:1965,2063:2064,2096:2097,2687:2686,2720:2719,2753:2752,2819:2818,2852:2851,2885:2884,3017:3016,3112:3111,3145:3144,3178:3177,3211:3210,3244:3243,3277:3276,3310:3309,3343:3342,3376:3375,3409:3408,3442:3441,3508:3507,3541:3540,3574:3573,3603:3602,3607:3606,3636:3635,3669:3668,3702:3701,3706:3705,3735:3734,3768:3767,3801:3800,3834:3833,3867:3866,3900:3899,3933:3932,3966:3965,3999:3998,4065:4064,4094:4093,4098:4097,4127:4126,4131:4130,4160:4159,4193:4192,4226:4225,4259:4258,4292:4291,4325:4324,4358:4357,4391:4390,4585:4584,4618:4617,4651:4650,4750:4749,4943:4944,4976:4977,5009:5010,5170:5171,5203:5204,5236:5237,5265:5266,5269:5270,5298:5299,5302:5303,5331:5332,5335:5336,5364:5365,5368:5369,5393:5394,5397:5398,5401:5402,5426:5427,5430:5431,5434:5435,5459:5460,5463:5464,5467:5468,5492:5493,5496:5497,5500:5501,5521:5522,5525:5526,5529:5530,5554:5555,5558:5559,5562:5563,5587:5588,5591:5592,5595:5596,5616:5617,5620:5621,5624:5625,5628:5629,5649:5650,5653:5654,5657:5658,5661:5662,5682:5683,5686:5687,5690:5691,5694:5695,5715:5716,5719:5720,5723:5724,5727:5728,5744:5745,5748:5749,5752:5753,5756:5757,5760:5761,5777:5778,5781:5782,5785:5786,5789:5790,5793:5794,5810:5811,5814:5815,5818:5819,5822:5823,5826:5827,5839:5840,5843:5844,5847:5848,5851:5852,5855:5856,5859:5860,5872:5873,5876:5877,5880:5881,5884:5885,5888:5889,5892:5893,5901:5902,5905:5906,5909:5910,5913:5914,5917:5918,5921:5922,5925:5926,5934:5935,5938:5939,5942:5943,5946:5947,5950:5951,5954:5955,5958:5959,5967:5968,5971:5972,5975:5976,5979:5980,5983:5984,5987:5988,5991:5992,5996:5997,6e3:6001,6004:6005,6008:6009,6012:6013,6016:6017,6020:6021,6029:6030,6033:6034,6037:6038,6041:6042,6045:6046,6049:6050,6053:6054,6058:6059,6062:6063,6066:6067,6070:6071,6074:6075,6078:6079,6082:6083,6086:6087,6091:6092,6095:6096,6099:6100,6103:6104,6107:6108,6111:6112,6115:6116,6119:6120,6124:6125,6128:6129,6132:6133,6136:6137,6140:6141,6144:6145,6148:6149,6152:6154,6157:6158,6161:6162,6165:6166,6169:6170,6173:6174,6177:6178,6181:6182,6185:6187,6190:6191,6194:6195,6198:6199,6202:6203,6206:6207,6210:6211,6214:6215,6218:6220,6223:6224,6227:6228,6231:6232,6235:6236,6239:6240,6243:6244,6247:6249,6251:6253,6256:6257,6260:6261,6264:6265,6268:6269,6272:6273,6276:6277,6280:6282,6284:6286,6289:6290,6293:6294,6297:6298,6301:6302,6305:6306,6309:6310,6313:6315,6317:6319,6322:6323,6326:6327,6330:6331,6334:6335,6338:6339,6342:6344,6346:6348,6350:6352,6355:6356,6359:6360,6363:6364,6367:6368,6371:6372,6375:6377,6379:6381,6383:6385,6388:6389,6392:6393,6396:6397,6400:6401,6404:6406,6408:6410,6412:6414,6416:6418,6421:6422,6425:6426,6429:6430,6433:6434,6437:6439,6441:6443,6445:6447,6449:6451,6454:6455,6458:6459,6462:6463,6466:6468,6470:6472,6474:6476,6478:6480,6482:6484,6487:6488,6491:6492,6495:6496};t();){if((o+=i(oa,m)>0?l:-1*l)>1&&(o-=1),o<0&&(o+=1),o>=.257800926&&o<=.5){var h=r[a]||a<-1?a+1:a;i(oa,m)>0&&h<=i(oa,m)&&i(oa,p).push(h),i(oa,m)<0&&i(oa,p).push(h)}s()}break;case e.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(a%30)&&i(oa,p).push(a),s();break;case e.calendars.INDIAN:for(;t();)n(a+78)&&i(oa,p).push(a),s();break;default:for(;t();)n(a)&&i(oa,p).push(a),s()}}}}),Y.set(this,{writable:!0,value:function(a,t){var s=void 0;switch(t){case e.calendars.PERSIAN:s=~~((a+.5)/365.241);break;case e.calendars.ARABIC:s=~~((a-.5)/354.366);break;default:s=~~(a/365.24)}return s+(i(oa,m)>0?1:-1)}}),L.set(this,{writable:!0,value:function(e){if(!isNaN(e))return parseInt(e)}});var ra=a&&a.constructor===Object?n({},a):a;ra&&"boolean"!=typeof ra||(ra={date:new Date}),(ra instanceof Date||ra instanceof e||"string"==typeof ra||"number"==typeof ra)&&(ra={date:ra}),ra.calendar&&(ra.calendar=e.calendars[ra.calendar.toUpperCase()]||e.calendars.GREGORIAN,c(this,I,ra.calendar));var ha=!0,ia=Object.keys(ra).filter((function(e){return ra[e]||0===ra[e]})),ca=ia.length>0&&ia.length<=4&&ia.every((function(e){return["calendar","locale","format","ignoreList"].includes(e)}));for(var ma in ca&&(ra.date=new Date),(ra.date instanceof e||ra.date instanceof Date||"number"==typeof ra.date||"string"==typeof ra.date)&&("string"==typeof ra.date&&ra.format&&c(this,g,ra.format),this.setDate(ra.date),ra.calendar&&this.convert(ra.calendar),ha=!1),ra.locale&&(ra.locale=e.locales[ra.locale.toUpperCase()]||e.locales.EN,c(this,v,ra.locale)),delete ra.calendar,delete ra.locale,delete ra.date,ra)this.set(ma,ra[ma]);0===i(this,m)&&i(this,I)!==e.calendars.INDIAN&&c(this,m,-1),ha&&(i(this,W).call(this),i(this,x).call(this))}var s;return(s=[{key:"parse",value:function(a){if(!a)return this;var t=i(this,g);if(i(this,v)!==e.locales.en){var s,n=i(this,M)[i(this,v)],o=h(n);try{for(o.s();!(s=o.n()).done;){var r=s.value;a=a.replace(new RegExp(r,"g"),n.indexOf(r))}}catch(a){o.e(a)}finally{o.f()}}if(t)for(var I=t.split(/[^\w\u0600-\u06FF]/),b=a.split(/[^\w\u0600-\u06FF]/),p=0;p<I.length;p++){var k=i(this,E)[I[p]];k&&b[p]&&k(b[p])}else{var w=l(a.match(/(-?\d{2,4})?\W?([A-z]{3,9}|\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,3})?\W?(am|pm)?/),9),R=w[1],D=w[2],F=w[3],S=w[4],O=w[5],Y=w[6],C=w[7],j=w[8];D&&(D=/\d+/.test(D)?i(this,L).call(this,D)-1:this.months.findIndex((function(e){return new RegExp(D,"i").test(e.name)}))),c(this,m,i(this,L).call(this,R)),c(this,u,i(this,L).call(this,D)),c(this,N,i(this,L).call(this,F)),c(this,f,i(this,L).call(this,S)),c(this,d,i(this,L).call(this,O)),c(this,y,i(this,L).call(this,Y)),c(this,A,i(this,L).call(this,C)),j&&"pm"===j&&i(this,f)<12&&c(this,f,i(this,f)+12)}return a.includes(i(this,H)[i(this,v)][1].shortName)&&i(this,f)<12&&c(this,f,i(this,f)+12),a.includes(i(this,H)[i(this,v)][1].name)&&i(this,f)<12&&c(this,f,i(this,f)+12),i(this,W).call(this),i(this,x).call(this),this}},{key:"convert",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.calendars.GREGORIAN;if(!(a=e.calendars[a.toUpperCase()]))throw new Error("calendar not found");if(a===i(this,I))return this;var t=this.toJulianDay()-i(this,S)[a],s=new e({calendar:a,year:i(this,Y).call(this,t,a),month:1,day:1});return s.day+=t-s.dayOfBeginning,c(this,m,s.year),c(this,u,s.month.index),c(this,N,s.day),c(this,p,s.leaps),c(this,I,a),this}},{key:"format",value:function(t,s){if(!this.isValid)return"";if(!t||"string"==typeof t){t||(t=i(this,g)||"YYYY/MM/DD"),Array.isArray(s)||(s=[]),s=(s=s.concat(i(this,R))).filter((function(e){return"string"==typeof e||(console.warn("type of all items in the ignore list must be string, found",a(e)),!1)})).map((function(e){return e.replace(/[*/+\-()[\]{}\s$^]/g,(function(e){return"\\"+e}))}));var n,l=new RegExp("".concat(s.join("|")).concat(s.length>0?"|":"","YYYY|YY|MMMM|MMM|MM|M|WW|W|DDDD|DDD|DD|D|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|SSS|SS|S|A|a|."),"g"),o="",r=h(t.match(l)||[]);try{for(r.s();!(n=r.n()).done;){var c=n.value;o+=s.includes(c)?c:this.getProperty(c)||c}}catch(e){r.e(e)}finally{r.f()}if(i(this,v)!==e.locales.en){var m=i(this,k).digits||i(this,M)[i(this,v)];o=o.replace(/[0-9]/g,(function(e){return m[e]}))}return o}}},{key:"getProperty",value:function(e){var a=function(e){return e<10?"0"+e:e};switch(e){case"YYYY":return this.year;case"YY":return this.year.toString().substring(2,4);case"MMMM":return this.month.name;case"MMM":return this.month.shortName;case"MM":return a(this.month.number);case"M":return this.month.number;case"WW":return a(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return a(this.day);case"D":return this.day;case"HH":return a(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"dd":return a(this.weekDay.number);case"d":return this.weekDay.number;case"hh":return a(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return a(this.minute);case"m":return this.minute;case"ss":return a(this.second);case"s":return this.second;case"SSS":return i(this,A)<10?"00".concat(i(this,A)):i(this,A)<100?"0".concat(i(this,A)):i(this,A);case"SS":return i(this,A)<10?"00":i(this,A)<100?("0"+i(this,A)).substring(2,0):i(this,A).toString().substring(0,2);case"S":return i(this,A)<10||i(this,A)<100?"0":i(this,A).toString().substring(0,1);case"a":return this.hour>=12?i(this,H)[i(this,v)][1].shortName:i(this,H)[i(this,v)][0].shortName;case"A":return this.hour>=12?i(this,H)[i(this,v)][1].name:i(this,H)[i(this,v)][0].name;default:return""}}},{key:"setYear",value:function(e){return this.year=e,this}},{key:"setMonths",value:function(e){return this.months=e,this}},{key:"setMonth",value:function(e){return this.month=e,this}},{key:"setWeekDays",value:function(e){return this.weekDays=e,this}},{key:"setDigits",value:function(e){return this.digits=e,this}},{key:"setDay",value:function(e){return this.day=e,this}},{key:"setHour",value:function(e){return this.hour=e,this}},{key:"setMinute",value:function(e){return this.minute=e,this}},{key:"setSecond",value:function(e){return this.second=e,this}},{key:"setMillisecond",value:function(e){return this.millisecond=e,this}},{key:"setFormat",value:function(e){return c(this,g,e),this}},{key:"setLocale",value:function(e){return this.locale=e,this}},{key:"setLocal",value:function(e){return this.setLocale(e)}},{key:"setCalendar",value:function(e){return this.calendar=e,this}},{key:"setDate",value:function(a){if("string"==typeof a){if(!i(this,w).test(a))return this.parse(a);a=new Date(a)}return"number"==typeof a&&(a=new Date(a)),a instanceof Date&&(c(this,I,e.calendars.GREGORIAN),c(this,m,a.getFullYear()),c(this,u,a.getMonth()),c(this,N,a.getDate()),c(this,f,a.getHours()),c(this,d,a.getMinutes()),c(this,y,a.getSeconds()),c(this,A,a.getMilliseconds()),c(this,b,!1),i(this,W).call(this),i(this,x).call(this)),a instanceof e&&(c(this,m,a.year),c(this,u,a.month.index),c(this,N,a.day),c(this,f,a.hour),c(this,d,a.minute),c(this,y,a.second),c(this,A,a.millisecond),c(this,v,a.locale.toUpperCase()),c(this,g,a._format),c(this,p,a.leaps),c(this,I,a.calendar.toUpperCase()),c(this,b,a.isUTC)),this}},{key:"setIgnoreList",value:function(e){return this.ignoreList=e,this}},{key:"set",value:function(e,a){if(null==e)return this;if(e.constructor===Object){var t=n({},e);for(var s in t.date&&(this.setDate(t.date),delete t.date),t.calendar&&(this.convert(t.calendar),delete t.calendar),t.locale&&(this.setLocale(t.locale),delete t.locale),t)this.set(s,t[s]);return this}switch(e){case"calendar":return this.convert(a);case"locale":return this.setLocale(a);case"format":return this.setFormat(a);case"year":return this.setYear(a);case"month":return this.setMonth(a);case"months":return this.setMonths(a);case"weekDays":return this.setWeekDays(a);case"day":return this.setDay(a);case"hour":return this.setHour(a);case"minute":return this.setMinute(a);case"second":return this.setSecond(a);case"millisecond":return this.setMillisecond(a);case"date":return this.setDate(a);case"ignoreList":return this.setIgnoreList(a);case"digits":return this.setDigits(a);default:return this}}},{key:"add",value:function(e,a){if(!(e=i(this,L).call(this,e))||!a)return this;switch(a){case"years":case"year":case"y":this.year+=e;break;case"months":case"month":case"M":this.month+=e;break;case"days":case"day":case"d":this.day+=e;break;case"hours":case"hour":case"h":this.hour+=e;break;case"minutes":case"minute":case"m":this.minute+=e;break;case"seconds":case"second":case"s":this.second+=e;break;case"milliseconds":case"millisecond":case"ms":this.millisecond+=e}return this}},{key:"subtract",value:function(e,a){return this.add(-e,a)}},{key:"toFirstOfYear",value:function(){return this.month=1,this.day=1,this}},{key:"toLastOfYear",value:function(){return this.day>=29&&(this.day=29),this.month=12,this.toLastOfMonth(),this}},{key:"toFirstOfMonth",value:function(){return c(this,N,1),this}},{key:"toLastOfMonth",value:function(){return c(this,N,0),c(this,u,i(this,u)+1),i(this,x).call(this),this}},{key:"toFirstOfWeek",value:function(){return this.day-=this.weekDay.index,this}},{key:"toLastOfWeek",value:function(){return this.day+=6-this.weekDay.index,this}},{key:"toFirstWeekOfYear",value:function(){return this.toFirstOfYear(),0===this.weekDay.index?this:this.toLastOfWeek().setDay(this.day+1)}},{key:"toLastWeekOfYear",value:function(){return this.toLastOfYear().toFirstOfWeek()}},{key:"toString",value:function(){return this.format()}},{key:"toDate",value:function(){var a=new e(this);return i(this,I)!==e.calendars.GREGORIAN&&a.convert(e.calendars.GREGORIAN),new Date(i(a,m),i(a,u),i(a,N),i(a,f),i(a,d),i(a,y),i(a,A))}},{key:"toUTC",value:function(){return i(this,b)||(this.minute+=(new Date).getTimezoneOffset(),c(this,b,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,S)[i(this,I)]}},{key:"toObject",value:function(){return{year:i(this,m),month:this.month,day:i(this,N),weekDay:this.weekDay,hour:i(this,f),minute:i(this,d),second:i(this,y),millisecond:i(this,A),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,I).toLowerCase(),locale:i(this,v).toLowerCase(),format:i(this,g)||"YYYY/MM/DD"}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){var e=this.dayOfBeginning+i(this,S)[i(this,I)]-i(this,S).unix,a=i(this,b)?0:60*(new Date).getTimezoneOffset()*1e3;return 24*e*60*60*1e3+60*i(this,f)*60*1e3+60*i(this,d)*1e3+1e3*i(this,y)+this.millisecond+a}},{key:"dayOfBeginning",get:function(){if(this.isValid){var a=(i(this,I)!==e.calendars.INDIAN&&i(this,m)>0?i(this,m)-1:i(this,m))*i(this,O)[i(this,I)],t=this.isLeap?this.leaps.length-1:this.leaps.length;return i(this,m)>0&&(a+=t),i(this,m)<0&&(a-=t),a+this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var e=i(this,N),a=this.months,t=0;t<i(this,u);t++)e+=a[t].length;return e}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var e=i(this,O)[i(this,I)];return(this.isLeap?e+1:e)-this.dayOfYear}}},{key:"year",get:function(){return i(this,m)},set:function(e){e=i(this,L).call(this,e),c(this,m,e),i(this,W).call(this),i(this,x).call(this)}},{key:"month",get:function(){var e=this.months[i(this,u)];return e?(e.index=i(this,u),e.number=e.index+1,e.toString=function(){return this.number.toString()},e.valueOf=function(){return this.number},e):{}},set:function(e){e&&e.constructor===Object&&e.number&&(e=e.number),e=i(this,L).call(this,e),c(this,u,e-1),i(this,x).call(this)}},{key:"day",get:function(){return i(this,N)},set:function(e){e=i(this,L).call(this,e),c(this,N,e),i(this,x).call(this)}},{key:"weekDay",get:function(){var e=(this.toJulianDay()+2)%7,a=i(this,F)[i(this,I)][e];if(!a)return{};var t=i(this,k).weekDays?i(this,k).weekDays[a.index]:a.locales[i(this,v)];return n({index:a.index,number:a.index+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}},t)}},{key:"hour",get:function(){return i(this,f)},set:function(e){e=i(this,L).call(this,e),c(this,f,e),i(this,x).call(this)}},{key:"minute",get:function(){return i(this,d)},set:function(e){e=i(this,L).call(this,e),c(this,d,e),i(this,x).call(this)}},{key:"second",get:function(){return i(this,y)},set:function(e){e=i(this,L).call(this,e),c(this,y,e),i(this,x).call(this)}},{key:"millisecond",get:function(){return i(this,A)},set:function(e){e=i(this,L).call(this,e),c(this,A,e),i(this,x).call(this)}},{key:"months",get:function(){var a=this,t=i(this,D)[i(this,I)];switch(i(this,I)){case e.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case e.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t.map((function(e,t){var s=i(a,k).months?i(a,k).months[t]:e.locales[i(a,v)];return n({length:e.length},s)}))},set:function(e){if(!e)return delete i(this,k).months;Array.isArray(e)&&12===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,k).months=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"weekDays",get:function(){var e=this,a=i(this,F)[i(this,I)];return a.sort((function(e,a){return e.index-a.index})),a.map((function(a,t){var s=i(e,k).weekDays?i(e,k).weekDays[t]:a.locales[i(e,v)];return n({index:a.index,number:a.index+1},s)}))},set:function(e){if(!e)return delete i(this,k).weekDays;Array.isArray(e)&&7===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,k).weekDays=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"leaps",get:function(){return i(this,p)}},{key:"calendar",get:function(){return i(this,I).toLowerCase()},set:function(e){this.convert(e)}},{key:"locale",get:function(){return i(this,v).toLowerCase()},set:function(a){a=a.toUpperCase(),e.locales[a]||(a=e.locales.EN),c(this,v,a)}},{key:"meridiems",get:function(){return i(this,H)[i(this,v)]}},{key:"digits",get:function(){return i(this,k).digits||i(this,M)[i(this,v)]},set:function(e){if(!e)return delete i(this,k).digits;Array.isArray(e)&&10===e.length&&(i(this,k).digits=e)}},{key:"_format",get:function(){return i(this,g)},set:function(e){"string"==typeof e&&c(this,g,e)}},{key:"isLeap",get:function(){return i(this,p).includes(i(this,m))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,m)+i(this,u)+i(this,N)))}},{key:"isUTC",get:function(){return i(this,b)}},{key:"unix",get:function(){return(this.valueOf()-this.millisecond)/1e3}},{key:"ignoreList",get:function(){return i(this,R)},set:function(e){Array.isArray(e)&&c(this,R,e)}},{key:"local",set:function(e){this.locale=e}}])&&function(e,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,s),e}();t(C,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),t(C,"locales",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"}),exports.default=C;
"use strict";function e(a){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function a(t){return(a="function"==typeof Symbol&&"symbol"==e(Symbol.iterator)?function(a){return e(a)}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":e(a)})(t)}function t(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function s(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function n(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?s(Object(n),!0).forEach((function(a){t(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function l(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],s=!0,n=!1,l=void 0;try{for(var o,r=e[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!a||t.length!==a);s=!0);}catch(e){n=!0,l=e}finally{try{s||null==r.return||r.return()}finally{if(n)throw l}}return t}}(e,a)||o(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,a){if(e){if("string"==typeof e)return r(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,a):void 0}}function r(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,s=new Array(a);t<a;t++)s[t]=e[t];return s}function h(e,a){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=o(e))||a&&e&&"number"==typeof e.length){t&&(e=t);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}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 l,r=!0,h=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return r=e.done,e},e:function(e){h=!0,l=e},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw l}}}}function i(e,a){return function(e,a){return a.get?a.get.call(e):a.value}(e,m(e,a,"get"))}function c(e,a,t){return function(e,a,t){if(a.set)a.set.call(e,t);else{if(!a.writable)throw new TypeError("attempted to set read only private field");a.value=t}}(e,m(e,a,"set"),t),t}function m(e,a,t){if(!a.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return a.get(e)}Object.defineProperty(exports,"__esModule",{value:!0});var u=new WeakMap,N=new WeakMap,f=new WeakMap,d=new WeakMap,y=new WeakMap,A=new WeakMap,g=new WeakMap,v=new WeakMap,I=new WeakMap,k=new WeakMap,b=new WeakMap,p=new WeakMap,w=new WeakMap,R=new WeakMap,E=new WeakMap,D=new WeakMap,F=new WeakMap,H=new WeakMap,M=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,W=new WeakMap,Y=new WeakMap,C=new WeakMap,L=new WeakMap,j=function(){function e(a){var s,l,o,r,h,m,j,P,G,B,T,J,U,V,z,K,_,$,Q,Z,q,X,ee,ae,te,se,ne,le,oe,re,he,ie,ce,me,ue,Ne,fe,de,ye,Ae,ge,ve,Ie,ke,be,pe,we,Re,Ee,De,Fe,He,Me,Se,Oe,xe,We,Ye,Ce,Le,je,Pe,Ge,Be,Te,Je,Ue,Ve,ze,Ke,_e,$e,Qe,Ze,qe,Xe,ea,aa,ta,sa,na,la,oa=this;!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:void 0}),I.set(this,{writable:!0,value:e.locales.EN}),k.set(this,{writable:!0,value:e.calendars.GREGORIAN}),b.set(this,{writable:!0,value:!1}),p.set(this,{writable:!0,value:[]}),w.set(this,{writable:!0,value:{}}),R.set(this,{writable:!0,value:/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$/}),E.set(this,{writable:!0,value:[]}),D.set(this,{writable:!0,value:{YYYY:function(e){return c(oa,u,i(oa,L).call(oa,e))},YY:function(a){switch(i(oa,k)){case e.calendars.PERSIAN:a="13"+a;break;case e.calendars.ARABIC:a="14"+a;break;default:a="20"+a}c(oa,u,i(oa,L).call(oa,a))},MMMM:function(e){return c(oa,N,oa.months.findIndex((function(a){return e.toLowerCase()===a.name.toLowerCase()})))},MMM:function(e){return c(oa,N,oa.months.findIndex((function(a){return e.toLowerCase()===a.shortName.toLowerCase()})))},MM:function(e){return c(oa,N,i(oa,L).call(oa,e)-1)},M:function(e){return c(oa,N,i(oa,L).call(oa,e)-1)},DD:function(e){return c(oa,f,i(oa,L).call(oa,e))},D:function(e){return c(oa,f,i(oa,L).call(oa,e))},HH:function(e){return c(oa,d,i(oa,L).call(oa,e))},H:function(e){return c(oa,d,i(oa,L).call(oa,e))},hh:function(e){var a=i(oa,L).call(oa,e);c(oa,d,a>12?a-12:a)},h:function(e){var a=i(oa,L).call(oa,e);c(oa,d,a>12?a-12:a)},mm:function(e){return c(oa,y,i(oa,L).call(oa,e))},m:function(e){return c(oa,y,i(oa,L).call(oa,e))},ss:function(e){return c(oa,A,i(oa,L).call(oa,e))},s:function(e){return c(oa,A,i(oa,L).call(oa,e))},SSS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},SS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},S:function(e){return oa.millisecond=i(oa,L).call(oa,e)}}}),F.set(this,{writable:!0,value:(Ee={},t(Ee,e.calendars.GREGORIAN,[{length:31,locales:(s={},t(s,e.locales.EN,{name:"January",shortName:"Jan"}),t(s,e.locales.FA,{name:"ژانویه",shortName:"ژان"}),t(s,e.locales.AR,{name:"يناير",shortName:"ينا"}),t(s,e.locales.HI,{name:"जनवरी",shortName:"जन"}),s)},{length:void 0,locales:(l={},t(l,e.locales.EN,{name:"February",shortName:"Feb"}),t(l,e.locales.FA,{name:"فوریه",shortName:"فور"}),t(l,e.locales.AR,{name:"فبراير",shortName:"فبر"}),t(l,e.locales.HI,{name:"फ़रवरी",shortName:"फ़र"}),l)},{length:31,locales:(o={},t(o,e.locales.EN,{name:"March",shortName:"Mar"}),t(o,e.locales.FA,{name:"مارس",shortName:"ما"}),t(o,e.locales.AR,{name:"مارس",shortName:"ما"}),t(o,e.locales.HI,{name:"मार्च",shortName:"मार्च"}),o)},{length:30,locales:(r={},t(r,e.locales.EN,{name:"April",shortName:"Apr"}),t(r,e.locales.FA,{name:"آوریل",shortName:"آور"}),t(r,e.locales.AR,{name:"إبريل",shortName:"إبر"}),t(r,e.locales.HI,{name:"अप्रैल",shortName:"अप्रैल"}),r)},{length:31,locales:(h={},t(h,e.locales.EN,{name:"May",shortName:"May"}),t(h,e.locales.FA,{name:"مه",shortName:"مه"}),t(h,e.locales.AR,{name:"مايو",shortName:"ما"}),t(h,e.locales.HI,{name:"मई",shortName:"मई"}),h)},{length:30,locales:(m={},t(m,e.locales.EN,{name:"June",shortName:"Jun"}),t(m,e.locales.FA,{name:"ژوئن",shortName:"ژو"}),t(m,e.locales.AR,{name:"يونيو",shortName:"يو"}),t(m,e.locales.HI,{name:"जून",shortName:"जून"}),m)},{length:31,locales:(j={},t(j,e.locales.EN,{name:"July",shortName:"Jul"}),t(j,e.locales.FA,{name:"ژوئیه",shortName:"ژوئیه"}),t(j,e.locales.AR,{name:"يوليو",shortName:"يوليو"}),t(j,e.locales.HI,{name:"जुलाई",shortName:"जुल"}),j)},{length:31,locales:(P={},t(P,e.locales.EN,{name:"August",shortName:"Aug"}),t(P,e.locales.FA,{name:"اوت",shortName:"اوت"}),t(P,e.locales.AR,{name:"أغسطس",shortName:"أغس"}),t(P,e.locales.HI,{name:"अगस्त",shortName:"अग"}),P)},{length:30,locales:(G={},t(G,e.locales.EN,{name:"September",shortName:"Sep"}),t(G,e.locales.FA,{name:"سپتامبر",shortName:"سپ"}),t(G,e.locales.AR,{name:"سبتمبر",shortName:"سب"}),t(G,e.locales.HI,{name:"सितंबर",shortName:"सित"}),G)},{length:31,locales:(B={},t(B,e.locales.EN,{name:"October",shortName:"Oct"}),t(B,e.locales.FA,{name:"اکتبر",shortName:"اک"}),t(B,e.locales.AR,{name:"أكتوبر",shortName:"اک"}),t(B,e.locales.HI,{name:"अक्तूबर",shortName:"अक्तू"}),B)},{length:30,locales:(T={},t(T,e.locales.EN,{name:"November",shortName:"Nov"}),t(T,e.locales.FA,{name:"نوامبر",shortName:"نو"}),t(T,e.locales.AR,{name:"نوفمبر",shortName:"نو"}),t(T,e.locales.HI,{name:"नवंबर",shortName:"नव"}),T)},{length:31,locales:(J={},t(J,e.locales.EN,{name:"December",shortName:"Dec"}),t(J,e.locales.FA,{name:"دسامبر",shortName:"دس"}),t(J,e.locales.AR,{name:"ديسمبر",shortName:"دس"}),t(J,e.locales.HI,{name:"दिसंबर",shortName:"दिस"}),J)}]),t(Ee,e.calendars.PERSIAN,[{length:31,locales:(U={},t(U,e.locales.EN,{name:"Farvardin",shortName:"Far"}),t(U,e.locales.FA,{name:"فروردین",shortName:"فر"}),t(U,e.locales.AR,{name:"فروردین",shortName:"فر"}),t(U,e.locales.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),U)},{length:31,locales:(V={},t(V,e.locales.EN,{name:"Ordibehesht",shortName:"Ord"}),t(V,e.locales.FA,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.AR,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),V)},{length:31,locales:(z={},t(z,e.locales.EN,{name:"Khordad",shortName:"Kho"}),t(z,e.locales.FA,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.AR,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),z)},{length:31,locales:(K={},t(K,e.locales.EN,{name:"Tir",shortName:"Tir"}),t(K,e.locales.FA,{name:"تیر",shortName:"تیر"}),t(K,e.locales.AR,{name:"تیر",shortName:"تیر"}),t(K,e.locales.HI,{name:"टिर",shortName:"टिर"}),K)},{length:31,locales:(_={},t(_,e.locales.EN,{name:"Mordad",shortName:"Mor"}),t(_,e.locales.FA,{name:"مرداد",shortName:"مر"}),t(_,e.locales.AR,{name:"مرداد",shortName:"مر"}),t(_,e.locales.HI,{name:"मोरदाद",shortName:"मोरदाद"}),_)},{length:31,locales:($={},t($,e.locales.EN,{name:"Shahrivar",shortName:"Sha"}),t($,e.locales.FA,{name:"شهریور",shortName:"شه"}),t($,e.locales.AR,{name:"شهریور",shortName:"شه"}),t($,e.locales.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),$)},{length:30,locales:(Q={},t(Q,e.locales.EN,{name:"Mehr",shortName:"Meh"}),t(Q,e.locales.FA,{name:"مهر",shortName:"مه"}),t(Q,e.locales.AR,{name:"مهر",shortName:"مه"}),t(Q,e.locales.HI,{name:"मेहर",shortName:"मेहर"}),Q)},{length:30,locales:(Z={},t(Z,e.locales.EN,{name:"Aban",shortName:"Aba"}),t(Z,e.locales.FA,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.AR,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.HI,{name:"अवन",shortName:"अवन"}),Z)},{length:30,locales:(q={},t(q,e.locales.EN,{name:"Azar",shortName:"Aza"}),t(q,e.locales.FA,{name:"آذر",shortName:"آذ"}),t(q,e.locales.AR,{name:"آذر",shortName:"آذ"}),t(q,e.locales.HI,{name:"अज़र",shortName:"अज़र"}),q)},{length:30,locales:(X={},t(X,e.locales.EN,{name:"Dey",shortName:"Dey"}),t(X,e.locales.FA,{name:"دی",shortName:"دی"}),t(X,e.locales.AR,{name:"دی",shortName:"دی"}),t(X,e.locales.HI,{name:"डे",shortName:"डे"}),X)},{length:30,locales:(ee={},t(ee,e.locales.EN,{name:"Bahman",shortName:"Bah"}),t(ee,e.locales.FA,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.AR,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.HI,{name:"बहमन",shortName:"बहमन"}),ee)},{length:void 0,locales:(ae={},t(ae,e.locales.EN,{name:"Esfand",shortName:"Esf"}),t(ae,e.locales.FA,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.AR,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),ae)}]),t(Ee,e.calendars.ARABIC,[{length:30,locales:(te={},t(te,e.locales.AR,{name:"محرم",shortName:"محرم"}),t(te,e.locales.EN,{name:"Muharram",shortName:"Mu"}),t(te,e.locales.FA,{name:"محرم",shortName:"محرم"}),t(te,e.locales.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),te)},{length:29,locales:(se={},t(se,e.locales.AR,{name:"صفر",shortName:"صفر"}),t(se,e.locales.EN,{name:"Safar",shortName:"Sa"}),t(se,e.locales.FA,{name:"صفر",shortName:"صفر"}),t(se,e.locales.HI,{name:"सफर",shortName:"सफर"}),se)},{length:30,locales:(ne={},t(ne,e.locales.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),t(ne,e.locales.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ne)},{length:29,locales:(le={},t(le,e.locales.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),t(le,e.locales.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),le)},{length:30,locales:(oe={},t(oe,e.locales.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.EN,{name:"Jumada l-Ula",shortName:"JI"}),t(oe,e.locales.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),oe)},{length:29,locales:(re={},t(re,e.locales.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.EN,{name:"Jumada t-Tania",shortName:"JII"}),t(re,e.locales.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),re)},{length:30,locales:(he={},t(he,e.locales.AR,{name:"رجب",shortName:"رجب"}),t(he,e.locales.EN,{name:"Rajab",shortName:"Ra"}),t(he,e.locales.FA,{name:"رجب",shortName:"رجب"}),t(he,e.locales.HI,{name:"रजब",shortName:"रजब"}),he)},{length:29,locales:(ie={},t(ie,e.locales.AR,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.EN,{name:"Sha`ban",shortName:"Sh"}),t(ie,e.locales.FA,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.HI,{name:"शावन",shortName:"शावन"}),ie)},{length:30,locales:(ce={},t(ce,e.locales.AR,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.EN,{name:"Ramadan",shortName:"Ra"}),t(ce,e.locales.FA,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.HI,{name:"रमजान",shortName:"रमजान"}),ce)},{length:29,locales:(me={},t(me,e.locales.AR,{name:"شوال",shortName:"شوال"}),t(me,e.locales.EN,{name:"Shawwal",shortName:"Sh"}),t(me,e.locales.FA,{name:"شوال",shortName:"شوال"}),t(me,e.locales.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),me)},{length:30,locales:(ue={},t(ue,e.locales.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),t(ue,e.locales.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),t(ue,e.locales.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ue)},{length:void 0,locales:(Ne={},t(Ne,e.locales.AR,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),t(Ne,e.locales.FA,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),Ne)}]),t(Ee,e.calendars.INDIAN,[{length:void 0,locales:(fe={},t(fe,e.locales.EN,{name:"Chaitra",shortName:"Cha"}),t(fe,e.locales.FA,{name:"چیتره",shortName:"چیت"}),t(fe,e.locales.AR,{name:"شيترا",shortName:"شیت"}),t(fe,e.locales.HI,{name:"चैत्र",shortName:"चैत्र"}),fe)},{length:31,locales:(de={},t(de,e.locales.EN,{name:"Vaishakh",shortName:"Vai"}),t(de,e.locales.FA,{name:"ویشاکهه",shortName:"ویش"}),t(de,e.locales.AR,{name:"فيشاخ",shortName:"فیش"}),t(de,e.locales.HI,{name:"वैशाख",shortName:"वैशाख"}),de)},{length:31,locales:(ye={},t(ye,e.locales.EN,{name:"Jyaishtha",shortName:"Jya"}),t(ye,e.locales.FA,{name:"جییشته",shortName:"جیش"}),t(ye,e.locales.AR,{name:"جیشتا",shortName:"جیش"}),t(ye,e.locales.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),ye)},{length:31,locales:(Ae={},t(Ae,e.locales.EN,{name:"Ashadha",shortName:"Ash"}),t(Ae,e.locales.FA,{name:"آشادهه",shortName:"آشا"}),t(Ae,e.locales.AR,{name:"أشاد",shortName:"أشا"}),t(Ae,e.locales.HI,{name:"आषाढ़",shortName:"आषाढ़"}),Ae)},{length:31,locales:(ge={},t(ge,e.locales.EN,{name:"Shravana",shortName:"Shr"}),t(ge,e.locales.FA,{name:"شراونه",shortName:"شرا"}),t(ge,e.locales.AR,{name:"شرافان",shortName:"شرا"}),t(ge,e.locales.HI,{name:"श्रावण",shortName:"श्रावण"}),ge)},{length:31,locales:(ve={},t(ve,e.locales.EN,{name:"Bhadrapad",shortName:"Bha"}),t(ve,e.locales.FA,{name:"بهادره",shortName:"بها"}),t(ve,e.locales.AR,{name:"بهادرابادا",shortName:"بها"}),t(ve,e.locales.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),ve)},{length:30,locales:(Ie={},t(Ie,e.locales.EN,{name:"Ashwin",shortName:"Ash"}),t(Ie,e.locales.FA,{name:"آشوین",shortName:"آشو"}),t(Ie,e.locales.AR,{name:"اشوين",shortName:"اشو"}),t(Ie,e.locales.HI,{name:"आश्विन",shortName:"आश्विन"}),Ie)},{length:30,locales:(ke={},t(ke,e.locales.EN,{name:"Kartik",shortName:"Kar"}),t(ke,e.locales.FA,{name:"کارتیکه",shortName:"کار"}),t(ke,e.locales.AR,{name:"كارتيك",shortName:"کار"}),t(ke,e.locales.HI,{name:"कार्तिक",shortName:"कार्तिक"}),ke)},{length:30,locales:(be={},t(be,e.locales.EN,{name:"Agrahayana",shortName:"Agr"}),t(be,e.locales.FA,{name:"اگرهینه",shortName:"اگر"}),t(be,e.locales.AR,{name:"أجراهيان",shortName:"اجر"}),t(be,e.locales.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),be)},{length:30,locales:(pe={},t(pe,e.locales.EN,{name:"Paush",shortName:"Pau"}),t(pe,e.locales.FA,{name:"پاوشه",shortName:"پاو"}),t(pe,e.locales.AR,{name:"بوش",shortName:"بوش"}),t(pe,e.locales.HI,{name:"पौष",shortName:"पौष"}),pe)},{length:30,locales:(we={},t(we,e.locales.EN,{name:"Magh",shortName:"Mag"}),t(we,e.locales.FA,{name:"ماگهه",shortName:"ماگ"}),t(we,e.locales.AR,{name:"ماک",shortName:"ماک"}),t(we,e.locales.HI,{name:"माघ",shortName:"माघ"}),we)},{length:30,locales:(Re={},t(Re,e.locales.EN,{name:"Phalgun",shortName:"Pha"}),t(Re,e.locales.FA,{name:"پهالگونه",shortName:"پها"}),t(Re,e.locales.AR,{name:"فالغون",shortName:"فال"}),t(Re,e.locales.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),Re)}]),Ee)}),H.set(this,{writable:!0,value:(aa={},t(aa,e.calendars.GREGORIAN,[{index:0,locales:(De={},t(De,e.locales.EN,{name:"Sunday",shortName:"Sun"}),t(De,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(De,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(De,e.locales.HI,{name:"रविवार",shortName:"रवि"}),De)},{index:1,locales:(Fe={},t(Fe,e.locales.EN,{name:"Monday",shortName:"Mon"}),t(Fe,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Fe,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Fe,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Fe)},{index:2,locales:(He={},t(He,e.locales.EN,{name:"Tuesday",shortName:"Tue"}),t(He,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(He,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(He,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),He)},{index:3,locales:(Me={},t(Me,e.locales.EN,{name:"Wednesday",shortName:"Wed"}),t(Me,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Me,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Me,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Me)},{index:4,locales:(Se={},t(Se,e.locales.EN,{name:"Thursday",shortName:"Thu"}),t(Se,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(Se,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Se,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Se)},{index:5,locales:(Oe={},t(Oe,e.locales.EN,{name:"Friday",shortName:"Fri"}),t(Oe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Oe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Oe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Oe)},{index:6,locales:(xe={},t(xe,e.locales.EN,{name:"Saturday",shortName:"Sat"}),t(xe,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(xe,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(xe,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),xe)}]),t(aa,e.calendars.PERSIAN,[{index:1,locales:(We={},t(We,e.locales.EN,{name:"YekShanbeh",shortName:"Yek"}),t(We,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(We,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(We,e.locales.HI,{name:"रविवार",shortName:"रवि"}),We)},{index:2,locales:(Ye={},t(Ye,e.locales.EN,{name:"Doshanbeh",shortName:"Do"}),t(Ye,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Ye,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Ye,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Ye)},{index:3,locales:(Ce={},t(Ce,e.locales.EN,{name:"Seshanbeh",shortName:"Se"}),t(Ce,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Ce,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(Ce,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Ce)},{index:4,locales:(Le={},t(Le,e.locales.EN,{name:"Chaharshanbeh",shortName:"Cha"}),t(Le,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Le,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Le,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Le)},{index:5,locales:(je={},t(je,e.locales.EN,{name:"Panjshanbeh",shortName:"Pan"}),t(je,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(je,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(je,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),je)},{index:6,locales:(Pe={},t(Pe,e.locales.EN,{name:"Jom'eh",shortName:"Jom"}),t(Pe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Pe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Pe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Pe)},{index:0,locales:(Ge={},t(Ge,e.locales.EN,{name:"Shanbeh",shortName:"Sha"}),t(Ge,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ge,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(Ge,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ge)}]),t(aa,e.calendars.ARABIC,[{index:1,locales:(Be={},t(Be,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(Be,e.locales.EN,{name:"al-'ahad",shortName:"Aha"}),t(Be,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(Be,e.locales.HI,{name:"रविवार",shortName:"रवि"}),Be)},{index:2,locales:(Te={},t(Te,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Te,e.locales.EN,{name:"al-'ithnayn",shortName:"Ith"}),t(Te,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Te,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Te)},{index:3,locales:(Je={},t(Je,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Je,e.locales.EN,{name:"ath-thalatha",shortName:"Tha"}),t(Je,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Je,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Je)},{index:4,locales:(Ue={},t(Ue,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ue,e.locales.EN,{name:"al-'arb`a'",shortName:"Arb"}),t(Ue,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ue,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ue)},{index:5,locales:(Ve={},t(Ve,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Ve,e.locales.EN,{name:"al-khamis",shortName:"Kha"}),t(Ve,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(Ve,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Ve)},{index:6,locales:(ze={},t(ze,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(ze,e.locales.EN,{name:"al-jum`a",shortName:"Jum"}),t(ze,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(ze,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),ze)},{index:0,locales:(Ke={},t(Ke,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(Ke,e.locales.EN,{name:"as-sabt",shortName:"Sab"}),t(Ke,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ke,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ke)}]),t(aa,e.calendars.INDIAN,[{index:0,locales:(_e={},t(_e,e.locales.EN,{name:"Ravivara",shortName:"Rav"}),t(_e,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(_e,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(_e,e.locales.HI,{name:"रविवार",shortName:"रवि"}),_e)},{index:1,locales:($e={},t($e,e.locales.EN,{name:"Somavara",shortName:"Som"}),t($e,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t($e,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t($e,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),$e)},{index:2,locales:(Qe={},t(Qe,e.locales.EN,{name:"Mangalavara",shortName:"Man"}),t(Qe,e.locales.FA,{name:"سه شنبه\t",shortName:"سه"}),t(Qe,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Qe,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Qe)},{index:3,locales:(Ze={},t(Ze,e.locales.EN,{name:"Budhavara",shortName:"Bud"}),t(Ze,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ze,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ze,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ze)},{index:4,locales:(qe={},t(qe,e.locales.EN,{name:"Brihaspatvara",shortName:"Bri"}),t(qe,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(qe,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(qe,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),qe)},{index:5,locales:(Xe={},t(Xe,e.locales.EN,{name:"Sukravara",shortName:"Suk"}),t(Xe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Xe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Xe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Xe)},{index:6,locales:(ea={},t(ea,e.locales.EN,{name:"Sanivara",shortName:"San"}),t(ea,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(ea,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(ea,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),ea)}]),aa)}),M.set(this,{writable:!0,value:(ta={},t(ta,e.locales.EN,["0","1","2","3","4","5","6","7","8","9"]),t(ta,e.locales.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),t(ta,e.locales.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),t(ta,e.locales.HI,["०","१","२","३","४","५","६","७","८","९"]),ta)}),S.set(this,{writable:!0,value:(sa={},t(sa,e.locales.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),t(sa,e.locales.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),t(sa,e.locales.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),t(sa,e.locales.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),sa)}),O.set(this,{writable:!0,value:(na={},t(na,e.calendars.GREGORIAN,1721424),t(na,e.calendars.PERSIAN,1948319),t(na,e.calendars.ARABIC,1948438),t(na,e.calendars.INDIAN,1749628),t(na,"unix",2440587),na)}),x.set(this,{writable:!0,value:(la={},t(la,e.calendars.GREGORIAN,365),t(la,e.calendars.PERSIAN,365),t(la,e.calendars.ARABIC,354),t(la,e.calendars.INDIAN,365),la)}),W.set(this,{writable:!0,value:function(){var a=function(){for(var a=!1;i(oa,N)<0;)c(oa,N,i(oa,N)+12),c(oa,u,i(oa,u)-1),0===i(oa,u)&&oa.calendar!==e.calendars.INDIAN&&c(oa,u,-1),a=!0;for(;i(oa,N)>11;)c(oa,N,i(oa,N)-12),c(oa,u,i(oa,u)+1),0===i(oa,u)&&oa.calendar!==e.calendars.INDIAN&&c(oa,u,1),a=!0;a&&i(oa,Y).call(oa)};if(oa.isValid){for(;i(oa,g)>=1e3;)c(oa,g,i(oa,g)-1e3),c(oa,A,i(oa,A)+1);for(;i(oa,g)<0;)c(oa,g,i(oa,g)+1e3),c(oa,A,i(oa,A)-1);for(;i(oa,A)>=60;)c(oa,A,i(oa,A)-60),c(oa,y,i(oa,y)+1);for(;i(oa,A)<0;)c(oa,A,i(oa,A)+60),c(oa,y,i(oa,y)-1);for(;i(oa,y)>=60;)c(oa,y,i(oa,y)-60),c(oa,d,i(oa,d)+1);for(;i(oa,y)<0;)c(oa,y,i(oa,y)+60),c(oa,d,i(oa,d)-1);for(;i(oa,d)>=24;)c(oa,d,i(oa,d)-24),c(oa,f,i(oa,f)+1);for(;i(oa,d)<0;)c(oa,d,i(oa,d)+24),c(oa,f,i(oa,f)-1);for(;;){for((i(oa,N)<0||i(oa,N)>11)&&a();i(oa,f)<1;)c(oa,N,i(oa,N)-1),a(),c(oa,f,oa.month.length+i(oa,f));if(i(oa,f)<=oa.month.length||isNaN(i(oa,f)))break;c(oa,f,i(oa,f)-oa.month.length),c(oa,N,+i(oa,N)+1)}i(oa,d)||c(oa,d,0),i(oa,y)||c(oa,y,0),i(oa,A)||c(oa,A,0),i(oa,g)||c(oa,g,0)}}}),Y.set(this,{writable:!0,value:function(){if(0!==i(oa,u)||i(oa,k)===e.calendars.INDIAN){var a=void 0;a=i(oa,k)!==e.calendars.INDIAN?i(oa,u)>0?1:-1:0;var t=function(){return i(oa,u)>0?a<=i(oa,u):i(oa,u)<=a},s=function(){return i(oa,u)>0?a++:a--},n=function(e){return e%4==0&&e%100!=0||e%400==0};switch(c(oa,p,[]),i(oa,k)){case e.calendars.PERSIAN:for(var l=.242362,o=i(oa,u)>0?.2684:.7316,r={5:4,38:37,199:198,232:231,265:264,298:297,557:558,590:591,623:624,982:983,1015:1016,1048:1049,1081:1082,1114:1115,1242:1243,1374:1375,1407:1408,1440:1441,1506:1507,1539:1540,1572:1573,1605:1606,1931:1932,1964:1965,2063:2064,2096:2097,2687:2686,2720:2719,2753:2752,2819:2818,2852:2851,2885:2884,3017:3016,3112:3111,3145:3144,3178:3177,3211:3210,3244:3243,3277:3276,3310:3309,3343:3342,3376:3375,3409:3408,3442:3441,3508:3507,3541:3540,3574:3573,3603:3602,3607:3606,3636:3635,3669:3668,3702:3701,3706:3705,3735:3734,3768:3767,3801:3800,3834:3833,3867:3866,3900:3899,3933:3932,3966:3965,3999:3998,4065:4064,4094:4093,4098:4097,4127:4126,4131:4130,4160:4159,4193:4192,4226:4225,4259:4258,4292:4291,4325:4324,4358:4357,4391:4390,4585:4584,4618:4617,4651:4650,4750:4749,4943:4944,4976:4977,5009:5010,5170:5171,5203:5204,5236:5237,5265:5266,5269:5270,5298:5299,5302:5303,5331:5332,5335:5336,5364:5365,5368:5369,5393:5394,5397:5398,5401:5402,5426:5427,5430:5431,5434:5435,5459:5460,5463:5464,5467:5468,5492:5493,5496:5497,5500:5501,5521:5522,5525:5526,5529:5530,5554:5555,5558:5559,5562:5563,5587:5588,5591:5592,5595:5596,5616:5617,5620:5621,5624:5625,5628:5629,5649:5650,5653:5654,5657:5658,5661:5662,5682:5683,5686:5687,5690:5691,5694:5695,5715:5716,5719:5720,5723:5724,5727:5728,5744:5745,5748:5749,5752:5753,5756:5757,5760:5761,5777:5778,5781:5782,5785:5786,5789:5790,5793:5794,5810:5811,5814:5815,5818:5819,5822:5823,5826:5827,5839:5840,5843:5844,5847:5848,5851:5852,5855:5856,5859:5860,5872:5873,5876:5877,5880:5881,5884:5885,5888:5889,5892:5893,5901:5902,5905:5906,5909:5910,5913:5914,5917:5918,5921:5922,5925:5926,5934:5935,5938:5939,5942:5943,5946:5947,5950:5951,5954:5955,5958:5959,5967:5968,5971:5972,5975:5976,5979:5980,5983:5984,5987:5988,5991:5992,5996:5997,6e3:6001,6004:6005,6008:6009,6012:6013,6016:6017,6020:6021,6029:6030,6033:6034,6037:6038,6041:6042,6045:6046,6049:6050,6053:6054,6058:6059,6062:6063,6066:6067,6070:6071,6074:6075,6078:6079,6082:6083,6086:6087,6091:6092,6095:6096,6099:6100,6103:6104,6107:6108,6111:6112,6115:6116,6119:6120,6124:6125,6128:6129,6132:6133,6136:6137,6140:6141,6144:6145,6148:6149,6152:6154,6157:6158,6161:6162,6165:6166,6169:6170,6173:6174,6177:6178,6181:6182,6185:6187,6190:6191,6194:6195,6198:6199,6202:6203,6206:6207,6210:6211,6214:6215,6218:6220,6223:6224,6227:6228,6231:6232,6235:6236,6239:6240,6243:6244,6247:6249,6251:6253,6256:6257,6260:6261,6264:6265,6268:6269,6272:6273,6276:6277,6280:6282,6284:6286,6289:6290,6293:6294,6297:6298,6301:6302,6305:6306,6309:6310,6313:6315,6317:6319,6322:6323,6326:6327,6330:6331,6334:6335,6338:6339,6342:6344,6346:6348,6350:6352,6355:6356,6359:6360,6363:6364,6367:6368,6371:6372,6375:6377,6379:6381,6383:6385,6388:6389,6392:6393,6396:6397,6400:6401,6404:6406,6408:6410,6412:6414,6416:6418,6421:6422,6425:6426,6429:6430,6433:6434,6437:6439,6441:6443,6445:6447,6449:6451,6454:6455,6458:6459,6462:6463,6466:6468,6470:6472,6474:6476,6478:6480,6482:6484,6487:6488,6491:6492,6495:6496};t();){if((o+=i(oa,u)>0?l:-1*l)>1&&(o-=1),o<0&&(o+=1),o>=.257800926&&o<=.5){var h=r[a]||a<-1?a+1:a;i(oa,u)>0&&h<=i(oa,u)&&i(oa,p).push(h),i(oa,u)<0&&i(oa,p).push(h)}s()}break;case e.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(a%30)&&i(oa,p).push(a),s();break;case e.calendars.INDIAN:for(;t();)n(a+78)&&i(oa,p).push(a),s();break;default:for(;t();)n(a)&&i(oa,p).push(a),s()}}}}),C.set(this,{writable:!0,value:function(a,t){var s=void 0;switch(t){case e.calendars.PERSIAN:s=~~((a+.5)/365.241);break;case e.calendars.ARABIC:s=~~((a-.5)/354.366);break;default:s=~~(a/365.24)}return s+(i(oa,u)>0?1:-1)}}),L.set(this,{writable:!0,value:function(e){if(!isNaN(e))return parseInt(e)}});var ra=a&&a.constructor===Object?n({},a):a;ra&&"boolean"!=typeof ra||(ra={date:new Date}),(ra instanceof Date||ra instanceof e||"string"==typeof ra||"number"==typeof ra)&&(ra={date:ra}),ra.calendar&&(ra.calendar=e.calendars[ra.calendar.toUpperCase()]||e.calendars.GREGORIAN,c(this,k,ra.calendar));var ha=!0,ia=Object.keys(ra).filter((function(e){return ra[e]||0===ra[e]})),ca=ia.length>0&&ia.length<=4&&ia.every((function(e){return["calendar","locale","format","ignoreList"].includes(e)}));for(var ma in ca&&(ra.date=new Date),(ra.date instanceof e||ra.date instanceof Date||"number"==typeof ra.date||"string"==typeof ra.date)&&("string"==typeof ra.date&&ra.format&&c(this,v,ra.format),this.setDate(ra.date),ra.calendar&&this.convert(ra.calendar),ha=!1),ra.locale&&(ra.locale=e.locales[ra.locale.toUpperCase()]||e.locales.EN,c(this,I,ra.locale)),delete ra.calendar,delete ra.locale,delete ra.date,ra)this.set(ma,ra[ma]);0===i(this,u)&&i(this,k)!==e.calendars.INDIAN&&c(this,u,-1),ha&&(i(this,Y).call(this),i(this,W).call(this))}var s;return(s=[{key:"parse",value:function(a){if(!a)return this;var t=i(this,v);if(i(this,I)!==e.locales.en){var s,n=i(this,M)[i(this,I)],o=h(n);try{for(o.s();!(s=o.n()).done;){var r=s.value;a=a.replace(new RegExp(r,"g"),n.indexOf(r))}}catch(a){o.e(a)}finally{o.f()}}if(t)for(var m=t.split(/[^\w\u0600-\u06FF]/),k=a.split(/[^\w\u0600-\u06FF]/),b=0;b<m.length;b++){var p=i(this,D)[m[b]];p&&k[b]&&p(k[b])}else{var w=l(a.match(/(-?\d{2,4})?\W?([A-z]{3,9}|\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,3})?\W?(am|pm)?/),9),R=w[1],E=w[2],F=w[3],H=w[4],O=w[5],x=w[6],C=w[7],j=w[8];E&&(E=/\d+/.test(E)?i(this,L).call(this,E)-1:this.months.findIndex((function(e){return new RegExp(E,"i").test(e.name)}))),c(this,u,i(this,L).call(this,R)),c(this,N,i(this,L).call(this,E)),c(this,f,i(this,L).call(this,F)),c(this,d,i(this,L).call(this,H)),c(this,y,i(this,L).call(this,O)),c(this,A,i(this,L).call(this,x)),c(this,g,i(this,L).call(this,C)),j&&"pm"===j&&i(this,d)<12&&c(this,d,i(this,d)+12)}return a.includes(i(this,S)[i(this,I)][1].shortName)&&i(this,d)<12&&c(this,d,i(this,d)+12),a.includes(i(this,S)[i(this,I)][1].name)&&i(this,d)<12&&c(this,d,i(this,d)+12),i(this,Y).call(this),i(this,W).call(this),this}},{key:"convert",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.calendars.GREGORIAN;if(!(a=e.calendars[a.toUpperCase()]))throw new Error("calendar not found");if(a===i(this,k))return this;var t=this.toJulianDay()-i(this,O)[a],s=new e({calendar:a,year:i(this,C).call(this,t,a),month:1,day:1});return s.day+=t-s.dayOfBeginning,c(this,u,s.year),c(this,N,s.month.index),c(this,f,s.day),c(this,p,s.leaps),c(this,k,a),this}},{key:"format",value:function(t,s){if(!this.isValid||t&&"string"!=typeof t)return"";t||(t=i(this,v)||"YYYY/MM/DD"),Array.isArray(s)||(s=[]),s=(s=s.concat(i(this,E))).filter((function(e){return"string"==typeof e||(console.warn("type of all items in the ignore list must be string, found",a(e)),!1)})).map((function(e){return e.replace(/[*/+\-()[\]{}\s$^]/g,(function(e){return"\\"+e}))}));var n,l=new RegExp("".concat(s.join("|")).concat(s.length>0?"|":"","YYYY|YY|MMMM|MMM|MM|M|WW|W|DDDD|DDD|DD|D|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|SSS|SS|S|A|a|."),"g"),o="",r=h(t.match(l)||[]);try{for(r.s();!(n=r.n()).done;){var c=n.value;o+=s.includes(c)?c:this.getProperty(c)||c}}catch(e){r.e(e)}finally{r.f()}if(i(this,I)!==e.locales.en){var m=i(this,w).digits||i(this,M)[i(this,I)];o=o.replace(/[0-9]/g,(function(e){return m[e]}))}return o}},{key:"getProperty",value:function(e){var a=function(e){return e<10?"0"+e:e};switch(e){case"YYYY":return this.year;case"YY":return this.year.toString().substring(2,4);case"MMMM":return this.month.name;case"MMM":return this.month.shortName;case"MM":return a(this.month.number);case"M":return this.month.number;case"WW":return a(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return a(this.day);case"D":return this.day;case"HH":return a(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"dd":return a(this.weekDay.number);case"d":return this.weekDay.number;case"hh":return a(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return a(this.minute);case"m":return this.minute;case"ss":return a(this.second);case"s":return this.second;case"SSS":return i(this,g)<10?"00".concat(i(this,g)):i(this,g)<100?"0".concat(i(this,g)):i(this,g);case"SS":return i(this,g)<10?"00":i(this,g)<100?("0"+i(this,g)).substring(2,0):i(this,g).toString().substring(0,2);case"S":return i(this,g)<10||i(this,g)<100?"0":i(this,g).toString().substring(0,1);case"a":return this.hour>=12?i(this,S)[i(this,I)][1].shortName:i(this,S)[i(this,I)][0].shortName;case"A":return this.hour>=12?i(this,S)[i(this,I)][1].name:i(this,S)[i(this,I)][0].name;default:return""}}},{key:"setYear",value:function(e){return this.year=e,this}},{key:"setMonths",value:function(e){return this.months=e,this}},{key:"setMonth",value:function(e){return this.month=e,this}},{key:"setWeekDays",value:function(e){return this.weekDays=e,this}},{key:"setDigits",value:function(e){return this.digits=e,this}},{key:"setDay",value:function(e){return this.day=e,this}},{key:"setHour",value:function(e){return this.hour=e,this}},{key:"setMinute",value:function(e){return this.minute=e,this}},{key:"setSecond",value:function(e){return this.second=e,this}},{key:"setMillisecond",value:function(e){return this.millisecond=e,this}},{key:"setFormat",value:function(e){return c(this,v,e),this}},{key:"setLocale",value:function(e){return this.locale=e,this}},{key:"setLocal",value:function(e){return this.setLocale(e)}},{key:"setCalendar",value:function(e){return this.calendar=e,this}},{key:"setDate",value:function(a){if("string"==typeof a){if(!i(this,R).test(a))return this.parse(a);a=new Date(a)}return"number"==typeof a&&(a=new Date(a)),a instanceof Date&&(c(this,k,e.calendars.GREGORIAN),c(this,u,a.getFullYear()),c(this,N,a.getMonth()),c(this,f,a.getDate()),c(this,d,a.getHours()),c(this,y,a.getMinutes()),c(this,A,a.getSeconds()),c(this,g,a.getMilliseconds()),c(this,b,!1),i(this,Y).call(this),i(this,W).call(this)),a instanceof e&&(c(this,u,a.year),c(this,N,a.month.index),c(this,f,a.day),c(this,d,a.hour),c(this,y,a.minute),c(this,A,a.second),c(this,g,a.millisecond),c(this,I,a.locale.toUpperCase()),c(this,v,a._format),c(this,p,a.leaps),c(this,k,a.calendar.toUpperCase()),c(this,b,a.isUTC),this.months=a.custom.months,this.weekDays=a.custom.weekDays,this.digits=a.custom.digits),this}},{key:"setIgnoreList",value:function(e){return this.ignoreList=e,this}},{key:"set",value:function(e,a){if(null==e)return this;if(e.constructor===Object){var t=n({},e);for(var s in t.date&&(this.setDate(t.date),delete t.date),t.calendar&&(this.convert(t.calendar),delete t.calendar),t.locale&&(this.setLocale(t.locale),delete t.locale),t)this.set(s,t[s]);return this}return"format"===e&&(e="_format"),this[e]=a,this}},{key:"add",value:function(e,a){if(!(e=i(this,L).call(this,e))||!a)return this;switch(a){case"years":case"y":a="year";break;case"months":case"M":a="month";break;case"days":case"d":a="day";break;case"hours":case"h":a="hour";break;case"minutes":case"m":a="minute";break;case"seconds":case"s":a="second";break;case"milliseconds":case"ms":a="millisecond"}return this[a]+=e,this}},{key:"subtract",value:function(e,a){return this.add(-e,a)}},{key:"toFirstOfYear",value:function(){return this.month=1,this.day=1,this}},{key:"toLastOfYear",value:function(){return this.day>=29&&(this.day=29),this.month=12,this.toLastOfMonth(),this}},{key:"toFirstOfMonth",value:function(){return c(this,f,1),this}},{key:"toLastOfMonth",value:function(){return c(this,f,0),c(this,N,i(this,N)+1),i(this,W).call(this),this}},{key:"toFirstOfWeek",value:function(){return this.day-=this.weekDay.index,this}},{key:"toLastOfWeek",value:function(){return this.day+=6-this.weekDay.index,this}},{key:"toFirstWeekOfYear",value:function(){return this.toFirstOfYear(),0===this.weekDay.index?this:this.toLastOfWeek().setDay(this.day+1)}},{key:"toLastWeekOfYear",value:function(){return this.toLastOfYear().toFirstOfWeek()}},{key:"toString",value:function(){return this.format()}},{key:"toDate",value:function(){var a=new e(this);return i(this,k)!==e.calendars.GREGORIAN&&a.convert(e.calendars.GREGORIAN),new Date(i(a,u),i(a,N),i(a,f),i(a,d),i(a,y),i(a,A),i(a,g))}},{key:"toUTC",value:function(){return i(this,b)||(this.minute+=(new Date).getTimezoneOffset(),c(this,b,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,O)[i(this,k)]}},{key:"toObject",value:function(){return{year:i(this,u),month:this.month,day:i(this,f),weekDay:this.weekDay,hour:i(this,d),minute:i(this,y),second:i(this,A),millisecond:i(this,g),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,k).toLowerCase(),locale:i(this,I).toLowerCase(),format:i(this,v)||"YYYY/MM/DD"}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){var e=this.dayOfBeginning+i(this,O)[i(this,k)]-i(this,O).unix,a=i(this,b)?0:60*(new Date).getTimezoneOffset()*1e3;return 24*e*60*60*1e3+60*i(this,d)*60*1e3+60*i(this,y)*1e3+1e3*i(this,A)+this.millisecond+a}},{key:"dayOfBeginning",get:function(){if(this.isValid){var a=(i(this,k)!==e.calendars.INDIAN&&i(this,u)>0?i(this,u)-1:i(this,u))*i(this,x)[i(this,k)],t=this.isLeap?this.leaps.length-1:this.leaps.length;return i(this,u)>0&&(a+=t),i(this,u)<0&&(a-=t),a+this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var e=i(this,f),a=this.months,t=0;t<i(this,N);t++)e+=a[t].length;return e}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var e=i(this,x)[i(this,k)];return(this.isLeap?e+1:e)-this.dayOfYear}}},{key:"year",get:function(){return i(this,u)},set:function(e){c(this,u,i(this,L).call(this,e)),i(this,Y).call(this),i(this,W).call(this)}},{key:"month",get:function(){var e=this.months[i(this,N)];return e?(e.index=i(this,N),e.number=e.index+1,e.toString=function(){return this.number.toString()},e.valueOf=function(){return this.number},e):{}},set:function(e){var a;c(this,N,null!==(a=i(this,L).call(this,e.valueOf())-1)&&void 0!==a?a:void 0),i(this,W).call(this)}},{key:"day",get:function(){return i(this,f)},set:function(e){c(this,f,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"weekDay",get:function(){var e=(this.toJulianDay()+2)%7,a=i(this,H)[i(this,k)][e];if(!a)return{};var t=i(this,w).weekDays?i(this,w).weekDays[a.index]:a.locales[i(this,I)];return n({index:a.index,number:a.index+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}},t)}},{key:"hour",get:function(){return i(this,d)},set:function(e){c(this,d,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"minute",get:function(){return i(this,y)},set:function(e){c(this,y,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"second",get:function(){return i(this,A)},set:function(e){c(this,A,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"millisecond",get:function(){return i(this,g)},set:function(e){c(this,g,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"months",get:function(){var a=this,t=i(this,F)[i(this,k)];switch(i(this,k)){case e.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case e.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t.map((function(e,t){var s=i(a,w).months?i(a,w).months[t]:e.locales[i(a,I)];return n({length:e.length},s)}))},set:function(e){if(!e)return delete i(this,w).months;Array.isArray(e)&&12===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,w).months=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"weekDays",get:function(){var e=this,a=i(this,H)[i(this,k)];return a.sort((function(e,a){return e.index-a.index})),a.map((function(a,t){var s=i(e,w).weekDays?i(e,w).weekDays[t]:a.locales[i(e,I)];return n({index:a.index,number:a.index+1},s)}))},set:function(e){if(!e)return delete i(this,w).weekDays;Array.isArray(e)&&7===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,w).weekDays=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"leaps",get:function(){return i(this,p)}},{key:"calendar",get:function(){return i(this,k).toLowerCase()},set:function(e){this.convert(e)}},{key:"locale",get:function(){return i(this,I).toLowerCase()},set:function(a){a=a.toUpperCase(),e.locales[a]||(a=e.locales.EN),c(this,I,a)}},{key:"custom",get:function(){var e={},a=function(e){return[e.name,e.shortName]};return i(this,w).digits&&(e.digits=i(this,w).digits),i(this,w).weekDays&&(e.weekDays=i(this,w).weekDays.map(a)),i(this,w).months&&(e.months=i(this,w).months.map(a)),e}},{key:"meridiems",get:function(){return i(this,S)[i(this,I)]}},{key:"digits",get:function(){return i(this,w).digits||i(this,M)[i(this,I)]},set:function(e){if(!e)return delete i(this,w).digits;Array.isArray(e)&&10===e.length&&(i(this,w).digits=e)}},{key:"_format",get:function(){return i(this,v)},set:function(e){"string"==typeof e&&c(this,v,e)}},{key:"isLeap",get:function(){return i(this,p).includes(i(this,u))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,u)+i(this,N)+i(this,f)))}},{key:"isUTC",get:function(){return i(this,b)}},{key:"unix",get:function(){return(this.valueOf()-this.millisecond)/1e3}},{key:"ignoreList",get:function(){return i(this,E)},set:function(e){Array.isArray(e)&&c(this,E,e)}},{key:"local",set:function(e){this.locale=e}},{key:"date",set:function(e){this.setDate(e)}}])&&function(e,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,s),e}();t(j,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),t(j,"locales",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"}),exports.default=j;

@@ -1,1 +0,1 @@

function e(a){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function a(t){return(a="function"==typeof Symbol&&"symbol"==e(Symbol.iterator)?function(a){return e(a)}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":e(a)})(t)}function t(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function s(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function n(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?s(Object(n),!0).forEach((function(a){t(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function l(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],s=!0,n=!1,l=void 0;try{for(var o,r=e[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!a||t.length!==a);s=!0);}catch(e){n=!0,l=e}finally{try{s||null==r.return||r.return()}finally{if(n)throw l}}return t}}(e,a)||o(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,a){if(e){if("string"==typeof e)return r(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,a):void 0}}function r(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,s=new Array(a);t<a;t++)s[t]=e[t];return s}function h(e,a){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=o(e))||a&&e&&"number"==typeof e.length){t&&(e=t);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}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 l,r=!0,h=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return r=e.done,e},e:function(e){h=!0,l=e},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw l}}}}function i(e,a){var t=a.get(e);if(!t)throw new TypeError("attempted to get private field on non-instance");return t.get?t.get.call(e):t.value}function c(e,a,t){var s=a.get(e);if(!s)throw new TypeError("attempted to set private field on non-instance");if(s.set)s.set.call(e,t);else{if(!s.writable)throw new TypeError("attempted to set read only private field");s.value=t}return t}var m=new WeakMap,u=new WeakMap,N=new WeakMap,f=new WeakMap,d=new WeakMap,y=new WeakMap,A=new WeakMap,g=new WeakMap,v=new WeakMap,I=new WeakMap,b=new WeakMap,k=new WeakMap,p=new WeakMap,w=new WeakMap,R=new WeakMap,E=new WeakMap,D=new WeakMap,F=new WeakMap,H=new WeakMap,M=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,W=new WeakMap,Y=new WeakMap,L=new WeakMap,C=function(){function e(a){var s,l,o,r,h,C,j,P,G,B,T,J,U,V,z,K,$,Q,_,Z,q,X,ee,ae,te,se,ne,le,oe,re,he,ie,ce,me,ue,Ne,fe,de,ye,Ae,ge,ve,Ie,be,ke,pe,we,Re,Ee,De,Fe,He,Me,Se,Oe,xe,We,Ye,Le,Ce,je,Pe,Ge,Be,Te,Je,Ue,Ve,ze,Ke,$e,Qe,_e,Ze,qe,Xe,ea,aa,ta,sa,na,la,oa=this;!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),m.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:e.locales.EN}),I.set(this,{writable:!0,value:e.calendars.GREGORIAN}),b.set(this,{writable:!0,value:!1}),k.set(this,{writable:!0,value:[]}),p.set(this,{writable:!0,value:{}}),w.set(this,{writable:!0,value:/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$/}),R.set(this,{writable:!0,value:[]}),E.set(this,{writable:!0,value:{YYYY:function(e){return c(oa,m,i(oa,L).call(oa,e))},YY:function(a){switch(i(oa,I)){case e.calendars.PERSIAN:a="13"+a;break;case e.calendars.ARABIC:a="14"+a;break;default:a="20"+a}c(oa,m,i(oa,L).call(oa,a))},MMMM:function(e){return c(oa,u,oa.months.findIndex((function(a){return e.toLowerCase()===a.name.toLowerCase()})))},MMM:function(e){return c(oa,u,oa.months.findIndex((function(a){return e.toLowerCase()===a.shortName.toLowerCase()})))},MM:function(e){return c(oa,u,i(oa,L).call(oa,e)-1)},M:function(e){return c(oa,u,i(oa,L).call(oa,e)-1)},DD:function(e){return c(oa,N,i(oa,L).call(oa,e))},D:function(e){return c(oa,N,i(oa,L).call(oa,e))},HH:function(e){return c(oa,f,i(oa,L).call(oa,e))},H:function(e){return c(oa,f,i(oa,L).call(oa,e))},hh:function(e){var a=i(oa,L).call(oa,e);c(oa,f,a>12?a-12:a)},h:function(e){var a=i(oa,L).call(oa,e);c(oa,f,a>12?a-12:a)},mm:function(e){return c(oa,d,i(oa,L).call(oa,e))},m:function(e){return c(oa,d,i(oa,L).call(oa,e))},ss:function(e){return c(oa,y,i(oa,L).call(oa,e))},s:function(e){return c(oa,y,i(oa,L).call(oa,e))},SSS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},SS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},S:function(e){return oa.millisecond=i(oa,L).call(oa,e)}}}),D.set(this,{writable:!0,value:(Ee={},t(Ee,e.calendars.GREGORIAN,[{length:31,locales:(s={},t(s,e.locales.EN,{name:"January",shortName:"Jan"}),t(s,e.locales.FA,{name:"ژانویه",shortName:"ژان"}),t(s,e.locales.AR,{name:"يناير",shortName:"ينا"}),t(s,e.locales.HI,{name:"जनवरी",shortName:"जन"}),s)},{length:void 0,locales:(l={},t(l,e.locales.EN,{name:"February",shortName:"Feb"}),t(l,e.locales.FA,{name:"فوریه",shortName:"فور"}),t(l,e.locales.AR,{name:"فبراير",shortName:"فبر"}),t(l,e.locales.HI,{name:"फ़रवरी",shortName:"फ़र"}),l)},{length:31,locales:(o={},t(o,e.locales.EN,{name:"March",shortName:"Mar"}),t(o,e.locales.FA,{name:"مارس",shortName:"ما"}),t(o,e.locales.AR,{name:"مارس",shortName:"ما"}),t(o,e.locales.HI,{name:"मार्च",shortName:"मार्च"}),o)},{length:30,locales:(r={},t(r,e.locales.EN,{name:"April",shortName:"Apr"}),t(r,e.locales.FA,{name:"آوریل",shortName:"آور"}),t(r,e.locales.AR,{name:"إبريل",shortName:"إبر"}),t(r,e.locales.HI,{name:"अप्रैल",shortName:"अप्रैल"}),r)},{length:31,locales:(h={},t(h,e.locales.EN,{name:"May",shortName:"May"}),t(h,e.locales.FA,{name:"مه",shortName:"مه"}),t(h,e.locales.AR,{name:"مايو",shortName:"ما"}),t(h,e.locales.HI,{name:"मई",shortName:"मई"}),h)},{length:30,locales:(C={},t(C,e.locales.EN,{name:"June",shortName:"Jun"}),t(C,e.locales.FA,{name:"ژوئن",shortName:"ژو"}),t(C,e.locales.AR,{name:"يونيو",shortName:"يو"}),t(C,e.locales.HI,{name:"जून",shortName:"जून"}),C)},{length:31,locales:(j={},t(j,e.locales.EN,{name:"July",shortName:"Jul"}),t(j,e.locales.FA,{name:"ژوئیه",shortName:"ژوئیه"}),t(j,e.locales.AR,{name:"يوليو",shortName:"يوليو"}),t(j,e.locales.HI,{name:"जुलाई",shortName:"जुल"}),j)},{length:31,locales:(P={},t(P,e.locales.EN,{name:"August",shortName:"Aug"}),t(P,e.locales.FA,{name:"اوت",shortName:"اوت"}),t(P,e.locales.AR,{name:"أغسطس",shortName:"أغس"}),t(P,e.locales.HI,{name:"अगस्त",shortName:"अग"}),P)},{length:30,locales:(G={},t(G,e.locales.EN,{name:"September",shortName:"Sep"}),t(G,e.locales.FA,{name:"سپتامبر",shortName:"سپ"}),t(G,e.locales.AR,{name:"سبتمبر",shortName:"سب"}),t(G,e.locales.HI,{name:"सितंबर",shortName:"सित"}),G)},{length:31,locales:(B={},t(B,e.locales.EN,{name:"October",shortName:"Oct"}),t(B,e.locales.FA,{name:"اکتبر",shortName:"اک"}),t(B,e.locales.AR,{name:"أكتوبر",shortName:"اک"}),t(B,e.locales.HI,{name:"अक्तूबर",shortName:"अक्तू"}),B)},{length:30,locales:(T={},t(T,e.locales.EN,{name:"November",shortName:"Nov"}),t(T,e.locales.FA,{name:"نوامبر",shortName:"نو"}),t(T,e.locales.AR,{name:"نوفمبر",shortName:"نو"}),t(T,e.locales.HI,{name:"नवंबर",shortName:"नव"}),T)},{length:31,locales:(J={},t(J,e.locales.EN,{name:"December",shortName:"Dec"}),t(J,e.locales.FA,{name:"دسامبر",shortName:"دس"}),t(J,e.locales.AR,{name:"ديسمبر",shortName:"دس"}),t(J,e.locales.HI,{name:"दिसंबर",shortName:"दिस"}),J)}]),t(Ee,e.calendars.PERSIAN,[{length:31,locales:(U={},t(U,e.locales.EN,{name:"Farvardin",shortName:"Far"}),t(U,e.locales.FA,{name:"فروردین",shortName:"فر"}),t(U,e.locales.AR,{name:"فروردین",shortName:"فر"}),t(U,e.locales.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),U)},{length:31,locales:(V={},t(V,e.locales.EN,{name:"Ordibehesht",shortName:"Ord"}),t(V,e.locales.FA,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.AR,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),V)},{length:31,locales:(z={},t(z,e.locales.EN,{name:"Khordad",shortName:"Kho"}),t(z,e.locales.FA,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.AR,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),z)},{length:31,locales:(K={},t(K,e.locales.EN,{name:"Tir",shortName:"Tir"}),t(K,e.locales.FA,{name:"تیر",shortName:"تیر"}),t(K,e.locales.AR,{name:"تیر",shortName:"تیر"}),t(K,e.locales.HI,{name:"टिर",shortName:"टिर"}),K)},{length:31,locales:($={},t($,e.locales.EN,{name:"Mordad",shortName:"Mor"}),t($,e.locales.FA,{name:"مرداد",shortName:"مر"}),t($,e.locales.AR,{name:"مرداد",shortName:"مر"}),t($,e.locales.HI,{name:"मोरदाद",shortName:"मोरदाद"}),$)},{length:31,locales:(Q={},t(Q,e.locales.EN,{name:"Shahrivar",shortName:"Sha"}),t(Q,e.locales.FA,{name:"شهریور",shortName:"شه"}),t(Q,e.locales.AR,{name:"شهریور",shortName:"شه"}),t(Q,e.locales.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),Q)},{length:30,locales:(_={},t(_,e.locales.EN,{name:"Mehr",shortName:"Meh"}),t(_,e.locales.FA,{name:"مهر",shortName:"مه"}),t(_,e.locales.AR,{name:"مهر",shortName:"مه"}),t(_,e.locales.HI,{name:"मेहर",shortName:"मेहर"}),_)},{length:30,locales:(Z={},t(Z,e.locales.EN,{name:"Aban",shortName:"Aba"}),t(Z,e.locales.FA,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.AR,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.HI,{name:"अवन",shortName:"अवन"}),Z)},{length:30,locales:(q={},t(q,e.locales.EN,{name:"Azar",shortName:"Aza"}),t(q,e.locales.FA,{name:"آذر",shortName:"آذ"}),t(q,e.locales.AR,{name:"آذر",shortName:"آذ"}),t(q,e.locales.HI,{name:"अज़र",shortName:"अज़र"}),q)},{length:30,locales:(X={},t(X,e.locales.EN,{name:"Dey",shortName:"Dey"}),t(X,e.locales.FA,{name:"دی",shortName:"دی"}),t(X,e.locales.AR,{name:"دی",shortName:"دی"}),t(X,e.locales.HI,{name:"डे",shortName:"डे"}),X)},{length:30,locales:(ee={},t(ee,e.locales.EN,{name:"Bahman",shortName:"Bah"}),t(ee,e.locales.FA,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.AR,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.HI,{name:"बहमन",shortName:"बहमन"}),ee)},{length:void 0,locales:(ae={},t(ae,e.locales.EN,{name:"Esfand",shortName:"Esf"}),t(ae,e.locales.FA,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.AR,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),ae)}]),t(Ee,e.calendars.ARABIC,[{length:30,locales:(te={},t(te,e.locales.AR,{name:"محرم",shortName:"محرم"}),t(te,e.locales.EN,{name:"Muharram",shortName:"Mu"}),t(te,e.locales.FA,{name:"محرم",shortName:"محرم"}),t(te,e.locales.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),te)},{length:29,locales:(se={},t(se,e.locales.AR,{name:"صفر",shortName:"صفر"}),t(se,e.locales.EN,{name:"Safar",shortName:"Sa"}),t(se,e.locales.FA,{name:"صفر",shortName:"صفر"}),t(se,e.locales.HI,{name:"सफर",shortName:"सफर"}),se)},{length:30,locales:(ne={},t(ne,e.locales.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),t(ne,e.locales.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ne)},{length:29,locales:(le={},t(le,e.locales.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),t(le,e.locales.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),le)},{length:30,locales:(oe={},t(oe,e.locales.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.EN,{name:"Jumada l-Ula",shortName:"JI"}),t(oe,e.locales.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),oe)},{length:29,locales:(re={},t(re,e.locales.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.EN,{name:"Jumada t-Tania",shortName:"JII"}),t(re,e.locales.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),re)},{length:30,locales:(he={},t(he,e.locales.AR,{name:"رجب",shortName:"رجب"}),t(he,e.locales.EN,{name:"Rajab",shortName:"Ra"}),t(he,e.locales.FA,{name:"رجب",shortName:"رجب"}),t(he,e.locales.HI,{name:"रजब",shortName:"रजब"}),he)},{length:29,locales:(ie={},t(ie,e.locales.AR,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.EN,{name:"Sha`ban",shortName:"Sh"}),t(ie,e.locales.FA,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.HI,{name:"शावन",shortName:"शावन"}),ie)},{length:30,locales:(ce={},t(ce,e.locales.AR,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.EN,{name:"Ramadan",shortName:"Ra"}),t(ce,e.locales.FA,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.HI,{name:"रमजान",shortName:"रमजान"}),ce)},{length:29,locales:(me={},t(me,e.locales.AR,{name:"شوال",shortName:"شوال"}),t(me,e.locales.EN,{name:"Shawwal",shortName:"Sh"}),t(me,e.locales.FA,{name:"شوال",shortName:"شوال"}),t(me,e.locales.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),me)},{length:30,locales:(ue={},t(ue,e.locales.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),t(ue,e.locales.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),t(ue,e.locales.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ue)},{length:void 0,locales:(Ne={},t(Ne,e.locales.AR,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),t(Ne,e.locales.FA,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),Ne)}]),t(Ee,e.calendars.INDIAN,[{length:void 0,locales:(fe={},t(fe,e.locales.EN,{name:"Chaitra",shortName:"Cha"}),t(fe,e.locales.FA,{name:"چیتره",shortName:"چیت"}),t(fe,e.locales.AR,{name:"شيترا",shortName:"شیت"}),t(fe,e.locales.HI,{name:"चैत्र",shortName:"चैत्र"}),fe)},{length:31,locales:(de={},t(de,e.locales.EN,{name:"Vaishakh",shortName:"Vai"}),t(de,e.locales.FA,{name:"ویشاکهه",shortName:"ویش"}),t(de,e.locales.AR,{name:"فيشاخ",shortName:"فیش"}),t(de,e.locales.HI,{name:"वैशाख",shortName:"वैशाख"}),de)},{length:31,locales:(ye={},t(ye,e.locales.EN,{name:"Jyaishtha",shortName:"Jya"}),t(ye,e.locales.FA,{name:"جییشته",shortName:"جیش"}),t(ye,e.locales.AR,{name:"جیشتا",shortName:"جیش"}),t(ye,e.locales.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),ye)},{length:31,locales:(Ae={},t(Ae,e.locales.EN,{name:"Ashadha",shortName:"Ash"}),t(Ae,e.locales.FA,{name:"آشادهه",shortName:"آشا"}),t(Ae,e.locales.AR,{name:"أشاد",shortName:"أشا"}),t(Ae,e.locales.HI,{name:"आषाढ़",shortName:"आषाढ़"}),Ae)},{length:31,locales:(ge={},t(ge,e.locales.EN,{name:"Shravana",shortName:"Shr"}),t(ge,e.locales.FA,{name:"شراونه",shortName:"شرا"}),t(ge,e.locales.AR,{name:"شرافان",shortName:"شرا"}),t(ge,e.locales.HI,{name:"श्रावण",shortName:"श्रावण"}),ge)},{length:31,locales:(ve={},t(ve,e.locales.EN,{name:"Bhadrapad",shortName:"Bha"}),t(ve,e.locales.FA,{name:"بهادره",shortName:"بها"}),t(ve,e.locales.AR,{name:"بهادرابادا",shortName:"بها"}),t(ve,e.locales.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),ve)},{length:30,locales:(Ie={},t(Ie,e.locales.EN,{name:"Ashwin",shortName:"Ash"}),t(Ie,e.locales.FA,{name:"آشوین",shortName:"آشو"}),t(Ie,e.locales.AR,{name:"اشوين",shortName:"اشو"}),t(Ie,e.locales.HI,{name:"आश्विन",shortName:"आश्विन"}),Ie)},{length:30,locales:(be={},t(be,e.locales.EN,{name:"Kartik",shortName:"Kar"}),t(be,e.locales.FA,{name:"کارتیکه",shortName:"کار"}),t(be,e.locales.AR,{name:"كارتيك",shortName:"کار"}),t(be,e.locales.HI,{name:"कार्तिक",shortName:"कार्तिक"}),be)},{length:30,locales:(ke={},t(ke,e.locales.EN,{name:"Agrahayana",shortName:"Agr"}),t(ke,e.locales.FA,{name:"اگرهینه",shortName:"اگر"}),t(ke,e.locales.AR,{name:"أجراهيان",shortName:"اجر"}),t(ke,e.locales.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),ke)},{length:30,locales:(pe={},t(pe,e.locales.EN,{name:"Paush",shortName:"Pau"}),t(pe,e.locales.FA,{name:"پاوشه",shortName:"پاو"}),t(pe,e.locales.AR,{name:"بوش",shortName:"بوش"}),t(pe,e.locales.HI,{name:"पौष",shortName:"पौष"}),pe)},{length:30,locales:(we={},t(we,e.locales.EN,{name:"Magh",shortName:"Mag"}),t(we,e.locales.FA,{name:"ماگهه",shortName:"ماگ"}),t(we,e.locales.AR,{name:"ماک",shortName:"ماک"}),t(we,e.locales.HI,{name:"माघ",shortName:"माघ"}),we)},{length:30,locales:(Re={},t(Re,e.locales.EN,{name:"Phalgun",shortName:"Pha"}),t(Re,e.locales.FA,{name:"پهالگونه",shortName:"پها"}),t(Re,e.locales.AR,{name:"فالغون",shortName:"فال"}),t(Re,e.locales.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),Re)}]),Ee)}),F.set(this,{writable:!0,value:(aa={},t(aa,e.calendars.GREGORIAN,[{index:0,locales:(De={},t(De,e.locales.EN,{name:"Sunday",shortName:"Sun"}),t(De,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(De,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(De,e.locales.HI,{name:"रविवार",shortName:"रवि"}),De)},{index:1,locales:(Fe={},t(Fe,e.locales.EN,{name:"Monday",shortName:"Mon"}),t(Fe,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Fe,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Fe,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Fe)},{index:2,locales:(He={},t(He,e.locales.EN,{name:"Tuesday",shortName:"Tue"}),t(He,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(He,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(He,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),He)},{index:3,locales:(Me={},t(Me,e.locales.EN,{name:"Wednesday",shortName:"Wed"}),t(Me,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Me,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Me,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Me)},{index:4,locales:(Se={},t(Se,e.locales.EN,{name:"Thursday",shortName:"Thu"}),t(Se,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(Se,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Se,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Se)},{index:5,locales:(Oe={},t(Oe,e.locales.EN,{name:"Friday",shortName:"Fri"}),t(Oe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Oe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Oe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Oe)},{index:6,locales:(xe={},t(xe,e.locales.EN,{name:"Saturday",shortName:"Sat"}),t(xe,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(xe,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(xe,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),xe)}]),t(aa,e.calendars.PERSIAN,[{index:1,locales:(We={},t(We,e.locales.EN,{name:"YekShanbeh",shortName:"Yek"}),t(We,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(We,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(We,e.locales.HI,{name:"रविवार",shortName:"रवि"}),We)},{index:2,locales:(Ye={},t(Ye,e.locales.EN,{name:"Doshanbeh",shortName:"Do"}),t(Ye,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Ye,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Ye,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Ye)},{index:3,locales:(Le={},t(Le,e.locales.EN,{name:"Seshanbeh",shortName:"Se"}),t(Le,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Le,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(Le,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Le)},{index:4,locales:(Ce={},t(Ce,e.locales.EN,{name:"Chaharshanbeh",shortName:"Cha"}),t(Ce,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Ce,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Ce,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ce)},{index:5,locales:(je={},t(je,e.locales.EN,{name:"Panjshanbeh",shortName:"Pan"}),t(je,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(je,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(je,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),je)},{index:6,locales:(Pe={},t(Pe,e.locales.EN,{name:"Jom'eh",shortName:"Jom"}),t(Pe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Pe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Pe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Pe)},{index:0,locales:(Ge={},t(Ge,e.locales.EN,{name:"Shanbeh",shortName:"Sha"}),t(Ge,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ge,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(Ge,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ge)}]),t(aa,e.calendars.ARABIC,[{index:1,locales:(Be={},t(Be,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(Be,e.locales.EN,{name:"al-'ahad",shortName:"Aha"}),t(Be,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(Be,e.locales.HI,{name:"रविवार",shortName:"रवि"}),Be)},{index:2,locales:(Te={},t(Te,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Te,e.locales.EN,{name:"al-'ithnayn",shortName:"Ith"}),t(Te,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Te,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Te)},{index:3,locales:(Je={},t(Je,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Je,e.locales.EN,{name:"ath-thalatha",shortName:"Tha"}),t(Je,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Je,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Je)},{index:4,locales:(Ue={},t(Ue,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ue,e.locales.EN,{name:"al-'arb`a'",shortName:"Arb"}),t(Ue,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ue,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ue)},{index:5,locales:(Ve={},t(Ve,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Ve,e.locales.EN,{name:"al-khamis",shortName:"Kha"}),t(Ve,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(Ve,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Ve)},{index:6,locales:(ze={},t(ze,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(ze,e.locales.EN,{name:"al-jum`a",shortName:"Jum"}),t(ze,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(ze,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),ze)},{index:0,locales:(Ke={},t(Ke,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(Ke,e.locales.EN,{name:"as-sabt",shortName:"Sab"}),t(Ke,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ke,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ke)}]),t(aa,e.calendars.INDIAN,[{index:0,locales:($e={},t($e,e.locales.EN,{name:"Ravivara",shortName:"Rav"}),t($e,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t($e,e.locales.AR,{name:"الأحد",shortName:"احد"}),t($e,e.locales.HI,{name:"रविवार",shortName:"रवि"}),$e)},{index:1,locales:(Qe={},t(Qe,e.locales.EN,{name:"Somavara",shortName:"Som"}),t(Qe,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Qe,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Qe,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Qe)},{index:2,locales:(_e={},t(_e,e.locales.EN,{name:"Mangalavara",shortName:"Man"}),t(_e,e.locales.FA,{name:"سه شنبه\t",shortName:"سه"}),t(_e,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(_e,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),_e)},{index:3,locales:(Ze={},t(Ze,e.locales.EN,{name:"Budhavara",shortName:"Bud"}),t(Ze,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ze,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ze,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ze)},{index:4,locales:(qe={},t(qe,e.locales.EN,{name:"Brihaspatvara",shortName:"Bri"}),t(qe,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(qe,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(qe,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),qe)},{index:5,locales:(Xe={},t(Xe,e.locales.EN,{name:"Sukravara",shortName:"Suk"}),t(Xe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Xe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Xe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Xe)},{index:6,locales:(ea={},t(ea,e.locales.EN,{name:"Sanivara",shortName:"San"}),t(ea,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(ea,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(ea,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),ea)}]),aa)}),H.set(this,{writable:!0,value:(ta={},t(ta,e.locales.EN,["0","1","2","3","4","5","6","7","8","9"]),t(ta,e.locales.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),t(ta,e.locales.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),t(ta,e.locales.HI,["०","१","२","३","४","५","६","७","८","९"]),ta)}),M.set(this,{writable:!0,value:(sa={},t(sa,e.locales.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),t(sa,e.locales.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),t(sa,e.locales.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),t(sa,e.locales.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),sa)}),S.set(this,{writable:!0,value:(na={},t(na,e.calendars.GREGORIAN,1721424),t(na,e.calendars.PERSIAN,1948319),t(na,e.calendars.ARABIC,1948438),t(na,e.calendars.INDIAN,1749628),t(na,"unix",2440587),na)}),O.set(this,{writable:!0,value:(la={},t(la,e.calendars.GREGORIAN,365),t(la,e.calendars.PERSIAN,365),t(la,e.calendars.ARABIC,354),t(la,e.calendars.INDIAN,365),la)}),x.set(this,{writable:!0,value:function(){var a=function(){for(var a=!1;i(oa,u)<0;)c(oa,u,i(oa,u)+12),c(oa,m,i(oa,m)-1),0===i(oa,m)&&oa.calendar!==e.calendars.INDIAN&&c(oa,m,-1),a=!0;for(;i(oa,u)>11;)c(oa,u,i(oa,u)-12),c(oa,m,i(oa,m)+1),0===i(oa,m)&&oa.calendar!==e.calendars.INDIAN&&c(oa,m,1),a=!0;a&&i(oa,W).call(oa)};if(oa.isValid){for(;i(oa,A)>=1e3;)c(oa,A,i(oa,A)-1e3),c(oa,y,i(oa,y)+1);for(;i(oa,A)<0;)c(oa,A,i(oa,A)+1e3),c(oa,y,i(oa,y)-1);for(;i(oa,y)>=60;)c(oa,y,i(oa,y)-60),c(oa,d,i(oa,d)+1);for(;i(oa,y)<0;)c(oa,y,i(oa,y)+60),c(oa,d,i(oa,d)-1);for(;i(oa,d)>=60;)c(oa,d,i(oa,d)-60),c(oa,f,i(oa,f)+1);for(;i(oa,d)<0;)c(oa,d,i(oa,d)+60),c(oa,f,i(oa,f)-1);for(;i(oa,f)>=24;)c(oa,f,i(oa,f)-24),c(oa,N,i(oa,N)+1);for(;i(oa,f)<0;)c(oa,f,i(oa,f)+24),c(oa,N,i(oa,N)-1);for(;;){for((i(oa,u)<0||i(oa,u)>11)&&a();i(oa,N)<1;)c(oa,u,i(oa,u)-1),a(),c(oa,N,oa.month.length+i(oa,N));if(i(oa,N)<=oa.month.length||isNaN(i(oa,N)))break;c(oa,N,i(oa,N)-oa.month.length),c(oa,u,+i(oa,u)+1)}i(oa,f)||c(oa,f,0),i(oa,d)||c(oa,d,0),i(oa,y)||c(oa,y,0),i(oa,A)||c(oa,A,0)}}}),W.set(this,{writable:!0,value:function(){if(0!==i(oa,m)||i(oa,I)===e.calendars.INDIAN){var a=void 0;a=i(oa,I)!==e.calendars.INDIAN?i(oa,m)>0?1:-1:0;var t=function(){return i(oa,m)>0?a<=i(oa,m):i(oa,m)<=a},s=function(){return i(oa,m)>0?a++:a--},n=function(e){return e%4==0&&e%100!=0||e%400==0};switch(c(oa,k,[]),i(oa,I)){case e.calendars.PERSIAN:for(var l=.242362,o=i(oa,m)>0?.2684:.7316,r={5:4,38:37,199:198,232:231,265:264,298:297,557:558,590:591,623:624,982:983,1015:1016,1048:1049,1081:1082,1114:1115,1242:1243,1374:1375,1407:1408,1440:1441,1506:1507,1539:1540,1572:1573,1605:1606,1931:1932,1964:1965,2063:2064,2096:2097,2687:2686,2720:2719,2753:2752,2819:2818,2852:2851,2885:2884,3017:3016,3112:3111,3145:3144,3178:3177,3211:3210,3244:3243,3277:3276,3310:3309,3343:3342,3376:3375,3409:3408,3442:3441,3508:3507,3541:3540,3574:3573,3603:3602,3607:3606,3636:3635,3669:3668,3702:3701,3706:3705,3735:3734,3768:3767,3801:3800,3834:3833,3867:3866,3900:3899,3933:3932,3966:3965,3999:3998,4065:4064,4094:4093,4098:4097,4127:4126,4131:4130,4160:4159,4193:4192,4226:4225,4259:4258,4292:4291,4325:4324,4358:4357,4391:4390,4585:4584,4618:4617,4651:4650,4750:4749,4943:4944,4976:4977,5009:5010,5170:5171,5203:5204,5236:5237,5265:5266,5269:5270,5298:5299,5302:5303,5331:5332,5335:5336,5364:5365,5368:5369,5393:5394,5397:5398,5401:5402,5426:5427,5430:5431,5434:5435,5459:5460,5463:5464,5467:5468,5492:5493,5496:5497,5500:5501,5521:5522,5525:5526,5529:5530,5554:5555,5558:5559,5562:5563,5587:5588,5591:5592,5595:5596,5616:5617,5620:5621,5624:5625,5628:5629,5649:5650,5653:5654,5657:5658,5661:5662,5682:5683,5686:5687,5690:5691,5694:5695,5715:5716,5719:5720,5723:5724,5727:5728,5744:5745,5748:5749,5752:5753,5756:5757,5760:5761,5777:5778,5781:5782,5785:5786,5789:5790,5793:5794,5810:5811,5814:5815,5818:5819,5822:5823,5826:5827,5839:5840,5843:5844,5847:5848,5851:5852,5855:5856,5859:5860,5872:5873,5876:5877,5880:5881,5884:5885,5888:5889,5892:5893,5901:5902,5905:5906,5909:5910,5913:5914,5917:5918,5921:5922,5925:5926,5934:5935,5938:5939,5942:5943,5946:5947,5950:5951,5954:5955,5958:5959,5967:5968,5971:5972,5975:5976,5979:5980,5983:5984,5987:5988,5991:5992,5996:5997,6e3:6001,6004:6005,6008:6009,6012:6013,6016:6017,6020:6021,6029:6030,6033:6034,6037:6038,6041:6042,6045:6046,6049:6050,6053:6054,6058:6059,6062:6063,6066:6067,6070:6071,6074:6075,6078:6079,6082:6083,6086:6087,6091:6092,6095:6096,6099:6100,6103:6104,6107:6108,6111:6112,6115:6116,6119:6120,6124:6125,6128:6129,6132:6133,6136:6137,6140:6141,6144:6145,6148:6149,6152:6154,6157:6158,6161:6162,6165:6166,6169:6170,6173:6174,6177:6178,6181:6182,6185:6187,6190:6191,6194:6195,6198:6199,6202:6203,6206:6207,6210:6211,6214:6215,6218:6220,6223:6224,6227:6228,6231:6232,6235:6236,6239:6240,6243:6244,6247:6249,6251:6253,6256:6257,6260:6261,6264:6265,6268:6269,6272:6273,6276:6277,6280:6282,6284:6286,6289:6290,6293:6294,6297:6298,6301:6302,6305:6306,6309:6310,6313:6315,6317:6319,6322:6323,6326:6327,6330:6331,6334:6335,6338:6339,6342:6344,6346:6348,6350:6352,6355:6356,6359:6360,6363:6364,6367:6368,6371:6372,6375:6377,6379:6381,6383:6385,6388:6389,6392:6393,6396:6397,6400:6401,6404:6406,6408:6410,6412:6414,6416:6418,6421:6422,6425:6426,6429:6430,6433:6434,6437:6439,6441:6443,6445:6447,6449:6451,6454:6455,6458:6459,6462:6463,6466:6468,6470:6472,6474:6476,6478:6480,6482:6484,6487:6488,6491:6492,6495:6496};t();){if((o+=i(oa,m)>0?l:-1*l)>1&&(o-=1),o<0&&(o+=1),o>=.257800926&&o<=.5){var h=r[a]||a<-1?a+1:a;i(oa,m)>0&&h<=i(oa,m)&&i(oa,k).push(h),i(oa,m)<0&&i(oa,k).push(h)}s()}break;case e.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(a%30)&&i(oa,k).push(a),s();break;case e.calendars.INDIAN:for(;t();)n(a+78)&&i(oa,k).push(a),s();break;default:for(;t();)n(a)&&i(oa,k).push(a),s()}}}}),Y.set(this,{writable:!0,value:function(a,t){var s=void 0;switch(t){case e.calendars.PERSIAN:s=~~((a+.5)/365.241);break;case e.calendars.ARABIC:s=~~((a-.5)/354.366);break;default:s=~~(a/365.24)}return s+(i(oa,m)>0?1:-1)}}),L.set(this,{writable:!0,value:function(e){if(!isNaN(e))return parseInt(e)}});var ra=a&&a.constructor===Object?n({},a):a;ra&&"boolean"!=typeof ra||(ra={date:new Date}),(ra instanceof Date||ra instanceof e||"string"==typeof ra||"number"==typeof ra)&&(ra={date:ra}),ra.calendar&&(ra.calendar=e.calendars[ra.calendar.toUpperCase()]||e.calendars.GREGORIAN,c(this,I,ra.calendar));var ha=!0,ia=Object.keys(ra).filter((function(e){return ra[e]||0===ra[e]})),ca=ia.length>0&&ia.length<=4&&ia.every((function(e){return["calendar","locale","format","ignoreList"].includes(e)}));for(var ma in ca&&(ra.date=new Date),(ra.date instanceof e||ra.date instanceof Date||"number"==typeof ra.date||"string"==typeof ra.date)&&("string"==typeof ra.date&&ra.format&&c(this,g,ra.format),this.setDate(ra.date),ra.calendar&&this.convert(ra.calendar),ha=!1),ra.locale&&(ra.locale=e.locales[ra.locale.toUpperCase()]||e.locales.EN,c(this,v,ra.locale)),delete ra.calendar,delete ra.locale,delete ra.date,ra)this.set(ma,ra[ma]);0===i(this,m)&&i(this,I)!==e.calendars.INDIAN&&c(this,m,-1),ha&&(i(this,W).call(this),i(this,x).call(this))}var s;return(s=[{key:"parse",value:function(a){if(!a)return this;var t=i(this,g);if(i(this,v)!==e.locales.en){var s,n=i(this,H)[i(this,v)],o=h(n);try{for(o.s();!(s=o.n()).done;){var r=s.value;a=a.replace(new RegExp(r,"g"),n.indexOf(r))}}catch(a){o.e(a)}finally{o.f()}}if(t)for(var I=t.split(/[^\w\u0600-\u06FF]/),b=a.split(/[^\w\u0600-\u06FF]/),k=0;k<I.length;k++){var p=i(this,E)[I[k]];p&&b[k]&&p(b[k])}else{var w=l(a.match(/(-?\d{2,4})?\W?([A-z]{3,9}|\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,3})?\W?(am|pm)?/),9),R=w[1],D=w[2],F=w[3],S=w[4],O=w[5],Y=w[6],C=w[7],j=w[8];D&&(D=/\d+/.test(D)?i(this,L).call(this,D)-1:this.months.findIndex((function(e){return new RegExp(D,"i").test(e.name)}))),c(this,m,i(this,L).call(this,R)),c(this,u,i(this,L).call(this,D)),c(this,N,i(this,L).call(this,F)),c(this,f,i(this,L).call(this,S)),c(this,d,i(this,L).call(this,O)),c(this,y,i(this,L).call(this,Y)),c(this,A,i(this,L).call(this,C)),j&&"pm"===j&&i(this,f)<12&&c(this,f,i(this,f)+12)}return a.includes(i(this,M)[i(this,v)][1].shortName)&&i(this,f)<12&&c(this,f,i(this,f)+12),a.includes(i(this,M)[i(this,v)][1].name)&&i(this,f)<12&&c(this,f,i(this,f)+12),i(this,W).call(this),i(this,x).call(this),this}},{key:"convert",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.calendars.GREGORIAN;if(!(a=e.calendars[a.toUpperCase()]))throw new Error("calendar not found");if(a===i(this,I))return this;var t=this.toJulianDay()-i(this,S)[a],s=new e({calendar:a,year:i(this,Y).call(this,t,a),month:1,day:1});return s.day+=t-s.dayOfBeginning,c(this,m,s.year),c(this,u,s.month.index),c(this,N,s.day),c(this,k,s.leaps),c(this,I,a),this}},{key:"format",value:function(t,s){if(!this.isValid)return"";if(!t||"string"==typeof t){t||(t=i(this,g)||"YYYY/MM/DD"),Array.isArray(s)||(s=[]),s=(s=s.concat(i(this,R))).filter((function(e){return"string"==typeof e||(console.warn("type of all items in the ignore list must be string, found",a(e)),!1)})).map((function(e){return e.replace(/[*/+\-()[\]{}\s$^]/g,(function(e){return"\\"+e}))}));var n,l=new RegExp("".concat(s.join("|")).concat(s.length>0?"|":"","YYYY|YY|MMMM|MMM|MM|M|WW|W|DDDD|DDD|DD|D|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|SSS|SS|S|A|a|."),"g"),o="",r=h(t.match(l)||[]);try{for(r.s();!(n=r.n()).done;){var c=n.value;o+=s.includes(c)?c:this.getProperty(c)||c}}catch(e){r.e(e)}finally{r.f()}if(i(this,v)!==e.locales.en){var m=i(this,p).digits||i(this,H)[i(this,v)];o=o.replace(/[0-9]/g,(function(e){return m[e]}))}return o}}},{key:"getProperty",value:function(e){var a=function(e){return e<10?"0"+e:e};switch(e){case"YYYY":return this.year;case"YY":return this.year.toString().substring(2,4);case"MMMM":return this.month.name;case"MMM":return this.month.shortName;case"MM":return a(this.month.number);case"M":return this.month.number;case"WW":return a(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return a(this.day);case"D":return this.day;case"HH":return a(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"dd":return a(this.weekDay.number);case"d":return this.weekDay.number;case"hh":return a(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return a(this.minute);case"m":return this.minute;case"ss":return a(this.second);case"s":return this.second;case"SSS":return i(this,A)<10?"00".concat(i(this,A)):i(this,A)<100?"0".concat(i(this,A)):i(this,A);case"SS":return i(this,A)<10?"00":i(this,A)<100?("0"+i(this,A)).substring(2,0):i(this,A).toString().substring(0,2);case"S":return i(this,A)<10||i(this,A)<100?"0":i(this,A).toString().substring(0,1);case"a":return this.hour>=12?i(this,M)[i(this,v)][1].shortName:i(this,M)[i(this,v)][0].shortName;case"A":return this.hour>=12?i(this,M)[i(this,v)][1].name:i(this,M)[i(this,v)][0].name;default:return""}}},{key:"setYear",value:function(e){return this.year=e,this}},{key:"setMonths",value:function(e){return this.months=e,this}},{key:"setMonth",value:function(e){return this.month=e,this}},{key:"setWeekDays",value:function(e){return this.weekDays=e,this}},{key:"setDigits",value:function(e){return this.digits=e,this}},{key:"setDay",value:function(e){return this.day=e,this}},{key:"setHour",value:function(e){return this.hour=e,this}},{key:"setMinute",value:function(e){return this.minute=e,this}},{key:"setSecond",value:function(e){return this.second=e,this}},{key:"setMillisecond",value:function(e){return this.millisecond=e,this}},{key:"setFormat",value:function(e){return c(this,g,e),this}},{key:"setLocale",value:function(e){return this.locale=e,this}},{key:"setLocal",value:function(e){return this.setLocale(e)}},{key:"setCalendar",value:function(e){return this.calendar=e,this}},{key:"setDate",value:function(a){if("string"==typeof a){if(!i(this,w).test(a))return this.parse(a);a=new Date(a)}return"number"==typeof a&&(a=new Date(a)),a instanceof Date&&(c(this,I,e.calendars.GREGORIAN),c(this,m,a.getFullYear()),c(this,u,a.getMonth()),c(this,N,a.getDate()),c(this,f,a.getHours()),c(this,d,a.getMinutes()),c(this,y,a.getSeconds()),c(this,A,a.getMilliseconds()),c(this,b,!1),i(this,W).call(this),i(this,x).call(this)),a instanceof e&&(c(this,m,a.year),c(this,u,a.month.index),c(this,N,a.day),c(this,f,a.hour),c(this,d,a.minute),c(this,y,a.second),c(this,A,a.millisecond),c(this,v,a.locale.toUpperCase()),c(this,g,a._format),c(this,k,a.leaps),c(this,I,a.calendar.toUpperCase()),c(this,b,a.isUTC)),this}},{key:"setIgnoreList",value:function(e){return this.ignoreList=e,this}},{key:"set",value:function(e,a){if(null==e)return this;if(e.constructor===Object){var t=n({},e);for(var s in t.date&&(this.setDate(t.date),delete t.date),t.calendar&&(this.convert(t.calendar),delete t.calendar),t.locale&&(this.setLocale(t.locale),delete t.locale),t)this.set(s,t[s]);return this}switch(e){case"calendar":return this.convert(a);case"locale":return this.setLocale(a);case"format":return this.setFormat(a);case"year":return this.setYear(a);case"month":return this.setMonth(a);case"months":return this.setMonths(a);case"weekDays":return this.setWeekDays(a);case"day":return this.setDay(a);case"hour":return this.setHour(a);case"minute":return this.setMinute(a);case"second":return this.setSecond(a);case"millisecond":return this.setMillisecond(a);case"date":return this.setDate(a);case"ignoreList":return this.setIgnoreList(a);case"digits":return this.setDigits(a);default:return this}}},{key:"add",value:function(e,a){if(!(e=i(this,L).call(this,e))||!a)return this;switch(a){case"years":case"year":case"y":this.year+=e;break;case"months":case"month":case"M":this.month+=e;break;case"days":case"day":case"d":this.day+=e;break;case"hours":case"hour":case"h":this.hour+=e;break;case"minutes":case"minute":case"m":this.minute+=e;break;case"seconds":case"second":case"s":this.second+=e;break;case"milliseconds":case"millisecond":case"ms":this.millisecond+=e}return this}},{key:"subtract",value:function(e,a){return this.add(-e,a)}},{key:"toFirstOfYear",value:function(){return this.month=1,this.day=1,this}},{key:"toLastOfYear",value:function(){return this.day>=29&&(this.day=29),this.month=12,this.toLastOfMonth(),this}},{key:"toFirstOfMonth",value:function(){return c(this,N,1),this}},{key:"toLastOfMonth",value:function(){return c(this,N,0),c(this,u,i(this,u)+1),i(this,x).call(this),this}},{key:"toFirstOfWeek",value:function(){return this.day-=this.weekDay.index,this}},{key:"toLastOfWeek",value:function(){return this.day+=6-this.weekDay.index,this}},{key:"toFirstWeekOfYear",value:function(){return this.toFirstOfYear(),0===this.weekDay.index?this:this.toLastOfWeek().setDay(this.day+1)}},{key:"toLastWeekOfYear",value:function(){return this.toLastOfYear().toFirstOfWeek()}},{key:"toString",value:function(){return this.format()}},{key:"toDate",value:function(){var a=new e(this);return i(this,I)!==e.calendars.GREGORIAN&&a.convert(e.calendars.GREGORIAN),new Date(i(a,m),i(a,u),i(a,N),i(a,f),i(a,d),i(a,y),i(a,A))}},{key:"toUTC",value:function(){return i(this,b)||(this.minute+=(new Date).getTimezoneOffset(),c(this,b,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,S)[i(this,I)]}},{key:"toObject",value:function(){return{year:i(this,m),month:this.month,day:i(this,N),weekDay:this.weekDay,hour:i(this,f),minute:i(this,d),second:i(this,y),millisecond:i(this,A),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,I).toLowerCase(),locale:i(this,v).toLowerCase(),format:i(this,g)||"YYYY/MM/DD"}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){var e=this.dayOfBeginning+i(this,S)[i(this,I)]-i(this,S).unix,a=i(this,b)?0:60*(new Date).getTimezoneOffset()*1e3;return 24*e*60*60*1e3+60*i(this,f)*60*1e3+60*i(this,d)*1e3+1e3*i(this,y)+this.millisecond+a}},{key:"dayOfBeginning",get:function(){if(this.isValid){var a=(i(this,I)!==e.calendars.INDIAN&&i(this,m)>0?i(this,m)-1:i(this,m))*i(this,O)[i(this,I)],t=this.isLeap?this.leaps.length-1:this.leaps.length;return i(this,m)>0&&(a+=t),i(this,m)<0&&(a-=t),a+this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var e=i(this,N),a=this.months,t=0;t<i(this,u);t++)e+=a[t].length;return e}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var e=i(this,O)[i(this,I)];return(this.isLeap?e+1:e)-this.dayOfYear}}},{key:"year",get:function(){return i(this,m)},set:function(e){e=i(this,L).call(this,e),c(this,m,e),i(this,W).call(this),i(this,x).call(this)}},{key:"month",get:function(){var e=this.months[i(this,u)];return e?(e.index=i(this,u),e.number=e.index+1,e.toString=function(){return this.number.toString()},e.valueOf=function(){return this.number},e):{}},set:function(e){e&&e.constructor===Object&&e.number&&(e=e.number),e=i(this,L).call(this,e),c(this,u,e-1),i(this,x).call(this)}},{key:"day",get:function(){return i(this,N)},set:function(e){e=i(this,L).call(this,e),c(this,N,e),i(this,x).call(this)}},{key:"weekDay",get:function(){var e=(this.toJulianDay()+2)%7,a=i(this,F)[i(this,I)][e];if(!a)return{};var t=i(this,p).weekDays?i(this,p).weekDays[a.index]:a.locales[i(this,v)];return n({index:a.index,number:a.index+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}},t)}},{key:"hour",get:function(){return i(this,f)},set:function(e){e=i(this,L).call(this,e),c(this,f,e),i(this,x).call(this)}},{key:"minute",get:function(){return i(this,d)},set:function(e){e=i(this,L).call(this,e),c(this,d,e),i(this,x).call(this)}},{key:"second",get:function(){return i(this,y)},set:function(e){e=i(this,L).call(this,e),c(this,y,e),i(this,x).call(this)}},{key:"millisecond",get:function(){return i(this,A)},set:function(e){e=i(this,L).call(this,e),c(this,A,e),i(this,x).call(this)}},{key:"months",get:function(){var a=this,t=i(this,D)[i(this,I)];switch(i(this,I)){case e.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case e.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t.map((function(e,t){var s=i(a,p).months?i(a,p).months[t]:e.locales[i(a,v)];return n({length:e.length},s)}))},set:function(e){if(!e)return delete i(this,p).months;Array.isArray(e)&&12===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,p).months=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"weekDays",get:function(){var e=this,a=i(this,F)[i(this,I)];return a.sort((function(e,a){return e.index-a.index})),a.map((function(a,t){var s=i(e,p).weekDays?i(e,p).weekDays[t]:a.locales[i(e,v)];return n({index:a.index,number:a.index+1},s)}))},set:function(e){if(!e)return delete i(this,p).weekDays;Array.isArray(e)&&7===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,p).weekDays=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"leaps",get:function(){return i(this,k)}},{key:"calendar",get:function(){return i(this,I).toLowerCase()},set:function(e){this.convert(e)}},{key:"locale",get:function(){return i(this,v).toLowerCase()},set:function(a){a=a.toUpperCase(),e.locales[a]||(a=e.locales.EN),c(this,v,a)}},{key:"meridiems",get:function(){return i(this,M)[i(this,v)]}},{key:"digits",get:function(){return i(this,p).digits||i(this,H)[i(this,v)]},set:function(e){if(!e)return delete i(this,p).digits;Array.isArray(e)&&10===e.length&&(i(this,p).digits=e)}},{key:"_format",get:function(){return i(this,g)},set:function(e){"string"==typeof e&&c(this,g,e)}},{key:"isLeap",get:function(){return i(this,k).includes(i(this,m))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,m)+i(this,u)+i(this,N)))}},{key:"isUTC",get:function(){return i(this,b)}},{key:"unix",get:function(){return(this.valueOf()-this.millisecond)/1e3}},{key:"ignoreList",get:function(){return i(this,R)},set:function(e){Array.isArray(e)&&c(this,R,e)}},{key:"local",set:function(e){this.locale=e}}])&&function(e,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,s),e}();t(C,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),t(C,"locales",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"});export default C;
function e(a){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(a)}function a(t){return(a="function"==typeof Symbol&&"symbol"==e(Symbol.iterator)?function(a){return e(a)}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":e(a)})(t)}function t(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function s(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);a&&(s=s.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),t.push.apply(t,s)}return t}function n(e){for(var a=1;a<arguments.length;a++){var n=null!=arguments[a]?arguments[a]:{};a%2?s(Object(n),!0).forEach((function(a){t(e,a,n[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))}))}return e}function l(e,a){return function(e){if(Array.isArray(e))return e}(e)||function(e,a){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var t=[],s=!0,n=!1,l=void 0;try{for(var o,r=e[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!a||t.length!==a);s=!0);}catch(e){n=!0,l=e}finally{try{s||null==r.return||r.return()}finally{if(n)throw l}}return t}}(e,a)||o(e,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,a){if(e){if("string"==typeof e)return r(e,a);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,a):void 0}}function r(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,s=new Array(a);t<a;t++)s[t]=e[t];return s}function h(e,a){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=o(e))||a&&e&&"number"==typeof e.length){t&&(e=t);var s=0,n=function(){};return{s:n,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:n}}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 l,r=!0,h=!1;return{s:function(){t=e[Symbol.iterator]()},n:function(){var e=t.next();return r=e.done,e},e:function(e){h=!0,l=e},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw l}}}}function i(e,a){return function(e,a){return a.get?a.get.call(e):a.value}(e,m(e,a,"get"))}function c(e,a,t){return function(e,a,t){if(a.set)a.set.call(e,t);else{if(!a.writable)throw new TypeError("attempted to set read only private field");a.value=t}}(e,m(e,a,"set"),t),t}function m(e,a,t){if(!a.has(e))throw new TypeError("attempted to "+t+" private field on non-instance");return a.get(e)}var u=new WeakMap,N=new WeakMap,f=new WeakMap,d=new WeakMap,y=new WeakMap,A=new WeakMap,g=new WeakMap,v=new WeakMap,I=new WeakMap,k=new WeakMap,b=new WeakMap,p=new WeakMap,w=new WeakMap,R=new WeakMap,E=new WeakMap,D=new WeakMap,F=new WeakMap,H=new WeakMap,M=new WeakMap,S=new WeakMap,O=new WeakMap,x=new WeakMap,W=new WeakMap,Y=new WeakMap,C=new WeakMap,L=new WeakMap,j=function(){function e(a){var s,l,o,r,h,m,j,P,G,B,T,J,U,V,z,K,$,_,Q,Z,q,X,ee,ae,te,se,ne,le,oe,re,he,ie,ce,me,ue,Ne,fe,de,ye,Ae,ge,ve,Ie,ke,be,pe,we,Re,Ee,De,Fe,He,Me,Se,Oe,xe,We,Ye,Ce,Le,je,Pe,Ge,Be,Te,Je,Ue,Ve,ze,Ke,$e,_e,Qe,Ze,qe,Xe,ea,aa,ta,sa,na,la,oa=this;!function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}(this,e),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:void 0}),I.set(this,{writable:!0,value:e.locales.EN}),k.set(this,{writable:!0,value:e.calendars.GREGORIAN}),b.set(this,{writable:!0,value:!1}),p.set(this,{writable:!0,value:[]}),w.set(this,{writable:!0,value:{}}),R.set(this,{writable:!0,value:/^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d\d\dZ$/}),E.set(this,{writable:!0,value:[]}),D.set(this,{writable:!0,value:{YYYY:function(e){return c(oa,u,i(oa,L).call(oa,e))},YY:function(a){switch(i(oa,k)){case e.calendars.PERSIAN:a="13"+a;break;case e.calendars.ARABIC:a="14"+a;break;default:a="20"+a}c(oa,u,i(oa,L).call(oa,a))},MMMM:function(e){return c(oa,N,oa.months.findIndex((function(a){return e.toLowerCase()===a.name.toLowerCase()})))},MMM:function(e){return c(oa,N,oa.months.findIndex((function(a){return e.toLowerCase()===a.shortName.toLowerCase()})))},MM:function(e){return c(oa,N,i(oa,L).call(oa,e)-1)},M:function(e){return c(oa,N,i(oa,L).call(oa,e)-1)},DD:function(e){return c(oa,f,i(oa,L).call(oa,e))},D:function(e){return c(oa,f,i(oa,L).call(oa,e))},HH:function(e){return c(oa,d,i(oa,L).call(oa,e))},H:function(e){return c(oa,d,i(oa,L).call(oa,e))},hh:function(e){var a=i(oa,L).call(oa,e);c(oa,d,a>12?a-12:a)},h:function(e){var a=i(oa,L).call(oa,e);c(oa,d,a>12?a-12:a)},mm:function(e){return c(oa,y,i(oa,L).call(oa,e))},m:function(e){return c(oa,y,i(oa,L).call(oa,e))},ss:function(e){return c(oa,A,i(oa,L).call(oa,e))},s:function(e){return c(oa,A,i(oa,L).call(oa,e))},SSS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},SS:function(e){return oa.millisecond=i(oa,L).call(oa,e)},S:function(e){return oa.millisecond=i(oa,L).call(oa,e)}}}),F.set(this,{writable:!0,value:(Ee={},t(Ee,e.calendars.GREGORIAN,[{length:31,locales:(s={},t(s,e.locales.EN,{name:"January",shortName:"Jan"}),t(s,e.locales.FA,{name:"ژانویه",shortName:"ژان"}),t(s,e.locales.AR,{name:"يناير",shortName:"ينا"}),t(s,e.locales.HI,{name:"जनवरी",shortName:"जन"}),s)},{length:void 0,locales:(l={},t(l,e.locales.EN,{name:"February",shortName:"Feb"}),t(l,e.locales.FA,{name:"فوریه",shortName:"فور"}),t(l,e.locales.AR,{name:"فبراير",shortName:"فبر"}),t(l,e.locales.HI,{name:"फ़रवरी",shortName:"फ़र"}),l)},{length:31,locales:(o={},t(o,e.locales.EN,{name:"March",shortName:"Mar"}),t(o,e.locales.FA,{name:"مارس",shortName:"ما"}),t(o,e.locales.AR,{name:"مارس",shortName:"ما"}),t(o,e.locales.HI,{name:"मार्च",shortName:"मार्च"}),o)},{length:30,locales:(r={},t(r,e.locales.EN,{name:"April",shortName:"Apr"}),t(r,e.locales.FA,{name:"آوریل",shortName:"آور"}),t(r,e.locales.AR,{name:"إبريل",shortName:"إبر"}),t(r,e.locales.HI,{name:"अप्रैल",shortName:"अप्रैल"}),r)},{length:31,locales:(h={},t(h,e.locales.EN,{name:"May",shortName:"May"}),t(h,e.locales.FA,{name:"مه",shortName:"مه"}),t(h,e.locales.AR,{name:"مايو",shortName:"ما"}),t(h,e.locales.HI,{name:"मई",shortName:"मई"}),h)},{length:30,locales:(m={},t(m,e.locales.EN,{name:"June",shortName:"Jun"}),t(m,e.locales.FA,{name:"ژوئن",shortName:"ژو"}),t(m,e.locales.AR,{name:"يونيو",shortName:"يو"}),t(m,e.locales.HI,{name:"जून",shortName:"जून"}),m)},{length:31,locales:(j={},t(j,e.locales.EN,{name:"July",shortName:"Jul"}),t(j,e.locales.FA,{name:"ژوئیه",shortName:"ژوئیه"}),t(j,e.locales.AR,{name:"يوليو",shortName:"يوليو"}),t(j,e.locales.HI,{name:"जुलाई",shortName:"जुल"}),j)},{length:31,locales:(P={},t(P,e.locales.EN,{name:"August",shortName:"Aug"}),t(P,e.locales.FA,{name:"اوت",shortName:"اوت"}),t(P,e.locales.AR,{name:"أغسطس",shortName:"أغس"}),t(P,e.locales.HI,{name:"अगस्त",shortName:"अग"}),P)},{length:30,locales:(G={},t(G,e.locales.EN,{name:"September",shortName:"Sep"}),t(G,e.locales.FA,{name:"سپتامبر",shortName:"سپ"}),t(G,e.locales.AR,{name:"سبتمبر",shortName:"سب"}),t(G,e.locales.HI,{name:"सितंबर",shortName:"सित"}),G)},{length:31,locales:(B={},t(B,e.locales.EN,{name:"October",shortName:"Oct"}),t(B,e.locales.FA,{name:"اکتبر",shortName:"اک"}),t(B,e.locales.AR,{name:"أكتوبر",shortName:"اک"}),t(B,e.locales.HI,{name:"अक्तूबर",shortName:"अक्तू"}),B)},{length:30,locales:(T={},t(T,e.locales.EN,{name:"November",shortName:"Nov"}),t(T,e.locales.FA,{name:"نوامبر",shortName:"نو"}),t(T,e.locales.AR,{name:"نوفمبر",shortName:"نو"}),t(T,e.locales.HI,{name:"नवंबर",shortName:"नव"}),T)},{length:31,locales:(J={},t(J,e.locales.EN,{name:"December",shortName:"Dec"}),t(J,e.locales.FA,{name:"دسامبر",shortName:"دس"}),t(J,e.locales.AR,{name:"ديسمبر",shortName:"دس"}),t(J,e.locales.HI,{name:"दिसंबर",shortName:"दिस"}),J)}]),t(Ee,e.calendars.PERSIAN,[{length:31,locales:(U={},t(U,e.locales.EN,{name:"Farvardin",shortName:"Far"}),t(U,e.locales.FA,{name:"فروردین",shortName:"فر"}),t(U,e.locales.AR,{name:"فروردین",shortName:"فر"}),t(U,e.locales.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),U)},{length:31,locales:(V={},t(V,e.locales.EN,{name:"Ordibehesht",shortName:"Ord"}),t(V,e.locales.FA,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.AR,{name:"اردیبهشت",shortName:"ار"}),t(V,e.locales.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),V)},{length:31,locales:(z={},t(z,e.locales.EN,{name:"Khordad",shortName:"Kho"}),t(z,e.locales.FA,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.AR,{name:"خرداد",shortName:"خرد"}),t(z,e.locales.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),z)},{length:31,locales:(K={},t(K,e.locales.EN,{name:"Tir",shortName:"Tir"}),t(K,e.locales.FA,{name:"تیر",shortName:"تیر"}),t(K,e.locales.AR,{name:"تیر",shortName:"تیر"}),t(K,e.locales.HI,{name:"टिर",shortName:"टिर"}),K)},{length:31,locales:($={},t($,e.locales.EN,{name:"Mordad",shortName:"Mor"}),t($,e.locales.FA,{name:"مرداد",shortName:"مر"}),t($,e.locales.AR,{name:"مرداد",shortName:"مر"}),t($,e.locales.HI,{name:"मोरदाद",shortName:"मोरदाद"}),$)},{length:31,locales:(_={},t(_,e.locales.EN,{name:"Shahrivar",shortName:"Sha"}),t(_,e.locales.FA,{name:"شهریور",shortName:"شه"}),t(_,e.locales.AR,{name:"شهریور",shortName:"شه"}),t(_,e.locales.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),_)},{length:30,locales:(Q={},t(Q,e.locales.EN,{name:"Mehr",shortName:"Meh"}),t(Q,e.locales.FA,{name:"مهر",shortName:"مه"}),t(Q,e.locales.AR,{name:"مهر",shortName:"مه"}),t(Q,e.locales.HI,{name:"मेहर",shortName:"मेहर"}),Q)},{length:30,locales:(Z={},t(Z,e.locales.EN,{name:"Aban",shortName:"Aba"}),t(Z,e.locales.FA,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.AR,{name:"آبان",shortName:"آبا"}),t(Z,e.locales.HI,{name:"अवन",shortName:"अवन"}),Z)},{length:30,locales:(q={},t(q,e.locales.EN,{name:"Azar",shortName:"Aza"}),t(q,e.locales.FA,{name:"آذر",shortName:"آذ"}),t(q,e.locales.AR,{name:"آذر",shortName:"آذ"}),t(q,e.locales.HI,{name:"अज़र",shortName:"अज़र"}),q)},{length:30,locales:(X={},t(X,e.locales.EN,{name:"Dey",shortName:"Dey"}),t(X,e.locales.FA,{name:"دی",shortName:"دی"}),t(X,e.locales.AR,{name:"دی",shortName:"دی"}),t(X,e.locales.HI,{name:"डे",shortName:"डे"}),X)},{length:30,locales:(ee={},t(ee,e.locales.EN,{name:"Bahman",shortName:"Bah"}),t(ee,e.locales.FA,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.AR,{name:"بهمن",shortName:"بهم"}),t(ee,e.locales.HI,{name:"बहमन",shortName:"बहमन"}),ee)},{length:void 0,locales:(ae={},t(ae,e.locales.EN,{name:"Esfand",shortName:"Esf"}),t(ae,e.locales.FA,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.AR,{name:"اسفند",shortName:"اسف"}),t(ae,e.locales.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),ae)}]),t(Ee,e.calendars.ARABIC,[{length:30,locales:(te={},t(te,e.locales.AR,{name:"محرم",shortName:"محرم"}),t(te,e.locales.EN,{name:"Muharram",shortName:"Mu"}),t(te,e.locales.FA,{name:"محرم",shortName:"محرم"}),t(te,e.locales.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),te)},{length:29,locales:(se={},t(se,e.locales.AR,{name:"صفر",shortName:"صفر"}),t(se,e.locales.EN,{name:"Safar",shortName:"Sa"}),t(se,e.locales.FA,{name:"صفر",shortName:"صفر"}),t(se,e.locales.HI,{name:"सफर",shortName:"सफर"}),se)},{length:30,locales:(ne={},t(ne,e.locales.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),t(ne,e.locales.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),t(ne,e.locales.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ne)},{length:29,locales:(le={},t(le,e.locales.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),t(le,e.locales.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),t(le,e.locales.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),le)},{length:30,locales:(oe={},t(oe,e.locales.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.EN,{name:"Jumada l-Ula",shortName:"JI"}),t(oe,e.locales.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),t(oe,e.locales.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),oe)},{length:29,locales:(re={},t(re,e.locales.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.EN,{name:"Jumada t-Tania",shortName:"JII"}),t(re,e.locales.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),t(re,e.locales.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),re)},{length:30,locales:(he={},t(he,e.locales.AR,{name:"رجب",shortName:"رجب"}),t(he,e.locales.EN,{name:"Rajab",shortName:"Ra"}),t(he,e.locales.FA,{name:"رجب",shortName:"رجب"}),t(he,e.locales.HI,{name:"रजब",shortName:"रजब"}),he)},{length:29,locales:(ie={},t(ie,e.locales.AR,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.EN,{name:"Sha`ban",shortName:"Sh"}),t(ie,e.locales.FA,{name:"شعبان",shortName:"شعبان"}),t(ie,e.locales.HI,{name:"शावन",shortName:"शावन"}),ie)},{length:30,locales:(ce={},t(ce,e.locales.AR,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.EN,{name:"Ramadan",shortName:"Ra"}),t(ce,e.locales.FA,{name:"رمضان",shortName:"رمضان"}),t(ce,e.locales.HI,{name:"रमजान",shortName:"रमजान"}),ce)},{length:29,locales:(me={},t(me,e.locales.AR,{name:"شوال",shortName:"شوال"}),t(me,e.locales.EN,{name:"Shawwal",shortName:"Sh"}),t(me,e.locales.FA,{name:"شوال",shortName:"شوال"}),t(me,e.locales.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),me)},{length:30,locales:(ue={},t(ue,e.locales.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),t(ue,e.locales.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),t(ue,e.locales.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ue)},{length:void 0,locales:(Ne={},t(Ne,e.locales.AR,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),t(Ne,e.locales.FA,{name:"ذیحجه",shortName:"ذیحجه"}),t(Ne,e.locales.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),Ne)}]),t(Ee,e.calendars.INDIAN,[{length:void 0,locales:(fe={},t(fe,e.locales.EN,{name:"Chaitra",shortName:"Cha"}),t(fe,e.locales.FA,{name:"چیتره",shortName:"چیت"}),t(fe,e.locales.AR,{name:"شيترا",shortName:"شیت"}),t(fe,e.locales.HI,{name:"चैत्र",shortName:"चैत्र"}),fe)},{length:31,locales:(de={},t(de,e.locales.EN,{name:"Vaishakh",shortName:"Vai"}),t(de,e.locales.FA,{name:"ویشاکهه",shortName:"ویش"}),t(de,e.locales.AR,{name:"فيشاخ",shortName:"فیش"}),t(de,e.locales.HI,{name:"वैशाख",shortName:"वैशाख"}),de)},{length:31,locales:(ye={},t(ye,e.locales.EN,{name:"Jyaishtha",shortName:"Jya"}),t(ye,e.locales.FA,{name:"جییشته",shortName:"جیش"}),t(ye,e.locales.AR,{name:"جیشتا",shortName:"جیش"}),t(ye,e.locales.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),ye)},{length:31,locales:(Ae={},t(Ae,e.locales.EN,{name:"Ashadha",shortName:"Ash"}),t(Ae,e.locales.FA,{name:"آشادهه",shortName:"آشا"}),t(Ae,e.locales.AR,{name:"أشاد",shortName:"أشا"}),t(Ae,e.locales.HI,{name:"आषाढ़",shortName:"आषाढ़"}),Ae)},{length:31,locales:(ge={},t(ge,e.locales.EN,{name:"Shravana",shortName:"Shr"}),t(ge,e.locales.FA,{name:"شراونه",shortName:"شرا"}),t(ge,e.locales.AR,{name:"شرافان",shortName:"شرا"}),t(ge,e.locales.HI,{name:"श्रावण",shortName:"श्रावण"}),ge)},{length:31,locales:(ve={},t(ve,e.locales.EN,{name:"Bhadrapad",shortName:"Bha"}),t(ve,e.locales.FA,{name:"بهادره",shortName:"بها"}),t(ve,e.locales.AR,{name:"بهادرابادا",shortName:"بها"}),t(ve,e.locales.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),ve)},{length:30,locales:(Ie={},t(Ie,e.locales.EN,{name:"Ashwin",shortName:"Ash"}),t(Ie,e.locales.FA,{name:"آشوین",shortName:"آشو"}),t(Ie,e.locales.AR,{name:"اشوين",shortName:"اشو"}),t(Ie,e.locales.HI,{name:"आश्विन",shortName:"आश्विन"}),Ie)},{length:30,locales:(ke={},t(ke,e.locales.EN,{name:"Kartik",shortName:"Kar"}),t(ke,e.locales.FA,{name:"کارتیکه",shortName:"کار"}),t(ke,e.locales.AR,{name:"كارتيك",shortName:"کار"}),t(ke,e.locales.HI,{name:"कार्तिक",shortName:"कार्तिक"}),ke)},{length:30,locales:(be={},t(be,e.locales.EN,{name:"Agrahayana",shortName:"Agr"}),t(be,e.locales.FA,{name:"اگرهینه",shortName:"اگر"}),t(be,e.locales.AR,{name:"أجراهيان",shortName:"اجر"}),t(be,e.locales.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),be)},{length:30,locales:(pe={},t(pe,e.locales.EN,{name:"Paush",shortName:"Pau"}),t(pe,e.locales.FA,{name:"پاوشه",shortName:"پاو"}),t(pe,e.locales.AR,{name:"بوش",shortName:"بوش"}),t(pe,e.locales.HI,{name:"पौष",shortName:"पौष"}),pe)},{length:30,locales:(we={},t(we,e.locales.EN,{name:"Magh",shortName:"Mag"}),t(we,e.locales.FA,{name:"ماگهه",shortName:"ماگ"}),t(we,e.locales.AR,{name:"ماک",shortName:"ماک"}),t(we,e.locales.HI,{name:"माघ",shortName:"माघ"}),we)},{length:30,locales:(Re={},t(Re,e.locales.EN,{name:"Phalgun",shortName:"Pha"}),t(Re,e.locales.FA,{name:"پهالگونه",shortName:"پها"}),t(Re,e.locales.AR,{name:"فالغون",shortName:"فال"}),t(Re,e.locales.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),Re)}]),Ee)}),H.set(this,{writable:!0,value:(aa={},t(aa,e.calendars.GREGORIAN,[{index:0,locales:(De={},t(De,e.locales.EN,{name:"Sunday",shortName:"Sun"}),t(De,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(De,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(De,e.locales.HI,{name:"रविवार",shortName:"रवि"}),De)},{index:1,locales:(Fe={},t(Fe,e.locales.EN,{name:"Monday",shortName:"Mon"}),t(Fe,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Fe,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Fe,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Fe)},{index:2,locales:(He={},t(He,e.locales.EN,{name:"Tuesday",shortName:"Tue"}),t(He,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(He,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(He,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),He)},{index:3,locales:(Me={},t(Me,e.locales.EN,{name:"Wednesday",shortName:"Wed"}),t(Me,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Me,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Me,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Me)},{index:4,locales:(Se={},t(Se,e.locales.EN,{name:"Thursday",shortName:"Thu"}),t(Se,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(Se,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Se,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Se)},{index:5,locales:(Oe={},t(Oe,e.locales.EN,{name:"Friday",shortName:"Fri"}),t(Oe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Oe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Oe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Oe)},{index:6,locales:(xe={},t(xe,e.locales.EN,{name:"Saturday",shortName:"Sat"}),t(xe,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(xe,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(xe,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),xe)}]),t(aa,e.calendars.PERSIAN,[{index:1,locales:(We={},t(We,e.locales.EN,{name:"YekShanbeh",shortName:"Yek"}),t(We,e.locales.FA,{name:"یکشنبه",shortName:"یک"}),t(We,e.locales.AR,{name:"الأحد",shortName:"اح"}),t(We,e.locales.HI,{name:"रविवार",shortName:"रवि"}),We)},{index:2,locales:(Ye={},t(Ye,e.locales.EN,{name:"Doshanbeh",shortName:"Do"}),t(Ye,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Ye,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Ye,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Ye)},{index:3,locales:(Ce={},t(Ce,e.locales.EN,{name:"Seshanbeh",shortName:"Se"}),t(Ce,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Ce,e.locales.AR,{name:"الثلاثاء",shortName:"ثل"}),t(Ce,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Ce)},{index:4,locales:(Le={},t(Le,e.locales.EN,{name:"Chaharshanbeh",shortName:"Cha"}),t(Le,e.locales.FA,{name:"چهارشنبه",shortName:"چهار"}),t(Le,e.locales.AR,{name:"الأربعاء",shortName:"ار"}),t(Le,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Le)},{index:5,locales:(je={},t(je,e.locales.EN,{name:"Panjshanbeh",shortName:"Pan"}),t(je,e.locales.FA,{name:"پنجشنبه",shortName:"پنج"}),t(je,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(je,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),je)},{index:6,locales:(Pe={},t(Pe,e.locales.EN,{name:"Jom'eh",shortName:"Jom"}),t(Pe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Pe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Pe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Pe)},{index:0,locales:(Ge={},t(Ge,e.locales.EN,{name:"Shanbeh",shortName:"Sha"}),t(Ge,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ge,e.locales.AR,{name:"السّبت",shortName:"سب"}),t(Ge,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ge)}]),t(aa,e.calendars.ARABIC,[{index:1,locales:(Be={},t(Be,e.locales.AR,{name:"الأحد",shortName:"احد"}),t(Be,e.locales.EN,{name:"al-'ahad",shortName:"Aha"}),t(Be,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t(Be,e.locales.HI,{name:"रविवार",shortName:"रवि"}),Be)},{index:2,locales:(Te={},t(Te,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(Te,e.locales.EN,{name:"al-'ithnayn",shortName:"Ith"}),t(Te,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(Te,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),Te)},{index:3,locales:(Je={},t(Je,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Je,e.locales.EN,{name:"ath-thalatha",shortName:"Tha"}),t(Je,e.locales.FA,{name:"سه شنبه",shortName:"سه"}),t(Je,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Je)},{index:4,locales:(Ue={},t(Ue,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ue,e.locales.EN,{name:"al-'arb`a'",shortName:"Arb"}),t(Ue,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ue,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ue)},{index:5,locales:(Ve={},t(Ve,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(Ve,e.locales.EN,{name:"al-khamis",shortName:"Kha"}),t(Ve,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(Ve,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),Ve)},{index:6,locales:(ze={},t(ze,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(ze,e.locales.EN,{name:"al-jum`a",shortName:"Jum"}),t(ze,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(ze,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),ze)},{index:0,locales:(Ke={},t(Ke,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(Ke,e.locales.EN,{name:"as-sabt",shortName:"Sab"}),t(Ke,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(Ke,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),Ke)}]),t(aa,e.calendars.INDIAN,[{index:0,locales:($e={},t($e,e.locales.EN,{name:"Ravivara",shortName:"Rav"}),t($e,e.locales.FA,{name:"يکشنبه",shortName:"یک"}),t($e,e.locales.AR,{name:"الأحد",shortName:"احد"}),t($e,e.locales.HI,{name:"रविवार",shortName:"रवि"}),$e)},{index:1,locales:(_e={},t(_e,e.locales.EN,{name:"Somavara",shortName:"Som"}),t(_e,e.locales.FA,{name:"دوشنبه",shortName:"دو"}),t(_e,e.locales.AR,{name:"الإثنينِ",shortName:"ثن"}),t(_e,e.locales.HI,{name:"सोमवार",shortName:"सोम"}),_e)},{index:2,locales:(Qe={},t(Qe,e.locales.EN,{name:"Mangalavara",shortName:"Man"}),t(Qe,e.locales.FA,{name:"سه شنبه\t",shortName:"سه"}),t(Qe,e.locales.AR,{name:"الثلاثاء",shortName:"ثلا"}),t(Qe,e.locales.HI,{name:"मंगलवार",shortName:"मंगल"}),Qe)},{index:3,locales:(Ze={},t(Ze,e.locales.EN,{name:"Budhavara",shortName:"Bud"}),t(Ze,e.locales.FA,{name:"چهار شنبه",shortName:"چهار"}),t(Ze,e.locales.AR,{name:"الأربعاء",shortName:"ارب"}),t(Ze,e.locales.HI,{name:"बुधवार",shortName:"बुध"}),Ze)},{index:4,locales:(qe={},t(qe,e.locales.EN,{name:"Brihaspatvara",shortName:"Bri"}),t(qe,e.locales.FA,{name:"پنج شنبه\t",shortName:"پنج"}),t(qe,e.locales.AR,{name:"الخميس",shortName:"خم"}),t(qe,e.locales.HI,{name:"गुरुवार",shortName:"गुरु"}),qe)},{index:5,locales:(Xe={},t(Xe,e.locales.EN,{name:"Sukravara",shortName:"Suk"}),t(Xe,e.locales.FA,{name:"جمعه",shortName:"جم"}),t(Xe,e.locales.AR,{name:"الجمعة",shortName:"جم"}),t(Xe,e.locales.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Xe)},{index:6,locales:(ea={},t(ea,e.locales.EN,{name:"Sanivara",shortName:"San"}),t(ea,e.locales.FA,{name:"شنبه",shortName:"شن"}),t(ea,e.locales.AR,{name:"السّبت",shortName:"سبت"}),t(ea,e.locales.HI,{name:"शनिवार",shortName:"शनि"}),ea)}]),aa)}),M.set(this,{writable:!0,value:(ta={},t(ta,e.locales.EN,["0","1","2","3","4","5","6","7","8","9"]),t(ta,e.locales.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),t(ta,e.locales.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),t(ta,e.locales.HI,["०","१","२","३","४","५","६","७","८","९"]),ta)}),S.set(this,{writable:!0,value:(sa={},t(sa,e.locales.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),t(sa,e.locales.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),t(sa,e.locales.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),t(sa,e.locales.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),sa)}),O.set(this,{writable:!0,value:(na={},t(na,e.calendars.GREGORIAN,1721424),t(na,e.calendars.PERSIAN,1948319),t(na,e.calendars.ARABIC,1948438),t(na,e.calendars.INDIAN,1749628),t(na,"unix",2440587),na)}),x.set(this,{writable:!0,value:(la={},t(la,e.calendars.GREGORIAN,365),t(la,e.calendars.PERSIAN,365),t(la,e.calendars.ARABIC,354),t(la,e.calendars.INDIAN,365),la)}),W.set(this,{writable:!0,value:function(){var a=function(){for(var a=!1;i(oa,N)<0;)c(oa,N,i(oa,N)+12),c(oa,u,i(oa,u)-1),0===i(oa,u)&&oa.calendar!==e.calendars.INDIAN&&c(oa,u,-1),a=!0;for(;i(oa,N)>11;)c(oa,N,i(oa,N)-12),c(oa,u,i(oa,u)+1),0===i(oa,u)&&oa.calendar!==e.calendars.INDIAN&&c(oa,u,1),a=!0;a&&i(oa,Y).call(oa)};if(oa.isValid){for(;i(oa,g)>=1e3;)c(oa,g,i(oa,g)-1e3),c(oa,A,i(oa,A)+1);for(;i(oa,g)<0;)c(oa,g,i(oa,g)+1e3),c(oa,A,i(oa,A)-1);for(;i(oa,A)>=60;)c(oa,A,i(oa,A)-60),c(oa,y,i(oa,y)+1);for(;i(oa,A)<0;)c(oa,A,i(oa,A)+60),c(oa,y,i(oa,y)-1);for(;i(oa,y)>=60;)c(oa,y,i(oa,y)-60),c(oa,d,i(oa,d)+1);for(;i(oa,y)<0;)c(oa,y,i(oa,y)+60),c(oa,d,i(oa,d)-1);for(;i(oa,d)>=24;)c(oa,d,i(oa,d)-24),c(oa,f,i(oa,f)+1);for(;i(oa,d)<0;)c(oa,d,i(oa,d)+24),c(oa,f,i(oa,f)-1);for(;;){for((i(oa,N)<0||i(oa,N)>11)&&a();i(oa,f)<1;)c(oa,N,i(oa,N)-1),a(),c(oa,f,oa.month.length+i(oa,f));if(i(oa,f)<=oa.month.length||isNaN(i(oa,f)))break;c(oa,f,i(oa,f)-oa.month.length),c(oa,N,+i(oa,N)+1)}i(oa,d)||c(oa,d,0),i(oa,y)||c(oa,y,0),i(oa,A)||c(oa,A,0),i(oa,g)||c(oa,g,0)}}}),Y.set(this,{writable:!0,value:function(){if(0!==i(oa,u)||i(oa,k)===e.calendars.INDIAN){var a=void 0;a=i(oa,k)!==e.calendars.INDIAN?i(oa,u)>0?1:-1:0;var t=function(){return i(oa,u)>0?a<=i(oa,u):i(oa,u)<=a},s=function(){return i(oa,u)>0?a++:a--},n=function(e){return e%4==0&&e%100!=0||e%400==0};switch(c(oa,p,[]),i(oa,k)){case e.calendars.PERSIAN:for(var l=.242362,o=i(oa,u)>0?.2684:.7316,r={5:4,38:37,199:198,232:231,265:264,298:297,557:558,590:591,623:624,982:983,1015:1016,1048:1049,1081:1082,1114:1115,1242:1243,1374:1375,1407:1408,1440:1441,1506:1507,1539:1540,1572:1573,1605:1606,1931:1932,1964:1965,2063:2064,2096:2097,2687:2686,2720:2719,2753:2752,2819:2818,2852:2851,2885:2884,3017:3016,3112:3111,3145:3144,3178:3177,3211:3210,3244:3243,3277:3276,3310:3309,3343:3342,3376:3375,3409:3408,3442:3441,3508:3507,3541:3540,3574:3573,3603:3602,3607:3606,3636:3635,3669:3668,3702:3701,3706:3705,3735:3734,3768:3767,3801:3800,3834:3833,3867:3866,3900:3899,3933:3932,3966:3965,3999:3998,4065:4064,4094:4093,4098:4097,4127:4126,4131:4130,4160:4159,4193:4192,4226:4225,4259:4258,4292:4291,4325:4324,4358:4357,4391:4390,4585:4584,4618:4617,4651:4650,4750:4749,4943:4944,4976:4977,5009:5010,5170:5171,5203:5204,5236:5237,5265:5266,5269:5270,5298:5299,5302:5303,5331:5332,5335:5336,5364:5365,5368:5369,5393:5394,5397:5398,5401:5402,5426:5427,5430:5431,5434:5435,5459:5460,5463:5464,5467:5468,5492:5493,5496:5497,5500:5501,5521:5522,5525:5526,5529:5530,5554:5555,5558:5559,5562:5563,5587:5588,5591:5592,5595:5596,5616:5617,5620:5621,5624:5625,5628:5629,5649:5650,5653:5654,5657:5658,5661:5662,5682:5683,5686:5687,5690:5691,5694:5695,5715:5716,5719:5720,5723:5724,5727:5728,5744:5745,5748:5749,5752:5753,5756:5757,5760:5761,5777:5778,5781:5782,5785:5786,5789:5790,5793:5794,5810:5811,5814:5815,5818:5819,5822:5823,5826:5827,5839:5840,5843:5844,5847:5848,5851:5852,5855:5856,5859:5860,5872:5873,5876:5877,5880:5881,5884:5885,5888:5889,5892:5893,5901:5902,5905:5906,5909:5910,5913:5914,5917:5918,5921:5922,5925:5926,5934:5935,5938:5939,5942:5943,5946:5947,5950:5951,5954:5955,5958:5959,5967:5968,5971:5972,5975:5976,5979:5980,5983:5984,5987:5988,5991:5992,5996:5997,6e3:6001,6004:6005,6008:6009,6012:6013,6016:6017,6020:6021,6029:6030,6033:6034,6037:6038,6041:6042,6045:6046,6049:6050,6053:6054,6058:6059,6062:6063,6066:6067,6070:6071,6074:6075,6078:6079,6082:6083,6086:6087,6091:6092,6095:6096,6099:6100,6103:6104,6107:6108,6111:6112,6115:6116,6119:6120,6124:6125,6128:6129,6132:6133,6136:6137,6140:6141,6144:6145,6148:6149,6152:6154,6157:6158,6161:6162,6165:6166,6169:6170,6173:6174,6177:6178,6181:6182,6185:6187,6190:6191,6194:6195,6198:6199,6202:6203,6206:6207,6210:6211,6214:6215,6218:6220,6223:6224,6227:6228,6231:6232,6235:6236,6239:6240,6243:6244,6247:6249,6251:6253,6256:6257,6260:6261,6264:6265,6268:6269,6272:6273,6276:6277,6280:6282,6284:6286,6289:6290,6293:6294,6297:6298,6301:6302,6305:6306,6309:6310,6313:6315,6317:6319,6322:6323,6326:6327,6330:6331,6334:6335,6338:6339,6342:6344,6346:6348,6350:6352,6355:6356,6359:6360,6363:6364,6367:6368,6371:6372,6375:6377,6379:6381,6383:6385,6388:6389,6392:6393,6396:6397,6400:6401,6404:6406,6408:6410,6412:6414,6416:6418,6421:6422,6425:6426,6429:6430,6433:6434,6437:6439,6441:6443,6445:6447,6449:6451,6454:6455,6458:6459,6462:6463,6466:6468,6470:6472,6474:6476,6478:6480,6482:6484,6487:6488,6491:6492,6495:6496};t();){if((o+=i(oa,u)>0?l:-1*l)>1&&(o-=1),o<0&&(o+=1),o>=.257800926&&o<=.5){var h=r[a]||a<-1?a+1:a;i(oa,u)>0&&h<=i(oa,u)&&i(oa,p).push(h),i(oa,u)<0&&i(oa,p).push(h)}s()}break;case e.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(a%30)&&i(oa,p).push(a),s();break;case e.calendars.INDIAN:for(;t();)n(a+78)&&i(oa,p).push(a),s();break;default:for(;t();)n(a)&&i(oa,p).push(a),s()}}}}),C.set(this,{writable:!0,value:function(a,t){var s=void 0;switch(t){case e.calendars.PERSIAN:s=~~((a+.5)/365.241);break;case e.calendars.ARABIC:s=~~((a-.5)/354.366);break;default:s=~~(a/365.24)}return s+(i(oa,u)>0?1:-1)}}),L.set(this,{writable:!0,value:function(e){if(!isNaN(e))return parseInt(e)}});var ra=a&&a.constructor===Object?n({},a):a;ra&&"boolean"!=typeof ra||(ra={date:new Date}),(ra instanceof Date||ra instanceof e||"string"==typeof ra||"number"==typeof ra)&&(ra={date:ra}),ra.calendar&&(ra.calendar=e.calendars[ra.calendar.toUpperCase()]||e.calendars.GREGORIAN,c(this,k,ra.calendar));var ha=!0,ia=Object.keys(ra).filter((function(e){return ra[e]||0===ra[e]})),ca=ia.length>0&&ia.length<=4&&ia.every((function(e){return["calendar","locale","format","ignoreList"].includes(e)}));for(var ma in ca&&(ra.date=new Date),(ra.date instanceof e||ra.date instanceof Date||"number"==typeof ra.date||"string"==typeof ra.date)&&("string"==typeof ra.date&&ra.format&&c(this,v,ra.format),this.setDate(ra.date),ra.calendar&&this.convert(ra.calendar),ha=!1),ra.locale&&(ra.locale=e.locales[ra.locale.toUpperCase()]||e.locales.EN,c(this,I,ra.locale)),delete ra.calendar,delete ra.locale,delete ra.date,ra)this.set(ma,ra[ma]);0===i(this,u)&&i(this,k)!==e.calendars.INDIAN&&c(this,u,-1),ha&&(i(this,Y).call(this),i(this,W).call(this))}var s;return(s=[{key:"parse",value:function(a){if(!a)return this;var t=i(this,v);if(i(this,I)!==e.locales.en){var s,n=i(this,M)[i(this,I)],o=h(n);try{for(o.s();!(s=o.n()).done;){var r=s.value;a=a.replace(new RegExp(r,"g"),n.indexOf(r))}}catch(a){o.e(a)}finally{o.f()}}if(t)for(var m=t.split(/[^\w\u0600-\u06FF]/),k=a.split(/[^\w\u0600-\u06FF]/),b=0;b<m.length;b++){var p=i(this,D)[m[b]];p&&k[b]&&p(k[b])}else{var w=l(a.match(/(-?\d{2,4})?\W?([A-z]{3,9}|\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,2})?\W?(\d{1,3})?\W?(am|pm)?/),9),R=w[1],E=w[2],F=w[3],H=w[4],O=w[5],x=w[6],C=w[7],j=w[8];E&&(E=/\d+/.test(E)?i(this,L).call(this,E)-1:this.months.findIndex((function(e){return new RegExp(E,"i").test(e.name)}))),c(this,u,i(this,L).call(this,R)),c(this,N,i(this,L).call(this,E)),c(this,f,i(this,L).call(this,F)),c(this,d,i(this,L).call(this,H)),c(this,y,i(this,L).call(this,O)),c(this,A,i(this,L).call(this,x)),c(this,g,i(this,L).call(this,C)),j&&"pm"===j&&i(this,d)<12&&c(this,d,i(this,d)+12)}return a.includes(i(this,S)[i(this,I)][1].shortName)&&i(this,d)<12&&c(this,d,i(this,d)+12),a.includes(i(this,S)[i(this,I)][1].name)&&i(this,d)<12&&c(this,d,i(this,d)+12),i(this,Y).call(this),i(this,W).call(this),this}},{key:"convert",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.calendars.GREGORIAN;if(!(a=e.calendars[a.toUpperCase()]))throw new Error("calendar not found");if(a===i(this,k))return this;var t=this.toJulianDay()-i(this,O)[a],s=new e({calendar:a,year:i(this,C).call(this,t,a),month:1,day:1});return s.day+=t-s.dayOfBeginning,c(this,u,s.year),c(this,N,s.month.index),c(this,f,s.day),c(this,p,s.leaps),c(this,k,a),this}},{key:"format",value:function(t,s){if(!this.isValid||t&&"string"!=typeof t)return"";t||(t=i(this,v)||"YYYY/MM/DD"),Array.isArray(s)||(s=[]),s=(s=s.concat(i(this,E))).filter((function(e){return"string"==typeof e||(console.warn("type of all items in the ignore list must be string, found",a(e)),!1)})).map((function(e){return e.replace(/[*/+\-()[\]{}\s$^]/g,(function(e){return"\\"+e}))}));var n,l=new RegExp("".concat(s.join("|")).concat(s.length>0?"|":"","YYYY|YY|MMMM|MMM|MM|M|WW|W|DDDD|DDD|DD|D|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|SSS|SS|S|A|a|."),"g"),o="",r=h(t.match(l)||[]);try{for(r.s();!(n=r.n()).done;){var c=n.value;o+=s.includes(c)?c:this.getProperty(c)||c}}catch(e){r.e(e)}finally{r.f()}if(i(this,I)!==e.locales.en){var m=i(this,w).digits||i(this,M)[i(this,I)];o=o.replace(/[0-9]/g,(function(e){return m[e]}))}return o}},{key:"getProperty",value:function(e){var a=function(e){return e<10?"0"+e:e};switch(e){case"YYYY":return this.year;case"YY":return this.year.toString().substring(2,4);case"MMMM":return this.month.name;case"MMM":return this.month.shortName;case"MM":return a(this.month.number);case"M":return this.month.number;case"WW":return a(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return a(this.day);case"D":return this.day;case"HH":return a(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"dd":return a(this.weekDay.number);case"d":return this.weekDay.number;case"hh":return a(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return a(this.minute);case"m":return this.minute;case"ss":return a(this.second);case"s":return this.second;case"SSS":return i(this,g)<10?"00".concat(i(this,g)):i(this,g)<100?"0".concat(i(this,g)):i(this,g);case"SS":return i(this,g)<10?"00":i(this,g)<100?("0"+i(this,g)).substring(2,0):i(this,g).toString().substring(0,2);case"S":return i(this,g)<10||i(this,g)<100?"0":i(this,g).toString().substring(0,1);case"a":return this.hour>=12?i(this,S)[i(this,I)][1].shortName:i(this,S)[i(this,I)][0].shortName;case"A":return this.hour>=12?i(this,S)[i(this,I)][1].name:i(this,S)[i(this,I)][0].name;default:return""}}},{key:"setYear",value:function(e){return this.year=e,this}},{key:"setMonths",value:function(e){return this.months=e,this}},{key:"setMonth",value:function(e){return this.month=e,this}},{key:"setWeekDays",value:function(e){return this.weekDays=e,this}},{key:"setDigits",value:function(e){return this.digits=e,this}},{key:"setDay",value:function(e){return this.day=e,this}},{key:"setHour",value:function(e){return this.hour=e,this}},{key:"setMinute",value:function(e){return this.minute=e,this}},{key:"setSecond",value:function(e){return this.second=e,this}},{key:"setMillisecond",value:function(e){return this.millisecond=e,this}},{key:"setFormat",value:function(e){return c(this,v,e),this}},{key:"setLocale",value:function(e){return this.locale=e,this}},{key:"setLocal",value:function(e){return this.setLocale(e)}},{key:"setCalendar",value:function(e){return this.calendar=e,this}},{key:"setDate",value:function(a){if("string"==typeof a){if(!i(this,R).test(a))return this.parse(a);a=new Date(a)}return"number"==typeof a&&(a=new Date(a)),a instanceof Date&&(c(this,k,e.calendars.GREGORIAN),c(this,u,a.getFullYear()),c(this,N,a.getMonth()),c(this,f,a.getDate()),c(this,d,a.getHours()),c(this,y,a.getMinutes()),c(this,A,a.getSeconds()),c(this,g,a.getMilliseconds()),c(this,b,!1),i(this,Y).call(this),i(this,W).call(this)),a instanceof e&&(c(this,u,a.year),c(this,N,a.month.index),c(this,f,a.day),c(this,d,a.hour),c(this,y,a.minute),c(this,A,a.second),c(this,g,a.millisecond),c(this,I,a.locale.toUpperCase()),c(this,v,a._format),c(this,p,a.leaps),c(this,k,a.calendar.toUpperCase()),c(this,b,a.isUTC),this.months=a.custom.months,this.weekDays=a.custom.weekDays,this.digits=a.custom.digits),this}},{key:"setIgnoreList",value:function(e){return this.ignoreList=e,this}},{key:"set",value:function(e,a){if(null==e)return this;if(e.constructor===Object){var t=n({},e);for(var s in t.date&&(this.setDate(t.date),delete t.date),t.calendar&&(this.convert(t.calendar),delete t.calendar),t.locale&&(this.setLocale(t.locale),delete t.locale),t)this.set(s,t[s]);return this}return"format"===e&&(e="_format"),this[e]=a,this}},{key:"add",value:function(e,a){if(!(e=i(this,L).call(this,e))||!a)return this;switch(a){case"years":case"y":a="year";break;case"months":case"M":a="month";break;case"days":case"d":a="day";break;case"hours":case"h":a="hour";break;case"minutes":case"m":a="minute";break;case"seconds":case"s":a="second";break;case"milliseconds":case"ms":a="millisecond"}return this[a]+=e,this}},{key:"subtract",value:function(e,a){return this.add(-e,a)}},{key:"toFirstOfYear",value:function(){return this.month=1,this.day=1,this}},{key:"toLastOfYear",value:function(){return this.day>=29&&(this.day=29),this.month=12,this.toLastOfMonth(),this}},{key:"toFirstOfMonth",value:function(){return c(this,f,1),this}},{key:"toLastOfMonth",value:function(){return c(this,f,0),c(this,N,i(this,N)+1),i(this,W).call(this),this}},{key:"toFirstOfWeek",value:function(){return this.day-=this.weekDay.index,this}},{key:"toLastOfWeek",value:function(){return this.day+=6-this.weekDay.index,this}},{key:"toFirstWeekOfYear",value:function(){return this.toFirstOfYear(),0===this.weekDay.index?this:this.toLastOfWeek().setDay(this.day+1)}},{key:"toLastWeekOfYear",value:function(){return this.toLastOfYear().toFirstOfWeek()}},{key:"toString",value:function(){return this.format()}},{key:"toDate",value:function(){var a=new e(this);return i(this,k)!==e.calendars.GREGORIAN&&a.convert(e.calendars.GREGORIAN),new Date(i(a,u),i(a,N),i(a,f),i(a,d),i(a,y),i(a,A),i(a,g))}},{key:"toUTC",value:function(){return i(this,b)||(this.minute+=(new Date).getTimezoneOffset(),c(this,b,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,O)[i(this,k)]}},{key:"toObject",value:function(){return{year:i(this,u),month:this.month,day:i(this,f),weekDay:this.weekDay,hour:i(this,d),minute:i(this,y),second:i(this,A),millisecond:i(this,g),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,k).toLowerCase(),locale:i(this,I).toLowerCase(),format:i(this,v)||"YYYY/MM/DD"}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){var e=this.dayOfBeginning+i(this,O)[i(this,k)]-i(this,O).unix,a=i(this,b)?0:60*(new Date).getTimezoneOffset()*1e3;return 24*e*60*60*1e3+60*i(this,d)*60*1e3+60*i(this,y)*1e3+1e3*i(this,A)+this.millisecond+a}},{key:"dayOfBeginning",get:function(){if(this.isValid){var a=(i(this,k)!==e.calendars.INDIAN&&i(this,u)>0?i(this,u)-1:i(this,u))*i(this,x)[i(this,k)],t=this.isLeap?this.leaps.length-1:this.leaps.length;return i(this,u)>0&&(a+=t),i(this,u)<0&&(a-=t),a+this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var e=i(this,f),a=this.months,t=0;t<i(this,N);t++)e+=a[t].length;return e}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var e=i(this,x)[i(this,k)];return(this.isLeap?e+1:e)-this.dayOfYear}}},{key:"year",get:function(){return i(this,u)},set:function(e){c(this,u,i(this,L).call(this,e)),i(this,Y).call(this),i(this,W).call(this)}},{key:"month",get:function(){var e=this.months[i(this,N)];return e?(e.index=i(this,N),e.number=e.index+1,e.toString=function(){return this.number.toString()},e.valueOf=function(){return this.number},e):{}},set:function(e){var a;c(this,N,null!==(a=i(this,L).call(this,e.valueOf())-1)&&void 0!==a?a:void 0),i(this,W).call(this)}},{key:"day",get:function(){return i(this,f)},set:function(e){c(this,f,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"weekDay",get:function(){var e=(this.toJulianDay()+2)%7,a=i(this,H)[i(this,k)][e];if(!a)return{};var t=i(this,w).weekDays?i(this,w).weekDays[a.index]:a.locales[i(this,I)];return n({index:a.index,number:a.index+1,toString:function(){return this.number.toString()},valueOf:function(){return this.number}},t)}},{key:"hour",get:function(){return i(this,d)},set:function(e){c(this,d,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"minute",get:function(){return i(this,y)},set:function(e){c(this,y,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"second",get:function(){return i(this,A)},set:function(e){c(this,A,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"millisecond",get:function(){return i(this,g)},set:function(e){c(this,g,i(this,L).call(this,e)),i(this,W).call(this)}},{key:"months",get:function(){var a=this,t=i(this,F)[i(this,k)];switch(i(this,k)){case e.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case e.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t.map((function(e,t){var s=i(a,w).months?i(a,w).months[t]:e.locales[i(a,I)];return n({length:e.length},s)}))},set:function(e){if(!e)return delete i(this,w).months;Array.isArray(e)&&12===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,w).months=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"weekDays",get:function(){var e=this,a=i(this,H)[i(this,k)];return a.sort((function(e,a){return e.index-a.index})),a.map((function(a,t){var s=i(e,w).weekDays?i(e,w).weekDays[t]:a.locales[i(e,I)];return n({index:a.index,number:a.index+1},s)}))},set:function(e){if(!e)return delete i(this,w).weekDays;Array.isArray(e)&&7===e.length&&e.every((function(e){return Array.isArray(e)&&2===e.length&&e.every((function(e){return"string"==typeof e}))}))&&(i(this,w).weekDays=e.map((function(e){return{name:e[0],shortName:e[1]}})))}},{key:"leaps",get:function(){return i(this,p)}},{key:"calendar",get:function(){return i(this,k).toLowerCase()},set:function(e){this.convert(e)}},{key:"locale",get:function(){return i(this,I).toLowerCase()},set:function(a){a=a.toUpperCase(),e.locales[a]||(a=e.locales.EN),c(this,I,a)}},{key:"custom",get:function(){var e={},a=function(e){return[e.name,e.shortName]};return i(this,w).digits&&(e.digits=i(this,w).digits),i(this,w).weekDays&&(e.weekDays=i(this,w).weekDays.map(a)),i(this,w).months&&(e.months=i(this,w).months.map(a)),e}},{key:"meridiems",get:function(){return i(this,S)[i(this,I)]}},{key:"digits",get:function(){return i(this,w).digits||i(this,M)[i(this,I)]},set:function(e){if(!e)return delete i(this,w).digits;Array.isArray(e)&&10===e.length&&(i(this,w).digits=e)}},{key:"_format",get:function(){return i(this,v)},set:function(e){"string"==typeof e&&c(this,v,e)}},{key:"isLeap",get:function(){return i(this,p).includes(i(this,u))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,u)+i(this,N)+i(this,f)))}},{key:"isUTC",get:function(){return i(this,b)}},{key:"unix",get:function(){return(this.valueOf()-this.millisecond)/1e3}},{key:"ignoreList",get:function(){return i(this,E)},set:function(e){Array.isArray(e)&&c(this,E,e)}},{key:"local",set:function(e){this.locale=e}},{key:"date",set:function(e){this.setDate(e)}}])&&function(e,a){for(var t=0;t<a.length;t++){var s=a[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,s),e}();t(j,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),t(j,"locales",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"});export default j;
declare class DateObject {
constructor()
constructor(object:{
year:number,
month:number,
day:number,
hour?:number,
minute?:number,
second?:number,
millisecond?:number,
calendar?:string,
locale?:string,
format?:string,
ignoreList?:string[]
})
constructor(object:{
date?:Date,
calendar?:string,
locale?:string,
format?:string,
ignoreList?:string[]
})
constructor(date:Date)
constructor(date:DateObject)
constructor(unixTimeInMilliseconds:number)
constructor(string:string)
constructor()
constructor(object: {
year: number,
month: number,
day: number,
hour?: number,
minute?: number,
second?: number,
millisecond?: number,
calendar?: string,
locale?: string,
format?: string,
ignoreList?: string[]
})
constructor(object: {
date?: Date,
calendar?: string,
locale?: string,
format?: string,
ignoreList?: string[]
})
constructor(date: Date)
constructor(date: DateObject)
constructor(unixTimeInMilliseconds: number)
constructor(string: string)
static calendars: { gregorian:string, persian:string, arabic:string, indian:string }
static locales: { en:string, fa:string, ar:string, hi:string }
/**
* Parse string from the given formatting token.
* Default formatting token: "YYYY MM DD hh mm ss SSS a".
*
* If you do not specify a formatting token, The default token is considered.
* @param date
* @example
* var date = new DateObject();
*
* date.setFormat("dddd DD MMMM YYYY");
* date.parse("Monday 24 August 2020");
*/
parse(date:string):DateObject
/**
* Convert current calendar to given calendar.
*
* Availble calendars:
* - gregorian
* - persian
* - arabic
* - indian
*
* @param calendar
* @example
* var date = new DateObject();
*
* date.convert("persian");
*/
convert(calendar:string|undefined): DateObject
/**
* Formatting current time from given token.
* Default token is "YYYY/MM/DD".
*
* If you do not specify a formatting token, The default token is considered.
* @param format
* @param ignoreList
* @example
* var date = new DateObject();
*
* date.format(); //2020/12/02
* date.format("MM/DD/YYYY"); //12/02/2020
*
* @example
* Ignoring `Date` & `Time`
*
* var date = new DateObject();
*
* date.format("Date:MM/DD/YYYY Time:HH:mm:ss", ["Date", "Time"]); //Date:12/02/2020 Time:11:03:12
*/
format(format?:string,ignoreList?:string[]):string
getProperty(key:string):number|string
static calendars: { gregorian: string, persian: string, arabic: string, indian: string }
static locales: { en: string, fa: string, ar: string, hi: string }
/**
* Parse string from the given formatting token.
* Default formatting token: "YYYY MM DD hh mm ss SSS a".
*
* If you do not specify a formatting token, The default token is considered.
* @param date
* @example
* var date = new DateObject();
*
* date.setFormat("dddd DD MMMM YYYY");
* date.parse("Monday 24 August 2020");
*/
parse(date: string): DateObject
/**
* Convert current calendar to given calendar.
*
* Availble calendars:
* - gregorian
* - persian
* - arabic
* - indian
*
* @param calendar
* @example
* var date = new DateObject();
*
* date.convert("persian");
*/
convert(calendar: string | undefined): DateObject
/**
* Formatting current time from given token.
* Default token is "YYYY/MM/DD".
*
* If you do not specify a formatting token, The default token is considered.
* @param format
* @param ignoreList
* @example
* var date = new DateObject();
*
* date.format(); //2020/12/02
* date.format("MM/DD/YYYY"); //12/02/2020
*
* @example
* Ignoring `Date` & `Time`
*
* var date = new DateObject();
*
* date.format("Date:MM/DD/YYYY Time:HH:mm:ss", ["Date", "Time"]); //Date:12/02/2020 Time:11:03:12
*/
format(format?: string, ignoreList?: string[]): string
getProperty(key: string): number | string
setYear(year:number):DateObject
/**
* Use this method if you want to specify the names of the months manually.
*
* @param months
* @example
*
* var Date = new DateObject()
*
* date.setMonths([
* ["jan", "j"],
* ["feb", "f"],
* ["mar", "m"],
* ["apr", "a"],
* ["may", "m"],
* ["jun", "j"],
* ["jul", "j"],
* ["aug", "a"],
* ["sep", "s"],
* ["oct", "o"],
* ["nov", "n"],
* ["dec", "d"],
* ])
*
* date.format("MMMM MMM") //dec d
*/
setMonths(months:[string[]]):DateObject
setMonth(month:number):DateObject
/**
* Use this method if you want to specify the names of week days manually.
*
* @param weekDays
* @example
*
* var Date = new DateObject()
*
* date.setWeekDays([
* ["su", "s"],
* ["mo", "m"],
* ["tu", "t"],
* ["we", "w"],
* ["th", "t"],
* ["fr", "f"],
* ["sa", "s"],
* ])
*
* date.format("dddd ddd") //su s
*/
setWeekDays(weekDays:[string[]]):DateObject
setDigits(digits:string[]):DateObject
/**
* @param dayOfMonth
*/
setDay(day:number):DateObject
setHour(hour:number):DateObject
setMinute(minute:number):DateObject
setSecond(second:number):DateObject
setMillisecond(millisecond:number):DateObject
/**
*
* @param formattingToken
* @example
* var date = new DateObject()
*
* date.setFormat("dddd MMMM YYYY")
*
* date.format() //Sunday December 2020
*/
setFormat(format:string):DateObject
/**
* @param locale
*
* Availble locales:
* - en `english`
* - fa `farsi`
* - ar `arabic`
* - hi `hindi`
*/
setLocale(locale:string):DateObject
/**
* @param calendar
*
* Availble calendars:
*
* - gregorian
* - persian
* - arabic
* - indian
*/
setCalendar(calendar:string|undefined):DateObject
setDate(date:Date):DateObject
setDate(DateObject):DateObject
setDate(date:string):DateObject
setDate(date:number):DateObject
set(key:string,value:any):DateObject
set(obj:{
date?:Date|number|string,
year?:number,
month?:number,
months?:[string[]],
weekdays?:[string[]],
day?:number,
hour?:number,
minute?:number,
second?:number,
millisecond?:number,
calendar?:string,
locale?:string,
format?:string,
ignoreList?:string[],
digits?:string[]
}):DateObject
/**
* Availbe Types:
* - `years` `year` `y`
* - `months` `month` `M`
* - `days` `day` `d`
* - `hours` `hour` `h`
* - `minutes` `minute` `m`
* - `seconds` `second` `s`
* - `milliseconds` `millisecond` `ms`
*
* @param duration
* @param type
* @example
*
* var tomorrow = new DateObject().add(1, "day")
*/
add(duration:number|string,type:string):DateObject
/**
* Availbe Types:
* - `years` `year` `y`
* - `months` `month` `M`
* - `days` `day` `d`
* - `hours` `hour` `h`
* - `minutes` `minute` `m`
* - `seconds` `second` `s`
* - `milliseconds` `millisecond` `ms`
*
* @param duration
* @param type
* @example
*
* var yesterday = new DateObject().subtract(1, "day")
*/
subtract(duration:number|string,type:string):DateObject
setYear(year: number): DateObject
/**
* Use this method if you want to specify the names of the months manually.
*
* @param months
* @example
*
* var Date = new DateObject()
*
* date.setMonths([
* ["jan", "j"],
* ["feb", "f"],
* ["mar", "m"],
* ["apr", "a"],
* ["may", "m"],
* ["jun", "j"],
* ["jul", "j"],
* ["aug", "a"],
* ["sep", "s"],
* ["oct", "o"],
* ["nov", "n"],
* ["dec", "d"],
* ])
*
* date.format("MMMM MMM") //dec d
*/
setMonths(months: [string[]]): DateObject
setMonth(month: number): DateObject
/**
* Use this method if you want to specify the names of week days manually.
*
* @param weekDays
* @example
*
* var Date = new DateObject()
*
* date.setWeekDays([
* ["su", "s"],
* ["mo", "m"],
* ["tu", "t"],
* ["we", "w"],
* ["th", "t"],
* ["fr", "f"],
* ["sa", "s"],
* ])
*
* date.format("dddd ddd") //su s
*/
setWeekDays(weekDays: [string[]]): DateObject
setDigits(digits: string[]): DateObject
/**
* @param dayOfMonth
*/
setDay(day: number): DateObject
setHour(hour: number): DateObject
setMinute(minute: number): DateObject
setSecond(second: number): DateObject
setMillisecond(millisecond: number): DateObject
/**
*
* @param formattingToken
* @example
* var date = new DateObject()
*
* date.setFormat("dddd MMMM YYYY")
*
* date.format() //Sunday December 2020
*/
setFormat(format?: string): DateObject
/**
* @param locale
*
* Availble locales:
* - en `english`
* - fa `farsi`
* - ar `arabic`
* - hi `hindi`
*/
setLocale(locale: string): DateObject
/**
* @param calendar
*
* Availble calendars:
*
* - gregorian
* - persian
* - arabic
* - indian
*/
setCalendar(calendar: string | undefined): DateObject
setDate(date: Date | DateObject | string | number): DateObject
set(key: string, value: any): DateObject
set(obj: {
date?: Date | DateObject | string | number,
year?: number,
month?: number,
months?: [string[]],
weekDays?: [string[]],
day?: number,
hour?: number,
minute?: number,
second?: number,
millisecond?: number,
calendar?: string,
locale?: string,
format?: string,
ignoreList?: string[],
digits?: string[]
}): DateObject
/**
* Availbe Types:
* - `years` `year` `y`
* - `months` `month` `M`
* - `days` `day` `d`
* - `hours` `hour` `h`
* - `minutes` `minute` `m`
* - `seconds` `second` `s`
* - `milliseconds` `millisecond` `ms`
*
* @param duration
* @param type
* @example
*
* var tomorrow = new DateObject().add(1, "day")
*/
add(duration: number | string, type: string): DateObject
/**
* Availbe Types:
* - `years` `year` `y`
* - `months` `month` `M`
* - `days` `day` `d`
* - `hours` `hour` `h`
* - `minutes` `minute` `m`
* - `seconds` `second` `s`
* - `milliseconds` `millisecond` `ms`
*
* @param duration
* @param type
* @example
*
* var yesterday = new DateObject().subtract(1, "day")
*/
subtract(duration: number | string, type: string): DateObject
toFirstOfYear():DateObject
toLastOfYear():DateObject
toFirstOfMonth():DateObject
toLastOfMonth():DateObject
toFirstOfWeek():DateObject
toLastOfWeek():DateObject
toFirstWeekOfYear():DateObject
toLastWeekOfYear():DateObject
toFirstOfYear(): DateObject
toLastOfYear(): DateObject
toFirstOfMonth(): DateObject
toLastOfMonth(): DateObject
toFirstOfWeek(): DateObject
toLastOfWeek(): DateObject
toFirstWeekOfYear(): DateObject
toLastWeekOfYear(): DateObject
toString():string
/**
* convert current calendar to JavaScript Date
*/
toDate():Date
/**
* convert current calendar to UTC
*/
toUTC():DateObject
/**
* Unix time in seconds
*/
toUnix():number
toJulianDay():number
toObject():object
toJSON():object
/**
* Unix time in milliseconds
*/
valueOf():number
toString(): string
/**
* convert current calendar to JavaScript Date
*/
toDate(): Date
/**
* convert current calendar to UTC
*/
toUTC(): DateObject
/**
* Unix time in seconds
*/
toUnix(): number
toJulianDay(): number
toObject(): object
toJSON(): object
/**
* Unix time in milliseconds
*/
valueOf(): number
/**
* Count number of days passed from 1/1/1 (0/1/1 in indian calendar)
*/
dayOfBeginning:number
/**
* Count number of days passed from current year
*/
dayOfYear:number
/**
* Count number of weeks passed from current year
*/
weekOfYear:number
/**
* Number of days remaining from current year
*/
daysLeft:number
/**
* @get current year
* @set year
*/
year:number
/**
* @get object (Month of year in current locale)
* @example { name: "January", shortName: "Jan", index: 0, number: 1 }
* @set number 1-12
*/
month:object
/**
* Day of month
* @get number
* @set number
*/
day:number
/**
* Day of week in current locale
* @get object
* @example { name: "Sunday", shortName: "Sun", index: 0, number: 1 }
*/
weekDay:object
/**
* @get current hour
* @set hour
*/
hour:number
/**
* @get current minute
* @set minute
*/
minute:number
/**
* @get current second
* @set second
*/
second:number
/**
* @get current millisecond
* @set millisecond
*/
millisecond:number
/**
* @get Array of months in current locale
* @example [{ name: "January", shortName: "Jan", index: 0, number: 1 }, ...]
* @set custom months
* @example [["name1" , "shortName1"], ["name2" , "shortName2"] ...]
* @example
*
* var Date = new DateObject()
*
* date.months = [
* ["jan", "j"],
* ["feb", "f"],
* ["mar", "m"],
* ["apr", "a"],
* ["may", "m"],
* ["jun", "j"],
* ["jul", "j"],
* ["aug", "a"],
* ["sep", "s"],
* ["oct", "o"],
* ["nov", "n"],
* ["dec", "d"],
* ]
*
* date.format("MMMM MMM") //dec d
*/
months:object[]
/**
* @get Array of week days in current locale
* @example [{ name: "Sunday", shortName: "Sun", index: 0, number: 1 }, ...]
* @set custom week days
* @example [["name1" , "shortName1"], ["name2" , "shortName2"] ...]
* @example
*
* var Date = new DateObject()
*
* date.setWeekDays([
* ["su", "s"],
* ["mo", "m"],
* ["tu", "t"],
* ["we", "w"],
* ["th", "t"],
* ["fr", "f"],
* ["sa", "s"],
* ])
*
* date.format("dddd ddd") //su s
*/
weekDays:object[]
/**
* Array of leap years until now
*
* @example
*
* var date = new DateObject()
*
* date.leaps //[4, 8, 12, 16, 20, ...]
*/
leaps:number[]
/**
* @get current calendar
* @set calendar
*
* Availble calendars:
* - gregorian
* - persian
* - arabic
* - indian
*
* @default "gregorian"
* @example
* var date = new DateObject() //2020/12/06
*
* date.calendar = "indian" //1942/09/15
*/
calendar:string
/**
* @get current locale
* @set locale
*
* Availble locales:
* - en `english`
* - fa `farsi`
* - ar `arabic`
* - hi `hindi`
*
* @default "en"
* @example
* var date = new DateObject() //2020/12/06
*
* date.locale = "fa" //۲۰۲۰/۱۲/۰۶
*/
locale:string
/**
* @get meridiems in current locale
* @example
*
* var date = new DateObject()
*
* date.meridiems //[{ name: "AM", shortName: "am" }, { name: "PM", shortName: "pm" }]
*/
meridiems:object[]
/**
* Array of locale numbers from 0 to 9
*/
digits:string[]
/**
* @get current formatting token
* @set formatting token
* @default "YYYY/MM/DD"
*
* var date = new DateObject()
*
* date._format = "dddd MMMM YYYY"
*
* date.format() //Sunday December 2020
*/
_format:string
/**
* @get true if current year is leap
*/
isLeap:boolean
/**
* @get true if the year, month and day are correct
*/
isValid:boolean
isUTC:boolean
/**
* @get Unix time in seconds
*/
unix:number
/**
* formatting ignore list
*
* @example
* var date = new DateObject()
*
* date._format = "Date:MM/DD/YYYY"
* date.ignoreList = ["Date"]
*
* date.format() //Date:12/04/2020
*
* @example
* var date = new DateObject({
* format: "Date:MM/DD/YYYY",
* ignoreList: ["Date"]
* })
*
* date.format() //Date:12/04/2020
* date.format("time:hh:mm a", ["time"]) //time:06:50 pm
*/
ignoreList:string[]
/**
* Count number of days passed from 1/1/1 (0/1/1 in indian calendar)
*/
dayOfBeginning: number
/**
* Count number of days passed from current year
*/
dayOfYear: number
/**
* Count number of weeks passed from current year
*/
weekOfYear: number
/**
* Number of days remaining from current year
*/
daysLeft: number
/**
* @get current year
* @set year
*/
year: number
/**
* @get object (Month of year in current locale)
* @example { name: "January", shortName: "Jan", index: 0, number: 1 }
* @set number 1-12
*/
month: object
/**
* Day of month
* @get number
* @set number
*/
day: number
/**
* Day of week in current locale
* @get object
* @example { name: "Sunday", shortName: "Sun", index: 0, number: 1 }
*/
weekDay: object
/**
* @get current hour
* @set hour
*/
hour: number
/**
* @get current minute
* @set minute
*/
minute: number
/**
* @get current second
* @set second
*/
second: number
/**
* @get current millisecond
* @set millisecond
*/
millisecond: number
/**
* @get Array of months in current locale
* @example [{ name: "January", shortName: "Jan", index: 0, number: 1 }, ...]
* @set custom months
* @example [["name1" , "shortName1"], ["name2" , "shortName2"] ...]
* @example
*
* var Date = new DateObject()
*
* date.months = [
* ["jan", "j"],
* ["feb", "f"],
* ["mar", "m"],
* ["apr", "a"],
* ["may", "m"],
* ["jun", "j"],
* ["jul", "j"],
* ["aug", "a"],
* ["sep", "s"],
* ["oct", "o"],
* ["nov", "n"],
* ["dec", "d"],
* ]
*
* date.format("MMMM MMM") //dec d
*/
months: object[]
/**
* @get Array of week days in current locale
* @example [{ name: "Sunday", shortName: "Sun", index: 0, number: 1 }, ...]
* @set custom week days
* @example [["name1" , "shortName1"], ["name2" , "shortName2"] ...]
* @example
*
* var Date = new DateObject()
*
* date.setWeekDays([
* ["su", "s"],
* ["mo", "m"],
* ["tu", "t"],
* ["we", "w"],
* ["th", "t"],
* ["fr", "f"],
* ["sa", "s"],
* ])
*
* date.format("dddd ddd") //su s
*/
weekDays: object[]
/**
* Array of leap years until now
*
* @example
*
* var date = new DateObject()
*
* date.leaps //[4, 8, 12, 16, 20, ...]
*/
leaps: number[]
/**
* @get current calendar
* @set calendar
*
* Availble calendars:
* - gregorian
* - persian
* - arabic
* - indian
*
* @default "gregorian"
* @example
* var date = new DateObject() //2020/12/06
*
* date.calendar = "indian" //1942/09/15
*/
calendar: string
/**
* @get current locale
* @set locale
*
* Availble locales:
* - en `english`
* - fa `farsi`
* - ar `arabic`
* - hi `hindi`
*
* @default "en"
* @example
* var date = new DateObject() //2020/12/06
*
* date.locale = "fa" //۲۰۲۰/۱۲/۰۶
*/
locale: string
/**
* @get meridiems in current locale
* @example
*
* var date = new DateObject()
*
* date.meridiems //[{ name: "AM", shortName: "am" }, { name: "PM", shortName: "pm" }]
*/
meridiems: object[]
/**
* Array of locale numbers from 0 to 9
*/
digits: string[]
/**
* @get current formatting token
* @set formatting token
* @default "YYYY/MM/DD"
*
* var date = new DateObject()
*
* date._format = "dddd MMMM YYYY"
*
* date.format() //Sunday December 2020
*/
_format: string
/**
* @get true if current year is leap
*/
isLeap: boolean
/**
* @get true if the year, month and day are correct
*/
isValid: boolean
isUTC: boolean
/**
* @get Unix time in seconds
*/
unix: number
/**
* formatting ignore list
*
* @example
* var date = new DateObject()
*
* date._format = "Date:MM/DD/YYYY"
* date.ignoreList = ["Date"]
*
* date.format() //Date:12/04/2020
*
* @example
* var date = new DateObject({
* format: "Date:MM/DD/YYYY",
* ignoreList: ["Date"]
* })
*
* date.format() //Date:12/04/2020
* date.format("time:hh:mm a", ["time"]) //time:06:50 pm
*/
ignoreList: string[]
custom: object
set date(date: DateObject | Date | string | number)
}
export = DateObject
import DateObject from "date-object"
export default DateObject
{
"name": "react-date-object",
"version": "1.2.6",
"version": "1.3.0",
"description": "JavaScript library for working with Date and Time in different calendars and locals",

@@ -46,12 +46,12 @@ "main": "./dist/index.js",

"devDependencies": {
"@babel/core": "^7.13.8",
"@babel/core": "^7.13.14",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.13.8",
"@babel/preset-env": "^7.13.12",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"date-object": "^1.2.4",
"rollup": "^2.40.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"date-object": "^1.3.0",
"rollup": "^2.44.0",
"rollup-plugin-terser": "^7.0.2"
}
}

@@ -11,2 +11,4 @@ # React Date Object

[descriptions](https://shahabyazdi.github.io/react-multi-date-picker/date-object/)
# 1- Install

@@ -13,0 +15,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc