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 0.8.0 to 0.9.0

2

dist/index.js

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

!function(a,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["react-date-object"]=e():a["react-date-object"]=e()}(window,(function(){return function(a){var e={};function t(s){if(e[s])return e[s].exports;var l=e[s]={i:s,l:!1,exports:{}};return a[s].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=a,t.c=e,t.d=function(a,e,s){t.o(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:s})},t.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,e){if(1&e&&(a=t(a)),8&e)return a;if(4&e&&"object"==typeof a&&a&&a.__esModule)return a;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var l in a)t.d(s,l,function(e){return a[e]}.bind(null,l));return s},t.n=function(a){var e=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(e,"a",e),e},t.o=function(a,e){return Object.prototype.hasOwnProperty.call(a,e)},t.p="",t(t.s=1)}([function(a,e){function t(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.push.apply(t,s)}return t}function s(a){for(var e=1;e<arguments.length;e++){var s=null!=arguments[e]?arguments[e]:{};e%2?t(Object(s),!0).forEach((function(e){h(a,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(s)):t(Object(s)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(s,e))}))}return a}function l(a,e){return function(a){if(Array.isArray(a))return a}(a)||function(a,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(a)))return;var t=[],s=!0,l=!1,n=void 0;try{for(var o,r=a[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!e||t.length!==e);s=!0);}catch(a){l=!0,n=a}finally{try{s||null==r.return||r.return()}finally{if(l)throw n}}return t}(a,e)||n(a,e)||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 n(a,e){if(a){if("string"==typeof a)return o(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);return"Object"===t&&a.constructor&&(t=a.constructor.name),"Map"===t||"Set"===t?Array.from(a):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(a,e):void 0}}function o(a,e){(null==e||e>a.length)&&(e=a.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=a[t];return s}function r(a,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}function h(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function i(a,e){var t=e.get(a);if(!t)throw new TypeError("attempted to get private field on non-instance");return t.get?t.get.call(a):t.value}function c(a,e,t){var s=e.get(a);if(!s)throw new TypeError("attempted to set private field on non-instance");if(s.set)s.set.call(a,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,d=new WeakMap,f=new WeakMap,A=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap,I=new WeakMap,p=new WeakMap,b=new WeakMap,R=new WeakMap,k=new WeakMap,w=new WeakMap,E=new WeakMap,F=new WeakMap,H=new WeakMap,M=new WeakMap,O=new WeakMap,D=new WeakMap,S=new WeakMap,x=new WeakMap,W=new WeakMap,Y=function(){function a(e){var t,s,l,n,o,r,Y,j,P,C,G,L,B,T,J,z,U,V,_,K,Q,$,q,X,Z,aa,ea,ta,sa,la,na,oa,ra,ha,ia,ca,ma,ua,Na,da,fa,Aa,ya,va,ga,Ia,pa,ba,Ra,ka,wa,Ea,Fa,Ha,Ma,Oa,Da,Sa,xa,Wa,Ya,ja,Pa,Ca,Ga,La,Ba,Ta,Ja,za,Ua,Va,_a,Ka,Qa,$a,qa,Xa,Za,ae,ee,te,se=this;!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),m.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:a.locals.EN}),I.set(this,{writable:!0,value:a.calendars.GREGORIAN}),p.set(this,{writable:!0,value:void 0}),b.set(this,{writable:!0,value:[]}),R.set(this,{writable:!0,value:{YYYY:/\d{4}/,YY:/\d\d/,MMMM:/[A-z]+/,MMM:/[A-z]+/,MM:/\d\d/,M:/\d/,WW:/\d\d/,W:/\d/,DDDD:/\d{1,3}/,DDD:/\d{1,3}/,DD:/\d\d/,D:/\d/,dddd:/[A-z]+/,ddd:/[A-z]+/,HH:/\d\d/,H:/\d/,hh:/\d\d/,h:/\d/,mm:/\d\d/,m:/\d/,ss:/\d\d/,s:/\d/,SSS:/\d{3}/,SS:/\d\d/,S:/\d/,a:/[a-z]{2,9}/,A:/[a-z]{2,9}/}}),k.set(this,{writable:!0,value:{YYYY:function(a){return c(se,m,i(se,W).call(se,a))},YY:function(e){switch(i(se,I)){case a.calendars.PERSIAN:e="13"+e;break;case a.calendars.ARABIC:e="14"+e;break;default:e="20"+e}c(se,m,i(se,W).call(se,e))},MMMM:function(a){return c(se,u,se.months.findIndex((function(e){return a.toLowerCase()===e.name.toLowerCase()})))},MMM:function(a){return c(se,u,se.months.findIndex((function(e){return a.toLowerCase()===e.shortName.toLowerCase()})))},MM:function(a){return c(se,u,i(se,W).call(se,a)-1)},M:function(a){return c(se,u,i(se,W).call(se,a)-1)},DD:function(a){return c(se,N,i(se,W).call(se,a))},D:function(a){return c(se,N,i(se,W).call(se,a))},HH:function(a){return c(se,d,i(se,W).call(se,a))},H:function(a){return c(se,d,i(se,W).call(se,a))},hh:function(a){var e=i(se,W).call(se,a);c(se,d,e>12?e-12:e)},h:function(a){var e=i(se,W).call(se,a);c(se,d,e>12?e-12:e)},mm:function(a){return c(se,f,i(se,W).call(se,a))},m:function(a){return c(se,f,i(se,W).call(se,a))},ss:function(a){return c(se,A,i(se,W).call(se,a))},s:function(a){return c(se,A,i(se,W).call(se,a))},SSS:function(a){return se.millisecond=i(se,W).call(se,a)},SS:function(a){return se.millisecond=i(se,W).call(se,a)},S:function(a){return se.millisecond=i(se,W).call(se,a)}}}),w.set(this,{writable:!0,value:(Ra={},h(Ra,a.calendars.GREGORIAN,[{length:31,locals:(t={},h(t,a.locals.EN,{name:"January",shortName:"Jan"}),h(t,a.locals.FA,{name:"ژانویه",shortName:"ژان"}),h(t,a.locals.AR,{name:"يناير",shortName:"ينا"}),h(t,a.locals.HI,{name:"जनवरी",shortName:"जन"}),t)},{length:void 0,locals:(s={},h(s,a.locals.EN,{name:"February",shortName:"Feb"}),h(s,a.locals.FA,{name:"فوریه",shortName:"فور"}),h(s,a.locals.AR,{name:"فبراير",shortName:"فبر"}),h(s,a.locals.HI,{name:"फ़रवरी",shortName:"फ़र"}),s)},{length:31,locals:(l={},h(l,a.locals.EN,{name:"March",shortName:"Mar"}),h(l,a.locals.FA,{name:"مارس",shortName:"ما"}),h(l,a.locals.AR,{name:"مارس",shortName:"ما"}),h(l,a.locals.HI,{name:"मार्च",shortName:"मार्च"}),l)},{length:30,locals:(n={},h(n,a.locals.EN,{name:"April",shortName:"Apr"}),h(n,a.locals.FA,{name:"آوریل",shortName:"آور"}),h(n,a.locals.AR,{name:"إبريل",shortName:"إبر"}),h(n,a.locals.HI,{name:"अप्रैल",shortName:"अप्रैल"}),n)},{length:31,locals:(o={},h(o,a.locals.EN,{name:"May",shortName:"May"}),h(o,a.locals.FA,{name:"مه",shortName:"مه"}),h(o,a.locals.AR,{name:"مايو",shortName:"ما"}),h(o,a.locals.HI,{name:"मई",shortName:"मई"}),o)},{length:30,locals:(r={},h(r,a.locals.EN,{name:"June",shortName:"Jun"}),h(r,a.locals.FA,{name:"ژوئن",shortName:"ژو"}),h(r,a.locals.AR,{name:"يونيو",shortName:"يو"}),h(r,a.locals.HI,{name:"जून",shortName:"जून"}),r)},{length:31,locals:(Y={},h(Y,a.locals.EN,{name:"July",shortName:"Jul"}),h(Y,a.locals.FA,{name:"ژوئیه",shortName:"ژوئیه"}),h(Y,a.locals.AR,{name:"يوليو",shortName:"يوليو"}),h(Y,a.locals.HI,{name:"जुलाई",shortName:"जुल"}),Y)},{length:31,locals:(j={},h(j,a.locals.EN,{name:"August",shortName:"Aug"}),h(j,a.locals.FA,{name:"اوت",shortName:"اوت"}),h(j,a.locals.AR,{name:"أغسطس",shortName:"أغس"}),h(j,a.locals.HI,{name:"अगस्त",shortName:"अग"}),j)},{length:30,locals:(P={},h(P,a.locals.EN,{name:"September",shortName:"Sep"}),h(P,a.locals.FA,{name:"سپتامبر",shortName:"سپ"}),h(P,a.locals.AR,{name:"سبتمبر",shortName:"سب"}),h(P,a.locals.HI,{name:"सितंबर",shortName:"सित"}),P)},{length:31,locals:(C={},h(C,a.locals.EN,{name:"October",shortName:"Oct"}),h(C,a.locals.FA,{name:"اکتبر",shortName:"اک"}),h(C,a.locals.AR,{name:"أكتوبر",shortName:"اک"}),h(C,a.locals.HI,{name:"अक्तूबर",shortName:"अक्तू"}),C)},{length:30,locals:(G={},h(G,a.locals.EN,{name:"November",shortName:"Nov"}),h(G,a.locals.FA,{name:"نوامبر",shortName:"نو"}),h(G,a.locals.AR,{name:"نوفمبر",shortName:"نو"}),h(G,a.locals.HI,{name:"नवंबर",shortName:"नव"}),G)},{length:31,locals:(L={},h(L,a.locals.EN,{name:"December",shortName:"Dec"}),h(L,a.locals.FA,{name:"دسامبر",shortName:"دس"}),h(L,a.locals.AR,{name:"ديسمبر",shortName:"دس"}),h(L,a.locals.HI,{name:"दिसंबर",shortName:"दिस"}),L)}]),h(Ra,a.calendars.PERSIAN,[{length:31,locals:(B={},h(B,a.locals.EN,{name:"Farvardin",shortName:"Far"}),h(B,a.locals.FA,{name:"فروردین",shortName:"فر"}),h(B,a.locals.AR,{name:"فروردین",shortName:"فر"}),h(B,a.locals.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),B)},{length:31,locals:(T={},h(T,a.locals.EN,{name:"Ordibehesht",shortName:"Ord"}),h(T,a.locals.FA,{name:"اردیبهشت",shortName:"ار"}),h(T,a.locals.AR,{name:"اردیبهشت",shortName:"ار"}),h(T,a.locals.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),T)},{length:31,locals:(J={},h(J,a.locals.EN,{name:"Khordad",shortName:"Kho"}),h(J,a.locals.FA,{name:"خرداد",shortName:"خرد"}),h(J,a.locals.AR,{name:"خرداد",shortName:"خرد"}),h(J,a.locals.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),J)},{length:31,locals:(z={},h(z,a.locals.EN,{name:"Tir",shortName:"Tir"}),h(z,a.locals.FA,{name:"تیر",shortName:"تیر"}),h(z,a.locals.AR,{name:"تیر",shortName:"تیر"}),h(z,a.locals.HI,{name:"टिर",shortName:"टिर"}),z)},{length:31,locals:(U={},h(U,a.locals.EN,{name:"Mordad",shortName:"Mor"}),h(U,a.locals.FA,{name:"مرداد",shortName:"مر"}),h(U,a.locals.AR,{name:"مرداد",shortName:"مر"}),h(U,a.locals.HI,{name:"मोरदाद",shortName:"मोरदाद"}),U)},{length:31,locals:(V={},h(V,a.locals.EN,{name:"Shahrivar",shortName:"Sha"}),h(V,a.locals.FA,{name:"شهریور",shortName:"شه"}),h(V,a.locals.AR,{name:"شهریور",shortName:"شه"}),h(V,a.locals.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),V)},{length:30,locals:(_={},h(_,a.locals.EN,{name:"Mehr",shortName:"Meh"}),h(_,a.locals.FA,{name:"مهر",shortName:"مه"}),h(_,a.locals.AR,{name:"مهر",shortName:"مه"}),h(_,a.locals.HI,{name:"मेहर",shortName:"मेहर"}),_)},{length:30,locals:(K={},h(K,a.locals.EN,{name:"Aban",shortName:"Aba"}),h(K,a.locals.FA,{name:"آبان",shortName:"آبا"}),h(K,a.locals.AR,{name:"آبان",shortName:"آبا"}),h(K,a.locals.HI,{name:"अवन",shortName:"अवन"}),K)},{length:30,locals:(Q={},h(Q,a.locals.EN,{name:"Azar",shortName:"Aza"}),h(Q,a.locals.FA,{name:"آذر",shortName:"آذ"}),h(Q,a.locals.AR,{name:"آذر",shortName:"آذ"}),h(Q,a.locals.HI,{name:"अज़र",shortName:"अज़र"}),Q)},{length:30,locals:($={},h($,a.locals.EN,{name:"Dey",shortName:"Dey"}),h($,a.locals.FA,{name:"دی",shortName:"دی"}),h($,a.locals.AR,{name:"دی",shortName:"دی"}),h($,a.locals.HI,{name:"डे",shortName:"डे"}),$)},{length:30,locals:(q={},h(q,a.locals.EN,{name:"Bahman",shortName:"Bah"}),h(q,a.locals.FA,{name:"بهمن",shortName:"بهم"}),h(q,a.locals.AR,{name:"بهمن",shortName:"بهم"}),h(q,a.locals.HI,{name:"बहमन",shortName:"बहमन"}),q)},{length:void 0,locals:(X={},h(X,a.locals.EN,{name:"Esfand",shortName:"Esf"}),h(X,a.locals.FA,{name:"اسفند",shortName:"اسف"}),h(X,a.locals.AR,{name:"اسفند",shortName:"اسف"}),h(X,a.locals.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),X)}]),h(Ra,a.calendars.ARABIC,[{length:30,locals:(Z={},h(Z,a.locals.AR,{name:"محرم",shortName:"محرم"}),h(Z,a.locals.EN,{name:"Muharram",shortName:"Mu"}),h(Z,a.locals.FA,{name:"محرم",shortName:"محرم"}),h(Z,a.locals.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),Z)},{length:29,locals:(aa={},h(aa,a.locals.AR,{name:"صفر",shortName:"صفر"}),h(aa,a.locals.EN,{name:"Safar",shortName:"Sa"}),h(aa,a.locals.FA,{name:"صفر",shortName:"صفر"}),h(aa,a.locals.HI,{name:"सफर",shortName:"सफर"}),aa)},{length:30,locals:(ea={},h(ea,a.locals.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),h(ea,a.locals.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),h(ea,a.locals.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),h(ea,a.locals.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ea)},{length:29,locals:(ta={},h(ta,a.locals.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),h(ta,a.locals.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),h(ta,a.locals.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),h(ta,a.locals.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),ta)},{length:30,locals:(sa={},h(sa,a.locals.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),h(sa,a.locals.EN,{name:"Jumada l-Ula",shortName:"JI"}),h(sa,a.locals.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),h(sa,a.locals.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),sa)},{length:29,locals:(la={},h(la,a.locals.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),h(la,a.locals.EN,{name:"Jumada t-Tania",shortName:"JII"}),h(la,a.locals.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),h(la,a.locals.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),la)},{length:30,locals:(na={},h(na,a.locals.AR,{name:"رجب",shortName:"رجب"}),h(na,a.locals.EN,{name:"Rajab",shortName:"Ra"}),h(na,a.locals.FA,{name:"رجب",shortName:"رجب"}),h(na,a.locals.HI,{name:"रजब",shortName:"रजब"}),na)},{length:29,locals:(oa={},h(oa,a.locals.AR,{name:"شعبان",shortName:"شعبان"}),h(oa,a.locals.EN,{name:"Sha`ban",shortName:"Sh"}),h(oa,a.locals.FA,{name:"شعبان",shortName:"شعبان"}),h(oa,a.locals.HI,{name:"शावन",shortName:"शावन"}),oa)},{length:30,locals:(ra={},h(ra,a.locals.AR,{name:"رمضان",shortName:"رمضان"}),h(ra,a.locals.EN,{name:"Ramadan",shortName:"Ra"}),h(ra,a.locals.FA,{name:"رمضان",shortName:"رمضان"}),h(ra,a.locals.HI,{name:"रमजान",shortName:"रमजान"}),ra)},{length:29,locals:(ha={},h(ha,a.locals.AR,{name:"شوال",shortName:"شوال"}),h(ha,a.locals.EN,{name:"Shawwal",shortName:"Sh"}),h(ha,a.locals.FA,{name:"شوال",shortName:"شوال"}),h(ha,a.locals.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),ha)},{length:30,locals:(ia={},h(ia,a.locals.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),h(ia,a.locals.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),h(ia,a.locals.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ia)},{length:void 0,locals:(ca={},h(ca,a.locals.AR,{name:"ذیحجه",shortName:"ذیحجه"}),h(ca,a.locals.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),h(ca,a.locals.FA,{name:"ذیحجه",shortName:"ذیحجه"}),h(ca,a.locals.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),ca)}]),h(Ra,a.calendars.INDIAN,[{length:void 0,locals:(ma={},h(ma,a.locals.EN,{name:"Chaitra",shortName:"Cha"}),h(ma,a.locals.FA,{name:"چیتره",shortName:"چیت"}),h(ma,a.locals.AR,{name:"شيترا",shortName:"شیت"}),h(ma,a.locals.HI,{name:"चैत्र",shortName:"चैत्र"}),ma)},{length:31,locals:(ua={},h(ua,a.locals.EN,{name:"Vaishakh",shortName:"Vai"}),h(ua,a.locals.FA,{name:"ویشاکهه",shortName:"ویش"}),h(ua,a.locals.AR,{name:"فيشاخ",shortName:"فیش"}),h(ua,a.locals.HI,{name:"वैशाख",shortName:"वैशाख"}),ua)},{length:31,locals:(Na={},h(Na,a.locals.EN,{name:"Jyaishtha",shortName:"Jya"}),h(Na,a.locals.FA,{name:"جییشته",shortName:"جیش"}),h(Na,a.locals.AR,{name:"جیشتا",shortName:"جیش"}),h(Na,a.locals.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),Na)},{length:31,locals:(da={},h(da,a.locals.EN,{name:"Ashadha",shortName:"Ash"}),h(da,a.locals.FA,{name:"آشادهه",shortName:"آشا"}),h(da,a.locals.AR,{name:"أشاد",shortName:"أشا"}),h(da,a.locals.HI,{name:"आषाढ़",shortName:"आषाढ़"}),da)},{length:31,locals:(fa={},h(fa,a.locals.EN,{name:"Shravana",shortName:"Shr"}),h(fa,a.locals.FA,{name:"شراونه",shortName:"شرا"}),h(fa,a.locals.AR,{name:"شرافان",shortName:"شرا"}),h(fa,a.locals.HI,{name:"श्रावण",shortName:"श्रावण"}),fa)},{length:31,locals:(Aa={},h(Aa,a.locals.EN,{name:"Bhadrapad",shortName:"Bha"}),h(Aa,a.locals.FA,{name:"بهادره",shortName:"بها"}),h(Aa,a.locals.AR,{name:"بهادرابادا",shortName:"بها"}),h(Aa,a.locals.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),Aa)},{length:30,locals:(ya={},h(ya,a.locals.EN,{name:"Ashwin",shortName:"Ash"}),h(ya,a.locals.FA,{name:"آشوین",shortName:"آشو"}),h(ya,a.locals.AR,{name:"اشوين",shortName:"اشو"}),h(ya,a.locals.HI,{name:"आश्विन",shortName:"आश्विन"}),ya)},{length:30,locals:(va={},h(va,a.locals.EN,{name:"Kartik",shortName:"Kar"}),h(va,a.locals.FA,{name:"کارتیکه",shortName:"کار"}),h(va,a.locals.AR,{name:"كارتيك",shortName:"کار"}),h(va,a.locals.HI,{name:"कार्तिक",shortName:"कार्तिक"}),va)},{length:30,locals:(ga={},h(ga,a.locals.EN,{name:"Agrahayana",shortName:"Agr"}),h(ga,a.locals.FA,{name:"اگرهینه",shortName:"اگر"}),h(ga,a.locals.AR,{name:"أجراهيان",shortName:"اجر"}),h(ga,a.locals.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),ga)},{length:30,locals:(Ia={},h(Ia,a.locals.EN,{name:"Paush",shortName:"Pau"}),h(Ia,a.locals.FA,{name:"پاوشه",shortName:"پاو"}),h(Ia,a.locals.AR,{name:"بوش",shortName:"بوش"}),h(Ia,a.locals.HI,{name:"पौष",shortName:"पौष"}),Ia)},{length:30,locals:(pa={},h(pa,a.locals.EN,{name:"Magh",shortName:"Mag"}),h(pa,a.locals.FA,{name:"ماگهه",shortName:"ماگ"}),h(pa,a.locals.AR,{name:"ماک",shortName:"ماک"}),h(pa,a.locals.HI,{name:"माघ",shortName:"माघ"}),pa)},{length:30,locals:(ba={},h(ba,a.locals.EN,{name:"Phalgun",shortName:"Pha"}),h(ba,a.locals.FA,{name:"پهالگونه",shortName:"پها"}),h(ba,a.locals.AR,{name:"فالغون",shortName:"فال"}),h(ba,a.locals.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),ba)}]),Ra)}),E.set(this,{writable:!0,value:(Xa={},h(Xa,a.calendars.GREGORIAN,[{index:0,locals:(ka={},h(ka,a.locals.EN,{name:"Sunday",shortName:"Sun"}),h(ka,a.locals.FA,{name:"یکشنبه",shortName:"یک"}),h(ka,a.locals.AR,{name:"الأحد",shortName:"اح"}),h(ka,a.locals.HI,{name:"रविवार",shortName:"रवि"}),ka)},{index:1,locals:(wa={},h(wa,a.locals.EN,{name:"Monday",shortName:"Mon"}),h(wa,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(wa,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(wa,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),wa)},{index:2,locals:(Ea={},h(Ea,a.locals.EN,{name:"Tuesday",shortName:"Tue"}),h(Ea,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(Ea,a.locals.AR,{name:"الثلاثاء",shortName:"ثل"}),h(Ea,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),Ea)},{index:3,locals:(Fa={},h(Fa,a.locals.EN,{name:"Wednesday",shortName:"Wed"}),h(Fa,a.locals.FA,{name:"چهارشنبه",shortName:"چهار"}),h(Fa,a.locals.AR,{name:"الأربعاء",shortName:"ار"}),h(Fa,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Fa)},{index:4,locals:(Ha={},h(Ha,a.locals.EN,{name:"Thursday",shortName:"Thu"}),h(Ha,a.locals.FA,{name:"پنجشنبه",shortName:"پنج"}),h(Ha,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Ha,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Ha)},{index:5,locals:(Ma={},h(Ma,a.locals.EN,{name:"Friday",shortName:"Fri"}),h(Ma,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(Ma,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(Ma,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Ma)},{index:6,locals:(Oa={},h(Oa,a.locals.EN,{name:"Saturday",shortName:"Sat"}),h(Oa,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Oa,a.locals.AR,{name:"السّبت",shortName:"سب"}),h(Oa,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Oa)}]),h(Xa,a.calendars.PERSIAN,[{index:1,locals:(Da={},h(Da,a.locals.EN,{name:"YekShanbeh",shortName:"Yek"}),h(Da,a.locals.FA,{name:"یکشنبه",shortName:"یک"}),h(Da,a.locals.AR,{name:"الأحد",shortName:"اح"}),h(Da,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Da)},{index:2,locals:(Sa={},h(Sa,a.locals.EN,{name:"Doshanbeh",shortName:"Do"}),h(Sa,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(Sa,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(Sa,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),Sa)},{index:3,locals:(xa={},h(xa,a.locals.EN,{name:"Seshanbeh",shortName:"Se"}),h(xa,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(xa,a.locals.AR,{name:"الثلاثاء",shortName:"ثل"}),h(xa,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),xa)},{index:4,locals:(Wa={},h(Wa,a.locals.EN,{name:"Chaharshanbeh",shortName:"Cha"}),h(Wa,a.locals.FA,{name:"چهارشنبه",shortName:"چهار"}),h(Wa,a.locals.AR,{name:"الأربعاء",shortName:"ار"}),h(Wa,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Wa)},{index:5,locals:(Ya={},h(Ya,a.locals.EN,{name:"Panjshanbeh",shortName:"Pan"}),h(Ya,a.locals.FA,{name:"پنجشنبه",shortName:"پنج"}),h(Ya,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Ya,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Ya)},{index:6,locals:(ja={},h(ja,a.locals.EN,{name:"Jom'eh",shortName:"Jom"}),h(ja,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(ja,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(ja,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),ja)},{index:0,locals:(Pa={},h(Pa,a.locals.EN,{name:"Shanbeh",shortName:"Sha"}),h(Pa,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Pa,a.locals.AR,{name:"السّبت",shortName:"سب"}),h(Pa,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Pa)}]),h(Xa,a.calendars.ARABIC,[{index:1,locals:(Ca={},h(Ca,a.locals.AR,{name:"الأحد",shortName:"احد"}),h(Ca,a.locals.EN,{name:"al-'ahad",shortName:"Aha"}),h(Ca,a.locals.FA,{name:"يکشنبه",shortName:"یک"}),h(Ca,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Ca)},{index:2,locals:(Ga={},h(Ga,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(Ga,a.locals.EN,{name:"al-'ithnayn",shortName:"Ith"}),h(Ga,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(Ga,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),Ga)},{index:3,locals:(La={},h(La,a.locals.AR,{name:"الثلاثاء",shortName:"ثلا"}),h(La,a.locals.EN,{name:"ath-thalatha",shortName:"Tha"}),h(La,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(La,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),La)},{index:4,locals:(Ba={},h(Ba,a.locals.AR,{name:"الأربعاء",shortName:"ارب"}),h(Ba,a.locals.EN,{name:"al-'arb`a'",shortName:"Arb"}),h(Ba,a.locals.FA,{name:"چهار شنبه",shortName:"چهار"}),h(Ba,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Ba)},{index:5,locals:(Ta={},h(Ta,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Ta,a.locals.EN,{name:"al-khamis",shortName:"Kha"}),h(Ta,a.locals.FA,{name:"پنج شنبه\t",shortName:"پنج"}),h(Ta,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Ta)},{index:6,locals:(Ja={},h(Ja,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(Ja,a.locals.EN,{name:"al-jum`a",shortName:"Jum"}),h(Ja,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(Ja,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Ja)},{index:0,locals:(za={},h(za,a.locals.AR,{name:"السّبت",shortName:"سبت"}),h(za,a.locals.EN,{name:"as-sabt",shortName:"Sab"}),h(za,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(za,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),za)}]),h(Xa,a.calendars.INDIAN,[{index:0,locals:(Ua={},h(Ua,a.locals.EN,{name:"Ravivara",shortName:"Rav"}),h(Ua,a.locals.FA,{name:"يکشنبه",shortName:"یک"}),h(Ua,a.locals.AR,{name:"الأحد",shortName:"احد"}),h(Ua,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Ua)},{index:1,locals:(Va={},h(Va,a.locals.EN,{name:"Somavara",shortName:"Som"}),h(Va,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(Va,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(Va,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),Va)},{index:2,locals:(_a={},h(_a,a.locals.EN,{name:"Mangalavara",shortName:"Man"}),h(_a,a.locals.FA,{name:"سه شنبه\t",shortName:"سه"}),h(_a,a.locals.AR,{name:"الثلاثاء",shortName:"ثلا"}),h(_a,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),_a)},{index:3,locals:(Ka={},h(Ka,a.locals.EN,{name:"Budhavara",shortName:"Bud"}),h(Ka,a.locals.FA,{name:"چهار شنبه",shortName:"چهار"}),h(Ka,a.locals.AR,{name:"الأربعاء",shortName:"ارب"}),h(Ka,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Ka)},{index:4,locals:(Qa={},h(Qa,a.locals.EN,{name:"Brihaspatvara",shortName:"Bri"}),h(Qa,a.locals.FA,{name:"پنج شنبه\t",shortName:"پنج"}),h(Qa,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Qa,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Qa)},{index:5,locals:($a={},h($a,a.locals.EN,{name:"Sukravara",shortName:"Suk"}),h($a,a.locals.FA,{name:"جمعه",shortName:"جم"}),h($a,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h($a,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),$a)},{index:6,locals:(qa={},h(qa,a.locals.EN,{name:"Sanivara",shortName:"San"}),h(qa,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(qa,a.locals.AR,{name:"السّبت",shortName:"سبت"}),h(qa,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),qa)}]),Xa)}),F.set(this,{writable:!0,value:(Za={},h(Za,a.locals.EN,["0","1","2","3","4","5","6","7","8","9"]),h(Za,a.locals.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),h(Za,a.locals.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),h(Za,a.locals.HI,["०","१","२","३","४","५","६","७","८","९"]),Za)}),H.set(this,{writable:!0,value:(ae={},h(ae,a.locals.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),h(ae,a.locals.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),h(ae,a.locals.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),h(ae,a.locals.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),ae)}),M.set(this,{writable:!0,value:(ee={},h(ee,a.calendars.GREGORIAN,1721424),h(ee,a.calendars.PERSIAN,1948319),h(ee,a.calendars.ARABIC,1948438),h(ee,a.calendars.INDIAN,1749628),ee)}),O.set(this,{writable:!0,value:(te={},h(te,a.calendars.GREGORIAN,365),h(te,a.calendars.PERSIAN,365),h(te,a.calendars.ARABIC,354),h(te,a.calendars.INDIAN,365),te)}),D.set(this,{writable:!0,value:function(){var e=function(){for(var e=!1;i(se,u)<0;)c(se,u,i(se,u)+12),c(se,m,i(se,m)-1),0===i(se,m)&&se.calendar!==a.calendars.INDIAN&&c(se,m,-1),e=!0;for(;i(se,u)>11;)c(se,u,i(se,u)-12),c(se,m,i(se,m)+1),0===i(se,m)&&se.calendar!==a.calendars.INDIAN&&c(se,m,1),e=!0;e&&i(se,S).call(se)};if(se.isValid){for(;i(se,y)>=1e3;)c(se,y,i(se,y)-1e3),c(se,A,i(se,A)+1);for(;i(se,y)<0;)c(se,y,i(se,y)+1e3),c(se,A,i(se,A)-1);for(;i(se,A)>=60;)c(se,A,i(se,A)-60),c(se,f,i(se,f)+1);for(;i(se,A)<0;)c(se,A,i(se,A)+60),c(se,f,i(se,f)-1);for(;i(se,f)>=60;)c(se,f,i(se,f)-60),c(se,d,i(se,d)+1);for(;i(se,f)<0;)c(se,f,i(se,f)+60),c(se,d,i(se,d)-1);for(;i(se,d)>=24;)c(se,d,i(se,d)-24),c(se,N,i(se,N)+1);for(;i(se,d)<0;)c(se,d,i(se,d)+24),c(se,N,i(se,N)-1);for(;;){for((i(se,u)<0||i(se,u)>11)&&e();i(se,N)<1;)c(se,u,i(se,u)-1),e(),c(se,N,se.month.length+i(se,N));if(i(se,N)<=se.month.length||isNaN(i(se,N)))break;c(se,N,i(se,N)-se.month.length),c(se,u,1+ +i(se,u))}i(se,d)||c(se,d,0),i(se,f)||c(se,f,0),i(se,A)||c(se,A,0),i(se,y)||c(se,y,0)}}}),S.set(this,{writable:!0,value:function(){if(0!==i(se,m)||i(se,I)===a.calendars.INDIAN){var e=void 0;e=i(se,I)!==a.calendars.INDIAN?i(se,m)>0?1:-1:0;var t=function(){return i(se,m)>0?e<=i(se,m):i(se,m)<=e},s=function(){return i(se,m)>0?e++:e--};switch(c(se,b,[]),i(se,I)){case a.calendars.PERSIAN:for(var l=i(se,m)>0?.2684:.7316,n={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((l+=i(se,m)>0?.242362:-.242362)>1&&(l-=1),l<0&&(l+=1),l>=.257800926&&l<=.5){var o=n[e]||e<-1?e+1:e;i(se,m)>0&&o<=i(se,m)&&i(se,b).push(o),i(se,m)<0&&i(se,b).push(o)}s()}break;case a.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(e%30)&&i(se,b).push(e),s();break;case a.calendars.INDIAN:for(;t();){var r=e+78;(r%4==0&&r%100!=0||r%400==0)&&i(se,b).push(e),s()}break;default:for(;t();)(e%4==0&&e%100!=0||e%400==0)&&i(se,b).push(e),s()}}}}),x.set(this,{writable:!0,value:function(e,t){var s=void 0;switch(t){case a.calendars.PERSIAN:s=1+~~((e+.5)/365.241);break;case a.calendars.ARABIC:s=1+~~((e-.5)/354.366);break;default:s=1+~~(e/365.24)}return s}}),W.set(this,{writable:!0,value:function(a){if(!isNaN(a))return parseInt(a)}}),e&&"boolean"!=typeof e||(e={date:new Date}),(e instanceof Date||e instanceof a||"string"==typeof e)&&(e={date:e}),"number"==typeof e&&(e={date:new Date(1e3*e)});var le=e,ne=le.calendar,oe=le.local,re=le.format,he=le.date,ie=le.year,ce=le.month,me=le.day,ue=le.hour,Ne=le.minute,de=le.second,fe=le.millisecond,Ae=!0;ne&&(ne=a.calendars[ne.toUpperCase()]||a.calendars.GREGORIAN,c(this,I,ne)),!ne&&!oe||he||ie||ce||me||ue||Ne||de||fe||(he=new Date),"string"==typeof he&&(this.parse(he),Ae=!1),"number"==typeof he&&(he=new Date(1e3*he));(he instanceof a||he instanceof Date)&&(this.setDate(he),ne&&this.convert(ne),Ae=!1),oe&&(oe=a.locals[oe.toUpperCase()]||a.locals.EN,c(this,g,oe)),c(this,v,re),he||(0===ce&&(ce=1),c(se,m,i(se,W).call(se,ie)),c(se,u,i(se,W).call(se,ce-1)),c(se,N,i(se,W).call(se,me)),c(se,d,i(se,W).call(se,ue)||0),c(se,f,i(se,W).call(se,Ne)||0),c(se,A,i(se,W).call(se,de)||0),c(se,y,i(se,W).call(se,fe)||0),c(se,I,ne||a.calendars.GREGORIAN),c(se,g,oe||a.locals.EN)),0===i(this,m)&&i(this,I)!==a.calendars.INDIAN&&c(this,m,-1),Ae&&(i(this,S).call(this),i(this,D).call(this))}var e,t,o;return e=a,(t=[{key:"parse",value:function(e){if(!e)return this;var t=i(this,v);if(i(this,g)!==a.locals.en){var s,o=i(this,F)[i(this,g)],r=function(a,e){var t;if("undefined"==typeof Symbol||null==a[Symbol.iterator]){if(Array.isArray(a)||(t=n(a))||e&&a&&"number"==typeof a.length){t&&(a=t);var s=0,l=function(){};return{s:l,n:function(){return s>=a.length?{done:!0}:{done:!1,value:a[s++]}},e:function(a){throw a},f:l}}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 o,r=!0,h=!1;return{s:function(){t=a[Symbol.iterator]()},n:function(){var a=t.next();return r=a.done,a},e:function(a){h=!0,o=a},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw o}}}}(o);try{for(r.s();!(s=r.n()).done;){var h=s.value;e=e.replace(new RegExp(h,"g"),o.indexOf(h))}}catch(a){r.e(a)}finally{r.f()}}if(t)for(var I=t.split(/[^\w\u0600-\u06FF]/),p=e.split(/[^\w\u0600-\u06FF]/),b=0;b<I.length;b++){var R=i(this,k)[I[b]];R&&p[b]&&R(p[b])}else{var w=l(e.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),E=w[1],M=w[2],O=w[3],x=w[4],Y=w[5],j=w[6],P=w[7],C=w[8];M&&(M=/\d+/.test(M)?i(this,W).call(this,M)-1:this.months.findIndex((function(a){return new RegExp(M,"i").test(a.name)}))),c(this,m,i(this,W).call(this,E)),c(this,u,i(this,W).call(this,M)),c(this,N,i(this,W).call(this,O)),c(this,d,i(this,W).call(this,x)),c(this,f,i(this,W).call(this,Y)),c(this,A,i(this,W).call(this,j)),c(this,y,i(this,W).call(this,P)),C&&"pm"===C&&i(this,d)<12&&c(this,d,i(this,d)+12)}return e.includes(i(this,H)[i(this,g)][1].shortName)&&i(this,d)<12&&c(this,d,i(this,d)+12),e.includes(i(this,H)[i(this,g)][1].name)&&i(this,d)<12&&c(this,d,i(this,d)+12),i(this,S).call(this),i(this,D).call(this),this}},{key:"convert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.calendars.GREGORIAN;if(!(e=a.calendars[e.toUpperCase()]))throw new Error("calendar not found");if(e===i(this,I))return this;var t=this.toJulianDay()-i(this,M)[e],s=new a({calendar:e,year:i(this,x).call(this,t,e),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,b,s.leaps),c(this,I,e),this}},{key:"format",value:function(e){if(!this.isValid)return"";if(!e||"string"==typeof e){e||(e=i(this,v)||"YYYY/MM/DD");var t=1,s={};for(var l in i(this,R))for(;e.includes(l);){var n="~~r00".concat(t,"~");e=e.replace(l,n),s[n]=this.getProperty(l),t++}for(var o in s)e=e.replace(o,s[o]);if(i(this,g)!==a.locals.en){var r=i(this,F)[i(this,g)];e=e.replace(/[0-9]/g,(function(a){return r[a]}))}return e}}},{key:"getProperty",value:function(a){var e=function(a){return a<10?"0"+a:a};switch(a){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 e(this.month.number);case"M":return this.month.number;case"WW":return e(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return e(this.day);case"D":return this.day;case"HH":return e(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"hh":return e(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return e(this.minute);case"m":return this.minute;case"ss":return e(this.second);case"s":return this.second;case"SSS":return i(this,y)<10?"00".concat(i(this,y)):i(this,y)<100?"0".concat(i(this,y)):i(this,y);case"SS":return i(this,y)<10?"00":i(this,y)<100?("0"+i(this,y)).substring(2,0):i(this,y).toString().substring(0,2);case"S":return i(this,y)<10||i(this,y)<100?"0":i(this,y).toString().substring(0,1);case"a":return this.hour>=12?i(this,H)[i(this,g)][1].shortName:i(this,H)[i(this,g)][0].shortName;case"A":return this.hour>=12?i(this,H)[i(this,g)][1].name:i(this,H)[i(this,g)][0].name;default:return""}}},{key:"setYear",value:function(a){return this.year=a,this}},{key:"setMonth",value:function(a){return this.month=a,this}},{key:"setDay",value:function(a){return this.day=a,this}},{key:"setHour",value:function(a){return this.hour=a,this}},{key:"setMinute",value:function(a){return this.minute=a,this}},{key:"setSecond",value:function(a){return this.second=a,this}},{key:"setMillisecond",value:function(a){return this.millisecond=a,this}},{key:"setFormat",value:function(a){return c(this,v,a),this}},{key:"setLocal",value:function(a){return this.local=a,this}},{key:"setCalendar",value:function(a){return this.calendar=a,this}},{key:"setDate",value:function(e){return!e instanceof Date&&!e instanceof a||(e instanceof Date&&(c(this,I,a.calendars.GREGORIAN),c(this,m,e.getFullYear()),c(this,u,e.getMonth()),c(this,N,e.getDate()),c(this,d,e.getHours()),c(this,f,e.getMinutes()),c(this,A,e.getSeconds()),c(this,y,e.getMilliseconds()),i(this,S).call(this),i(this,D).call(this)),e instanceof a&&(c(this,m,e.year),c(this,u,e.month.index),c(this,N,e.day),c(this,d,e.hour),c(this,f,e.minute),c(this,A,e.second),c(this,y,e.millisecond),c(this,g,e.local.toUpperCase()),c(this,v,e._format),c(this,b,e.leaps),c(this,I,e.calendar.toUpperCase()))),this}},{key:"add",value:function(a,e){if(!(a=i(this,W).call(this,a))||!e)return this;switch(e){case"years":case"year":case"y":this.year+=a;break;case"months":case"month":case"M":this.month+=a;break;case"days":case"day":case"d":this.day+=a;break;case"hours":case"hour":case"h":this.hour+=a;break;case"minutes":case"minute":case"m":this.minute+=a;break;case"seconds":case"second":case"s":this.second+=a;break;case"milliseconds":case"millisecond":case"ms":this.millisecond+=a}return this}},{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,D).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 e=new a(this);return i(this,I)!==a.calendars.GREGORIAN&&e.convert(a.calendars.GREGORIAN),new Date(i(e,m),i(e,u),i(e,N),i(e,d),i(e,f),i(e,A),i(e,y))}},{key:"toUTC",value:function(){return i(this,p)||(this.minute+=(new Date).getTimezoneOffset(),c(this,p,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,M)[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,d),minute:i(this,f),second:i(this,A),millisecond:i(this,y),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,I).toLowerCase(),local:i(this,g).toLowerCase()}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){return this.dayOfBeginning}},{key:"dayOfBeginning",get:function(){if(this.isValid){var e=(i(this,I)!==a.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&&(e+=t),i(this,m)<0&&(e-=t),e+=this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var a=i(this,N),e=this.months,t=0;t<e.length&&!(t>=i(this,u));t++)a+=e[t].length;return a}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var a=i(this,O)[i(this,I)];return(this.isLeap?a+1:a)-this.dayOfYear}}},{key:"year",get:function(){return i(this,m)},set:function(a){a=i(this,W).call(this,a),c(this,m,a),i(this,S).call(this),i(this,D).call(this)}},{key:"month",get:function(){var a=this.months[i(this,u)];return a?(a.index=i(this,u),a.number=a.index+1,a.toString=function(){return this.number},a):{}},set:function(a){a=i(this,W).call(this,a),c(this,u,a-1),i(this,D).call(this)}},{key:"day",get:function(){return i(this,N)},set:function(a){a=i(this,W).call(this,a),c(this,N,a),i(this,D).call(this)}},{key:"weekDay",get:function(){var a=(this.toJulianDay()+2)%7,e=i(this,E)[i(this,I)][a];return e?e=s({index:e.index,number:e.index+1,toString:function(){return this.number}},e.locals[i(this,g)]):{}}},{key:"hour",get:function(){return i(this,d)},set:function(a){a=i(this,W).call(this,a),c(this,d,a),i(this,D).call(this)}},{key:"minute",get:function(){return i(this,f)},set:function(a){a=i(this,W).call(this,a),c(this,f,a),i(this,D).call(this)}},{key:"second",get:function(){return i(this,A)},set:function(a){a=i(this,W).call(this,a),c(this,A,a),i(this,D).call(this)}},{key:"millisecond",get:function(){return i(this,y)},set:function(a){a=i(this,W).call(this,a),c(this,y,a),i(this,D).call(this)}},{key:"months",get:function(){var e=this,t=i(this,w)[i(this,I)];switch(i(this,I)){case a.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case a.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t=t.map((function(a){return s({length:a.length},a.locals[i(e,g)])}))}},{key:"weeks",get:function(){var a=this,e=i(this,E)[i(this,I)];return e.sort((function(a,e){return a.index-e.index})),e=e.map((function(e){return s({index:e.index,number:e.index+1},e.locals[i(a,g)])}))}},{key:"leaps",get:function(){return i(this,b)}},{key:"calendar",get:function(){return i(this,I).toLowerCase()},set:function(a){this.convert(a)}},{key:"local",get:function(){return i(this,g).toLowerCase()},set:function(e){e=e.toUpperCase(),a.locals[e]||(e=a.locals.EN),c(this,g,e)}},{key:"meridiems",get:function(){return i(this,H)[i(this,g)]}},{key:"digits",get:function(){return i(this,F)[i(this,g)]}},{key:"_format",get:function(){return i(this,v)},set:function(a){"string"==typeof a&&c(this,v,a)}},{key:"isLeap",get:function(){return i(this,b).includes(i(this,m))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,m)+i(this,u)+i(this,N)))}},{key:"unix",get:function(){return Math.round(this.toDate().getTime()/1e3)}}])&&r(e.prototype,t),o&&r(e,o),a}();h(Y,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),h(Y,"locals",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"}),a.exports=Y},function(a,e,t){a.exports=t(2)},function(a,e,t){"use strict";t.r(e);var s=t(0),l=t.n(s);e.default=l.a}])}));
!function(a,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["react-date-object"]=e():a["react-date-object"]=e()}(window,(function(){return function(a){var e={};function t(s){if(e[s])return e[s].exports;var l=e[s]={i:s,l:!1,exports:{}};return a[s].call(l.exports,l,l.exports,t),l.l=!0,l.exports}return t.m=a,t.c=e,t.d=function(a,e,s){t.o(a,e)||Object.defineProperty(a,e,{enumerable:!0,get:s})},t.r=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,e){if(1&e&&(a=t(a)),8&e)return a;if(4&e&&"object"==typeof a&&a&&a.__esModule)return a;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:a}),2&e&&"string"!=typeof a)for(var l in a)t.d(s,l,function(e){return a[e]}.bind(null,l));return s},t.n=function(a){var e=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(e,"a",e),e},t.o=function(a,e){return Object.prototype.hasOwnProperty.call(a,e)},t.p="",t(t.s=1)}([function(a,e){function t(a,e){return function(a){if(Array.isArray(a))return a}(a)||function(a,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(a)))return;var t=[],s=!0,l=!1,n=void 0;try{for(var o,r=a[Symbol.iterator]();!(s=(o=r.next()).done)&&(t.push(o.value),!e||t.length!==e);s=!0);}catch(a){l=!0,n=a}finally{try{s||null==r.return||r.return()}finally{if(l)throw n}}return t}(a,e)||s(a,e)||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 s(a,e){if(a){if("string"==typeof a)return l(a,e);var t=Object.prototype.toString.call(a).slice(8,-1);return"Object"===t&&a.constructor&&(t=a.constructor.name),"Map"===t||"Set"===t?Array.from(a):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(a,e):void 0}}function l(a,e){(null==e||e>a.length)&&(e=a.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=a[t];return s}function n(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(a,e).enumerable}))),t.push.apply(t,s)}return t}function o(a){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?n(Object(t),!0).forEach((function(e){h(a,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):n(Object(t)).forEach((function(e){Object.defineProperty(a,e,Object.getOwnPropertyDescriptor(t,e))}))}return a}function r(a,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}function h(a,e,t){return e in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function i(a,e){var t=e.get(a);if(!t)throw new TypeError("attempted to get private field on non-instance");return t.get?t.get.call(a):t.value}function c(a,e,t){var s=e.get(a);if(!s)throw new TypeError("attempted to set private field on non-instance");if(s.set)s.set.call(a,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,d=new WeakMap,f=new WeakMap,A=new WeakMap,y=new WeakMap,v=new WeakMap,g=new WeakMap,I=new WeakMap,p=new WeakMap,b=new WeakMap,R=new WeakMap,k=new WeakMap,w=new WeakMap,E=new WeakMap,F=new WeakMap,H=new WeakMap,M=new WeakMap,D=new WeakMap,O=new WeakMap,S=new WeakMap,x=new WeakMap,W=new WeakMap,Y=function(){function a(e){var t,s,l,n,r,Y,j,P,C,G,L,B,T,J,z,U,V,_,K,Q,$,q,X,Z,aa,ea,ta,sa,la,na,oa,ra,ha,ia,ca,ma,ua,Na,da,fa,Aa,ya,va,ga,Ia,pa,ba,Ra,ka,wa,Ea,Fa,Ha,Ma,Da,Oa,Sa,xa,Wa,Ya,ja,Pa,Ca,Ga,La,Ba,Ta,Ja,za,Ua,Va,_a,Ka,Qa,$a,qa,Xa,Za,ae,ee,te,se,le=this;!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),m.set(this,{writable:!0,value:void 0}),u.set(this,{writable:!0,value:void 0}),N.set(this,{writable:!0,value:void 0}),d.set(this,{writable:!0,value:void 0}),f.set(this,{writable:!0,value:void 0}),A.set(this,{writable:!0,value:void 0}),y.set(this,{writable:!0,value:void 0}),v.set(this,{writable:!0,value:void 0}),g.set(this,{writable:!0,value:a.locals.EN}),I.set(this,{writable:!0,value:a.calendars.GREGORIAN}),p.set(this,{writable:!0,value:void 0}),b.set(this,{writable:!0,value:[]}),R.set(this,{writable:!0,value:{YYYY:/\d{4}/,YY:/\d\d/,MMMM:/[A-z]+/,MMM:/[A-z]+/,MM:/\d\d/,M:/\d/,WW:/\d\d/,W:/\d/,DDDD:/\d{1,3}/,DDD:/\d{1,3}/,DD:/\d\d/,D:/\d/,dddd:/[A-z]+/,ddd:/[A-z]+/,HH:/\d\d/,H:/\d/,hh:/\d\d/,h:/\d/,mm:/\d\d/,m:/\d/,ss:/\d\d/,s:/\d/,SSS:/\d{3}/,SS:/\d\d/,S:/\d/,a:/[a-z]{2,9}/,A:/[a-z]{2,9}/}}),k.set(this,{writable:!0,value:{YYYY:function(a){return c(le,m,i(le,W).call(le,a))},YY:function(e){switch(i(le,I)){case a.calendars.PERSIAN:e="13"+e;break;case a.calendars.ARABIC:e="14"+e;break;default:e="20"+e}c(le,m,i(le,W).call(le,e))},MMMM:function(a){return c(le,u,le.months.findIndex((function(e){return a.toLowerCase()===e.name.toLowerCase()})))},MMM:function(a){return c(le,u,le.months.findIndex((function(e){return a.toLowerCase()===e.shortName.toLowerCase()})))},MM:function(a){return c(le,u,i(le,W).call(le,a)-1)},M:function(a){return c(le,u,i(le,W).call(le,a)-1)},DD:function(a){return c(le,N,i(le,W).call(le,a))},D:function(a){return c(le,N,i(le,W).call(le,a))},HH:function(a){return c(le,d,i(le,W).call(le,a))},H:function(a){return c(le,d,i(le,W).call(le,a))},hh:function(a){var e=i(le,W).call(le,a);c(le,d,e>12?e-12:e)},h:function(a){var e=i(le,W).call(le,a);c(le,d,e>12?e-12:e)},mm:function(a){return c(le,f,i(le,W).call(le,a))},m:function(a){return c(le,f,i(le,W).call(le,a))},ss:function(a){return c(le,A,i(le,W).call(le,a))},s:function(a){return c(le,A,i(le,W).call(le,a))},SSS:function(a){return le.millisecond=i(le,W).call(le,a)},SS:function(a){return le.millisecond=i(le,W).call(le,a)},S:function(a){return le.millisecond=i(le,W).call(le,a)}}}),w.set(this,{writable:!0,value:(ka={},h(ka,a.calendars.GREGORIAN,[{length:31,locals:(t={},h(t,a.locals.EN,{name:"January",shortName:"Jan"}),h(t,a.locals.FA,{name:"ژانویه",shortName:"ژان"}),h(t,a.locals.AR,{name:"يناير",shortName:"ينا"}),h(t,a.locals.HI,{name:"जनवरी",shortName:"जन"}),t)},{length:void 0,locals:(s={},h(s,a.locals.EN,{name:"February",shortName:"Feb"}),h(s,a.locals.FA,{name:"فوریه",shortName:"فور"}),h(s,a.locals.AR,{name:"فبراير",shortName:"فبر"}),h(s,a.locals.HI,{name:"फ़रवरी",shortName:"फ़र"}),s)},{length:31,locals:(l={},h(l,a.locals.EN,{name:"March",shortName:"Mar"}),h(l,a.locals.FA,{name:"مارس",shortName:"ما"}),h(l,a.locals.AR,{name:"مارس",shortName:"ما"}),h(l,a.locals.HI,{name:"मार्च",shortName:"मार्च"}),l)},{length:30,locals:(n={},h(n,a.locals.EN,{name:"April",shortName:"Apr"}),h(n,a.locals.FA,{name:"آوریل",shortName:"آور"}),h(n,a.locals.AR,{name:"إبريل",shortName:"إبر"}),h(n,a.locals.HI,{name:"अप्रैल",shortName:"अप्रैल"}),n)},{length:31,locals:(r={},h(r,a.locals.EN,{name:"May",shortName:"May"}),h(r,a.locals.FA,{name:"مه",shortName:"مه"}),h(r,a.locals.AR,{name:"مايو",shortName:"ما"}),h(r,a.locals.HI,{name:"मई",shortName:"मई"}),r)},{length:30,locals:(Y={},h(Y,a.locals.EN,{name:"June",shortName:"Jun"}),h(Y,a.locals.FA,{name:"ژوئن",shortName:"ژو"}),h(Y,a.locals.AR,{name:"يونيو",shortName:"يو"}),h(Y,a.locals.HI,{name:"जून",shortName:"जून"}),Y)},{length:31,locals:(j={},h(j,a.locals.EN,{name:"July",shortName:"Jul"}),h(j,a.locals.FA,{name:"ژوئیه",shortName:"ژوئیه"}),h(j,a.locals.AR,{name:"يوليو",shortName:"يوليو"}),h(j,a.locals.HI,{name:"जुलाई",shortName:"जुल"}),j)},{length:31,locals:(P={},h(P,a.locals.EN,{name:"August",shortName:"Aug"}),h(P,a.locals.FA,{name:"اوت",shortName:"اوت"}),h(P,a.locals.AR,{name:"أغسطس",shortName:"أغس"}),h(P,a.locals.HI,{name:"अगस्त",shortName:"अग"}),P)},{length:30,locals:(C={},h(C,a.locals.EN,{name:"September",shortName:"Sep"}),h(C,a.locals.FA,{name:"سپتامبر",shortName:"سپ"}),h(C,a.locals.AR,{name:"سبتمبر",shortName:"سب"}),h(C,a.locals.HI,{name:"सितंबर",shortName:"सित"}),C)},{length:31,locals:(G={},h(G,a.locals.EN,{name:"October",shortName:"Oct"}),h(G,a.locals.FA,{name:"اکتبر",shortName:"اک"}),h(G,a.locals.AR,{name:"أكتوبر",shortName:"اک"}),h(G,a.locals.HI,{name:"अक्तूबर",shortName:"अक्तू"}),G)},{length:30,locals:(L={},h(L,a.locals.EN,{name:"November",shortName:"Nov"}),h(L,a.locals.FA,{name:"نوامبر",shortName:"نو"}),h(L,a.locals.AR,{name:"نوفمبر",shortName:"نو"}),h(L,a.locals.HI,{name:"नवंबर",shortName:"नव"}),L)},{length:31,locals:(B={},h(B,a.locals.EN,{name:"December",shortName:"Dec"}),h(B,a.locals.FA,{name:"دسامبر",shortName:"دس"}),h(B,a.locals.AR,{name:"ديسمبر",shortName:"دس"}),h(B,a.locals.HI,{name:"दिसंबर",shortName:"दिस"}),B)}]),h(ka,a.calendars.PERSIAN,[{length:31,locals:(T={},h(T,a.locals.EN,{name:"Farvardin",shortName:"Far"}),h(T,a.locals.FA,{name:"فروردین",shortName:"فر"}),h(T,a.locals.AR,{name:"فروردین",shortName:"فر"}),h(T,a.locals.HI,{name:"फर्वादिन",shortName:"फर्वादिन"}),T)},{length:31,locals:(J={},h(J,a.locals.EN,{name:"Ordibehesht",shortName:"Ord"}),h(J,a.locals.FA,{name:"اردیبهشت",shortName:"ار"}),h(J,a.locals.AR,{name:"اردیبهشت",shortName:"ار"}),h(J,a.locals.HI,{name:"ओर्दिवेहेस्ट",shortName:"ओर्दिवेहेस्ट"}),J)},{length:31,locals:(z={},h(z,a.locals.EN,{name:"Khordad",shortName:"Kho"}),h(z,a.locals.FA,{name:"خرداد",shortName:"خرد"}),h(z,a.locals.AR,{name:"خرداد",shortName:"خرد"}),h(z,a.locals.HI,{name:"खोरर्दाद",shortName:"खोरर्दाद"}),z)},{length:31,locals:(U={},h(U,a.locals.EN,{name:"Tir",shortName:"Tir"}),h(U,a.locals.FA,{name:"تیر",shortName:"تیر"}),h(U,a.locals.AR,{name:"تیر",shortName:"تیر"}),h(U,a.locals.HI,{name:"टिर",shortName:"टिर"}),U)},{length:31,locals:(V={},h(V,a.locals.EN,{name:"Mordad",shortName:"Mor"}),h(V,a.locals.FA,{name:"مرداد",shortName:"مر"}),h(V,a.locals.AR,{name:"مرداد",shortName:"مر"}),h(V,a.locals.HI,{name:"मोरदाद",shortName:"मोरदाद"}),V)},{length:31,locals:(_={},h(_,a.locals.EN,{name:"Shahrivar",shortName:"Sha"}),h(_,a.locals.FA,{name:"شهریور",shortName:"شه"}),h(_,a.locals.AR,{name:"شهریور",shortName:"شه"}),h(_,a.locals.HI,{name:"शाहरीवर्",shortName:"शाहरीवर्"}),_)},{length:30,locals:(K={},h(K,a.locals.EN,{name:"Mehr",shortName:"Meh"}),h(K,a.locals.FA,{name:"مهر",shortName:"مه"}),h(K,a.locals.AR,{name:"مهر",shortName:"مه"}),h(K,a.locals.HI,{name:"मेहर",shortName:"मेहर"}),K)},{length:30,locals:(Q={},h(Q,a.locals.EN,{name:"Aban",shortName:"Aba"}),h(Q,a.locals.FA,{name:"آبان",shortName:"آبا"}),h(Q,a.locals.AR,{name:"آبان",shortName:"آبا"}),h(Q,a.locals.HI,{name:"अवन",shortName:"अवन"}),Q)},{length:30,locals:($={},h($,a.locals.EN,{name:"Azar",shortName:"Aza"}),h($,a.locals.FA,{name:"آذر",shortName:"آذ"}),h($,a.locals.AR,{name:"آذر",shortName:"آذ"}),h($,a.locals.HI,{name:"अज़र",shortName:"अज़र"}),$)},{length:30,locals:(q={},h(q,a.locals.EN,{name:"Dey",shortName:"Dey"}),h(q,a.locals.FA,{name:"دی",shortName:"دی"}),h(q,a.locals.AR,{name:"دی",shortName:"دی"}),h(q,a.locals.HI,{name:"डे",shortName:"डे"}),q)},{length:30,locals:(X={},h(X,a.locals.EN,{name:"Bahman",shortName:"Bah"}),h(X,a.locals.FA,{name:"بهمن",shortName:"بهم"}),h(X,a.locals.AR,{name:"بهمن",shortName:"بهم"}),h(X,a.locals.HI,{name:"बहमन",shortName:"बहमन"}),X)},{length:void 0,locals:(Z={},h(Z,a.locals.EN,{name:"Esfand",shortName:"Esf"}),h(Z,a.locals.FA,{name:"اسفند",shortName:"اسف"}),h(Z,a.locals.AR,{name:"اسفند",shortName:"اسف"}),h(Z,a.locals.HI,{name:"ईस्फन्द्",shortName:"ईस्फन्द्"}),Z)}]),h(ka,a.calendars.ARABIC,[{length:30,locals:(aa={},h(aa,a.locals.AR,{name:"محرم",shortName:"محرم"}),h(aa,a.locals.EN,{name:"Muharram",shortName:"Mu"}),h(aa,a.locals.FA,{name:"محرم",shortName:"محرم"}),h(aa,a.locals.HI,{name:"मुहर्रम",shortName:"मुहर्रम"}),aa)},{length:29,locals:(ea={},h(ea,a.locals.AR,{name:"صفر",shortName:"صفر"}),h(ea,a.locals.EN,{name:"Safar",shortName:"Sa"}),h(ea,a.locals.FA,{name:"صفر",shortName:"صفر"}),h(ea,a.locals.HI,{name:"सफर",shortName:"सफर"}),ea)},{length:30,locals:(ta={},h(ta,a.locals.AR,{name:"ربیع الاول",shortName:"ربیع الاول"}),h(ta,a.locals.EN,{name:"Rabi`al-Awwal",shortName:"RI"}),h(ta,a.locals.FA,{name:"ربیع الاول",shortName:"ربیع الاول"}),h(ta,a.locals.HI,{name:"राबी प्रथम",shortName:"राबी प्रथम"}),ta)},{length:29,locals:(sa={},h(sa,a.locals.AR,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),h(sa,a.locals.EN,{name:"Rabi`ath-Thani",shortName:"RII"}),h(sa,a.locals.FA,{name:"ربیع الثانی",shortName:"ربیع الثانی"}),h(sa,a.locals.HI,{name:"राबी द्वितीय",shortName:"राबी द्वितीय"}),sa)},{length:30,locals:(la={},h(la,a.locals.AR,{name:"جمادی الاول",shortName:"جمادی الاول"}),h(la,a.locals.EN,{name:"Jumada l-Ula",shortName:"JI"}),h(la,a.locals.FA,{name:"جمادی الاول",shortName:"جمادی الاول"}),h(la,a.locals.HI,{name:"जुम्डा प्रथम",shortName:"जुम्डा प्रथम"}),la)},{length:29,locals:(na={},h(na,a.locals.AR,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),h(na,a.locals.EN,{name:"Jumada t-Tania",shortName:"JII"}),h(na,a.locals.FA,{name:"جمادی الثانی",shortName:"جمادی الثانی"}),h(na,a.locals.HI,{name:"जुम्डा द्वितीय",shortName:"जुम्डा द्वितीय"}),na)},{length:30,locals:(oa={},h(oa,a.locals.AR,{name:"رجب",shortName:"رجب"}),h(oa,a.locals.EN,{name:"Rajab",shortName:"Ra"}),h(oa,a.locals.FA,{name:"رجب",shortName:"رجب"}),h(oa,a.locals.HI,{name:"रजब",shortName:"रजब"}),oa)},{length:29,locals:(ra={},h(ra,a.locals.AR,{name:"شعبان",shortName:"شعبان"}),h(ra,a.locals.EN,{name:"Sha`ban",shortName:"Sh"}),h(ra,a.locals.FA,{name:"شعبان",shortName:"شعبان"}),h(ra,a.locals.HI,{name:"शावन",shortName:"शावन"}),ra)},{length:30,locals:(ha={},h(ha,a.locals.AR,{name:"رمضان",shortName:"رمضان"}),h(ha,a.locals.EN,{name:"Ramadan",shortName:"Ra"}),h(ha,a.locals.FA,{name:"رمضان",shortName:"رمضان"}),h(ha,a.locals.HI,{name:"रमजान",shortName:"रमजान"}),ha)},{length:29,locals:(ia={},h(ia,a.locals.AR,{name:"شوال",shortName:"شوال"}),h(ia,a.locals.EN,{name:"Shawwal",shortName:"Sh"}),h(ia,a.locals.FA,{name:"شوال",shortName:"شوال"}),h(ia,a.locals.HI,{name:"शव्व्ल",shortName:"शव्व्ल"}),ia)},{length:30,locals:(ca={},h(ca,a.locals.AR,{name:"ذیقعده ",shortName:"ذیقعده"}),h(ca,a.locals.EN,{name:"Dhu l-Qa`da ",shortName:"DhQ"}),h(ca,a.locals.HI,{name:"जिल-क्दाह ",shortName:"जिल-क्दाह"}),ca)},{length:void 0,locals:(ma={},h(ma,a.locals.AR,{name:"ذیحجه",shortName:"ذیحجه"}),h(ma,a.locals.EN,{name:"Dhu l-Hijja",shortName:"DhH"}),h(ma,a.locals.FA,{name:"ذیحجه",shortName:"ذیحجه"}),h(ma,a.locals.HI,{name:"जिल्-हिज्जाह",shortName:"जिल्-हिज्जाह"}),ma)}]),h(ka,a.calendars.INDIAN,[{length:void 0,locals:(ua={},h(ua,a.locals.EN,{name:"Chaitra",shortName:"Cha"}),h(ua,a.locals.FA,{name:"چیتره",shortName:"چیت"}),h(ua,a.locals.AR,{name:"شيترا",shortName:"شیت"}),h(ua,a.locals.HI,{name:"चैत्र",shortName:"चैत्र"}),ua)},{length:31,locals:(Na={},h(Na,a.locals.EN,{name:"Vaishakh",shortName:"Vai"}),h(Na,a.locals.FA,{name:"ویشاکهه",shortName:"ویش"}),h(Na,a.locals.AR,{name:"فيشاخ",shortName:"فیش"}),h(Na,a.locals.HI,{name:"वैशाख",shortName:"वैशाख"}),Na)},{length:31,locals:(da={},h(da,a.locals.EN,{name:"Jyaishtha",shortName:"Jya"}),h(da,a.locals.FA,{name:"جییشته",shortName:"جیش"}),h(da,a.locals.AR,{name:"جیشتا",shortName:"جیش"}),h(da,a.locals.HI,{name:"ज्येष्ठ",shortName:"ज्येष्ठ"}),da)},{length:31,locals:(fa={},h(fa,a.locals.EN,{name:"Ashadha",shortName:"Ash"}),h(fa,a.locals.FA,{name:"آشادهه",shortName:"آشا"}),h(fa,a.locals.AR,{name:"أشاد",shortName:"أشا"}),h(fa,a.locals.HI,{name:"आषाढ़",shortName:"आषाढ़"}),fa)},{length:31,locals:(Aa={},h(Aa,a.locals.EN,{name:"Shravana",shortName:"Shr"}),h(Aa,a.locals.FA,{name:"شراونه",shortName:"شرا"}),h(Aa,a.locals.AR,{name:"شرافان",shortName:"شرا"}),h(Aa,a.locals.HI,{name:"श्रावण",shortName:"श्रावण"}),Aa)},{length:31,locals:(ya={},h(ya,a.locals.EN,{name:"Bhadrapad",shortName:"Bha"}),h(ya,a.locals.FA,{name:"بهادره",shortName:"بها"}),h(ya,a.locals.AR,{name:"بهادرابادا",shortName:"بها"}),h(ya,a.locals.HI,{name:"भाद्रपद",shortName:"भाद्रपद"}),ya)},{length:30,locals:(va={},h(va,a.locals.EN,{name:"Ashwin",shortName:"Ash"}),h(va,a.locals.FA,{name:"آشوین",shortName:"آشو"}),h(va,a.locals.AR,{name:"اشوين",shortName:"اشو"}),h(va,a.locals.HI,{name:"आश्विन",shortName:"आश्विन"}),va)},{length:30,locals:(ga={},h(ga,a.locals.EN,{name:"Kartik",shortName:"Kar"}),h(ga,a.locals.FA,{name:"کارتیکه",shortName:"کار"}),h(ga,a.locals.AR,{name:"كارتيك",shortName:"کار"}),h(ga,a.locals.HI,{name:"कार्तिक",shortName:"कार्तिक"}),ga)},{length:30,locals:(Ia={},h(Ia,a.locals.EN,{name:"Agrahayana",shortName:"Agr"}),h(Ia,a.locals.FA,{name:"اگرهینه",shortName:"اگر"}),h(Ia,a.locals.AR,{name:"أجراهيان",shortName:"اجر"}),h(Ia,a.locals.HI,{name:"अग्रहायण",shortName:"अग्रहायण"}),Ia)},{length:30,locals:(pa={},h(pa,a.locals.EN,{name:"Paush",shortName:"Pau"}),h(pa,a.locals.FA,{name:"پاوشه",shortName:"پاو"}),h(pa,a.locals.AR,{name:"بوش",shortName:"بوش"}),h(pa,a.locals.HI,{name:"पौष",shortName:"पौष"}),pa)},{length:30,locals:(ba={},h(ba,a.locals.EN,{name:"Magh",shortName:"Mag"}),h(ba,a.locals.FA,{name:"ماگهه",shortName:"ماگ"}),h(ba,a.locals.AR,{name:"ماک",shortName:"ماک"}),h(ba,a.locals.HI,{name:"माघ",shortName:"माघ"}),ba)},{length:30,locals:(Ra={},h(Ra,a.locals.EN,{name:"Phalgun",shortName:"Pha"}),h(Ra,a.locals.FA,{name:"پهالگونه",shortName:"پها"}),h(Ra,a.locals.AR,{name:"فالغون",shortName:"فال"}),h(Ra,a.locals.HI,{name:"फाल्गुन",shortName:"फाल्गुन"}),Ra)}]),ka)}),E.set(this,{writable:!0,value:(Za={},h(Za,a.calendars.GREGORIAN,[{index:0,locals:(wa={},h(wa,a.locals.EN,{name:"Sunday",shortName:"Sun"}),h(wa,a.locals.FA,{name:"یکشنبه",shortName:"یک"}),h(wa,a.locals.AR,{name:"الأحد",shortName:"اح"}),h(wa,a.locals.HI,{name:"रविवार",shortName:"रवि"}),wa)},{index:1,locals:(Ea={},h(Ea,a.locals.EN,{name:"Monday",shortName:"Mon"}),h(Ea,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(Ea,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(Ea,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),Ea)},{index:2,locals:(Fa={},h(Fa,a.locals.EN,{name:"Tuesday",shortName:"Tue"}),h(Fa,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(Fa,a.locals.AR,{name:"الثلاثاء",shortName:"ثل"}),h(Fa,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),Fa)},{index:3,locals:(Ha={},h(Ha,a.locals.EN,{name:"Wednesday",shortName:"Wed"}),h(Ha,a.locals.FA,{name:"چهارشنبه",shortName:"چهار"}),h(Ha,a.locals.AR,{name:"الأربعاء",shortName:"ار"}),h(Ha,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Ha)},{index:4,locals:(Ma={},h(Ma,a.locals.EN,{name:"Thursday",shortName:"Thu"}),h(Ma,a.locals.FA,{name:"پنجشنبه",shortName:"پنج"}),h(Ma,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Ma,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Ma)},{index:5,locals:(Da={},h(Da,a.locals.EN,{name:"Friday",shortName:"Fri"}),h(Da,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(Da,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(Da,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Da)},{index:6,locals:(Oa={},h(Oa,a.locals.EN,{name:"Saturday",shortName:"Sat"}),h(Oa,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Oa,a.locals.AR,{name:"السّبت",shortName:"سب"}),h(Oa,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Oa)}]),h(Za,a.calendars.PERSIAN,[{index:1,locals:(Sa={},h(Sa,a.locals.EN,{name:"YekShanbeh",shortName:"Yek"}),h(Sa,a.locals.FA,{name:"یکشنبه",shortName:"یک"}),h(Sa,a.locals.AR,{name:"الأحد",shortName:"اح"}),h(Sa,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Sa)},{index:2,locals:(xa={},h(xa,a.locals.EN,{name:"Doshanbeh",shortName:"Do"}),h(xa,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(xa,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(xa,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),xa)},{index:3,locals:(Wa={},h(Wa,a.locals.EN,{name:"Seshanbeh",shortName:"Se"}),h(Wa,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(Wa,a.locals.AR,{name:"الثلاثاء",shortName:"ثل"}),h(Wa,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),Wa)},{index:4,locals:(Ya={},h(Ya,a.locals.EN,{name:"Chaharshanbeh",shortName:"Cha"}),h(Ya,a.locals.FA,{name:"چهارشنبه",shortName:"چهار"}),h(Ya,a.locals.AR,{name:"الأربعاء",shortName:"ار"}),h(Ya,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Ya)},{index:5,locals:(ja={},h(ja,a.locals.EN,{name:"Panjshanbeh",shortName:"Pan"}),h(ja,a.locals.FA,{name:"پنجشنبه",shortName:"پنج"}),h(ja,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(ja,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),ja)},{index:6,locals:(Pa={},h(Pa,a.locals.EN,{name:"Jom'eh",shortName:"Jom"}),h(Pa,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(Pa,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(Pa,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),Pa)},{index:0,locals:(Ca={},h(Ca,a.locals.EN,{name:"Shanbeh",shortName:"Sha"}),h(Ca,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Ca,a.locals.AR,{name:"السّبت",shortName:"سب"}),h(Ca,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Ca)}]),h(Za,a.calendars.ARABIC,[{index:1,locals:(Ga={},h(Ga,a.locals.AR,{name:"الأحد",shortName:"احد"}),h(Ga,a.locals.EN,{name:"al-'ahad",shortName:"Aha"}),h(Ga,a.locals.FA,{name:"يکشنبه",shortName:"یک"}),h(Ga,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Ga)},{index:2,locals:(La={},h(La,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(La,a.locals.EN,{name:"al-'ithnayn",shortName:"Ith"}),h(La,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(La,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),La)},{index:3,locals:(Ba={},h(Ba,a.locals.AR,{name:"الثلاثاء",shortName:"ثلا"}),h(Ba,a.locals.EN,{name:"ath-thalatha",shortName:"Tha"}),h(Ba,a.locals.FA,{name:"سه شنبه",shortName:"سه"}),h(Ba,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),Ba)},{index:4,locals:(Ta={},h(Ta,a.locals.AR,{name:"الأربعاء",shortName:"ارب"}),h(Ta,a.locals.EN,{name:"al-'arb`a'",shortName:"Arb"}),h(Ta,a.locals.FA,{name:"چهار شنبه",shortName:"چهار"}),h(Ta,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Ta)},{index:5,locals:(Ja={},h(Ja,a.locals.AR,{name:"الخميس",shortName:"خم"}),h(Ja,a.locals.EN,{name:"al-khamis",shortName:"Kha"}),h(Ja,a.locals.FA,{name:"پنج شنبه\t",shortName:"پنج"}),h(Ja,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),Ja)},{index:6,locals:(za={},h(za,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(za,a.locals.EN,{name:"al-jum`a",shortName:"Jum"}),h(za,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(za,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),za)},{index:0,locals:(Ua={},h(Ua,a.locals.AR,{name:"السّبت",shortName:"سبت"}),h(Ua,a.locals.EN,{name:"as-sabt",shortName:"Sab"}),h(Ua,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Ua,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Ua)}]),h(Za,a.calendars.INDIAN,[{index:0,locals:(Va={},h(Va,a.locals.EN,{name:"Ravivara",shortName:"Rav"}),h(Va,a.locals.FA,{name:"يکشنبه",shortName:"یک"}),h(Va,a.locals.AR,{name:"الأحد",shortName:"احد"}),h(Va,a.locals.HI,{name:"रविवार",shortName:"रवि"}),Va)},{index:1,locals:(_a={},h(_a,a.locals.EN,{name:"Somavara",shortName:"Som"}),h(_a,a.locals.FA,{name:"دوشنبه",shortName:"دو"}),h(_a,a.locals.AR,{name:"الإثنينِ",shortName:"ثن"}),h(_a,a.locals.HI,{name:"सोमवार",shortName:"सोम"}),_a)},{index:2,locals:(Ka={},h(Ka,a.locals.EN,{name:"Mangalavara",shortName:"Man"}),h(Ka,a.locals.FA,{name:"سه شنبه\t",shortName:"سه"}),h(Ka,a.locals.AR,{name:"الثلاثاء",shortName:"ثلا"}),h(Ka,a.locals.HI,{name:"मंगलवार",shortName:"मंगल"}),Ka)},{index:3,locals:(Qa={},h(Qa,a.locals.EN,{name:"Budhavara",shortName:"Bud"}),h(Qa,a.locals.FA,{name:"چهار شنبه",shortName:"چهار"}),h(Qa,a.locals.AR,{name:"الأربعاء",shortName:"ارب"}),h(Qa,a.locals.HI,{name:"बुधवार",shortName:"बुध"}),Qa)},{index:4,locals:($a={},h($a,a.locals.EN,{name:"Brihaspatvara",shortName:"Bri"}),h($a,a.locals.FA,{name:"پنج شنبه\t",shortName:"پنج"}),h($a,a.locals.AR,{name:"الخميس",shortName:"خم"}),h($a,a.locals.HI,{name:"गुरुवार",shortName:"गुरु"}),$a)},{index:5,locals:(qa={},h(qa,a.locals.EN,{name:"Sukravara",shortName:"Suk"}),h(qa,a.locals.FA,{name:"جمعه",shortName:"جم"}),h(qa,a.locals.AR,{name:"الجمعة",shortName:"جم"}),h(qa,a.locals.HI,{name:"शुक्रवार",shortName:"शुक्र"}),qa)},{index:6,locals:(Xa={},h(Xa,a.locals.EN,{name:"Sanivara",shortName:"San"}),h(Xa,a.locals.FA,{name:"شنبه",shortName:"شن"}),h(Xa,a.locals.AR,{name:"السّبت",shortName:"سبت"}),h(Xa,a.locals.HI,{name:"शनिवार",shortName:"शनि"}),Xa)}]),Za)}),F.set(this,{writable:!0,value:(ae={},h(ae,a.locals.EN,["0","1","2","3","4","5","6","7","8","9"]),h(ae,a.locals.FA,["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"]),h(ae,a.locals.AR,["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"]),h(ae,a.locals.HI,["०","१","२","३","४","५","६","७","८","९"]),ae)}),H.set(this,{writable:!0,value:(ee={},h(ee,a.locals.EN,[{name:"AM",shortName:"am"},{name:"PM",shortName:"pm"}]),h(ee,a.locals.FA,[{name:"قبل از ظهر",shortName:"ق.ظ"},{name:"بعد از ظهر",shortName:"ب.ظ"}]),h(ee,a.locals.AR,[{name:"قبل الظهر",shortName:"ق.ظ"},{name:"بعد الظهر",shortName:"ب.ظ"}]),h(ee,a.locals.HI,[{name:"दोपहर से पहले",shortName:"पूर्वाह्न"},{name:"मध्याह्न के बाद",shortName:"अपराह्न"}]),ee)}),M.set(this,{writable:!0,value:(te={},h(te,a.calendars.GREGORIAN,1721424),h(te,a.calendars.PERSIAN,1948319),h(te,a.calendars.ARABIC,1948438),h(te,a.calendars.INDIAN,1749628),te)}),D.set(this,{writable:!0,value:(se={},h(se,a.calendars.GREGORIAN,365),h(se,a.calendars.PERSIAN,365),h(se,a.calendars.ARABIC,354),h(se,a.calendars.INDIAN,365),se)}),O.set(this,{writable:!0,value:function(){var e=function(){for(var e=!1;i(le,u)<0;)c(le,u,i(le,u)+12),c(le,m,i(le,m)-1),0===i(le,m)&&le.calendar!==a.calendars.INDIAN&&c(le,m,-1),e=!0;for(;i(le,u)>11;)c(le,u,i(le,u)-12),c(le,m,i(le,m)+1),0===i(le,m)&&le.calendar!==a.calendars.INDIAN&&c(le,m,1),e=!0;e&&i(le,S).call(le)};if(le.isValid){for(;i(le,y)>=1e3;)c(le,y,i(le,y)-1e3),c(le,A,i(le,A)+1);for(;i(le,y)<0;)c(le,y,i(le,y)+1e3),c(le,A,i(le,A)-1);for(;i(le,A)>=60;)c(le,A,i(le,A)-60),c(le,f,i(le,f)+1);for(;i(le,A)<0;)c(le,A,i(le,A)+60),c(le,f,i(le,f)-1);for(;i(le,f)>=60;)c(le,f,i(le,f)-60),c(le,d,i(le,d)+1);for(;i(le,f)<0;)c(le,f,i(le,f)+60),c(le,d,i(le,d)-1);for(;i(le,d)>=24;)c(le,d,i(le,d)-24),c(le,N,i(le,N)+1);for(;i(le,d)<0;)c(le,d,i(le,d)+24),c(le,N,i(le,N)-1);for(;;){for((i(le,u)<0||i(le,u)>11)&&e();i(le,N)<1;)c(le,u,i(le,u)-1),e(),c(le,N,le.month.length+i(le,N));if(i(le,N)<=le.month.length||isNaN(i(le,N)))break;c(le,N,i(le,N)-le.month.length),c(le,u,1+ +i(le,u))}i(le,d)||c(le,d,0),i(le,f)||c(le,f,0),i(le,A)||c(le,A,0),i(le,y)||c(le,y,0)}}}),S.set(this,{writable:!0,value:function(){if(0!==i(le,m)||i(le,I)===a.calendars.INDIAN){var e=void 0;e=i(le,I)!==a.calendars.INDIAN?i(le,m)>0?1:-1:0;var t=function(){return i(le,m)>0?e<=i(le,m):i(le,m)<=e},s=function(){return i(le,m)>0?e++:e--};switch(c(le,b,[]),i(le,I)){case a.calendars.PERSIAN:for(var l=i(le,m)>0?.2684:.7316,n={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((l+=i(le,m)>0?.242362:-.242362)>1&&(l-=1),l<0&&(l+=1),l>=.257800926&&l<=.5){var o=n[e]||e<-1?e+1:e;i(le,m)>0&&o<=i(le,m)&&i(le,b).push(o),i(le,m)<0&&i(le,b).push(o)}s()}break;case a.calendars.ARABIC:for(;t();)[2,5,7,10,13,15,18,21,24,26,29].includes(e%30)&&i(le,b).push(e),s();break;case a.calendars.INDIAN:for(;t();){var r=e+78;(r%4==0&&r%100!=0||r%400==0)&&i(le,b).push(e),s()}break;default:for(;t();)(e%4==0&&e%100!=0||e%400==0)&&i(le,b).push(e),s()}}}}),x.set(this,{writable:!0,value:function(e,t){var s=void 0;switch(t){case a.calendars.PERSIAN:s=1+~~((e+.5)/365.241);break;case a.calendars.ARABIC:s=1+~~((e-.5)/354.366);break;default:s=1+~~(e/365.24)}return s}}),W.set(this,{writable:!0,value:function(a){if(!isNaN(a))return parseInt(a)}});var ne=e&&e.constructor===Object?o({},e):e;ne&&"boolean"!=typeof ne||(ne={date:new Date}),(ne instanceof Date||ne instanceof a||"string"==typeof ne)&&(ne={date:ne}),"number"==typeof ne&&(ne={date:new Date(1e3*ne)}),"number"==typeof ne.date&&(ne.date=new Date(1e3*ne.date)),ne.calendar&&(ne.calendar=a.calendars[ne.calendar.toUpperCase()]||a.calendars.GREGORIAN,c(this,I,ne.calendar));var oe=!0,re=Object.keys(ne).filter((function(a){return ne[a]||0===ne[a]})),he=re.length>0&&re.length<=3&&re.every((function(a){return["calendar","local","format"].includes(a)}));for(var ie in he&&(ne.date=new Date),c(this,v,ne.format),"string"==typeof ne.date&&(this.parse(ne.date),oe=!1),(ne.date instanceof a||ne.date instanceof Date)&&(this.setDate(ne.date),ne.calendar&&this.convert(ne.calendar),oe=!1),ne.local&&(ne.local=a.locals[ne.local.toUpperCase()]||a.locals.EN,c(this,g,ne.local)),delete ne.calendar,delete ne.local,delete ne.date,delete ne.format,ne)this.set(ie,ne[ie]);0===i(this,m)&&i(this,I)!==a.calendars.INDIAN&&c(this,m,-1),oe&&(i(this,S).call(this),i(this,O).call(this))}var e,l,n;return e=a,(l=[{key:"parse",value:function(e){if(!e)return this;var l=i(this,v);if(i(this,g)!==a.locals.en){var n,o=i(this,F)[i(this,g)],r=function(a,e){var t;if("undefined"==typeof Symbol||null==a[Symbol.iterator]){if(Array.isArray(a)||(t=s(a))||e&&a&&"number"==typeof a.length){t&&(a=t);var l=0,n=function(){};return{s:n,n:function(){return l>=a.length?{done:!0}:{done:!1,value:a[l++]}},e:function(a){throw a},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 o,r=!0,h=!1;return{s:function(){t=a[Symbol.iterator]()},n:function(){var a=t.next();return r=a.done,a},e:function(a){h=!0,o=a},f:function(){try{r||null==t.return||t.return()}finally{if(h)throw o}}}}(o);try{for(r.s();!(n=r.n()).done;){var h=n.value;e=e.replace(new RegExp(h,"g"),o.indexOf(h))}}catch(a){r.e(a)}finally{r.f()}}if(l)for(var I=l.split(/[^\w\u0600-\u06FF]/),p=e.split(/[^\w\u0600-\u06FF]/),b=0;b<I.length;b++){var R=i(this,k)[I[b]];R&&p[b]&&R(p[b])}else{var w=t(e.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),E=w[1],M=w[2],D=w[3],x=w[4],Y=w[5],j=w[6],P=w[7],C=w[8];M&&(M=/\d+/.test(M)?i(this,W).call(this,M)-1:this.months.findIndex((function(a){return new RegExp(M,"i").test(a.name)}))),c(this,m,i(this,W).call(this,E)),c(this,u,i(this,W).call(this,M)),c(this,N,i(this,W).call(this,D)),c(this,d,i(this,W).call(this,x)),c(this,f,i(this,W).call(this,Y)),c(this,A,i(this,W).call(this,j)),c(this,y,i(this,W).call(this,P)),C&&"pm"===C&&i(this,d)<12&&c(this,d,i(this,d)+12)}return e.includes(i(this,H)[i(this,g)][1].shortName)&&i(this,d)<12&&c(this,d,i(this,d)+12),e.includes(i(this,H)[i(this,g)][1].name)&&i(this,d)<12&&c(this,d,i(this,d)+12),i(this,S).call(this),i(this,O).call(this),this}},{key:"convert",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.calendars.GREGORIAN;if(!(e=a.calendars[e.toUpperCase()]))throw new Error("calendar not found");if(e===i(this,I))return this;var t=this.toJulianDay()-i(this,M)[e],s=new a({calendar:e,year:i(this,x).call(this,t,e),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,b,s.leaps),c(this,I,e),this}},{key:"format",value:function(e){if(!this.isValid)return"";if(!e||"string"==typeof e){e||(e=i(this,v)||"YYYY/MM/DD");var t=1,s={};for(var l in i(this,R))for(;e.includes(l);){var n="~~r00".concat(t,"~");e=e.replace(l,n),s[n]=this.getProperty(l),t++}for(var o in s)e=e.replace(o,s[o]);if(i(this,g)!==a.locals.en){var r=i(this,F)[i(this,g)];e=e.replace(/[0-9]/g,(function(a){return r[a]}))}return e}}},{key:"getProperty",value:function(a){var e=function(a){return a<10?"0"+a:a};switch(a){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 e(this.month.number);case"M":return this.month.number;case"WW":return e(this.weekOfYear);case"W":return this.weekOfYear;case"DDDD":case"DDD":return this.dayOfYear;case"DD":return e(this.day);case"D":return this.day;case"HH":return e(this.hour);case"H":return this.hour;case"dddd":return this.weekDay.name;case"ddd":return this.weekDay.shortName;case"hh":return e(this.hour>12?this.hour-12:this.hour||12);case"h":return this.hour>12?this.hour-12:this.hour||12;case"mm":return e(this.minute);case"m":return this.minute;case"ss":return e(this.second);case"s":return this.second;case"SSS":return i(this,y)<10?"00".concat(i(this,y)):i(this,y)<100?"0".concat(i(this,y)):i(this,y);case"SS":return i(this,y)<10?"00":i(this,y)<100?("0"+i(this,y)).substring(2,0):i(this,y).toString().substring(0,2);case"S":return i(this,y)<10||i(this,y)<100?"0":i(this,y).toString().substring(0,1);case"a":return this.hour>=12?i(this,H)[i(this,g)][1].shortName:i(this,H)[i(this,g)][0].shortName;case"A":return this.hour>=12?i(this,H)[i(this,g)][1].name:i(this,H)[i(this,g)][0].name;default:return""}}},{key:"setYear",value:function(a){return this.year=a,this}},{key:"setMonth",value:function(a){return this.month=a,this}},{key:"setDay",value:function(a){return this.day=a,this}},{key:"setHour",value:function(a){return this.hour=a,this}},{key:"setMinute",value:function(a){return this.minute=a,this}},{key:"setSecond",value:function(a){return this.second=a,this}},{key:"setMillisecond",value:function(a){return this.millisecond=a,this}},{key:"setFormat",value:function(a){return c(this,v,a),this}},{key:"setLocal",value:function(a){return this.local=a,this}},{key:"setCalendar",value:function(a){return this.calendar=a,this}},{key:"setDate",value:function(e){return!e instanceof Date&&!e instanceof a||(e instanceof Date&&(c(this,I,a.calendars.GREGORIAN),c(this,m,e.getFullYear()),c(this,u,e.getMonth()),c(this,N,e.getDate()),c(this,d,e.getHours()),c(this,f,e.getMinutes()),c(this,A,e.getSeconds()),c(this,y,e.getMilliseconds()),i(this,S).call(this),i(this,O).call(this)),e instanceof a&&(c(this,m,e.year),c(this,u,e.month.index),c(this,N,e.day),c(this,d,e.hour),c(this,f,e.minute),c(this,A,e.second),c(this,y,e.millisecond),c(this,g,e.local.toUpperCase()),c(this,v,e._format),c(this,b,e.leaps),c(this,I,e.calendar.toUpperCase()))),this}},{key:"set",value:function(a,e){switch(a){case"calendar":return this.convert(e);case"local":return this.setLocal(e);case"format":return this.setFormat(e);case"year":return this.setYear(e);case"month":return this.setMonth(e);case"day":return this.setDay(e);case"hour":return this.setHour(e);case"minute":return this.setMinute(e);case"second":return this.setSecond(e);case"millisecond":return this.setMillisecond(e);case"date":return this.setDate(e);default:return this}}},{key:"add",value:function(a,e){if(!(a=i(this,W).call(this,a))||!e)return this;switch(e){case"years":case"year":case"y":this.year+=a;break;case"months":case"month":case"M":this.month+=a;break;case"days":case"day":case"d":this.day+=a;break;case"hours":case"hour":case"h":this.hour+=a;break;case"minutes":case"minute":case"m":this.minute+=a;break;case"seconds":case"second":case"s":this.second+=a;break;case"milliseconds":case"millisecond":case"ms":this.millisecond+=a}return this}},{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,O).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 e=new a(this);return i(this,I)!==a.calendars.GREGORIAN&&e.convert(a.calendars.GREGORIAN),new Date(i(e,m),i(e,u),i(e,N),i(e,d),i(e,f),i(e,A),i(e,y))}},{key:"toUTC",value:function(){return i(this,p)||(this.minute+=(new Date).getTimezoneOffset(),c(this,p,!0)),this}},{key:"toUnix",value:function(){return this.unix}},{key:"toJulianDay",value:function(){return this.dayOfBeginning+i(this,M)[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,d),minute:i(this,f),second:i(this,A),millisecond:i(this,y),weekOfYear:this.weekOfYear,dayOfYear:this.dayOfYear,daysLeft:this.daysLeft,calendar:i(this,I).toLowerCase(),local:i(this,g).toLowerCase()}}},{key:"toJSON",value:function(){return this.toObject()}},{key:"valueOf",value:function(){return this.dayOfBeginning}},{key:"dayOfBeginning",get:function(){if(this.isValid){var e=(i(this,I)!==a.calendars.INDIAN&&i(this,m)>0?i(this,m)-1:i(this,m))*i(this,D)[i(this,I)],t=this.isLeap?this.leaps.length-1:this.leaps.length;return i(this,m)>0&&(e+=t),i(this,m)<0&&(e-=t),e+=this.dayOfYear}}},{key:"dayOfYear",get:function(){if(this.isValid){for(var a=i(this,N),e=this.months,t=0;t<e.length&&!(t>=i(this,u));t++)a+=e[t].length;return a}}},{key:"weekOfYear",get:function(){if(this.isValid)return 1+~~(this.dayOfYear/7)}},{key:"daysLeft",get:function(){if(this.isValid){var a=i(this,D)[i(this,I)];return(this.isLeap?a+1:a)-this.dayOfYear}}},{key:"year",get:function(){return i(this,m)},set:function(a){a=i(this,W).call(this,a),c(this,m,a),i(this,S).call(this),i(this,O).call(this)}},{key:"month",get:function(){var a=this.months[i(this,u)];return a?(a.index=i(this,u),a.number=a.index+1,a.toString=function(){return this.number},a):{}},set:function(a){a=i(this,W).call(this,a),c(this,u,a-1),i(this,O).call(this)}},{key:"day",get:function(){return i(this,N)},set:function(a){a=i(this,W).call(this,a),c(this,N,a),i(this,O).call(this)}},{key:"weekDay",get:function(){var a=(this.toJulianDay()+2)%7,e=i(this,E)[i(this,I)][a];return e?e=o({index:e.index,number:e.index+1,toString:function(){return this.number}},e.locals[i(this,g)]):{}}},{key:"hour",get:function(){return i(this,d)},set:function(a){a=i(this,W).call(this,a),c(this,d,a),i(this,O).call(this)}},{key:"minute",get:function(){return i(this,f)},set:function(a){a=i(this,W).call(this,a),c(this,f,a),i(this,O).call(this)}},{key:"second",get:function(){return i(this,A)},set:function(a){a=i(this,W).call(this,a),c(this,A,a),i(this,O).call(this)}},{key:"millisecond",get:function(){return i(this,y)},set:function(a){a=i(this,W).call(this,a),c(this,y,a),i(this,O).call(this)}},{key:"months",get:function(){var e=this,t=i(this,w)[i(this,I)];switch(i(this,I)){case a.calendars.GREGORIAN:t[1].length=this.isLeap?29:28;break;case a.calendars.INDIAN:t[0].length=this.isLeap?31:30;break;default:t[11].length=this.isLeap?30:29}return t=t.map((function(a){return o({length:a.length},a.locals[i(e,g)])}))}},{key:"weeks",get:function(){var a=this,e=i(this,E)[i(this,I)];return e.sort((function(a,e){return a.index-e.index})),e=e.map((function(e){return o({index:e.index,number:e.index+1},e.locals[i(a,g)])}))}},{key:"leaps",get:function(){return i(this,b)}},{key:"calendar",get:function(){return i(this,I).toLowerCase()},set:function(a){this.convert(a)}},{key:"local",get:function(){return i(this,g).toLowerCase()},set:function(e){e=e.toUpperCase(),a.locals[e]||(e=a.locals.EN),c(this,g,e)}},{key:"meridiems",get:function(){return i(this,H)[i(this,g)]}},{key:"digits",get:function(){return i(this,F)[i(this,g)]}},{key:"_format",get:function(){return i(this,v)},set:function(a){"string"==typeof a&&c(this,v,a)}},{key:"isLeap",get:function(){return i(this,b).includes(i(this,m))}},{key:"isValid",get:function(){return!Number.isNaN(Number(i(this,m)+i(this,u)+i(this,N)))}},{key:"unix",get:function(){return Math.round(this.toDate().getTime()/1e3)}}])&&r(e.prototype,l),n&&r(e,n),a}();h(Y,"calendars",{GREGORIAN:"GREGORIAN",PERSIAN:"PERSIAN",ARABIC:"ARABIC",INDIAN:"INDIAN"}),h(Y,"locals",{EN:"EN",FA:"FA",AR:"AR",HI:"HI"}),a.exports=Y},function(a,e,t){a.exports=t(2)},function(a,e,t){"use strict";t.r(e);var s=t(0),l=t.n(s);e.default=l.a}])}));
{
"name": "react-date-object",
"version": "0.8.0",
"version": "0.9.0",
"description": "JavaScript library for working with Date and Time in different calendars and locals",

@@ -18,9 +18,17 @@ "main": "./dist/index.js",

"object",
"calendar",
"persian",
"georgian",
"persian",
"calendar",
"english",
"indian",
"farsi",
"arabic",
"local"
"english",
"hindi",
"locals",
"datetime",
"gregorian-calendar",
"persian-calendar",
"islamic-calendar",
"indian-calendar",
"format-date"
],

@@ -41,3 +49,3 @@ "author": "Shahab Yazdi <sh.yazdi@gmail.com>",

"babel-preset-env": "^1.7.0",
"date-object": "^0.8.0",
"date-object": "^0.9.0",
"webpack": "^4.44.1",

@@ -44,0 +52,0 @@ "webpack-cli": "^3.3.12",

@@ -383,5 +383,20 @@ # React Date Object

## 7- toUTC()
## 7- set(key:String,value:Any)
```javascript
var date = new DateObject(); //2020/10/31
date.set("year", 2021); //2021/10/31
date.set("month", 1); //2021/01/31
date.set("day", 7); //2021/01/07
date.set("format", "MM/DD/YYYY"); //01/07/2021
date.set("calendar", "indian"); //10/17/1942
date.set("local", "hi"); //१०/१७/१९४२
date.set("date", new DateObject({ calendar: "persian", local: "en" })); //1399/08/10
date.set("date", new Date()); //2020/10/31 (calendar is set to gregorian)
```
## 8- toUTC()
```javascript
let date = new Date() //Wed Oct 14 2020 11:12:18 GMT+0330

@@ -388,0 +403,0 @@

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